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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x100b3140]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x30], esi
movss xmm0, dword [esi + 0x24]
mulss xmm0, dword [esi + 0x2c]
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x30]
mulss xmm0, dword [esi + 0x28]
mov dword [esp + 0x20], eax
cvttss2si edi, xmm0
mov dword [esp + 0x24], edi
test eax, eax
jle 0x100505a1
test edi, edi
jle 0x100505a1
mov ebx, dword [0x100b7d54]
test ebx, ebx
je 0x10050006
mov ebx, dword [ebx + 0x78]
jmp 0x10050008
xor ebx, ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x18], ebx
push eax
push 0x84e0
call dword [0x100b7de8]
push 0x84c0
call dword [0x100b7d60]
lea eax, [esp + 0x34]
push eax
push 0x8b8d
call dword [0x100b7de8]
lea eax, [esp + 0x4c]
push eax
push 0x8069
call dword [0x100b7de8]
cmp dword [ebx], 0x14a
jae 0x1005005f
cmp byte [ebx + 0x25], 0
jne 0x1005005f
mov dword [esp + 0x38], 0
jmp 0x1005006f
lea eax, [esp + 0x38]
push eax
push 0x8919
call dword [0x100b7de8]
lea eax, [esp + 0x58]
push eax
push 0x8894
call dword [0x100b7de8]
lea eax, [esp + 0x54]
push eax
push 0x85b5
call dword [0x100b7de8]
lea eax, [esp + 0x74]
push eax
push 0xb40
call dword [0x100b7de8]
lea eax, [esp + 0x7c]
push eax
push 0xba2
call dword [0x100b7de8]
lea eax, [esp + 0x8c]
push eax
push 0xc10
call dword [0x100b7de8]
lea eax, [esp + 0x70]
push eax
push 0x80c9
call dword [0x100b7de8]
lea eax, [esp + 0x6c]
push eax
push 0x80c8
call dword [0x100b7de8]
lea eax, [esp + 0x68]
push eax
push 0x80cb
call dword [0x100b7de8]
lea eax, [esp + 0x64]
push eax
push 0x80ca
call dword [0x100b7de8]
lea eax, [esp + 0x60]
push eax
push 0x8009
call dword [0x100b7de8]
lea eax, [esp + 0x5c]
push eax
push 0x883d
call dword [0x100b7de8]
mov eax, dword [0x100b7e10]
push 0xbe2
call eax
mov ecx, dword [0x100b7e10]
push 0xb44
mov byte [esp + 0x17], al
call ecx
mov ecx, dword [0x100b7e10]
push 0xb71
mov byte [esp + 0x18], al
call ecx
mov ecx, dword [0x100b7e10]
push 0xb90
mov byte [esp + 0x19], al
call ecx
mov ecx, dword [0x100b7e10]
push 0xc11
mov byte [esp + 0x1a], al
call ecx
cmp dword [ebx], 0x136
mov byte [esp + 0x17], al
jb 0x10050191
mov ecx, dword [0x100b7e10]
push 0x8f9d
call ecx
mov byte [esp + 0x12], al
jmp 0x10050196
mov byte [esp + 0x12], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 1
call dword [0x100b7ddc]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, esi
push edi
call fcn.1004fd30
movss xmm0, dword [esi + 0x1c]
xor ecx, ecx
movss dword [esp + 0x44], xmm0
add esp, 8
movss xmm0, dword [esi + 0x20]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x2c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0x30]
movss dword [esp + 0x48], xmm0
mov dword [esp + 0x2c], ecx
cmp dword [esi + 4], ecx
jle 0x100503e6
nop dword [eax]
mov eax, dword [esi + 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]
mov eax, dword [esp + 0x18]
shl esi, 2
cmp byte [eax + 0x59], 0
je 0x1005027c
cmp dword [eax + 0x50], esi
jge 0x1005023d
push 0x88e0
push 0
push esi
push 0x8892
mov dword [eax + 0x50], esi
call dword [0x100b7d84]
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x54], ebx
jge 0x10050258
push 0x88e0
push 0
push ebx
push 0x8893
mov dword [eax + 0x54], ebx
call dword [0x100b7d84]
push dword [edi + 0x20]
push esi
push 0
push 0x8892
call dword [0x100b7d88]
push dword [edi + 0x14]
push ebx
push 0
push 0x8893
call dword [0x100b7d88]
jmp 0x100502a4
push 0x88e0
push dword [edi + 0x20]
push esi
push 0x8892
call dword [0x100b7d84]
push 0x88e0
push dword [edi + 0x14]
push ebx
push 0x8893
call dword [0x100b7d84]
cmp dword [edi], 0
mov dword [esp + 0x28], 0
jle 0x100503cc
xor ebx, ebx
mov esi, dword [edi + 8]
add esi, ebx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100502f1
cmp eax, 0xfffffff8
jne 0x100502e5
push dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
call fcn.1004fd30
add esp, 8
jmp 0x100503b8
push esi
push edi
call eax
add esp, 8
jmp 0x100503b8
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 0x100503b8
comiss xmm3, xmm1
jae 0x100503b8
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 [0x100b7e28]
push dword [esi + 0x10]
push 0xde1
call dword [0x100b7d70]
mov eax, dword [esp + 0x18]
cmp dword [eax], 0x140
mov eax, dword [esi + 0x18]
jb 0x100503a5
push dword [esi + 0x14]
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x100b7dc4]
jmp 0x100503b8
add eax, eax
push eax
push 0x1403
push dword [esi + 0x1c]
push 4
call dword [0x100b7dc0]
mov eax, dword [esp + 0x28]
add ebx, 0x28
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [edi]
jl 0x100502b7
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esi + 4]
jl 0x10050200
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 1
call dword [0x100b7db0]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1005040b
mov eax, dword [0x100b7e14]
push ecx
call eax
test al, al
je 0x10050412
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x100b7e40]
push dword [esp + 0x4c]
push 0xde1
call dword [0x100b7d70]
cmp dword [ebx], 0x14a
jae 0x1005042f
cmp byte [ebx + 0x25], 0
je 0x1005043b
push dword [esp + 0x38]
push 0
call dword [0x100b7d6c]
push dword [esp + 0x50]
call dword [0x100b7d60]
push dword [esp + 0x54]
call dword [0x100b7d74]
push dword [esp + 0x58]
push 0x8892
call dword [0x100b7d68]
push dword [esp + 0x5c]
push dword [esp + 0x64]
call dword [0x100b7d7c]
push dword [esp + 0x64]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x7c]
call dword [0x100b7d80]
cmp byte [esp + 0x13], 0
push 0xbe2
je 0x10050496
call dword [0x100b7dc8]
jmp 0x1005049c
call dword [0x100b7db8]
cmp byte [esp + 0x14], 0
push 0xb44
je 0x100504b0
call dword [0x100b7dc8]
jmp 0x100504b6
call dword [0x100b7db8]
cmp byte [esp + 0x15], 0
push 0xb71
je 0x100504ca
call dword [0x100b7dc8]
jmp 0x100504d0
call dword [0x100b7db8]
cmp byte [esp + 0x16], 0
push 0xb90
je 0x100504e4
call dword [0x100b7dc8]
jmp 0x100504ea
call dword [0x100b7db8]
cmp byte [esp + 0x17], 0
push 0xc11
je 0x100504fe
call dword [0x100b7dc8]
jmp 0x10050504
call dword [0x100b7db8]
cmp dword [ebx], 0x136
jb 0x1005053f
cmp byte [esp + 0x12], 0
push 0x8f9d
je 0x10050520
call dword [0x100b7dc8]
jmp 0x10050526
call dword [0x100b7db8]
cmp dword [ebx], 0x136
jbe 0x1005053f
cmp byte [ebx + 0x26], 0
jne 0x1005053f
push dword [esp + 0x74]
push 0x408
jmp 0x10050557
push dword [esp + 0x74]
push 0x404
call dword [0x100b7e20]
push dword [esp + 0x78]
push 0x405
call dword [0x100b7e20]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
call dword [0x100b7e48]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
push dword [esp + 0x98]
call dword [0x100b7e28]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10054171
mov esp, ebp
pop ebp
ret