Function at 0x401562
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x58ee50]
xor eax, ebp
mov dword [ebp - 0xc], eax
push ebx
push 0x56be1c
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebp - 0x1c], 0x56
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x50
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x63
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0
push 0x56be28
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
inc eax
dec ebx
dec eax
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x24], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and dword [ebp - 4], 0
jmp 0x401636
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add eax, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jge 0x40178d
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x2c], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x4016bf
push 0x4000
mov eax, dword [ebp - 0x24]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x24]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x401626
nop
nop
inc eax
dec ebx
dec eax
inc ebx
dec ebx
dec eax
inc ebx
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x30]
shl eax, 4
mov ecx, dword [ebp - 0x38]
lea eax, [eax + ecx*8 + 0x5da03c]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x401700
mov eax, dword [ebp - 0x34]
or eax, 0x200
mov dword [ebp - 0x34], eax
nop
inc eax
dec ebx
dec eax
inc ebx
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x401749
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x401731
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
jmp 0x401749
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x401749
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x3c], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp - 0x3c], 0
jbe 0x401788
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x24]
push dword [eax + 8]
call dword [ebp - 8]
test eax, eax
jne 0x401788
nop
inc eax
dec ebx
dec eax
inc ebx
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401626
pop ebx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0051b26c
leave
ret