Function at 0x528870
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x599668
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, dword [esp + 0xe4]
xor eax, eax
mov ebx, dword [esp + 0xe0]
mov word [esp + 0xc8], ax
mov dword [esp + 0x30], ebx
mov eax, dword [edi]
mov dword [esp + 0x98], 0x510051
mov dword [esp + 0x9c], 0x430050
mov dword [esp + 0xa0], 0x540052
mov ecx, dword [eax]
mov dword [esp + 0xa4], 0x2e0050
mov dword [esp + 0xa8], 0x780065
mov dword [esp + 0xac], 0x65
mov dword [esp + 0xb0], 0x510051
mov dword [esp + 0xb4], 0x430050
mov dword [esp + 0xb8], 0x720054
mov dword [esp + 0xbc], 0x790061
mov dword [esp + 0xc0], 0x65002e
mov dword [esp + 0xc4], 0x650078
mov dword [esp + 0x4c], ecx
cmp ecx, eax
je 0x528ff7
jmp 0x528960
cmp dword [ecx + 0x24], 8
lea esi, [ecx + 0x10]
jb 0x52896d
mov ecx, dword [esi]
jmp 0x52896f
mov ecx, esi
lea edx, [esp + 0x98]
call fcn.004afc30
test al, al
jne 0x5289af
cmp dword [esi + 0x14], 8
jb 0x528987
mov esi, dword [esi]
lea edx, [esp + 0xb0]
mov ecx, esi
call fcn.004afc30
test al, al
jne 0x5289af
lea ecx, [esp + 0x4c]
call fcn.0040cc20
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [edi]
jne 0x528960
jmp 0x528ff7
xor eax, eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
mov dword [esp + 0xd8], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], eax
mov word [esp + 0x50], ax
mov byte [esp + 0xd8], 1
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov byte [esp + 0xd8], 2
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.005446b0
cmp dword [esp + 0x60], 0
je 0x528f50
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0xd8], 3
lea eax, [esp + 0x34]
cmp dword [esp + 0x64], 8
lea ecx, [esp + 0x50]
mov edx, dword [esp + 0x60]
cmovae ecx, dword [esp + 0x50]
push eax
call fcn.004b1140
mov byte [esp + 0x20], 4
lea ecx, [esp + 0x38]
mov ebp, dword [esp + 0x20]
add esp, 4
or ebp, 0x100
mov dword [esp + 0x1c], ebp
cmp dword [esp + 0x48], 0x10
mov edx, dword [esp + 0x44]
cmovae ecx, dword [esp + 0x34]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.004f53a0
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0xd8], 4
mov ecx, ebx
push 0x5b7fb6
push 0x5b7fb4
call fcn.004f74a0
mov edi, eax
mov byte [esp + 0xd8], 5
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x1c]
mov byte [edi + 8], cl
mov ecx, ebp
xor ecx, edx
and ecx, 0xff
xor ebp, ecx
mov dword [esp + 0x1c], ebp
mov ecx, dword [edi + 4]
mov ebx, dword [edi]
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov dword [edi], esi
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shr edx, 8
mov eax, ecx
and edx, 1
mov dword [esp + 0x14], ebx
xor eax, ebp
shl edx, 8
xor edx, ebp
and eax, 0x100
xor eax, ecx
and edx, 0x100
mov dword [edi + 8], eax
xor ebp, edx
mov dword [esp + 0x1c], ebp
mov ebp, dword [edi + 0xc]
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x20], ebp
mov dword [edi + 0x14], 0
mov dword [esp + 0x28], eax
mov byte [esp + 0xd8], 3
movsx eax, byte [esp + 0x1c]
cmp eax, 4
je 0x528bb4
add eax, 0xfffffffa
cmp eax, 1
ja 0x528bc7
test ebx, ebx
je 0x528bc7
push ecx
mov ecx, ebx
call fcn.004f6270
jmp 0x528bc7
test dword [esp + 0x1c], 0x100
je 0x528bc7
push ebx
call fcn.00564df7
add esp, 4
test ebp, ebp
je 0x528be7
push 0x4f5a90
push dword [ebp - 4]
lea esi, [ebp - 4]
push 4
push ebp
call fcn.00564e2f
push esi
call fcn.0056503c
add esp, 4
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0
xorps xmm0, xmm0
cmovae eax, dword [esp + 0x34]
movlpd qword [esp + 0x14], xmm0
mov byte [eax], 0
mov edx, dword [esp + 0x90]
test edx, edx
je 0x528c38
cmp dword [esp + 0x94], 8
lea eax, [esp + 0x34]
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
push eax
call fcn.004b1140
add esp, 4
mov byte [esp + 0x1c], 4
lea ecx, [esp + 0x34]
mov ebx, dword [esp + 0x1c]
or ebx, 0x100
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x48], 0x10
mov edx, dword [esp + 0x44]
cmovae ecx, dword [esp + 0x34]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.004f53a0
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0xd8], 6
mov ecx, dword [esp + 0x30]
push 0x5bf91f
push 0x5bf91c
call fcn.004f74a0
mov edi, eax
mov byte [esp + 0xd8], 7
mov cl, bl
movsx edx, byte [edi + 8]
mov byte [edi + 8], cl
mov ecx, ebx
xor ecx, edx
and ecx, 0xff
xor ebx, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [edi + 4]
mov ebp, dword [edi]
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov dword [edi], esi
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shr edx, 8
mov eax, ecx
and edx, 1
mov dword [esp + 0x14], ebp
xor eax, ebx
shl edx, 8
xor edx, ebx
and eax, 0x100
xor eax, ecx
and edx, 0x100
mov dword [edi + 8], eax
xor ebx, edx
mov dword [esp + 0x1c], ebx
mov esi, dword [edi + 0xc]
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x20], esi
mov dword [edi + 0x14], 0
mov dword [esp + 0x28], eax
mov byte [esp + 0xd8], 3
movsx eax, bl
cmp eax, 4
je 0x528d52
add eax, 0xfffffffa
cmp eax, 1
ja 0x528d63
test ebp, ebp
je 0x528d63
push ecx
mov ecx, ebp
call fcn.004f6270
jmp 0x528d63
test ebx, 0x100
je 0x528d63
push ebp
call fcn.00564df7
add esp, 4
test esi, esi
je 0x528d85
add esi, 0xfffffffc
push 0x4f5a90
push dword [esi]
push 4
push dword [esp + 0x58]
call fcn.00564e2f
push esi
call fcn.0056503c
add esp, 4
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0
xorps xmm0, xmm0
cmovae eax, dword [esp + 0x34]
movlpd qword [esp + 0x14], xmm0
mov byte [eax], 0
mov edx, dword [esp + 0x78]
test edx, edx
je 0x528dca
cmp dword [esp + 0x7c], 8
lea eax, [esp + 0x34]
lea ecx, [esp + 0x68]
cmovae ecx, dword [esp + 0x68]
push eax
call fcn.004b1140
add esp, 4
mov byte [esp + 0x1c], 4
lea ecx, [esp + 0x34]
mov ebx, dword [esp + 0x1c]
or ebx, 0x100
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x48], 0x10
mov edx, dword [esp + 0x44]
cmovae ecx, dword [esp + 0x34]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.004f53a0
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0xd8], 8
mov ecx, dword [esp + 0x30]
push 0x5b4964
push 0x5b4960
call fcn.004f74a0
mov edi, eax
mov byte [esp + 0xd8], 9
mov cl, bl
movsx edx, byte [edi + 8]
mov byte [edi + 8], cl
mov ecx, ebx
xor ecx, edx
and ecx, 0xff
xor ebx, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [edi + 4]
mov ebp, dword [edi]
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, ebx
mov dword [edi], esi
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 8]
mov edx, ecx
shr edx, 8
xor eax, ecx
and edx, 1
mov dword [esp + 0x14], ebp
shl edx, 8
and eax, 0x100
xor edx, ebx
xor eax, ecx
mov dword [edi + 8], eax
and edx, 0x100
xor ebx, edx
mov dword [esp + 0x1c], ebx
mov esi, dword [edi + 0xc]
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], esi
mov dword [edi + 0x14], 0
mov dword [esp + 0x28], eax
mov byte [esp + 0xd8], 3
movsx eax, bl
cmp eax, 4
je 0x528ee4
add eax, 0xfffffffa
cmp eax, 1
ja 0x528ef5
test ebp, ebp
je 0x528ef5
push ecx
mov ecx, ebp
call fcn.004f6270
jmp 0x528ef5
test ebx, 0x100
je 0x528ef5
push ebp
call fcn.00564df7
add esp, 4
test esi, esi
je 0x528f17
add esi, 0xfffffffc
push 0x4f5a90
push dword [esi]
push 4
push dword [esp + 0x3c]
call fcn.00564e2f
push esi
call fcn.0056503c
add esp, 4
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
mov byte [esp + 0xd8], 2
cmp dword [esp + 0x48], 0x10
jb 0x528f3b
push dword [esp + 0x34]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0xd8], 1
cmp dword [esp + 0x94], 8
jb 0x528f71
push dword [esp + 0x80]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
mov byte [esp + 0xd8], al
cmp dword [esp + 0x64], 8
jb 0x528fab
push dword [esp + 0x50]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0x7c], 8
jb 0x528fe0
push dword [esp + 0x68]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00564de8
add esp, 0xc8
ret 8