Function at 0x521f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
push ebx
push esi
lea esi, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edi
mov ebx, edx
mov word [esp + 0x25], 0x73
mov byte [esp + 0x24], 0x71
lea edi, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x521f98
sub esi, edi
lea eax, [esp + 0x24]
mov edi, dword [ebp + 8]
mov ecx, edi
push esi
push eax
call fcn.0041f900
cmp byte [ebp + 0xc], 0
je 0x52208a
lea ecx, [esp + 0x28]
mov word [esp + 0x29], 0x61
mov byte [esp + 0x28], 0x71
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x521fd0
sub ecx, edx
lea eax, [esp + 0x28]
push ecx
push eax
mov ecx, edi
call fcn.0041f900
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0050ea40
test eax, eax
je 0x52207d
cmp dword [esp + 0x18], 0
je 0x52207d
lea ecx, [esp + 0x30]
mov word [esp + 0x31], 0x7461
mov byte [esp + 0x33], 0
lea edx, [ecx + 1]
mov byte [esp + 0x30], 0x71
mov al, byte [ecx]
inc ecx
test al, al
jne 0x522022
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
mov ecx, edi
call fcn.0041f900
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 4
push ebx
mov edx, 0x13
mov dword [esp + 0x28], 0
call fcn.005166c0
add esp, 0xc
cmp dword [ebx], 0
je 0x522080
lea eax, [esp + 0x10]
mov word [esp + 0x13], 0x68
push eax
mov ecx, edi
mov word [esp + 0x14], 0x6171
mov byte [esp + 0x16], 0x74
call fcn.0041fa40
cmp dword [ebx], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x2c]
mov word [esp + 0x2d], 0x75
mov byte [esp + 0x2c], 0x71
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5220a0
sub ecx, edx
lea eax, [esp + 0x2c]
push ecx
push eax
mov ecx, edi
call fcn.0041f900
mov byte [esp + 0xf], 0
mov dword [esp + 0x58], 4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], pe_nt_image_headers32
call fcn.0051dcd0
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x5222de
lea edx, [esp + 0x60]
mov ecx, eax
call fcn.0051abb0
cmp eax, 1
jne 0x5222d5
mov dword [esp + 0x49], 0x6f6c7078
mov dword [esp + 0x4d], 0x2e726572
mov word [esp + 0x52], 0x6578
mov byte [esp + 0x54], 0
mov byte [esp + 0x48], 0x65
mov byte [esp + 0x51], 0x65
nop
lea eax, [esp + 0x84]
lea ecx, [esp + 0x48]
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x522150
test dl, dl
je 0x52214c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x522150
add ecx, 2
add eax, 2
test dl, dl
jne 0x522130
xor eax, eax
jmp 0x522155
sbb eax, eax
or eax, 1
test eax, eax
jne 0x52227a
lea ecx, [esp + 0x34]
mov word [esp + 0x35], 0x6575
mov byte [esp + 0x34], 0x71
lea edx, [ecx + 1]
mov byte [esp + 0x37], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x522174
sub ecx, edx
lea eax, [esp + 0x34]
push ecx
push eax
mov ecx, edi
call fcn.0041f900
push dword [esp + 0x68]
call fcn.005280d0
mov esi, eax
add esp, 4
test esi, esi
je 0x52227a
lea ecx, [esp + 0x38]
mov dword [esp + 0x39], 0x706575
mov byte [esp + 0x38], 0x71
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5221b4
sub ecx, edx
lea eax, [esp + 0x38]
push ecx
push eax
mov ecx, edi
call fcn.0041f900
push ebx
mov edx, 0xa
mov ecx, esi
call fcn.0052fc70
add esp, 4
test eax, eax
je 0x522262
lea ecx, [esp + 0x40]
mov word [esp + 0x41], 0x6575
mov byte [esp + 0x40], 0x71
lea edx, [ecx + 1]
mov word [esp + 0x44], 0x74
mov byte [esp + 0x43], 0x70
mov al, byte [ecx]
inc ecx
test al, al
jne 0x522201
sub ecx, edx
lea eax, [esp + 0x40]
push ecx
push eax
mov ecx, edi
call fcn.0041f900
mov ecx, dword [ebx]
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0x64]
mov edx, 0xc
push eax
call fcn.005166c0
add esp, 0xc
test eax, eax
je 0x522262
lea eax, [esp + 0x10]
mov dword [esp + 0x12], 0x69747065
push eax
mov ecx, edi
mov word [esp + 0x14], 0x7571
mov byte [esp + 0x1a], 0
call fcn.0041fa40
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x5c]
je 0x5222a4
mov ecx, dword [ebx]
test ecx, ecx
je 0x522273
call fcn.0052e1f0
mov dword [ebx], 0
mov ecx, esi
call fcn.0052e1f0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x60]
call fcn.00521750
cmp eax, 1
je 0x522120
mov ecx, dword [esp + 0x18]
call fcn.0052e1f0
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
mov word [esp + 0x22], 0x73
push eax
mov ecx, edi
mov dword [esp + 0x21], 0x74706575
mov byte [esp + 0x25], 0x69
mov byte [esp + 0x20], 0x71
call fcn.0041fa40
mov ecx, esi
mov byte [esp + 0xf], 1
call fcn.0052e1f0
mov ecx, dword [esp + 0x18]
call fcn.0052e1f0
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret