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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x474
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x470], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edx, dword [ecx]
cmp edx, 0x702
je 0x438eae
cmp edx, 0x700
je 0x438eae
cmp edx, 0x701
jne 0x4394aa
mov edi, dword [0x57d534]
xor eax, eax
test edi, edi
jle 0x4394aa
mov ebx, dword [ecx + 8]
mov esi, dword [0x57d530]
cmp dword [esi], ebx
jne 0x438ed5
mov edx, dword [ecx + 0xc]
cmp dword [esi + 4], edx
mov edx, dword [ecx]
je 0x438ef5
inc eax
add esi, 0x2028
cmp eax, edi
jl 0x438ec7
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.00401033
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x4394aa
movss xmm4, dword [ecx + 0x18]
movss xmm3, dword [ecx + 0x1c]
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x38], xmm3
cmp edx, 0x701
jne 0x4391aa
dec word [esi + 0x2018]
lea ecx, [esi + 0x2018]
cmp dword [esi + 0x2024], 0
lea edi, [esi + 0x10]
mov dword [esp + 0x30], ecx
je 0x439041
push 1
lea eax, [esp + 0x7c]
mov dword [esi + 0x2024], 0
push eax
push edi
call fcn.00439e10
add esp, 0xc
lea eax, [esp + 0x78]
cmp dword [0x57d538], 0
push eax
je 0x438fa3
push 0
call fcn.00438b30
mov edx, dword [0x57d534]
add esp, 8
mov ebx, esi
test edx, edx
jle 0x438fae
mov ecx, dword [0x57d530]
add ecx, 0x2024
nop word [eax + eax]
mov dword [ecx], 0
lea ecx, [ecx + 0x2028]
sub edx, 1
jne 0x438f90
jmp 0x438fae
push esi
call fcn.00438c90
add esp, 8
mov ebx, esi
test eax, eax
js 0x438fce
imul ecx, eax, 0x208
mov eax, dword [ebx + 0x2020]
mov edx, dword [eax + ecx + 0x200]
mov eax, dword [eax + ecx + 0x204]
jmp 0x438fd3
or edx, 0xffffffff
or eax, edx
push eax
push edx
push ebx
call fcn.00439920
add esp, 0xc
mov edi, dword [esp + 0x30]
movzx eax, word [edi]
test ax, ax
je 0x4394aa
mov ecx, eax
lea eax, [ecx + 1]
movd xmm1, ecx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm2
mulss xmm2, dword [ebx + 0xc]
mulss xmm0, dword [ebx + 8]
subss xmm2, dword [esp + 0x38]
subss xmm0, dword [esp + 0x34]
divss xmm2, xmm1
divss xmm0, xmm1
movss dword [ebx + 0xc], xmm2
movss dword [ebx + 8], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.00401033
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x53dd3c]
lea eax, [esp + 0x278]
push 0x200
push 0
push eax
movss dword [esp + 0x48], xmm0
call fcn.00459450
push 0
lea eax, [esp + 0x288]
push eax
push edi
call fcn.00439e10
lea eax, [esi + 0x201c]
mov dword [esp + 0x40], 0xffffffff
xor edi, edi
mov dword [esp + 0x44], eax
add esp, 0x18
mov ebx, esi
cmp dword [eax], edi
jle 0x438fde
movss xmm1, dword [0x53dd3c]
lea ecx, [esi + 0x2020]
mov dword [esp + 0x20], ecx
mov ebx, eax
nop dword [eax + eax]
imul eax, edi, 0x208
movss dword [esp + 0x24], xmm1
add eax, dword [ecx]
push eax
lea eax, [esp + 0x27c]
push eax
call fcn.00439990
movss xmm1, dword [esp + 0x44]
add esp, 8
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
comiss xmm1, xmm0
jbe 0x4390ed
movaps xmm1, xmm0
movss dword [esp + 0x3c], xmm1
movss xmm2, dword [esp + 0x24]
mov eax, edi
mov ecx, dword [esp + 0x20]
comiss xmm2, xmm0
cmovbe eax, dword [esp + 0x28]
inc edi
mov dword [esp + 0x28], eax
cmp edi, dword [ebx]
jl 0x4390b0
mov ebx, esi
test eax, eax
js 0x438fde
imul ecx, eax, 0x208
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push 0x800
mov eax, dword [eax]
mov edi, dword [ecx + eax + 0x200]
mov eax, dword [ecx + eax + 0x204]
mov dword [esp + 0x2c], eax
call fcn.00431460
add esp, 8
cmp al, 1
jne 0x438fde
mov eax, dword [esi]
movss xmm0, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x54], eax
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esi + 0xc]
movzx eax, word [edi]
inc eax
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 0x800
mov dword [esp + 0x50], ecx
movss dword [esp + 0x60], xmm0
call fcn.004331c0
add esp, 4
jmp 0x438fe2
cmp edx, 0x702
jne 0x439444
movss xmm1, dword [ecx + 0x20]
movss xmm2, dword [ecx + 0x24]
mov ecx, dword [esi + 0x14]
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x20], xmm2
cmp ecx, 0x400
jge 0x439251
mov eax, dword [esi + 8]
sub esp, 8
mov dword [esi + ecx*8 + 0x18], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [esi + ecx*8 + 0x1c], eax
mov eax, dword [esi + 0x14]
movss xmm0, dword [esi + eax*8 + 0x1c]
movss xmm1, dword [esi + eax*8 + 0x18]
subss xmm0, dword [esi + eax*8 + 0x14]
subss xmm1, dword [esi + eax*8 + 0x10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00459570
movss xmm1, dword [esp + 0x34]
add esp, 8
inc dword [esi + 0x14]
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x34]
fstp dword [esp + 0x24]
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esi + 0x10]
movss dword [esi + 0x10], xmm0
movzx ecx, word [esi + 0x2018]
subss xmm4, xmm1
movss xmm5, dword [esi + 8]
subss xmm3, xmm2
movss xmm6, dword [esi + 0xc]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
divss xmm2, xmm0
addss xmm1, xmm5
addss xmm2, xmm6
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm2
cmp ecx, 1
jbe 0x4394aa
subss xmm4, xmm5
sub esp, 8
subss xmm3, xmm6
movaps xmm0, xmm4
movss dword [esp + 0x2c], xmm4
movaps xmm1, xmm3
mulss xmm0, xmm4
mulss xmm1, xmm3
movss dword [esp + 0x34], xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.00459570
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [esi + 0xc]
movss xmm2, dword [esp + 0x3c]
subss xmm2, dword [esi + 8]
fstp dword [esp + 0x28]
movaps xmm1, xmm0
movss dword [esp + 0x40], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x3c], xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.00459570
movss xmm3, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x40]
movss xmm4, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x34]
divss xmm4, dword [esp + 0x28]
divss xmm5, dword [esp + 0x28]
fstp dword [esp + 0x30]
divss xmm2, dword [esp + 0x30]
divss xmm3, dword [esp + 0x30]
movaps xmm1, xmm2
mulss xmm2, xmm4
movaps xmm0, xmm3
mulss xmm1, xmm5
mulss xmm0, xmm4
mulss xmm3, xmm5
addss xmm1, xmm0
subss xmm2, xmm3
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.00459020
movss xmm0, dword [esp + 0x30]
add esp, 0x10
movss xmm1, dword [esp + 0x28]
subss xmm1, xmm0
fstp dword [esp + 0x24]
movss dword [esp + 0x28], xmm1
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x20], xmm1
lahf
test ah, 0x44
jp 0x4393b0
movss dword [esp + 0x28], xmm1
jmp 0x4393bc
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x20], xmm0
push 0xffffffffffffffff
push 0x802
call fcn.00431460
add esp, 8
cmp al, 1
jne 0x4394aa
movss xmm0, dword [esi + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esi + 0xc]
mov dword [esp + 0x48], eax
mov ax, word [esi + 0x2018]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x20]
mov word [esp + 0x60], ax
lea eax, [esp + 0x40]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x28]
push eax
mov dword [esp + 0x44], 0x802
mov dword [esp + 0x50], ecx
movss dword [esp + 0x58], xmm0
call fcn.004331c0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.00401033
mov esp, ebp
pop ebp
ret
cmp edx, 0x700
jne 0x4394aa
inc word [esi + 0x2018]
movzx ecx, word [esi + 0x2018]
mov dword [esi + 0x10], 0
movss dword [esi + 0x18], xmm4
movss dword [esi + 0x1c], xmm3
lea eax, [ecx - 1]
movd xmm1, ecx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov dword [esi + 0x14], 1
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm2
mulss xmm2, dword [esi + 0xc]
mulss xmm0, dword [esi + 8]
addss xmm2, xmm3
addss xmm0, xmm4
divss xmm2, xmm1
divss xmm0, xmm1
movss dword [esi + 0xc], xmm2
movss dword [esi + 8], xmm0
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401033
mov esp, ebp
pop ebp
ret