Function at 0x101aee20
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 0x101aee7e
movzx eax, al
jmp 0x101aee83
call fcn.101586d0
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.101ead80
test eax, eax
jne 0x101aef12
test byte [esi + 8], 2
je 0x101af0d8
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 0x101af0d8
cmp edi, esi
jge 0x101af0d8
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 0x101af0d8
lea ecx, [esp + 0x10]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x90]
call fcn.101aeda0
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 0x101aefad
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 0x101aefad
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 0x101aeffa
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], 0x101aed50
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 0x101af00a
movzx eax, al
jmp 0x101af011
mov ecx, esi
call fcn.101586d0
cmp eax, 1
jne 0x101af038
cmp dword [esp + 0x18], 0
jne 0x101af038
push ecx
push dword [esp + 0x18]
push ecx
push dword [esp + 0x1c]
lea ecx, [esp + 0x60]
call fcn.101aeaa0
add esp, 0x10
jmp 0x101af0be
test edi, edi
je 0x101af041
mov eax, dword [edi + 8]
jmp 0x101af09d
mov edi, dword [esi]
cmp byte [edi + 0x18], 0
je 0x101af05e
push dword [edi + 0x28]
lea ecx, [edi + 8]
push dword [edi + 0x1c]
call fcn.10187890
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.101ae8a0
add esp, 0x14
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0x102fa2b4
test eax, eax
je 0x101af0d8
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 0x101af0ed
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.101cf910
pop edi
pop esi
mov esp, ebp
pop ebp
ret