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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf94
mov eax, dword [0x4e0070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov dword [ebp - 0xf50], ebx
comiss xmm0, dword [ebx + 0x1c]
jae 0x43187a
comiss xmm0, dword [ebx + 0x20]
jae 0x43187a
mov esi, dword [0x4e40a0]
test esi, esi
je 0x431064
mov esi, dword [esi + 0x78]
jmp 0x431066
xor esi, esi
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 4]
mov dword [ebp - 0xf40], esi
mov dword [ebp - 0xf48], edi
test ecx, ecx
je 0x431095
mov eax, dword [esi + 0x38]
cmp eax, dword [ebx + 0xc]
jge 0x4310eb
test ecx, ecx
je 0x431095
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], 0
mov eax, dword [ebx + 0xc]
lea edx, [esi + 0xc]
add eax, 0x1388
xorps xmm0, xmm0
mov dword [esi + 0x38], eax
movups xmmword [ebp - 0x1c], xmm0
push edx
lea eax, [eax + eax*4]
movq qword [ebp - 0xc], xmm0
shl eax, 2
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push 0
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0x10000
mov dword [ebp - 0xc], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x43187a
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43110b
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebx + 8]
jge 0x431156
test ecx, ecx
je 0x43110b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 8]
lea edx, [esi + 0x10]
add eax, 0x2710
xorps xmm0, xmm0
mov dword [esi + 0x3c], eax
add eax, eax
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push edx
push 0
movq qword [ebp - 0xc], xmm0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 0x10000
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x43187a
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push 0
push 4
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x43187a
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
push 0
push 4
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x43187a
cmp dword [ebx + 4], 0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xf44], ecx
mov dword [ebp - 0xf3c], eax
jle 0x431212
xor edi, edi
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [esi + 0x20]
push ecx
call fcn.00476050
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, eax
push eax
push dword [esi + 0x14]
push dword [ebp - 0xf3c]
call fcn.00476050
mov eax, dword [esi + 0x18]
inc edi
mov ecx, dword [ebp - 0xf44]
add esp, 0xc
mov edx, dword [ebp - 0xf3c]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xf44], ecx
lea edx, [edx + eax*2]
mov dword [ebp - 0xf3c], edx
cmp edi, dword [ebx + 4]
jl 0x4311a6
mov edi, dword [ebp - 0xf48]
mov esi, dword [ebp - 0xf40]
mov eax, dword [edi]
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
push 0
push 4
push 0
push dword [esi + 0x1c]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x43187a
movss xmm6, dword [ebx + 0x14]
movss xmm2, dword [0x4d37a4]
movaps xmm3, xmm6
addss xmm3, dword [ebx + 0x1c]
movss xmm5, dword [ebx + 0x18]
movaps xmm0, xmm2
movaps xmm4, xmm5
mov dword [ebp - 0xf64], eax
addss xmm4, dword [ebx + 0x20]
mov eax, dword [ebp - 0x28]
movaps xmm1, xmm3
mov dword [ebp - 0xf68], 0x3f000000
subss xmm1, xmm6
mov dword [ebp - 0xf58], 0x3f000000
mov dword [ebp - 0xf54], 0x3f800000
push 0
divss xmm0, xmm1
movss dword [ebp - 0xf90], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0xf8c], xmm0
movaps xmm0, xmm5
subss xmm0, xmm4
divss xmm2, xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0xf78], xmm0
movaps xmm0, xmm3
movss dword [ebp - 0xf7c], xmm2
addss xmm0, xmm6
subss xmm6, xmm3
divss xmm0, xmm6
movss dword [ebp - 0xf60], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
subss xmm4, xmm5
divss xmm0, xmm4
movss dword [ebp - 0xf5c], xmm0
movups xmm0, xmmword [ebp - 0xf90]
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x28]
movups xmm0, xmmword [ebp - 0xf80]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [ebp - 0x28]
movups xmm0, xmmword [ebp - 0xf70]
movups xmmword [eax + 0x20], xmm0
mov eax, dword [ebp - 0x28]
movups xmm0, xmmword [ebp - 0xf60]
movups xmmword [eax + 0x30], xmm0
mov eax, dword [edi]
push dword [esi + 0x1c]
push edi
call dword [eax + 0x3c]
push 0xef0
lea eax, [ebp - 0xf38]
push 0
push eax
call fcn.00476640
add esp, 0xc
mov dword [ebp - 0xf34], 0x10
lea ecx, [ebp - 0xf30]
mov dword [ebp - 0xf38], 0x10
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0xf38]
push ecx
push edi
call dword [eax + 0x180]
mov eax, dword [edi]
lea ecx, [ebp - 0xe30]
push ecx
lea ecx, [ebp - 0xf34]
push ecx
push edi
call dword [eax + 0x17c]
mov eax, dword [edi]
lea ecx, [ebp - 0xcb0]
push ecx
push edi
call dword [eax + 0x178]
mov eax, dword [edi]
lea ecx, [ebp - 0xc98]
push ecx
lea ecx, [ebp - 0xca8]
push ecx
lea ecx, [ebp - 0xcac]
push ecx
push edi
call dword [eax + 0x16c]
mov eax, dword [edi]
lea ecx, [ebp - 0xc94]
push ecx
lea ecx, [ebp - 0xc90]
push ecx
push edi
call dword [eax + 0x170]
mov eax, dword [edi]
lea ecx, [ebp - 0xc8c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x124]
mov eax, dword [edi]
lea ecx, [ebp - 0xc88]
push ecx
push 1
push 0
push edi
call dword [eax + 0x12c]
lea ecx, [ebp - 0xc78]
mov dword [ebp - 0xc70], 0x100
push ecx
lea ecx, [ebp - 0xc6c]
mov dword [ebp - 0xc74], 0x100
push ecx
mov dword [ebp - 0xc78], 0x100
lea ecx, [ebp - 0xc84]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x128]
mov eax, dword [edi]
lea ecx, [ebp - 0xc74]
push ecx
lea ecx, [ebp - 0x86c]
push ecx
lea ecx, [ebp - 0xc80]
push ecx
push edi
call dword [eax + 0x130]
mov eax, dword [edi]
lea ecx, [ebp - 0x60]
push ecx
push 1
push 0
push edi
call dword [eax + 0x120]
mov eax, dword [edi]
lea ecx, [ebp - 0xc70]
push ecx
lea ecx, [ebp - 0x46c]
push ecx
lea ecx, [ebp - 0xc7c]
push ecx
push edi
call dword [eax + 0x148]
mov eax, dword [edi]
lea ecx, [ebp - 0x6c]
push ecx
push edi
call dword [eax + 0x14c]
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push edi
call dword [eax + 0x140]
mov eax, dword [edi]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 1
push 0
push edi
call dword [eax + 0x13c]
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
push edi
call dword [eax + 0x138]
mov edx, edi
mov ecx, ebx
call fcn.00430eb0
mov eax, dword [ebx + 0x14]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x18]
xor esi, esi
mov dword [ebp - 0xf40], ecx
mov dword [ebp - 0xf44], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xf48], esi
cmp dword [ebx + 4], ecx
jle 0x43164f
movss xmm4, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x24]
nop dword [eax]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xf4c], 0
mov ebx, dword [eax + esi*4]
cmp dword [ebx], 0
jle 0x431627
xor eax, eax
mov dword [ebp - 0xf3c], eax
mov esi, dword [ebx + 8]
add esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x431560
cmp eax, 0xffffffff
jne 0x431554
mov ecx, dword [ebp - 0xf50]
mov edx, edi
call fcn.00430eb0
jmp 0x4315e9
push esi
push ebx
call eax
add esp, 8
jmp 0x4315e9
movss xmm2, dword [esi]
movss xmm3, dword [esi + 8]
subss xmm2, xmm1
movss xmm0, dword [esi + 4]
subss xmm3, xmm1
movss xmm1, dword [esi + 0xc]
subss xmm0, xmm4
subss xmm1, xmm4
comiss xmm2, xmm3
jae 0x4315ee
comiss xmm0, xmm1
jae 0x4315ee
cvttss2si eax, xmm2
lea ecx, [ebp - 0x14]
push ecx
push 1
push edi
mov dword [ebp - 0x14], eax
cvttss2si eax, xmm0
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm3
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm1
mov dword [ebp - 8], eax
mov eax, dword [edi]
call dword [eax + 0xb4]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
push 1
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x20]
mov eax, dword [esi + 0x14]
add eax, dword [ebp - 0xf44]
mov ecx, dword [edi]
push eax
mov eax, dword [esi + 0x18]
add eax, dword [ebp - 0xf40]
push eax
push dword [esi + 0x1c]
push edi
call dword [ecx + 0x30]
movss xmm4, dword [ebp - 0x20]
mov eax, dword [ebp - 0xf4c]
add dword [ebp - 0xf3c], 0x28
inc eax
cmp eax, dword [ebx]
movss xmm1, dword [ebp - 0x24]
mov dword [ebp - 0xf4c], eax
mov eax, dword [ebp - 0xf3c]
jl 0x431531
mov ecx, dword [ebp - 0xf40]
mov edx, dword [ebp - 0xf44]
mov esi, dword [ebp - 0xf48]
add ecx, dword [ebx + 0xc]
inc esi
add edx, dword [ebx + 0x18]
mov ebx, dword [ebp - 0xf50]
mov dword [ebp - 0xf40], ecx
mov dword [ebp - 0xf44], edx
mov dword [ebp - 0xf48], esi
cmp esi, dword [ebx + 4]
jl 0x431510
mov eax, dword [edi]
lea ecx, [ebp - 0xf30]
push ecx
push dword [ebp - 0xf38]
push edi
call dword [eax + 0xb4]
mov eax, dword [edi]
lea ecx, [ebp - 0xe30]
push ecx
push dword [ebp - 0xf34]
push edi
call dword [eax + 0xb0]
push dword [ebp - 0xcb0]
mov eax, dword [edi]
push edi
call dword [eax + 0xac]
mov ecx, dword [ebp - 0xcb0]
test ecx, ecx
je 0x43169a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc98]
mov eax, dword [edi]
lea ecx, [ebp - 0xca8]
push ecx
push dword [ebp - 0xcac]
push edi
call dword [eax + 0x8c]
mov ecx, dword [ebp - 0xcac]
test ecx, ecx
je 0x4316c6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc94]
mov eax, dword [edi]
push dword [ebp - 0xc90]
push edi
call dword [eax + 0x90]
mov ecx, dword [ebp - 0xc90]
test ecx, ecx
je 0x4316eb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc8c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc8c]
test ecx, ecx
je 0x43170c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0xc88]
push ecx
push 1
push 0
push edi
call dword [eax + 0x28]
mov ecx, dword [ebp - 0xc88]
test ecx, ecx
je 0x43172d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc78]
mov eax, dword [edi]
lea ecx, [ebp - 0xc6c]
push ecx
push dword [ebp - 0xc84]
push edi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc84]
test ecx, ecx
je 0x431756
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc78]
xor esi, esi
test eax, eax
je 0x43177e
mov ecx, dword [ebp + esi*4 - 0xc6c]
test ecx, ecx
je 0x431779
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc78]
inc esi
cmp esi, eax
jb 0x431762
push dword [ebp - 0xc74]
mov eax, dword [edi]
lea ecx, [ebp - 0x86c]
push ecx
push dword [ebp - 0xc80]
push edi
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0xc80]
test ecx, ecx
je 0x4317a7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x60]
push ecx
push 1
push 0
push edi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x4317c2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0xc70]
mov eax, dword [edi]
lea ecx, [ebp - 0x46c]
push ecx
push dword [ebp - 0xc7c]
push edi
call dword [eax + 0x5c]
mov ecx, dword [ebp - 0xc7c]
test ecx, ecx
je 0x4317eb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc74]
xor esi, esi
test eax, eax
je 0x43181c
nop word [eax + eax]
mov ecx, dword [ebp + esi*4 - 0x86c]
test ecx, ecx
je 0x431817
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc74]
inc esi
cmp esi, eax
jb 0x431800
push dword [ebp - 0x6c]
mov eax, dword [edi]
push edi
call dword [eax + 0x60]
push dword [ebp - 0x5c]
mov eax, dword [edi]
push dword [ebp - 0x50]
push dword [ebp - 0x68]
push edi
call dword [eax + 0x4c]
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x431841
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 1
push 0
push edi
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x431864
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [ebp - 0x4c]
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x43187a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045d520
mov esp, ebp
pop ebp
ret