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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x67c3c0]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push edi
mov edi, dword [0x682080]
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], edx
mov eax, dword [edi + 0x1c18]
mov ecx, eax
shr ecx, 4
and eax, 0xffffffef
and ecx, 0xffffff01
mov dword [edi + 0x1c18], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [0x682080]
mov eax, dword [ecx + 0x1b94]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b94]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x8f], 0
jne 0x40a049
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
push 0
push edx
call fcn.0040ec80
mov ecx, dword [0x682080]
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp dword [ecx + 0x1bc8], eax
jne 0x4098b2
mov dword [ecx + 0x1bcc], eax
cmp dword [ecx + 0x1c04], eax
jne 0x4098c1
mov byte [ecx + 0x1c08], 1
mov eax, esi
and eax, 0x20
mov dword [esp + 0x2c], eax
je 0x4098d1
xorps xmm0, xmm0
jmp 0x4098ea
mov eax, dword [0x682080]
movss xmm0, dword [eax + 0x1554]
addss xmm0, xmm0
addss xmm0, dword [eax + 0x1930]
push ecx
mov dword [esp], 0xbf800000
lea eax, [esp + 0x74]
push 1
push 0
push dword [esp + 0x54]
movss dword [esp + 0x30], xmm0
push eax
call fcn.0040b100
add esp, 0x10
mov esi, eax
lea eax, [esp + 0x94]
mov dword [esp], 0xbf800000
push 1
push 0
push dword [esp + 0x40]
push eax
call fcn.0040b100
mov ecx, dword [0x682080]
add esp, 0x14
movss xmm3, dword [eax]
test byte [ecx + 0x1c78], 1
maxss xmm3, dword [esi]
movss xmm6, dword [eax + 4]
maxss xmm6, dword [esi + 4]
mov eax, dword [ecx + 0x1b94]
movss dword [esp + 0xa8], xmm3
je 0x409968
movss xmm0, dword [ecx + 0x1c7c]
jmp 0x409970
movss xmm0, dword [eax + 0x1b4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x4099b5
cmp dword [eax + 0x198], 0
movss xmm1, dword [eax + 0x24c]
jne 0x409992
cmp dword [ecx + 0x1ecc], 0
je 0x40999a
movss xmm1, dword [eax + 0x21c]
subss xmm1, dword [eax + 0xcc]
addss xmm1, xmm0
movss xmm0, dword [0x5cbff0]
maxss xmm0, xmm1
xorps xmm1, xmm1
mov esi, dword [ebp + 0x10]
mov eax, esi
and eax, 0x40
mov dword [esp + 0x4c], eax
je 0x4099cb
movss xmm4, dword [esp + 0x20]
jmp 0x4099d6
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm3, xmm1
mov eax, dword [esp + 0x28]
movss xmm0, dword [edi + 0x1554]
movss xmm5, dword [eax + 0xcc]
addss xmm0, xmm0
movaps xmm2, xmm5
movss dword [esp + 0x38], xmm4
addss xmm2, xmm4
addss xmm0, xmm6
addss xmm0, dword [eax + 0xd0]
movss dword [esp + 0x5c], xmm5
movss xmm4, dword [eax + 0xd0]
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x64], xmm2
movss dword [esp + 0x68], xmm0
jbe 0x409a36
addss xmm3, dword [edi + 0x1568]
jmp 0x409a39
xorps xmm3, xmm3
addss xmm0, xmm1
movss dword [esp + 0x70], xmm5
addss xmm2, xmm3
movss dword [esp + 0x74], xmm4
push ecx
lea eax, [esp + 0x14]
movss dword [esp + 0x80], xmm0
subss xmm0, xmm4
movss dword [esp + 0x7c], xmm2
subss xmm2, xmm5
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x1554]
movss dword [esp], xmm0
push eax
movss dword [esp + 0x18], xmm2
call fcn.00410500
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x80]
push eax
call fcn.00410160
add esp, 0x14
test al, al
je 0x40a049
push 0
lea eax, [esp + 0x93]
push eax
lea eax, [esp + 0x77]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x6c]
push eax
call fcn.00431580
push 0
push dword [esp + 0x34]
mov byte [esp + 0x2b], al
call fcn.0040fec0
mov edx, dword [0x682080]
mov ecx, 0x134
add edx, 0x1518
movss xmm1, dword [esp + 0x78]
cmp byte [esp + 0x8b], 0
mov byte [esp + 0x2a], al
mov eax, 0x144
cmovne ecx, eax
lea eax, [esp + 0x78]
add ecx, edx
push 1
push dword [esp + 0x3c]
movups xmm0, xmmword [ecx]
push eax
movaps xmmword [esp + 0x98], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [edx]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x8c]
subss xmm0, dword [esp + 0x48]
maxss xmm1, xmm0
movss dword [esp + 0x58], xmm1
call fcn.004161f0
add esp, 0x28
mov edx, 0xf0
cmp dword [esp + 0x4c], 0
jne 0x409bb6
movss xmm0, dword [esp + 0x30]
mov eax, 0x50
cmp dword [esp + 0x2c], 0
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x68]
cmovne eax, edx
push eax
movss dword [esp + 0x18], xmm0
lea eax, [esp + 0x74]
movss xmm0, dword [edi + 0x1558]
push ecx
movss dword [esp], xmm0
push eax
call fcn.0040c080
mov ecx, dword [esp + 0x34]
add esp, 4
mov ecx, dword [ecx + 0x288]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0041e9e0
mov edx, 0xf0
cmp dword [esp + 0x2c], 0
jne 0x409cfd
cmp byte [esp + 0xe], 0
jne 0x409bd4
cmp byte [esp + 0x6f], 0
mov ecx, 0x214
je 0x409bd9
mov ecx, 0x224
mov eax, dword [0x682080]
movups xmm1, xmmword [ecx + eax + 0x1518]
movss xmm2, dword [eax + 0x1518]
movaps xmmword [esp + 0x70], xmm1
movaps xmm0, xmm2
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [esp + 0x7c], xmm0
movups xmm0, xmmword [eax + 0x15dc]
mov eax, 0xa0
movaps xmmword [esp + 0x90], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm2, xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [esp + 0x38]
movss xmm0, dword [edi + 0x1558]
movss dword [esp + 0x9c], xmm2
cmovae eax, edx
push eax
push ecx
lea eax, [esp + 0x78]
movss dword [esp], xmm0
push eax
call fcn.0040c080
add esp, 4
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x288]
call fcn.0041e9e0
movss xmm2, dword [esp + 0x30]
movss xmm0, dword [esp + 0x64]
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x20]
subss xmm1, dword [edi + 0x1550]
comiss xmm0, xmm1
jb 0x409cfd
movss xmm1, dword [edi + 0x1554]
lea eax, [esp + 0x90]
movaps xmm0, xmm1
addss xmm1, dword [esp + 0x60]
push ecx
addss xmm0, xmm2
mov dword [esp], 0x3f800000
push 3
push eax
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x1c], xmm0
call fcn.0040c080
add esp, 4
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x38]
push dword [esp + 0x20]
push dword [eax + 0x288]
call fcn.00421170
add esp, 0x18
mov ecx, dword [esp + 0x68]
xorps xmm0, xmm0
mov eax, dword [esp + 0x64]
movss xmm3, dword [edi + 0x1558]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x682080]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x70], eax
movss xmm1, dword [ecx + 0x155c]
comiss xmm1, xmm0
mov eax, dword [ecx + 0x1b94]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x58], xmm1
jbe 0x409e80
movups xmm0, xmmword [ecx + 0x163c]
lea eax, [esp + 0xb0]
movss xmm2, dword [0x5cbff0]
movaps xmmword [esp + 0xb0], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [ecx + 0x1518]
push ecx
movss dword [esp], xmm1
push 0
movss dword [esp + 0xc4], xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm0, xmm2
push ecx
movss dword [esp], xmm3
push eax
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x78]
addss xmm0, xmm2
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm0, xmm2
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, xmm2
movss dword [esp + 0x54], xmm0
call fcn.0040c080
mov ecx, dword [esp + 0x3c]
add esp, 4
mov ecx, dword [ecx + 0x288]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041e8e0
mov eax, dword [0x682080]
push ecx
movups xmm0, xmmword [eax + 0x162c]
movaps xmmword [esp + 0xb4], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1518]
lea eax, [esp + 0xb4]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x14]
push 0
push ecx
movss dword [esp], xmm0
push eax
call fcn.0040c080
add esp, 4
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x288]
call fcn.0041e8e0
mov ecx, dword [0x682080]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x409f1e
cmp dword [esp + 0x4c], 0
jne 0x409f1e
movss xmm0, dword [esp + 0x30]
lea ecx, [esp + 0x70]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [edi + 0x1550]
push 0
push ecx
push 0
push 0
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [edi + 0x1554]
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x8c], 0
push eax
movss dword [esp + 0x60], xmm0
call fcn.00416550
mov ecx, dword [0x682080]
add esp, 0x1c
mov dword [esp + 0x20], ecx
movss xmm0, dword [esp + 0xa8]
comiss xmm0, dword [0x5cbf98]
jbe 0x40a02f
movss xmm1, dword [esp + 0x64]
movss xmm0, dword [esp + 0x60]
addss xmm1, dword [edi + 0x1568]
addss xmm0, dword [edi + 0x1554]
mov esi, dword [esp + 0x34]
movss dword [esp + 0xa8], xmm1
movss dword [esp + 0xac], xmm0
cmp esi, 0xffffffff
jae 0x40a02c
nop
mov dl, byte [esi]
test dl, dl
je 0x409f86
cmp dl, 0x23
jne 0x409f80
cmp byte [esi + 1], dl
je 0x409f86
inc esi
cmp esi, 0xffffffff
jb 0x409f70
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x40a02c
movups xmm0, xmmword [ecx + 0x15dc]
push 0
push ecx
movaps xmmword [esp + 0xb8], xmm0
mov dword [esp], 0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [ecx + 0x1518]
push esi
push eax
lea eax, [esp + 0xc0]
push eax
movss dword [esp + 0xd0], xmm0
call fcn.0040c080
add esp, 4
push eax
lea eax, [esp + 0xbc]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [eax + 0x1b94]
movss xmm0, dword [eax + 0x1930]
movss dword [esp], xmm0
push dword [eax + 0x192c]
mov ecx, dword [ecx + 0x288]
call fcn.0041ebf0
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x2ed8], 0
je 0x40a026
push esi
push dword [esp + 0x38]
lea eax, [esp + 0xb0]
push eax
call fcn.004108d0
add esp, 0xc
mov ecx, dword [0x682080]
mov esi, dword [ebp + 0x10]
cmp byte [esp + 0xf], 0
mov eax, dword [esp + 0x1c]
jne 0x40a05f
cmp dword [edi + 0x1d04], eax
je 0x40a05f
cmp byte [esp + 0xe], 0
jne 0x40a08a
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0xe], 0
jne 0x40a08a
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x140], 0
jne 0x40a079
mov dword [ecx + 0x330], eax
push 0
push eax
call fcn.00415000
mov ecx, dword [0x682080]
add esp, 8
cmp byte [esp + 0x50], 0
je 0x40a0b3
movss xmm0, dword [edi + 0x1c54]
maxss xmm0, dword [esp + 0x38]
or dword [edi + 0x1c18], 0x10
movss dword [edi + 0x1c54], xmm0
jmp 0x40a166
mov edx, dword [esp + 0x3c]
mov eax, esi
movss xmm3, dword [0x5cc058]
or edx, 4
test al, 0x1e
cmovne edx, dword [esp + 0x3c]
mov dword [ebp + 0x10], edx
test dl, 4
je 0x40a0da
mov eax, 8
jmp 0x40a0f0
test dl, 2
je 0x40a0e6
mov eax, 4
jmp 0x40a0f0
test dl, 8
je 0x40a122
mov eax, 0x14
movss xmm1, dword [ecx + 0x1564]
movss xmm2, dword [ecx + 0x1520]
movaps xmm3, xmm1
addss xmm3, dword [ecx + 0x1930]
movd xmm0, eax
addss xmm2, xmm2
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm0
subss xmm3, xmm1
addss xmm3, xmm2
movss xmm0, dword [esp + 0x38]
lea eax, [esp + 0x70]
push 0
push 0
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x7c], 0x7f7fffff
push eax
movss dword [esp + 0x84], xmm3
movss dword [esp + 0xa0], xmm0
mov dword [esp + 0xa4], 0
call fcn.004191a0
add esp, 0x10
push dword [edi + 0x1ce0]
lea eax, [esp + 0xd0]
push str.Combo__02d
push 0x10
push eax
call fcn.0040ebe0
lea eax, [esp + 0xdc]
push eax
call fcn.0040d8e0
mov esi, eax
add esp, 0x14
mov dword [esp + 0x3c], esi
test esi, esi
je 0x40a2b4
cmp byte [esi + 0x8b], 0
je 0x40a2b4
lea eax, [esp + 0x50]
mov dword [esp + 0x54], 0
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x54], 0
push eax
push esi
call fcn.0040b510
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x80]
push esi
push eax
call fcn.0040b280
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.0040b6a0
push dword [esp + 0x60]
add esi, 0xa4
mov ecx, 3
test byte [ebp + 0x10], 1
mov eax, 0
cmove eax, ecx
mov dword [esi], eax
lea eax, [esp + 0xd8]
push eax
call fcn.0040e980
movss xmm0, dword [esp + 0x88]
lea eax, [esp + 0x88]
push 1
push eax
lea eax, [esp + 0xe4]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x9c]
push eax
push esi
lea eax, [esp + 0x7c]
movss dword [esp + 0xb0], xmm0
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0040d3a0
mov edx, dword [0x682080]
add esp, 0x48
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
or dword [edx + 0x1c18], 1
mov dword [edx + 0x1c28], eax
mov dword [edx + 0x1c2c], ecx
mov dword [edx + 0x1c30], 0
mov dword [edx + 0x1c34], 0
mov dword [edx + 0x1c1c], 1
movss xmm0, dword [edi + 0x1550]
lea eax, [esp + 0x70]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [edi + 0x1520]
push eax
push 1
movss dword [esp + 0x7c], xmm0
call fcn.00415850
push 0
push 0x4000143
lea eax, [esp + 0xdc]
push 0
push eax
call fcn.00407400
push 1
mov byte [esp + 0x2b], al
call fcn.00415340
add esp, 0x1c
cmp byte [esp + 0xf], 0
jne 0x40a322
call fcn.0040d000
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret