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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x508040]
xor eax, esp
mov dword [esp + 0x74], eax
mov dword [esp + 8], ecx
mov ecx, dword [0x57ecb0]
push esi
push edi
mov eax, dword [ecx + 0x3e58]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e58]
mov dword [esp + 0x1c], eax
cmp byte [eax + 0x93], 0
jne 0x43167e
cmp dword [esp + 0x10], edx
mov esi, 0x4f547e
mov edi, esi
cmovne esi, dword [esp + 0x10]
cmovne edi, edx
test edi, edi
jne 0x431182
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431170
sub ecx, edx
lea edi, [esi + ecx]
mov ecx, dword [0x57ecb0]
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x18c]
movss xmm5, dword [eax + 0x10c]
movss xmm4, dword [eax + 0xd4]
addss xmm5, dword [eax + 0xd8]
comiss xmm1, xmm0
mov eax, edi
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x28], xmm5
setae dl
sub eax, esi
cmp eax, 0x7d0
jle 0x43150a
test dl, dl
jne 0x43150e
movaps xmm1, xmm5
movss xmm3, dword [ecx + 0x3be8]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x38], xmm1
cmp byte [ecx + 0x5278], dl
jne 0x43128b
mov eax, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x1fc]
subss xmm0, xmm5
divss xmm0, xmm3
cvttss2si ecx, xmm0
mov dword [esp + 0x10], ecx
test ecx, ecx
jle 0x431285
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, edi
jae 0x431270
cmp eax, ecx
jge 0x43125e
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.004b2e00
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp esi, edi
jb 0x431231
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x20]
movss xmm5, dword [esp + 0x28]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm3
addss xmm1, xmm5
movss dword [esp + 0x38], xmm1
mov ecx, dword [0x57ecb0]
cmp esi, edi
jae 0x4314a6
mov eax, dword [0x57ecbc]
movaps xmm5, xmm4
addss xmm5, dword [0x4fba48]
movaps xmm0, xmm1
mov dword [esp + 0x18], eax
addss xmm0, xmm3
movaps xmm2, xmm1
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x4c], xmm5
movss dword [esp + 0x10], xmm0
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ecx + 0x3e58]
comiss xmm0, dword [eax + 0x1fc]
jbe 0x431302
movss xmm0, dword [eax + 0x204]
comiss xmm0, xmm2
jbe 0x431302
comiss xmm5, dword [eax + 0x1f8]
jbe 0x431302
movss xmm0, dword [eax + 0x200]
comiss xmm0, xmm4
ja 0x43130f
cmp byte [ecx + 0x5278], 0
je 0x431451
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.004b2e00
movss xmm3, dword [0x4fba48]
test eax, eax
movss xmm2, dword [0x4fb9ac]
cmove eax, edi
add esp, 8
mov dword [esp + 0x44], eax
push eax
push esi
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x7c]
mov dword [esp], 0
push eax
call fcn.0042cdf0
movss xmm7, dword [esp + 0x14]
xor ecx, ecx
movss xmm1, dword [0x4fb928]
maxss xmm7, dword [eax]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x24c]
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x2c], xmm7
call fcn.00409070
mov dword [esp + 0x3c], eax
test dword [esp + 0x3c], 0xff000000
mov eax, dword [esp + 0x40]
mov ecx, eax
je 0x4313fc
test eax, eax
jne 0x4313ad
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x48], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4313a0
sub ecx, dword [esp + 0x48]
add ecx, esi
cmp esi, ecx
je 0x4313fc
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4313bf
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 8]
movups xmm0, xmmword [edx + 0x60]
push 0
movss xmm2, dword [0x4fb9ac]
push ecx
mov dword [esp], 0
push ecx
push esi
lea ecx, [esp + 0x60]
push ecx
push dword [esp + 0x50]
lea ecx, [esp + 0x4c]
push ecx
push edx
mov ecx, eax
movups xmmword [esp + 0x70], xmm0
call fcn.0042cfa0
mov edx, dword [0x57ecbc]
mov dword [esp + 0x18], edx
movss xmm3, dword [esp + 0x24]
movss xmm2, dword [esp + 0x44]
movss xmm0, dword [esp + 0x10]
addss xmm2, xmm3
movss xmm1, dword [esp + 0x38]
addss xmm0, xmm3
mov esi, dword [esp + 0x40]
addss xmm1, xmm3
movss xmm4, dword [esp + 0x20]
inc esi
movss xmm5, dword [esp + 0x4c]
mov ecx, dword [0x57ecb0]
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x38], xmm1
cmp esi, edi
jb 0x4312d0
xor eax, eax
mov dword [esp + 0x10], eax
cmp esi, edi
jae 0x431491
nop dword [eax + eax]
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.004b2e00
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp esi, edi
jb 0x431460
movss xmm1, dword [esp + 0x38]
movss xmm3, dword [esp + 0x24]
movss xmm5, dword [esp + 0x28]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm2, dword [esp + 0x20]
subss xmm1, xmm5
movaps xmm0, xmm2
movss dword [esp + 0x6c], xmm2
addss xmm0, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
movss dword [esp + 0x70], xmm5
movss dword [esp + 0x30], xmm1
addss xmm1, xmm5
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x78], xmm1
xorps xmm1, xmm1
call fcn.004153b0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x74]
call fcn.00415510
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004af2b0
mov esp, ebp
pop ebp
ret
test dl, dl
je 0x431559
comiss xmm0, xmm1
ja 0x431559
mov ecx, dword [ecx + 0x3e58]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x431538
movss xmm1, dword [ecx + 0x1e0]
subss xmm1, xmm4
maxss xmm1, dword [0x4fb928]
jmp 0x43155c
comiss xmm1, xmm0
jbe 0x43154b
movss xmm0, dword [ecx + 0x10]
subss xmm0, dword [ecx + 0x5c]
addss xmm1, xmm0
subss xmm1, xmm4
maxss xmm1, dword [0x4fb928]
jmp 0x43155c
xorps xmm1, xmm1
movss xmm3, dword [0x4fba48]
lea eax, [esp + 0x2c]
movss xmm2, dword [0x4fb9ac]
push ecx
push edi
push esi
push ecx
mov ecx, dword [0x57ecbc]
movss dword [esp], xmm1
push eax
movss dword [esp + 0x28], xmm1
call fcn.0042cdf0
movss xmm1, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x28]
addss xmm1, xmm2
movss xmm0, dword [esp + 0x30]
addss xmm0, xmm3
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x70], xmm3
movss dword [esp + 0x74], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x78], xmm0
call fcn.004153b0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x74]
call fcn.00415510
add esp, 8
test al, al
je 0x43167e
movss xmm1, dword [0x4fb928]
xor ecx, ecx
call fcn.00409070
mov edx, dword [0x57ecbc]
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, 0xff000000
je 0x43167e
test edi, edi
jne 0x431621
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431615
sub ecx, edi
lea edi, [ecx + esi]
cmp esi, edi
je 0x43167e
test edx, edx
jne 0x431639
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x24c]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x1c]
movss xmm2, dword [0x4fb9ac]
push 0
push ecx
mov eax, dword [ecx + 0x24c]
lea ecx, [esp + 0x58]
movups xmm0, xmmword [eax + 0x60]
movups xmmword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp], xmm0
push edi
push esi
push ecx
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x84]
push ecx
push eax
mov ecx, edx
call fcn.0042cfa0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.004af2b0
mov esp, ebp
pop ebp
ret