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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0xc], ebx
cmp dword [ebx + 0x8c], 0
jg 0x407fce
mov byte [ebx + 0x94], 0
mov ecx, dword [ebx + 4]
add ecx, 4
call fcn.00418f20
mov esi, dword [ebx + 4]
add esi, 4
mov ecx, esi
movss xmm0, dword [eax]
comiss xmm0, dword [0x56a09c]
jbe 0x40800c
call fcn.00418f20
sub esp, 8
mov ecx, esi
movss xmm0, dword [eax + 4]
movss dword [esp + 4], xmm0
mov dword [esp], 0
jmp 0x40803c
call fcn.00418f20
xorps xmm0, xmm0
comiss xmm0, dword [eax]
jbe 0x408041
mov esi, dword [ebx + 4]
lea ecx, [esi + 4]
call fcn.00418f20
sub esp, 8
lea ecx, [esi + 4]
movss xmm0, dword [eax + 4]
movss dword [esp + 4], xmm0
mov dword [esp], 0x44a00000
call fcn.004191b0
mov ecx, dword [ebx + 4]
add ecx, 4
call fcn.00418f20
movss xmm0, dword [0x56a0c0]
comiss xmm0, dword [eax + 4]
jbe 0x408088
mov esi, dword [ebx + 4]
lea ecx, [esi + 4]
call fcn.00418f20
sub esp, 8
lea ecx, [esi + 4]
movss xmm0, dword [eax]
mov dword [esp + 4], 0xc4fa0000
movss dword [esp], xmm0
call fcn.004191b0
mov dword [ebx + 0x14], 0
movss xmm0, dword [ebx + 0x14]
movss xmm2, dword [ebx + 0x24]
comiss xmm2, xmm0
movss xmm5, dword [ebp + 8]
jbe 0x4080a6
movaps xmm1, xmm5
mulss xmm1, dword [ebx + 0x34]
jmp 0x4080b6
comiss xmm0, xmm2
movaps xmm1, xmm0
jbe 0x4080bf
movaps xmm1, xmm5
mulss xmm1, dword [ebx + 0x28]
addss xmm1, xmm0
movss dword [ebx + 0x14], xmm1
movss xmm2, dword [ebx + 0x10]
xorps xmm4, xmm4
comiss xmm2, xmm4
jbe 0x4080e4
movaps xmm0, xmm5
mulss xmm0, dword [ebx + 0x2c]
comiss xmm0, xmm2
jbe 0x4080de
xorps xmm0, xmm0
jmp 0x408109
addss xmm0, xmm2
jmp 0x408109
comiss xmm4, xmm2
movaps xmm0, xmm2
jbe 0x40810e
movaps xmm3, xmm5
mulss xmm3, dword [ebx + 0x2c]
comiss xmm2, xmm3
jbe 0x408105
mov dword [ebx + 0x10], 0
xorps xmm0, xmm0
jmp 0x40810e
subss xmm0, xmm3
movss dword [ebx + 0x10], xmm0
mov ecx, dword [ebx + 4]
sub esp, 8
mulss xmm1, xmm5
add ecx, 4
mulss xmm0, xmm5
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.00419090
mov ecx, dword [ebx + 0x48]
movss xmm1, dword [ebp + 8]
add ecx, 4
push ecx
movss dword [esp], xmm1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebx + 0x40]
movss xmm1, dword [ebp + 8]
cmp eax, dword [ebx + 0x3c]
jge 0x40815e
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x38]
movss dword [ebx + 0x38], xmm0
movss xmm0, dword [ebx + 0x38]
comiss xmm0, dword [ebx + 0x44]
jb 0x408174
inc eax
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x54]
xor esi, esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edx
sar eax, 2
test eax, eax
je 0x40823b
mov ebx, dword [ebp - 4]
mov ecx, dword [edx + esi*4]
push ecx
movss dword [esp], xmm1
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [ebx + 4]
lea edi, [edx + esi*4]
mov esi, dword [edi]
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 0x1c], 0
jne 0x40821c
cmp byte [esi + 0x48], 0
jne 0x40821c
mov esi, dword [ebx + 8]
mov dword [ebp - 4], esi
lea esi, [edi + 4]
cmp esi, dword [ebp - 4]
je 0x408201
mov edx, dword [ebp - 4]
cmp edi, esi
je 0x4081f4
mov eax, dword [esi]
mov dword [esi], 0
mov ecx, dword [edi]
mov dword [edi], eax
test ecx, ecx
je 0x4081f4
mov eax, dword [ecx + 0x1c]
add ecx, 0x1c
push 1
call dword [eax]
mov edx, dword [ebp - 4]
add esi, 4
add edi, 4
cmp esi, edx
jne 0x4081d3
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax - 4]
test ecx, ecx
je 0x408218
mov eax, dword [ecx + 0x1c]
add ecx, 0x1c
push 1
call dword [eax]
mov edx, dword [ebx + 4]
add dword [ebx + 8], 0xfffffffc
mov eax, dword [ebx + 8]
mov esi, dword [ebp - 8]
sub eax, edx
movss xmm1, dword [ebp + 8]
inc esi
sar eax, 2
mov dword [ebp - 8], esi
cmp esi, eax
jb 0x408195
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebx + 0x58]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [eax + ecx*4]
movss xmm0, dword [ecx + 0x18]
comiss xmm0, dword [ecx + 0x14]
jb 0x408280
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov edx, dword [ecx + 0x10]
sar eax, 2
dec eax
cmp edx, eax
jae 0x40826a
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
jmp 0x40827d
cmp byte [ecx + 0xc], 0
je 0x408279
mov dword [ecx + 0x10], 0
jmp 0x40827d
mov byte [ecx + 0x1c], 0
xorps xmm0, xmm0
addss xmm0, dword [ebp + 8]
movss dword [ecx + 0x18], xmm0
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x1c]
push eax
movups xmmword [ebp - 0x1c], xmm0
call fcn.00418b80
mov eax, dword [ebx + 0x5c]
cmp eax, 3
je 0x408364
cmp eax, 4
je 0x40839b
movss xmm1, dword [ebx + 0x10]
movss xmm0, dword [ebx + 0x78]
comiss xmm0, xmm1
jbe 0x408300
comiss xmm0, dword [ebx + 0x14]
jbe 0x408300
mov eax, dword [ebx + 0x58]
mov dword [eax + 0x10], 0
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp byte [eax + 0xc], 0
jne 0x408394
mov dword [eax + 0x10], 0
mov byte [eax + 0x1c], 1
jmp 0x408394
movss xmm0, dword [ebx + 0x7c]
comiss xmm0, xmm1
jbe 0x40833a
comiss xmm0, dword [ebx + 0x14]
jbe 0x40833a
mov eax, dword [ebx + 0x58]
mov dword [eax + 0x10], 1
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc], 0
jne 0x408331
mov dword [eax + 0x10], 0
mov byte [eax + 0x1c], 1
mov dword [ebx + 0x5c], 1
jmp 0x40839b
mov eax, dword [ebx + 0x58]
mov dword [eax + 0x10], 2
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
cmp byte [eax + 0xc], 0
jne 0x40835b
mov dword [eax + 0x10], 0
mov byte [eax + 0x1c], 1
mov dword [ebx + 0x5c], 2
jmp 0x40839b
mov ecx, dword [ebx + 0x58]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0x10]
mov eax, dword [edx + eax*4]
cmp byte [eax + 0x1c], 0
jne 0x40839b
mov dword [ecx + 0x10], 0
mov eax, dword [edx]
cmp byte [eax + 0xc], 0
jne 0x408390
mov dword [eax + 0x10], 0
mov byte [eax + 0x1c], 1
mov byte [ebx + 0x18], 1
mov dword [ebx + 0x5c], 0
movss xmm1, dword [ebx + 0x10]
xorps xmm3, xmm3
movss xmm0, dword [0x56a060]
ucomiss xmm1, xmm3
movss dword [ebp - 8], xmm0
movss dword [ebp - 0xc], xmm1
lahf
test ah, 0x44
jnp 0x4083d9
movss xmm0, dword [ebx + 0x14]
divss xmm0, xmm1
call fcn.00404e50
movss xmm1, dword [ebp - 0xc]
xorps xmm3, xmm3
movss dword [ebp - 8], xmm0
comiss xmm3, xmm1
mov al, byte [ebx + 0x80]
jbe 0x40840e
test al, al
jne 0x40840e
mov ecx, dword [ebx + 4]
sub esp, 8
add ecx, 4
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0xbf800000
call fcn.00419120
mov byte [ebx + 0x80], 1
jmp 0x40843b
cmp al, 1
jne 0x40843e
comiss xmm1, xmm3
jb 0x40843e
mov ecx, dword [ebx + 4]
sub esp, 8
add ecx, 4
mov byte [ebx + 0x80], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0xbf800000
call fcn.00419120
xorps xmm3, xmm3
cmp byte [ebx + 0x80], 0
movss xmm0, dword [ebp - 8]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x56a070]
je 0x408461
movsd xmm1, qword [0x56a078]
jmp 0x408469
movsd xmm1, qword [0x56a080]
addsd xmm0, xmm1
cvtpd2ps xmm2, xmm0
movss xmm0, dword [ebx + 0x10]
ucomiss xmm0, xmm3
movaps xmm1, xmm2
lahf
test ah, 0x44
jp 0x408490
comiss xmm3, dword [ebx + 0x14]
jbe 0x408490
addss xmm1, dword [0x56a094]
push ecx
mov ecx, dword [ebx + 4]
add ecx, 4
movss dword [esp], xmm1
call fcn.004191e0
mov ecx, dword [ebx + 4]
mov esi, dword [ebx + 0x84]
add ecx, 4
call fcn.00418f20
push eax
lea ecx, [esi + 4]
call fcn.00419180
mov ebx, dword [ebx + 0x98]
xor esi, esi
mov ecx, dword [ebx + 8]
mov eax, ecx
mov edx, dword [ebx + 4]
sub eax, edx
sar eax, 2
test eax, eax
je 0x4084fb
mov ecx, dword [edx + esi*4]
movss xmm0, dword [ebp + 8]
add ecx, 4
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 8]
inc esi
mov edx, dword [ebx + 4]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x4084d4
sub ecx, edx
sar ecx, 2
test ecx, ecx
je 0x40855b
lea esi, [edx + ecx*4]
mov eax, dword [esi - 4]
lea edi, [esi - 4]
cmp byte [eax + 0x38], 0
jne 0x40855b
mov edx, dword [ebx + 8]
mov dword [ebp - 0xc], edx
cmp esi, edx
je 0x408547
nop dword [eax]
cmp edi, esi
je 0x40853d
mov eax, dword [esi]
mov dword [esi], 0
mov ecx, dword [edi]
mov dword [edi], eax
test ecx, ecx
je 0x40853d
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0xc]
add esi, 4
add edi, 4
cmp esi, edx
jne 0x408520
mov eax, dword [ebx + 8]
mov ecx, dword [eax - 4]
test ecx, ecx
je 0x408557
mov eax, dword [ecx]
push 1
call dword [eax]
add dword [ebx + 8], 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4