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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x69a450]
xor eax, esp
mov dword [esp + 0x9c], eax
movss xmm0, dword [ebp + 8]
lea eax, [esp + 0x44]
push esi
mov esi, ecx
movss dword [esp + 0x34], xmm0
push edi
push eax
push ecx
movss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x50], esi
movss dword [esp], xmm0
call fcn.005249d0
movss xmm1, dword [esp + 0x38]
mov ecx, esi
mulss xmm1, dword [esp + 0x4c]
mov edi, dword [esi + 0x50]
addss xmm1, dword [esi + 0x24]
cvttss2si eax, xmm1
mov dword [esp + 0x18], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [esi + 0x24], xmm1
call fcn.004af170
mov ecx, dword [esp + 0x18]
mov edx, 0
add eax, ecx
xorps xmm0, xmm0
sub eax, dword [edi + 4]
mov dword [esp + 0x14], edx
cmovs eax, edx
mov dword [esp + 0x10], edx
sub ecx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ecx
movss dword [esp + 0x3c], xmm0
je 0x522391
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, edi
movss dword [esp], xmm0
call fcn.00524ed0
movss xmm0, dword [esp + 0x14]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x522bdd
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.00524d70
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x98]
push eax
push ecx
mov ecx, dword [esi + 0x48]
movss dword [esp], xmm0
call fcn.00523ce0
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.00524b60
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.00524c10
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.00524cc0
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x34]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.00524e20
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.00524f90
movss xmm0, dword [esi + 0xc]
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esi + 0x50]
movss dword [esp], xmm0
call fcn.00525050
mov eax, dword [esi + 0x4c]
cmp byte [eax + 0x13], 3
jne 0x522391
mov edi, dword [esi + 4]
test edi, edi
je 0x522391
movss xmm1, dword [edi + 0x24]
movss xmm0, dword [0x657940]
mulss xmm1, xmm1
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.005c9080
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x611420]
jb 0x522391
movss xmm0, dword [edi + 4]
xorps xmm0, xmmword [0x657bc0]
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x14]
fld qword [esp + 0x20]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
call fcn.005c97aa
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x6579e4]
movss dword [esp + 0x3c], xmm0
cmp dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
jle 0x522bdd
lea esp, [esp]
call fcn.005200b0
mov ecx, dword [esi + 0x4c]
mov edi, eax
mov dword [esp + 0x20], edi
mov dword [edi + 0x5c], ecx
mov ecx, dword [esi + 0x50]
mov dword [edi + 0x60], ecx
movss xmm0, dword [esp + 0x14]
movss dword [edi + 0x54], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [edi + 0x58], xmm0
mov ecx, dword [esi + 0x50]
call fcn.00524aa0
movzx eax, al
cmp eax, 3
ja case.default.0x5223f1
jmp dword [eax*4 + 0x522c00]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
jmp case.default.0x5223f1
sub esp, 8
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.00526f40
fstp dword [edi + 0xc]
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.00526f40
add esp, 8
lea eax, [edi + 0xc]
fstp dword [edi + 0x10]
mov dword [edi + 0x14], 0
push eax
push eax
call fcn.00401277
mov ecx, dword [esi + 0x50]
call fcn.0057d360
test eax, eax
mov eax, dword [esi + 0x50]
je 0x52249a
movss xmm1, dword [eax + 0x28]
addss xmm1, dword [esp + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0xc]
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x10]
mulss xmm1, dword [edi + 0x14]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
jmp case.default.0x5223f1
movss xmm0, dword [eax + 0x28]
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.00526f40
fadd dword [esp + 0x18]
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0xc]
movss dword [edi + 0xc], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x10]
mulss xmm1, dword [edi + 0x14]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
jmp 0x522676
mov eax, dword [esi + 0x50]
sub esp, 8
movss xmm1, dword [eax + 0x1c]
movaps xmm0, xmm1
mulss xmm1, dword [0x611424]
mulss xmm0, dword [0x657934]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.00526f40
fadd dword [esp + 0x18]
fstp dword [edi + 0xc]
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x20]
movaps xmm0, xmm1
mulss xmm1, dword [0x611424]
mulss xmm0, dword [0x657934]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.00526f40
fadd dword [esp + 0x18]
fstp dword [edi + 0x10]
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x24]
movaps xmm0, xmm1
mulss xmm1, dword [0x611424]
mulss xmm0, dword [0x657934]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.00526f40
fadd dword [esp + 0x18]
fstp dword [edi + 0x14]
jmp 0x522676
sub esp, 8
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.00526f40
fstp dword [edi + 0xc]
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.00526f40
fstp dword [edi + 0x10]
mov dword [esp + 4], 0x43fa0000
mov dword [esp], 0xc3fa0000
call fcn.00526f40
add esp, 8
lea eax, [edi + 0xc]
fstp dword [edi + 0x14]
push eax
push eax
call fcn.00401277
mov ecx, dword [esi + 0x50]
call fcn.0057d360
test eax, eax
mov eax, dword [esi + 0x50]
je 0x522624
movss xmm1, dword [eax + 0x28]
addss xmm1, dword [esp + 0x10]
movss xmm0, dword [edi + 0xc]
mulss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
movss dword [edi + 0x10], xmm0
movss xmm0, dword [edi + 0x14]
mulss xmm0, xmm1
movss dword [edi + 0x14], xmm0
jmp case.default.0x5223f1
movss xmm0, dword [eax + 0x28]
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.00526f40
fadd dword [esp + 0x18]
movss xmm0, dword [edi + 0xc]
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
mulss xmm0, xmm1
movss dword [edi + 0xc], xmm0
movss xmm0, dword [edi + 0x10]
mulss xmm0, xmm1
movss dword [edi + 0x10], xmm0
movss xmm0, dword [edi + 0x14]
mulss xmm0, xmm1
movss dword [edi + 0x14], xmm0
add esp, 8
movq xmm0, qword [esp + 0x98]
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0xa0]
movq qword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x98]
mov dword [esp + 0x64], eax
addss xmm0, dword [ecx]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [ecx + 4]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [ecx + 8]
movss dword [ecx + 8], xmm0
mov edx, dword [esi + 4]
test edx, edx
je 0x5226ed
mov eax, dword [esi + 0x4c]
cmp dword [eax + 0x20], 0
jne 0x5226ed
push edx
push ecx
push ecx
call fcn.00401587
push dword [esi + 4]
lea eax, [esp + 0x60]
push eax
push eax
call fcn.00401587
movq xmm0, qword [esp + 0x5c]
movq qword [edi], xmm0
mov eax, dword [esp + 0x64]
mov dword [edi + 8], eax
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [esi + 0x50]
call fcn.00524a90
cmp al, 2
jne 0x522779
movss xmm2, dword [edi + 0x10]
lea eax, [esp + 0x8c]
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0xc]
subss xmm2, dword [esp + 0x60]
subss xmm1, dword [esp + 0x64]
subss xmm0, dword [esp + 0x5c]
push eax
lea eax, [edi + 0x24]
push eax
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x9c], xmm1
call fcn.00401277
movss xmm1, dword [0x657a68]
jmp 0x522837
mov ecx, dword [esi + 0x50]
call fcn.00524a90
cmp al, 1
jne 0x522861
mov ecx, dword [esi + 0x50]
call fcn.00524aa0
test al, al
jne 0x5227e2
sub esp, 8
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0xc2c80000
call fcn.00526f40
fstp dword [edi + 0x24]
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0xc2c80000
call fcn.00526f40
fstp dword [edi + 0x28]
mov dword [esp + 4], 0x42c80000
mov dword [esp], 0xc2c80000
call fcn.00526f40
fstp dword [edi + 0x2c]
add esp, 8
jmp 0x522861
movss xmm2, dword [edi + 0x10]
lea eax, [esp + 0x80]
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0xc]
subss xmm2, dword [esp + 0x60]
subss xmm1, dword [esp + 0x64]
subss xmm0, dword [esp + 0x5c]
push eax
lea eax, [edi + 0x24]
push eax
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x90], xmm1
call fcn.00401277
movss xmm1, dword [0x6579f8]
movss xmm0, dword [edi + 0x24]
mulss xmm0, xmm1
movss dword [edi + 0x24], xmm0
movss xmm0, dword [edi + 0x28]
mulss xmm0, xmm1
movss dword [edi + 0x28], xmm0
movss xmm0, dword [edi + 0x2c]
mulss xmm0, xmm1
movss dword [edi + 0x2c], xmm0
movq xmm0, qword [esp + 0x74]
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x7c]
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], eax
test ecx, ecx
je 0x522891
mov eax, dword [esi + 0x4c]
cmp dword [eax + 0x20], 0
jne 0x522891
push ecx
lea eax, [esp + 0x6c]
push eax
push eax
call fcn.0040159a
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [edi + 0x24]
movss dword [edi + 0x24], xmm0
movss xmm0, dword [edi + 0x28]
addss xmm0, dword [esp + 0x6c]
movss dword [edi + 0x28], xmm0
movss xmm0, dword [edi + 0x2c]
addss xmm0, dword [esp + 0x70]
movss dword [edi + 0x2c], xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x2c]
comiss xmm1, xmm0
jbe 0x522909
movaps xmm0, xmm1
sub esp, 8
mulss xmm0, dword [0x657934]
mulss xmm1, dword [0x611424]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.00526f40
fmul dword [0x657a2c]
add esp, 8
xorps xmm0, xmm0
fadd dword [edi + 0x24]
fstp dword [edi + 0x24]
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x30]
comiss xmm1, xmm0
jbe 0x52294e
movaps xmm0, xmm1
sub esp, 8
mulss xmm0, dword [0x657934]
mulss xmm1, dword [0x611424]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.00526f40
fmul dword [0x657a2c]
add esp, 8
xorps xmm0, xmm0
fadd dword [edi + 0x28]
fstp dword [edi + 0x28]
mov eax, dword [esi + 0x50]
movss xmm1, dword [eax + 0x34]
comiss xmm1, xmm0
jbe 0x522990
movaps xmm0, xmm1
sub esp, 8
mulss xmm0, dword [0x657934]
mulss xmm1, dword [0x611424]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.00526f40
fmul dword [0x657a2c]
add esp, 8
fadd dword [edi + 0x2c]
fstp dword [edi + 0x2c]
movss xmm1, dword [esp + 0x34]
sub esp, 8
movss xmm0, dword [edi + 0x24]
mulss xmm0, xmm1
movss dword [edi + 0x24], xmm0
movss xmm0, dword [edi + 0x28]
mulss xmm0, xmm1
movss dword [edi + 0x28], xmm0
movss xmm0, dword [edi + 0x2c]
mulss xmm0, xmm1
movss dword [edi + 0x2c], xmm0
mov eax, dword [esp + 0x48]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x4c]
movzx eax, word [eax + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x40], xmm0
mov ecx, dword [esi + 0x4c]
movzx eax, word [ecx + 0x1e]
movd xmm0, eax
movzx eax, word [ecx + 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.00526f40
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
add esp, 8
movss dword [edi + 0x40], xmm0
mov eax, dword [esi + 0x4c]
cmp byte [eax + 0x13], 3
jne 0x522a39
cmp dword [esi + 4], 0
je 0x522a39
addss xmm0, dword [esp + 0x3c]
movss dword [edi + 0x40], xmm0
mov byte [edi + 0x50], 0
mov eax, dword [esi + 0x4c]
mov al, byte [eax + 4]
mov byte [edi + 0x48], al
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 0x74]
sub eax, dword [ecx + 0x70]
sar eax, 2
cmp eax, 1
jbe 0x522aa6
cmp byte [ecx + 4], 4
jne 0x522a85
call fcn.00526f90
test al, 1
je 0x522a70
mov byte [edi + 0x50], 0
mov byte [edi + 0x48], 1
jmp 0x522a85
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x74]
sub ecx, dword [eax + 0x70]
sar ecx, 2
dec cl
mov byte [edi + 0x50], cl
mov byte [edi + 0x48], 2
mov ecx, dword [esi + 0x4c]
cmp dword [ecx + 0xc], 0
je 0x522aa6
mov eax, dword [ecx + 0x74]
sub eax, dword [ecx + 0x70]
sar eax, 2
dec eax
push eax
push 0
call fcn.00526fd0
add esp, 8
mov byte [edi + 0x50], al
movss xmm1, dword [esp + 0x38]
movss xmm2, dword [edi + 0x28]
movaps xmm0, xmm1
mulss xmm0, dword [edi + 0x24]
mov ecx, dword [esp + 0x2c]
movss xmm3, dword [edi + 0x2c]
movss xmm4, dword [edi + 0xc]
mulss xmm2, xmm1
subss xmm4, xmm0
push edi
movss xmm0, dword [edi + 0x14]
mulss xmm3, xmm1
movss xmm1, dword [edi + 0x10]
subss xmm1, xmm2
subss xmm0, xmm3
unpcklps xmm4, xmm1
movq qword [edi + 0x18], xmm4
movss dword [esp + 0x5c], xmm0
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 4]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 4]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 0x58]
mov eax, dword [eax + 4]
mov dword [edi + 0x44], eax
test ecx, ecx
jne 0x522b31
mov ecx, dword [esi + 0x48]
call fcn.00516fc0
mov dword [esp + 0x2c], edi
jmp 0x522b84
mov esi, dword [ecx + 0x70]
push ecx
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 8]
call eax
add esi, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
cmp dword [esi], 0
je 0x522b7d
mov edi, edi
mov ecx, dword [esi]
push edi
push dword [esp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov edx, dword [esp + 0xc]
mov dword [edx + 4], eax
mov dword [eax + 8], edx
mov esi, dword [esi]
mov ecx, dword [edx + 4]
add esi, 4
mov dword [esp + 0xc], ecx
cmp dword [esi], 0
jne 0x522b50
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
mov dword [edi + 0x70], eax
movzx ecx, byte [edi + 0x50]
mov eax, dword [esi + 0x30]
lea edi, [eax + ecx*8]
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esp + 0x20], eax
push dword [eax + 4]
push eax
call fcn.0047a200
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 4]
sub ecx, eax
cmp ecx, 1
jb 0x522bf3
lea ecx, [eax + 1]
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], ecx
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov eax, dword [esp + 0x30]
inc dword [esi + 0x28]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x18]
jl 0x5223b0
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
xor ecx, esp
call fcn.005c46a4
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.005c39d9
lea ecx, [ecx]
clc
and edx, dword [edx]
adc ah, byte [edx + edx*2]
add bl, ch
and al, 0x52
add byte [ecx + 0x55005225], cl
push ebp