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

Disassembly:
sub esp, 0x94
mov eax, dword [0x4e1898]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
mov ebx, ecx
push ebp
push esi
push edi
movss xmm0, dword [ebx + 0x24]
mulss xmm0, dword [ebx + 0x2c]
mov dword [esp + 0x2c], ebx
cvttss2si edi, xmm0
movss xmm0, dword [ebx + 0x30]
mulss xmm0, dword [ebx + 0x28]
mov dword [esp + 0x38], edi
cvttss2si esi, xmm0
mov dword [esp + 0x24], esi
test edi, edi
jle 0x459729
test esi, esi
jle 0x459729
mov ebp, dword [0x4e5fbc]
test ebp, ebp
je 0x4591a1
mov ebp, dword [ebp + 0x74]
jmp 0x4591a3
xor ebp, ebp
lea eax, [esp + 0x50]
mov dword [esp + 0x1c], ebp
push eax
push 0x84e0
call dword [0x4e6058]
push 0x84c0
call dword [0x4e5fd0]
lea eax, [esp + 0x30]
push eax
push 0x8b8d
call dword [0x4e6058]
lea eax, [esp + 0x4c]
push eax
push 0x8069
call dword [0x4e6058]
cmp dword [ebp], 0x14a
jae 0x4591fb
cmp byte [ebp + 0x25], 0
jne 0x4591fb
mov dword [esp + 0x34], 0
jmp 0x45920b
lea eax, [esp + 0x34]
push eax
push 0x8919
call dword [0x4e6058]
lea eax, [esp + 0x58]
push eax
push 0x8894
call dword [0x4e6058]
lea eax, [esp + 0x54]
push eax
push 0x85b5
call dword [0x4e6058]
lea eax, [esp + 0x74]
push eax
push 0xb40
call dword [0x4e6058]
lea eax, [esp + 0x7c]
push eax
push 0xba2
call dword [0x4e6058]
lea eax, [esp + 0x8c]
push eax
push 0xc10
call dword [0x4e6058]
lea eax, [esp + 0x70]
push eax
push 0x80c9
call dword [0x4e6058]
lea eax, [esp + 0x6c]
push eax
push 0x80c8
call dword [0x4e6058]
lea eax, [esp + 0x68]
push eax
push 0x80cb
call dword [0x4e6058]
lea eax, [esp + 0x64]
push eax
push 0x80ca
call dword [0x4e6058]
lea eax, [esp + 0x60]
push eax
push 0x8009
call dword [0x4e6058]
lea eax, [esp + 0x5c]
push eax
push 0x883d
call dword [0x4e6058]
mov eax, dword [0x4e6080]
push 0xbe2
call eax
mov ecx, dword [0x4e6080]
push 0xb44
mov byte [esp + 0x1b], al
call ecx
mov ecx, dword [0x4e6080]
push 0xb71
mov byte [esp + 0x1c], al
call ecx
mov ecx, dword [0x4e6080]
push 0xb90
mov byte [esp + 0x1d], al
call ecx
mov ecx, dword [0x4e6080]
push 0xc11
mov byte [esp + 0x1e], al
call ecx
cmp dword [ebp], 0x136
mov byte [esp + 0x1b], al
jb 0x45932e
mov ecx, dword [0x4e6080]
push 0x8f9d
call ecx
mov byte [esp + 0x16], al
jmp 0x459333
mov byte [esp + 0x16], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 1
call dword [0x4e604c]
push dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
push esi
call fcn.00458ed0
movss xmm0, dword [ebx + 0x1c]
xor ecx, ecx
movss dword [esp + 0x44], xmm0
add esp, 8
movss xmm0, dword [ebx + 0x20]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [ebx + 0x2c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [ebx + 0x30]
movss dword [esp + 0x48], xmm0
mov dword [esp + 0x28], ecx
cmp dword [ebx + 4], ecx
jle 0x45956b
mov eax, dword [ebx + 0x18]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0xc]
add ebx, ebx
lea esi, [eax + eax*4]
shl esi, 2
cmp byte [ebp + 0x59], 0
je 0x459408
cmp dword [ebp + 0x50], esi
jge 0x4593c9
push 0x88e0
push 0
push esi
push 0x8892
mov dword [ebp + 0x50], esi
call dword [0x4e5ff4]
cmp dword [ebp + 0x54], ebx
jge 0x4593e4
push 0x88e0
push 0
push ebx
push 0x8893
mov dword [ebp + 0x54], ebx
call dword [0x4e5ff4]
push dword [edi + 0x20]
push esi
push 0
push 0x8892
call dword [0x4e5ff8]
push dword [edi + 0x14]
push ebx
push 0
push 0x8893
call dword [0x4e5ff8]
jmp 0x459430
push 0x88e0
push dword [edi + 0x20]
push esi
push 0x8892
call dword [0x4e5ff4]
push 0x88e0
push dword [edi + 0x14]
push ebx
push 0x8893
call dword [0x4e5ff4]
xor ebp, ebp
cmp dword [edi], ebp
jle 0x459551
xor ebx, ebx
nop dword [eax]
mov esi, dword [edi + 8]
add esi, ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x45947a
cmp eax, 0xffffffff
jne 0x45946e
push dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
call fcn.00458ed0
add esp, 8
jmp 0x459545
push esi
push edi
call eax
add esp, 8
jmp 0x459545
movss xmm4, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm4, dword [esp + 0x3c]
subss xmm2, dword [esp + 0x3c]
movss xmm3, dword [esi + 4]
movss xmm1, dword [esi + 0xc]
subss xmm3, dword [esp + 0x44]
mulss xmm4, dword [esp + 0x40]
mulss xmm2, dword [esp + 0x40]
subss xmm1, dword [esp + 0x44]
mulss xmm3, dword [esp + 0x48]
comiss xmm4, xmm2
mulss xmm1, dword [esp + 0x48]
jae 0x459545
comiss xmm3, xmm1
jae 0x459545
movaps xmm0, xmm1
subss xmm2, xmm4
subss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, dword [esp + 0x24]
push eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm2
subss xmm0, xmm1
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm4
push eax
call dword [0x4e6098]
push dword [esi + 0x10]
push 0xde1
call dword [0x4e5fe0]
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0x140
mov eax, dword [esi + 0x18]
jb 0x459532
push dword [esi + 0x14]
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x4e6034]
jmp 0x459545
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x4e6030]
inc ebp
add ebx, 0x28
cmp ebp, dword [edi]
jl 0x459440
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
inc ecx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
cmp ecx, dword [ebx + 4]
jl 0x459394
lea eax, [esp + 0x20]
push eax
push 1
call dword [0x4e6020]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x459590
mov eax, dword [0x4e6084]
push ecx
call eax
test al, al
je 0x459597
mov ecx, dword [esp + 0x30]
push ecx
call dword [0x4e60b0]
push dword [esp + 0x4c]
push 0xde1
call dword [0x4e5fe0]
cmp dword [ebp], 0x14a
jae 0x4595b5
cmp byte [ebp + 0x25], 0
je 0x4595c1
push dword [esp + 0x34]
push 0
call dword [0x4e5fdc]
push dword [esp + 0x50]
call dword [0x4e5fd0]
push dword [esp + 0x54]
call dword [0x4e5fe4]
push dword [esp + 0x58]
push 0x8892
call dword [0x4e5fd8]
push dword [esp + 0x5c]
push dword [esp + 0x64]
call dword [0x4e5fec]
push dword [esp + 0x64]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x7c]
call dword [0x4e5ff0]
cmp byte [esp + 0x17], 0
push 0xbe2
je 0x45961c
call dword [0x4e6038]
jmp 0x459622
call dword [0x4e6028]
cmp byte [esp + 0x18], 0
push 0xb44
je 0x459636
call dword [0x4e6038]
jmp 0x45963c
call dword [0x4e6028]
cmp byte [esp + 0x19], 0
push 0xb71
je 0x459650
call dword [0x4e6038]
jmp 0x459656
call dword [0x4e6028]
cmp byte [esp + 0x1a], 0
push 0xb90
je 0x45966a
call dword [0x4e6038]
jmp 0x459670
call dword [0x4e6028]
cmp byte [esp + 0x1b], 0
push 0xc11
je 0x459684
call dword [0x4e6038]
jmp 0x45968a
call dword [0x4e6028]
cmp dword [ebp], 0x136
jb 0x4596c7
cmp byte [esp + 0x16], 0
push 0x8f9d
je 0x4596a7
call dword [0x4e6038]
jmp 0x4596ad
call dword [0x4e6028]
cmp dword [ebp], 0x136
jbe 0x4596c7
cmp byte [ebp + 0x26], 0
jne 0x4596c7
push dword [esp + 0x74]
push 0x408
jmp 0x4596df
push dword [esp + 0x74]
push 0x404
call dword [0x4e6090]
push dword [esp + 0x78]
push 0x405
call dword [0x4e6090]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
call dword [0x4e60b8]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
call dword [0x4e6098]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004672b4
add esp, 0x94
ret