Function at 0x406830
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
xor edx, edx
mov dx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 8], eax
push 0x411474
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x56
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x46
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov byte [ebp - 0x28], 0x56
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], 0x75
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x50
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x63
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
jmp 0x406904
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
xor eax, eax
mov ax, word [edx + 6]
cmp dword [ebp - 0x2c], eax
jge 0x406a20
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x20000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x40000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x80000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x2000000
test edx, edx
je 0x406981
push 0x4000
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [ebp - 4]
jmp 0x4068f2
mov ecx, dword [ebp - 0x38]
shl ecx, 4
mov edx, dword [ebp - 0x48]
lea eax, [ecx + edx*8 + 0x411434]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x4000000
test ecx, ecx
je 0x4069b3
mov edx, dword [ebp - 0x40]
or dh, 2
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
jne 0x4069f7
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x40
test eax, eax
je 0x4069dc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x3c], eax
jmp 0x4069f7
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x80
test edx, edx
je 0x4069f7
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
jbe 0x406a1b
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
call dword [ebp - 0x30]
test eax, eax
jne 0x406a1b
mov byte [ebp - 0x4c], 0
jmp 0x4068f2
mov esp, ebp
pop ebp
ret