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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x101e3554]
cmp byte [ebx + 0x7d], 0
movss xmm0, dword [ebx + 0x3c]
movss xmm1, dword [ebx + 0x40]
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
mov byte [ebx + 0x7f], 0
movss dword [ebp + 8], xmm0
movss dword [ebp - 4], xmm1
je 0x1004f349
cmp byte [ebp + 0x10], 0
movss xmm0, dword [edi + 0x155c]
movss dword [ebp - 0x10], xmm0
movss dword [edi + 0x155c], xmm1
je 0x1004f1f3
cmp byte [edi + 0x1b8a], 0
mov eax, 0xb
je 0x1004f1f8
mov eax, 0xc
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10042fd0
mov ecx, dword [ebp + 0xc]
add esp, 8
mov esi, dword [0x101e3554]
movss xmm1, dword [ebp + 8]
movss xmm0, dword [ecx + 8]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ecx + 0xc]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ecx]
push 0xf
push ecx
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ecx + 4]
movss dword [esp], xmm1
push eax
movss dword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x28]
mov ebx, dword [esi + 0x1a08]
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebx + 0x278]
call fcn.10075140
movss xmm2, dword [esi + 0x155c]
comiss xmm2, dword [0x10134654]
movss dword [ebp - 0x14], xmm2
jbe 0x1004f335
movss xmm1, dword [0x101313a8]
movss xmm0, dword [ebp - 0x28]
addss xmm0, xmm1
push ecx
movss dword [esp], xmm2
push 0xf
sub esp, 8
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x24]
addss xmm0, xmm1
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x20]
addss xmm0, xmm1
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x1c]
addss xmm0, xmm1
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp + 8]
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
push 6
call fcn.10042fd0
mov ecx, dword [ebx + 0x278]
add esp, 8
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10075050
movss xmm0, dword [ebp - 0x14]
push ecx
movss dword [esp], xmm0
movss xmm0, dword [ebp + 8]
push 0xf
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
push 5
call fcn.10042fd0
mov ecx, dword [ebx + 0x278]
add esp, 8
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10075050
movss xmm0, dword [ebp - 0x10]
movss dword [edi + 0x155c], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
js 0x1004f471
test eax, 0x6000000
je 0x1004f35f
mov eax, 4
jmp 0x1004f36c
and eax, 0x1000000
or eax, 0x2000000
shr eax, 0x18
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10042fd0
add esp, 8
mov ecx, eax
test byte [edi + 0x1a88], 0x40
xorps xmm3, xmm3
je 0x1004f3c8
movss xmm1, dword [edi + 0x1adc]
comiss xmm3, xmm1
jbe 0x1004f39d
xorps xmm0, xmm0
jmp 0x1004f3a9
movss xmm0, dword [0x101313a8]
minss xmm0, xmm1
mulss xmm0, dword [0x10135dc4]
and ecx, 0xffffff
addss xmm0, dword [0x10131188]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
mov esi, dword [ebp - 8]
mov edx, dword [0x101e3554]
and esi, 1
je 0x1004f3db
xorps xmm2, xmm2
jmp 0x1004f40d
movss xmm0, dword [edx + 0x18d8]
mov eax, dword [ebx + 0x2f4]
mulss xmm0, dword [ebx + 0x270]
test eax, eax
je 0x1004f3fd
mulss xmm0, dword [eax + 0x270]
movss xmm2, dword [edx + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm1, dword [ebx + 0xc]
test esi, esi
movaps xmm0, xmm1
mov edx, 0xf
addss xmm1, dword [ebx + 0x14]
addss xmm0, xmm3
mov eax, 0xc
cmovne eax, edx
push eax
push ecx
lea eax, [ebp - 0x40]
movss dword [ebp - 0x40], xmm1
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebx + 0x10]
addss xmm2, xmm0
addss xmm0, dword [ebx + 0x18]
movss dword [ebp - 0x44], xmm2
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp + 8]
movss dword [esp], xmm0
push ecx
mov ecx, dword [ebx + 0x278]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10075140
jmp 0x1004f476
mov esi, eax
and esi, 1
test esi, esi
jne 0x1004f4b3
movzx eax, byte [ebp + 0x10]
push ecx
add eax, 0xa
mov dword [esp], 0x3f800000
push eax
call fcn.10042fd0
movss xmm0, dword [ebp + 8]
add esp, 8
push 3
push ecx
mov ecx, dword [ebp + 0xc]
movss dword [esp], xmm0
push eax
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, dword [ebx + 0x278]
call fcn.10075140
test dword [ebp - 8], 0x400
je 0x1004f673
mov edx, dword [ebx + 8]
mov eax, dword [0x101e3554]
test dl, 1
je 0x1004f4d2
xorps xmm2, xmm2
jmp 0x1004f504
movss xmm0, dword [eax + 0x18d8]
mov ecx, dword [ebx + 0x2f4]
mulss xmm0, dword [ebx + 0x270]
test ecx, ecx
je 0x1004f4f4
mulss xmm0, dword [ecx + 0x270]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm5, dword [ebx + 0x10]
xorps xmm3, xmm3
addss xmm2, xmm5
test edx, 0x400
je 0x1004f554
movss xmm1, dword [eax + 0x18d8]
mov ecx, dword [ebx + 0x2f4]
mulss xmm1, dword [ebx + 0x270]
test ecx, ecx
je 0x1004f53a
mulss xmm1, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [ebx + 0x150]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x1004f557
xorps xmm1, xmm1
movss xmm0, dword [ebx + 0xc]
movaps xmm7, xmm2
maxss xmm7, xmm5
movaps xmm6, xmm0
maxss xmm6, xmm0
movaps xmm4, xmm0
addss xmm1, xmm2
addss xmm4, dword [ebx + 0x1c]
addss xmm0, dword [ebx + 0x14]
addss xmm5, dword [ebx + 0x18]
movss dword [ebp - 0x10], xmm6
minss xmm4, xmm0
minss xmm1, xmm5
movss dword [ebp - 0x70], xmm4
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x6c], xmm1
test esi, esi
je 0x1004f5a7
movss xmm2, dword [ebp + 8]
jmp 0x1004f5aa
xorps xmm2, xmm2
subss xmm4, dword [ebp - 4]
movaps xmm0, xmm6
addss xmm7, xmm3
addss xmm0, dword [ebp - 4]
push 3
sub esp, 8
movss dword [ebp - 0x50], xmm4
movss dword [ebp - 0x54], xmm7
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmm1
subss xmm0, xmm3
movss dword [esp + 4], xmm2
mov dword [esp], 0x3f800000
push 0xd
movss dword [ebp - 0x4c], xmm0
call fcn.10042fd0
mov ecx, dword [ebx + 0x278]
add esp, 8
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10075140
movss xmm2, dword [edi + 0x155c]
xorps xmm3, xmm3
comiss xmm2, xmm3
jbe 0x1004f673
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x10]
movss xmm1, dword [ebp - 0x14]
comiss xmm0, xmm1
jbe 0x1004f673
movss xmm0, dword [ebp - 0x10]
sub esp, 8
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
movss dword [esp + 4], xmm2
mov dword [esp], 0x3f800000
push 5
mov dword [ebp - 0x5c], ecx
movss dword [ebp - 0x68], xmm0
movss dword [ebp - 0x64], xmm1
call fcn.10042fd0
mov ecx, dword [ebx + 0x278]
add esp, 8
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.100741f0
cmp byte [ebx + 0x78], 0
je 0x1004f683
push 0
call fcn.1006b830
add esp, 4
cmp byte [ebx + 0x79], 0
je 0x1004f693
push 1
call fcn.1006b830
add esp, 4
test byte [ebp - 8], 2
jne 0x1004f988
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x14], eax
jle 0x1004f988
movss xmm4, dword [ebp - 4]
mov edi, 0x101de9b8
movaps xmm0, xmm4
mov dword [ebp - 0xc], edi
addss xmm0, dword [ebp + 8]
movss dword [ebp - 0x24], xmm0
nop word [eax + eax]
movss xmm0, dword [ebx + 0xc]
and eax, 1
movss xmm1, dword [ebx + 0x10]
movaps xmm2, xmm0
addss xmm2, dword [ebx + 0x14]
movaps xmm3, xmm1
mov dword [ebp - 0x1c], eax
addss xmm3, dword [ebx + 0x18]
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, dword [edi - 8]
mulss xmm3, dword [edi - 4]
addss xmm2, xmm0
addss xmm3, xmm1
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 0x14], xmm3
je 0x1004f720
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
jmp 0x1004f728
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
mulss xmm0, dword [edi]
mulss xmm1, dword [edi + 4]
mov edi, dword [ebx + 0x278]
addss xmm0, xmm2
addss xmm1, xmm3
mov esi, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x2c], xmm1
cmp esi, ecx
jne 0x1004f7f4
inc esi
test ecx, ecx
je 0x1004f767
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004f76c
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1004f7f4
mov eax, dword [0x101e3554]
test eax, eax
je 0x1004f784
inc dword [eax + 0x374]
push dword [0x101e355c]
lea eax, [esi*8]
push eax
call dword [0x101de9a8]
mov edx, dword [edi + 0x60]
add esp, 8
mov dword [ebp - 0x18], eax
test edx, edx
je 0x1004f7df
mov ecx, dword [edi + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.100bf410
mov ecx, dword [edi + 0x60]
add esp, 0xc
test ecx, ecx
je 0x1004f7cc
mov eax, dword [0x101e3554]
test eax, eax
je 0x1004f7cc
dec dword [eax + 0x374]
push dword [0x101e355c]
push ecx
call dword [0x101de9ac]
mov eax, dword [ebp - 0x18]
add esp, 8
movss xmm2, dword [ebp - 0x10]
movss xmm3, dword [ebp - 0x14]
movss xmm4, dword [ebp - 4]
mov dword [edi + 0x60], eax
mov dword [edi + 0x5c], esi
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x60]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc dword [edi + 0x58]
cmp dword [ebp - 0x1c], 0
je 0x1004f81a
movss xmm0, dword [ebp + 0x1c]
movaps xmm1, xmm4
jmp 0x1004f822
movss xmm1, dword [ebp + 0x1c]
movaps xmm0, xmm4
mov eax, dword [ebp - 0xc]
mov edi, dword [ebx + 0x278]
mulss xmm0, dword [eax]
mov esi, dword [edi + 0x58]
mulss xmm1, dword [eax + 4]
mov ecx, dword [edi + 0x5c]
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x38], xmm0
movss dword [ebp - 0x34], xmm1
cmp esi, ecx
jne 0x1004f8ec
inc esi
test ecx, ecx
je 0x1004f864
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1004f869
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1004f8ec
mov eax, dword [0x101e3554]
test eax, eax
je 0x1004f881
inc dword [eax + 0x374]
push dword [0x101e355c]
lea eax, [esi*8]
push eax
call dword [0x101de9a8]
mov edx, dword [edi + 0x60]
add esp, 8
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x1004f8dc
mov ecx, dword [edi + 0x58]
shl ecx, 3
push ecx
push edx
push eax
call fcn.100bf410
mov ecx, dword [edi + 0x60]
add esp, 0xc
test ecx, ecx
je 0x1004f8c9
mov eax, dword [0x101e3554]
test eax, eax
je 0x1004f8c9
dec dword [eax + 0x374]
push dword [0x101e355c]
push ecx
call dword [0x101de9ac]
mov eax, dword [ebp - 0x1c]
add esp, 8
movss xmm2, dword [ebp - 0x10]
movss xmm3, dword [ebp - 0x14]
mov dword [edi + 0x60], eax
mov dword [edi + 0x5c], esi
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x58]
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
movss xmm0, dword [ebp - 0x24]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
lea eax, [ebp - 0x70]
inc dword [edi + 0x58]
mov edi, dword [ebp - 0xc]
mulss xmm0, dword [edi]
push dword [edi + 0xc]
push dword [edi + 8]
addss xmm0, xmm2
push ecx
mov ecx, dword [ebx + 0x278]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [edi + 4]
addss xmm0, xmm3
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp + 8]
movss dword [esp], xmm0
push eax
call fcn.10079350
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebx + 0x278]
push dword [ecx + eax*4]
mov ecx, esi
push dword [esi + 0x58]
push dword [esi + 0x60]
call fcn.10072f90
mov eax, dword [ebp - 8]
add edi, 0x18
movss xmm4, dword [ebp - 4]
inc eax
mov dword [esi + 0x58], 0
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edi
cmp eax, dword [ebp + 0x14]
jl 0x1004f6d0
push ebx
call fcn.1004f9a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret