Function at 0x101aed90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
movaps xmm0, xmmword [0x10300540]
push esi
mov esi, ecx
mov dword [esp + 0x78], 0
push edi
mov edi, edx
mov dword [esp + 0x88], 0
movups xmmword [esp + 0x6c], xmm0
mov al, byte [esi + 9]
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x8c], 0
test al, al
je 0x101aedee
movzx eax, al
jmp 0x101aedf3
call fcn.10158690
mov ecx, dword [ebp + 0x14]
cmp eax, 1
setne al
movzx eax, al
push eax
push ecx
push edi
push esi
lea ecx, [esp + 0x7c]
call fcn.101eacd0
test eax, eax
jne 0x101aee82
test byte [esi + 8], 2
je 0x101af048
mov eax, dword [ebp + 0x18]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x20], xmm0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
psrldq xmm0, 4
movd edi, xmm0
cmp edi, dword [ebp + 0xc]
cmovl edi, dword [ebp + 0xc]
cmp esi, dword [ebp + 0x10]
cmovg esi, dword [ebp + 0x10]
cmp eax, dword [esp + 0x28]
jge 0x101af048
cmp edi, esi
jge 0x101af048
mov ecx, dword [ebp + 0x14]
sub esi, edi
mov eax, dword [ebp + 8]
shl esi, cl
push esi
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x24]
mov edx, dword [eax]
shl esi, cl
push esi
mov esi, dword [esp + 0x28]
shl edi, cl
shl esi, cl
mov ecx, eax
push edi
push esi
call dword [edx + 0x10]
jmp 0x101af048
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x90]
call fcn.101aed10
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], eax
add esp, 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], reloc.gdiplus.dll_Ordinal_1
mov dword [esp + 0x58], reloc.gdiplus.dll_Ordinal_1
mov dword [eax + 4], ecx
lea ecx, [esp + 0x94]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0xa4], SysReAllocString
mov dword [eax], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
shl edx, cl
shl eax, cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
test edi, edi
je 0x101aef1d
mov eax, dword [edi + 4]
cmp edx, eax
cmovge eax, edx
mov edx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
cmp dword [esp + 0x14], eax
jle 0x101aef1d
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
test byte [esi + 8], 2
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0x102fbca4
mov dword [esp + 0x18], 0
je 0x101aef6a
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], 0x101aecc0
mov eax, dword [edx]
shl eax, cl
mov dword [esp + 0x44], eax
mov eax, dword [edx + 8]
shl eax, cl
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x10], eax
mov al, byte [esi + 9]
test al, al
je 0x101aef7a
movzx eax, al
jmp 0x101aef81
mov ecx, esi
call fcn.10158690
cmp eax, 1
jne 0x101aefa8
cmp dword [esp + 0x18], 0
jne 0x101aefa8
push ecx
push dword [esp + 0x18]
push ecx
push dword [esp + 0x1c]
lea ecx, [esp + 0x60]
call fcn.101aea10
add esp, 0x10
jmp 0x101af02e
test edi, edi
je 0x101aefb1
mov eax, dword [edi + 8]
jmp 0x101af00d
mov edi, dword [esi]
cmp byte [edi + 0x18], 0
je 0x101aefce
push dword [edi + 0x28]
lea ecx, [edi + 8]
push dword [edi + 0x1c]
call fcn.10187820
mov byte [edi + 0x19], al
mov byte [edi + 0x18], 0
movss xmm0, dword [edi + 0x10]
sub esp, 8
addss xmm0, dword [0x103000e8]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov ecx, dword [ebp + 0x14]
add esp, 8
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
shl eax, cl
movzx edx, byte [esi + 8]
lea ecx, [esp + 0x50]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x20]
call fcn.101ae810
add esp, 0x14
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0x102fa2b4
test eax, eax
je 0x101af048
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esp + 0x80]
test eax, eax
je 0x101af05d
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [esp + 0x6c]
call fcn.101cf870
pop edi
pop esi
mov esp, ebp
pop ebp
ret