Function at 0x10030c70
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 [0x1006b0dc]
xor eax, esp
mov dword [esp + 0x54], eax
cmp dword [ecx + 0x38], 0
je 0x10030dc8
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.10030ec0
mov esi, eax
mov ebp, eax
mov ebx, eax
test eax, eax
je 0x10030ce0
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 0x10030d19
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 fcn.10045790
fstp dword [esp + 0x20]
cvttss2si eax, dword [esp + 0x20]
mov dword [edi], eax
mov edi, dword [esp + 0x70]
test edi, edi
je 0x10030d54
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 fcn.10045790
fstp dword [esp + 0x1c]
cvttss2si eax, dword [esp + 0x1c]
mov dword [edi], eax
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x10030d8d
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 fcn.10045040
fstp dword [esp + 0x18]
cvttss2si eax, dword [esp + 0x18]
mov dword [ebx], eax
mov ebp, dword [esp + 0x78]
test ebp, ebp
je 0x10030e04
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 fcn.10045040
fstp dword [esp + 0x14]
cvttss2si eax, dword [esp + 0x14]
jmp 0x10030e01
cmp dword [ecx + 0xc], edx
jle 0x10030dd5
mov esi, dword [ecx + 0x2c]
cmp esi, 1
jle 0x10030e17
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x10030de3
mov dword [eax], 0
test edi, edi
mov eax, dword [esp + 0x74]
je 0x10030df1
mov dword [edi], 0
test eax, eax
je 0x10030dfb
mov dword [eax], 0
xor eax, eax
test ebp, ebp
je 0x10030e04
mov dword [ebp], eax
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10038f79
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 0x10030e38
mov ebx, dword [eax + edx*4]
mov eax, dword [eax + edx*4 + 4]
bswap ebx
bswap eax
cmp ebx, eax
jne 0x10030e67
jmp 0x10030dd5
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 0x10030dd5
add ebx, dword [ecx + 0x18]
js 0x10030dd5
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 0x10030ce0