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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x1012b208]
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 0x70]
push eax
call dword [0x1012b30c]
mov esi, eax
test esi, esi
je 0x10054c18
mov eax, dword [0x1012b1d8]
mov eax, dword [eax + 0x10]
mov dword [esi + 0xc8], eax
mov edx, dword [edi + 0x2c]
test edx, edx
js 0x10054c18
mov ecx, dword [0x1012b1b4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, eax
test edx, edx
je 0x10054bd8
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
push edx
cmovns eax, ecx
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x150], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x154], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x158], eax
mov dword [esi + 0xf8], 0
mov dword [esi + 0xf4], 0
mov ecx, dword [0x1012b1b4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov dword [esi + 0x15c], eax
mov eax, dword [0x1012b1d8]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [edi + 0x58]
movss dword [esi + 0xc4], xmm0
mov eax, dword [0x1012b1d8]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [edi + 0x40]
movss dword [esi + 0xc8], xmm0
mov eax, dword [edi + 0x44]
mov dword [esi + 0xcc], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0xd0], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0xd4], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0xd8], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0xec], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0xf0], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x34], 0
mov dword [esi + 0xdc], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x50], eax
movss xmm1, dword [edi + 0x20]
movss xmm0, dword [edi + 0x24]
movss xmm2, dword [edi + 0x28]
subss xmm1, dword [edi + 0x14]
subss xmm0, dword [edi + 0x18]
subss xmm2, dword [edi + 0x1c]
movss dword [esi + 0xb4], xmm1
movss dword [esi + 0xb8], xmm0
movss dword [esi + 0xbc], xmm2
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
jne 0x10054bd2
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, xmm2
sqrtss xmm1, xmm0
movss xmm0, dword [esi + 0xd8]
comiss xmm0, dword [0x100c86fc]
jb 0x10054bbb
mulss xmm1, dword [0x100cb22c]
addss xmm1, dword [0x100c96f8]
cvttss2si eax, xmm1
jmp 0x10054bd2
cvtps2pd xmm0, xmm1
mulsd xmm0, qword [str.333333]
addsd xmm0, qword [0x100ce7b0]
cvttsd2si eax, xmm0
mov dword [esi + 0xfc], eax
movd xmm0, dword [edi + 0x5c]
cvtdq2ps xmm0, xmm0
movss dword [esi + 0xf8], xmm0
mov eax, dword [edi + 0x60]
mov dword [esi + 0xf4], eax
mov eax, esi
mov ecx, dword [edi + 0x78]
or dword [esi + 0x34], ecx
mov ecx, dword [edi + 0x64]
mov dword [esi + 0xe0], ecx
mov ecx, dword [edi + 0x68]
mov dword [esi + 0xe4], ecx
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0xe8], ecx
pop edi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret