Function at 0x4384a0
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 0x4384de
cmp edx, 0x700
je 0x4384de
cmp edx, 0x701
jne 0x438ada
mov edi, dword [0x57e54c]
xor eax, eax
test edi, edi
jle 0x438ada
mov ebx, dword [ecx + 8]
mov esi, dword [0x57e548]
cmp dword [esi], ebx
jne 0x438505
mov edx, dword [ecx + 0xc]
cmp dword [esi + 4], edx
mov edx, dword [ecx]
je 0x438525
inc eax
add esi, 0x2028
cmp eax, edi
jl 0x4384f7
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 0x438ada
movss xmm4, dword [ecx + 0x18]
movss xmm3, dword [ecx + 0x1c]
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x38], xmm3
cmp edx, 0x701
jne 0x4387da
dec word [esi + 0x2018]
lea ecx, [esi + 0x2018]
cmp dword [esi + 0x2024], 0
lea edi, [esi + 0x10]
mov dword [esp + 0x30], ecx
je 0x438671
push 1
lea eax, [esp + 0x7c]
mov dword [esi + 0x2024], 0
push eax
push edi
call fcn.00439440
add esp, 0xc
lea eax, [esp + 0x78]
cmp dword [0x57e550], 0
push eax
je 0x4385d3
push 0
call fcn.00438160
mov edx, dword [0x57e54c]
add esp, 8
mov ebx, esi
test edx, edx
jle 0x4385de
mov ecx, dword [0x57e548]
add ecx, 0x2024
nop word [eax + eax]
mov dword [ecx], 0
lea ecx, [ecx + 0x2028]
sub edx, 1
jne 0x4385c0
jmp 0x4385de
push esi
call fcn.004382c0
add esp, 8
mov ebx, esi
test eax, eax
js 0x4385fe
imul ecx, eax, 0x208
mov eax, dword [ebx + 0x2020]
mov edx, dword [eax + ecx + 0x200]
mov eax, dword [eax + ecx + 0x204]
jmp 0x438603
or edx, 0xffffffff
or eax, edx
push eax
push edx
push ebx
call fcn.00438f50
add esp, 0xc
mov edi, dword [esp + 0x30]
movzx eax, word [edi]
test ax, ax
je 0x438ada
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 [0x53e924]
lea eax, [esp + 0x278]
push 0x200
push 0
push eax
movss dword [esp + 0x48], xmm0
call fcn.004588c0
push 0
lea eax, [esp + 0x288]
push eax
push edi
call fcn.00439440
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 0x43860e
movss xmm1, dword [0x53e924]
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.00438fc0
movss xmm1, dword [esp + 0x44]
add esp, 8
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
comiss xmm1, xmm0
jbe 0x43871d
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 0x4386e0
mov ebx, esi
test eax, eax
js 0x43860e
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.00430960
add esp, 8
cmp al, 1
jne 0x43860e
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.004326c0
add esp, 4
jmp 0x438612
cmp edx, 0x702
jne 0x438a74
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 0x438881
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.004589e0
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 0x438ada
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.004589e0
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.004589e0
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.00458490
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 0x4389e0
movss dword [esp + 0x28], xmm1
jmp 0x4389ec
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x20], xmm0
push 0xffffffffffffffff
push 0x802
call fcn.00430960
add esp, 8
cmp al, 1
jne 0x438ada
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.004326c0
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 0x438ada
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