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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x100f6a2c]
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [edi + 0x70]
push eax
call dword [0x100f6b3c]
mov esi, eax
test esi, esi
je 0x1004e7b8
mov eax, dword [0x100f69fc]
mov eax, dword [eax + 0x10]
mov dword [esi + 0xc8], eax
mov edx, dword [edi + 0x2c]
test edx, edx
js 0x1004e7b8
mov ecx, dword [0x100f69d4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, eax
test edx, edx
je 0x1004e778
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 [0x100f69d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov dword [esi + 0x15c], eax
mov eax, dword [0x100f69fc]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [edi + 0x58]
movss dword [esi + 0xc4], xmm0
mov eax, dword [0x100f69fc]
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 xmm2, dword [edi + 0x24]
movss xmm3, dword [edi + 0x28]
subss xmm1, dword [edi + 0x14]
subss xmm2, dword [edi + 0x18]
subss xmm3, dword [edi + 0x1c]
movss dword [esi + 0xb4], xmm1
movss dword [esi + 0xb8], xmm2
movss dword [esi + 0xbc], xmm3
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
jne 0x1004e772
movss xmm0, dword [esi + 0xd8]
comiss xmm0, dword [0x100bb564]
mulss xmm1, xmm1
xorps xmm0, xmm0
mulss xmm2, xmm2
mulss xmm3, xmm3
addss xmm1, xmm2
addss xmm1, xmm3
sqrtss xmm0, xmm1
jb 0x1004e75b
mulss xmm0, dword [0x100bc4f8]
addss xmm0, dword [0x100bb5a4]
cvttss2si eax, xmm0
jmp 0x1004e772
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [str.333333]
addsd xmm0, qword [0x100bc630]
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