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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm0
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
mov eax, dword [0x1026f9c0]
xor eax, esp
mov dword [esp + 0x54], eax
cmp dword [ecx + 0x3c], 0
je 0x100c8a28
xorps xmm0, xmm0
movups xmmword [esp + 0x44], xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x28], xmm0
mov dword [esp + 0x24], 1
lea eax, [esp + 0x24]
mov dword [esp], eax
call fcn.100cb730
mov esi, eax
mov ebp, eax
mov ebx, eax
test eax, eax
je 0x100c8940
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x100c8979
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, dword [esp + 8]
xorps xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [esp + 0x20]
cvttss2si eax, dword [esp + 0x20]
mov dword [edi], eax
mov edi, dword [esp + 0x70]
test edi, edi
je 0x100c89b4
neg ebx
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
mulss xmm0, dword [esp + 0xc]
xorps xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [esp + 0x1c]
cvttss2si eax, dword [esp + 0x1c]
mov dword [edi], eax
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x100c89ed
xorps xmm0, xmm0
cvtsi2ss xmm0, ebp
mulss xmm0, dword [esp + 8]
xorps xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp dword [esp + 0x18]
cvttss2si eax, dword [esp + 0x18]
mov dword [ebx], eax
mov ebp, dword [esp + 0x78]
test ebp, ebp
je 0x100c8a64
neg esi
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
mulss xmm0, dword [esp + 0xc]
xorps xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp dword [esp + 0x14]
cvttss2si eax, dword [esp + 0x14]
jmp 0x100c8a61
cmp dword [ecx + 0xc], edx
jle 0x100c8a35
mov esi, dword [ecx + 0x30]
cmp esi, 1
jle 0x100c8a77
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x100c8a43
mov dword [eax], 0
test edi, edi
mov eax, dword [esp + 0x74]
je 0x100c8a51
mov dword [edi], 0
test eax, eax
je 0x100c8a5b
mov dword [eax], 0
xor eax, eax
test ebp, ebp
je 0x100c8a64
mov dword [ebp], eax
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100f14f8
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ecx + 4]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x10], ebx
add eax, ebx
test esi, esi
je 0x100c8a98
mov ebx, dword [eax + edx*4]
mov eax, dword [eax + edx*4 + 4]
bswap ebx
bswap eax
cmp ebx, eax
jne 0x100c8ac7
jmp 0x100c8a35
movzx esi, byte [eax + edx*2]
mov ebp, edi
movzx edi, byte [eax + edx*2 + 1]
shl esi, 9
lea ebx, [esi + edi*2]
mov edi, ebp
mov ebp, dword [esp + 0x78]
movzx esi, byte [eax + edx*2 + 2]
movzx eax, byte [eax + edx*2 + 3]
shl esi, 9
lea eax, [esi + eax*2]
cmp ebx, eax
je 0x100c8a35
add ebx, dword [ecx + 0x18]
js 0x100c8a35
mov edi, dword [esp + 0x10]
movzx eax, byte [edi + ebx + 2]
shl eax, 8
movzx ecx, byte [edi + ebx + 3]
cwde
or eax, ecx
movzx ecx, byte [edi + ebx + 4]
shl ecx, 8
movzx edx, byte [edi + ebx + 5]
movsx esi, cx
or esi, edx
movzx ecx, byte [edi + ebx + 6]
shl ecx, 8
movzx edx, byte [edi + ebx + 7]
movsx ebp, cx
or ebp, edx
movzx ecx, byte [edi + ebx + 8]
shl ecx, 8
movzx edx, byte [edi + ebx + 9]
movsx ebx, cx
or ebx, edx
jmp 0x100c8940