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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585414
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x5f3008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebx + 0xc]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0x3c]
xorps xmm2, xmm2
mov esi, dword [ebx + 0x40]
mov edx, dword [ebx + 0x60]
mov dword [ebp - 0x18], eax
movzx eax, word [ebx + 0x10]
movsd xmm1, qword [ecx + 8]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebx + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x28]
movsd qword [ebp - 0x50], xmm0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x14], 1
mov eax, dword [eax + 8]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [esi]
cmp word [eax + 0x64], 0x40
movsd qword [ebp - 0x38], xmm2
movups xmmword [ebp - 0x60], xmm0
movsd qword [ebp - 0x30], xmm1
jne 0x532179
movsd xmm3, qword [esi]
movsd xmm0, qword [esi + 8]
movsd qword [ebp - 0x40], xmm1
movsd xmm1, qword [ecx]
movsd qword [ebp - 0x30], xmm1
movsd qword [ebp - 0x48], xmm1
movsd qword [ebp - 0x68], xmm3
jmp 0x53219c
movsd xmm0, qword [ebp - 0x68]
movsd qword [ebp - 0x48], xmm0
movsd xmm0, qword [ebp - 0x70]
movsd qword [ebp - 0x40], xmm0
movsd xmm0, qword [ebp - 0x58]
movsd qword [ebp - 0x68], xmm0
movsd xmm0, qword [ebp - 0x60]
mov ecx, dword [edi + 0x3c]
mov esi, dword [ebx + 0x58]
mov eax, dword [ebx + 0x54]
movsd qword [ebp - 0x58], xmm0
test ecx, ecx
je 0x5321df
push dword [ebx + 0x50]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.004ebe20
mov eax, dword [edi + 0x3c]
movaps xmm2, xmm0
movsd xmm1, qword [ebp - 0x30]
mov edx, dword [ebx + 0x60]
addsd xmm2, qword [eax + 0x18]
subsd xmm1, xmm2
movsd qword [ebp - 0x38], xmm2
movsd qword [ebp - 0x30], xmm1
jmp 0x53220e
mov eax, dword [eax]
mov dword [edi + 0x20], eax
mov eax, dword [esi]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x5c]
movzx eax, word [eax]
mov word [edi + 0x28], ax
movzx eax, word [edx]
mov word [edi + 0x2a], ax
mov eax, dword [ebx + 0x68]
movzx eax, word [eax]
mov word [edi + 0x2c], ax
mov eax, dword [ebx + 0x6c]
movzx eax, word [eax]
mov word [edi + 0x2e], ax
movzx esi, word [edx]
mov ecx, dword [ebx + 0x30]
test esi, 0x400
je 0x5322e1
mov eax, dword [ebx + 0x48]
mov edx, dword [eax]
movsd qword [edx + 0x18], xmm2
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x53223b
mov dword [edi + 0x34], edx
mov dword [edi + 0x38], edx
mov dword [edx], eax
jmp 0x532259
mov eax, dword [eax]
xor ecx, ecx
test eax, eax
cmovne ecx, eax
mov dword [edx], ecx
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebx + 0x30]
mov dword [eax], edx
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x38]
jne 0x532259
mov dword [edi + 0x38], edx
mov eax, dword [ebx + 0x44]
and esi, 0xfbff
inc dword [edi + 0x30]
mov dword [edi + 0x3c], edx
mov edx, dword [ebx + 0x60]
subsd xmm1, qword [eax]
addsd xmm2, qword [eax]
mov word [edx], si
movsd qword [ebp - 0x30], xmm1
movsd qword [ebp - 0x38], xmm2
test esi, 0x200
jne 0x5322ad
mov eax, dword [ecx]
test eax, eax
je 0x5322ad
mov ecx, dword [ebx + 0x5c]
xor esi, esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x34]
mov word [ecx], si
movzx ecx, word [eax]
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x1c], ecx
movzx ecx, word [eax]
mov dword [ebp - 0x20], ecx
jmp 0x5322b4
mov dword [ebp - 0x14], 0
mov esi, dword [ebx + 0x54]
mov eax, dword [esi]
test al, 0x40
jne 0x53269e
test al, al
js 0x532561
test eax, 0x1000000
jne 0x53269e
test al, 0x20
jne 0x53269e
jmp 0x532552
push 0x28
call fcn.00560823
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
xor eax, eax
movups xmmword [esi + 0x10], xmm0
push 0x10
movq qword [esi + 0x20], xmm0
movsd xmm0, qword [ebp - 0x50]
movsd qword [esi + 0x18], xmm0
mov dword [esi + 0x14], 0
mov word [esi + 0x20], ax
call fcn.00560823
xor ecx, ecx
mov dword [ebp - 0x28], eax
xorps xmm0, xmm0
mov dword [ebp - 4], 0xffffffff
add esp, 4
movups xmmword [eax], xmm0
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 0x60]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 4], eax
movzx eax, word [ecx]
mov edx, eax
test eax, 0x300
je 0x532369
or word [esi + 0x20], 2
movsd xmm0, qword [ebp - 0x38]
sub esp, 0x1c
movsd qword [esi + 0x18], xmm0
and edx, 0xc7ff
movsd xmm0, qword [ebp - 0x40]
mov word [ecx], dx
movsd qword [esp + 0x14], xmm0
movsd xmm0, qword [ebp - 0x48]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [ebp - 0x30]
movsd qword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x88]
movss dword [esp], xmm0
push dword [ebx + 0x84]
mov edx, dword [ebx + 0x74]
push dword [ebx + 0x80]
mov eax, dword [ebp - 0x18]
push dword [ebx + 0x7c]
mov dword [esi + 8], eax
push dword [ebx + 0x78]
mov eax, dword [ebp - 0x1c]
push edx
push dword [ebx + 0x70]
mov word [esi + 0xc], ax
push dword [ebx + 0x6c]
mov eax, dword [ebp - 0x20]
push dword [ebx + 0x68]
mov word [esi + 0xe], ax
push dword [ebx + 0x64]
mov eax, dword [ebx + 0x2c]
push ecx
push dword [ebx + 0x5c]
mov dword [esi + 0x14], eax
mov ecx, esi
push dword [ebx + 0x58]
mov eax, dword [edx]
push dword [ebx + 0x54]
mov dword [ebp - 0x1c], eax
push dword [ebx + 0x50]
push dword [ebx + 0x4c]
push dword [ebx + 0x44]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 8]
call fcn.004c8dd0
movzx ecx, ax
mov dword [ebp - 0x20], ecx
test cl, 4
jne 0x53256d
mov edx, dword [ebx + 0x58]
mov eax, dword [edx]
test eax, 0x2000
je 0x532445
and eax, 0xffffdffd
mov dword [edx], eax
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x532456
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], esi
mov dword [esi], eax
jmp 0x53246a
mov eax, dword [eax]
mov dword [esi], eax
mov eax, dword [edi + 0x3c]
mov dword [eax], esi
mov eax, dword [edi + 0x3c]
cmp eax, dword [edi + 0x38]
jne 0x53246a
mov dword [edi + 0x38], esi
mov edx, dword [ebx + 0x60]
inc dword [edi + 0x30]
movsd xmm1, qword [ebp - 0x30]
mov dword [edi + 0x3c], esi
movzx eax, word [edx]
test cl, 2
je 0x53249e
or word [esi + 0x20], 1
or eax, 0x200
movsd xmm2, qword [ebp - 0x38]
mov word [edx], ax
mov dword [ebp - 0x14], 0
jmp 0x532530
mov edx, dword [ebx + 0x5c]
xor ecx, ecx
mov word [edx], cx
mov edx, dword [ebx + 0x44]
mov ecx, dword [ebp - 0x20]
movsd xmm0, qword [edx]
mov edx, dword [ebx + 0x60]
subsd xmm1, xmm0
addsd xmm0, qword [ebp - 0x38]
movsd qword [ebp - 0x30], xmm1
movaps xmm2, xmm0
movsd qword [ebp - 0x38], xmm2
test cl, 0x11
jne 0x5324dd
or word [esi + 0x20], 1
or eax, 0x100
movzx eax, ax
jmp 0x5324e2
and eax, 0xfeff
mov esi, dword [ebx + 0x54]
and eax, 0xfdff
mov word [edx], ax
mov eax, dword [esi]
test al, 0x40
je 0x5324fc
mov dword [ebp - 0x14], 0
jmp 0x532530
test al, al
jns 0x532510
and eax, 0xffffff7f
mov dword [ebp - 0x14], 0
mov dword [esi], eax
jmp 0x532530
test eax, 0x1000000
je 0x532520
mov dword [ebp - 0x14], 0
jmp 0x532530
test al, 0x20
mov ecx, 0
mov eax, dword [ebp - 0x14]
cmovne eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x53269e
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
movzx eax, word [eax]
mov dword [ebp - 0x1c], eax
movzx eax, word [ecx]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x14], 0
je 0x53269e
jmp 0x53220e
and eax, 0xffffff7f
mov dword [esi], eax
jmp 0x53269e
mov ecx, dword [ebx + 0x60]
mov eax, 0x400
mov edx, dword [ebx + 0x3c]
or word [ecx], ax
mov eax, dword [ebx + 0x40]
movsd xmm0, qword [edx + 8]
ucomisd xmm0, qword [eax + 8]
lahf
test ah, 0x44
jp 0x5325a3
mov eax, dword [ebx + 0x40]
movsd xmm0, qword [edx]
ucomisd xmm0, qword [eax]
lahf
test ah, 0x44
jnp 0x53263c
movsd xmm0, qword [ebp - 0x50]
sub esp, 0x1c
movsd qword [esi + 0x18], xmm0
movsd xmm0, qword [ebp - 0x58]
movsd qword [esp + 0x14], xmm0
movsd xmm0, qword [ebp - 0x68]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [ebp - 0x30]
movsd qword [esp + 4], xmm0
movss xmm0, dword [ebx + 0x88]
movss dword [esp], xmm0
push dword [ebx + 0x84]
push dword [ebx + 0x80]
push dword [ebx + 0x7c]
push dword [ebx + 0x78]
push dword [ebx + 0x74]
push dword [ebx + 0x70]
push dword [ebx + 0x6c]
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push ecx
push dword [ebx + 0x5c]
mov ecx, esi
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebx + 0x50]
push dword [ebx + 0x4c]
push dword [ebx + 0x44]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push dword [ebx + 0x30]
push dword [ebx + 0x28]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 8]
call fcn.004c8dd0
mov ecx, dword [ebx + 0x60]
movzx eax, ax
jmp 0x53263f
mov eax, dword [ebp - 0x20]
test al, 2
je 0x532652
or word [esi + 0x20], 1
mov eax, 0x200
or word [ecx], ax
jmp 0x532669
mov edx, dword [ebx + 0x5c]
xor ecx, ecx
mov word [edx], cx
mov ecx, dword [ebx + 0x60]
test al, 0x11
je 0x532669
mov eax, 0xfdff
and word [ecx], ax
mov eax, dword [ebx + 0x74]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
je 0x532699
mov edx, dword [ebx + 0x70]
add eax, eax
movzx eax, word [edx + eax*8 - 0x10]
cmp ax, 1
jne 0x5326fd
mov edx, 0x800
or word [ecx], dx
cmp ax, 3
jne 0x532699
mov eax, 0x2000
or word [ecx], ax
mov eax, dword [ebx + 0x48]
mov dword [eax], esi
mov edx, dword [ebx + 0x68]
movzx eax, word [edx]
cmp ax, word [edi + 0x2c]
jge 0x5326ae
mov word [edi + 0x2c], ax
mov ecx, dword [ebx + 0x6c]
movzx eax, word [ecx]
cmp ax, word [edi + 0x2e]
jle 0x5326be
mov word [edi + 0x2e], ax
mov eax, dword [ebx + 0x58]
test byte [eax], 1
jne 0x5326d6
mov eax, 0x7fff
mov word [edx], ax
mov eax, 0xffff8000
mov word [ecx], ax
mov eax, dword [ebx + 0x44]
movsd xmm0, qword [ebp - 0x38]
addsd xmm0, qword [eax]
movsd qword [edi + 8], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x84
cmp ax, 2
jne 0x53268b
mov eax, 0x1000
jmp 0x532696