Function at 0x401860
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x24], str.VirtualProtect
mov eax, dword [0x40216c]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, dword [0x40216c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x50]
mov dword [ebp - 4], eax
mov dword [0x402154], 0x4020dc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x20], ecx
mov edx, dword [0x402154]
mov byte [edx + 1], 0x69
mov eax, dword [0x402154]
push eax
mov ecx, dword [0x402178]
push ecx
call fcn.00401060
add esp, 8
mov dword [ebp - 0x18], eax
push 0x40
push 0x3000
mov edx, dword [ebp - 4]
push edx
push 0
call dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00401420
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x401924
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 6]
cmp dword [ebp - 0xc], eax
jae 0x4019c6
mov ecx, dword [str.fggggg]
mov dword [ebp - 0x3c], ecx
mov dx, word [0x4020f0]
mov word [ebp - 0x38], dx
mov al, byte [0x4020f2]
mov byte [ebp - 0x36], al
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 0
je 0x4019b8
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x10], 0
je 0x4019b8
mov eax, dword [str.gggggggg]
mov dword [ebp - 0x48], eax
mov ecx, dword [0x4020f8]
mov dword [ebp - 0x44], ecx
mov dl, byte [0x4020fc]
mov byte [ebp - 0x40], dl
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x3c]
lea eax, [ecx + eax - 1]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
div dword [ecx + 0x3c]
mov edx, dword [ebp - 0x2c]
imul eax, dword [edx + 0x3c]
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
add eax, dword [edx + 0xc]
push eax
call fcn.00401420
add esp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0x28
mov dword [ebp - 0x20], ecx
jmp 0x40191b
mov edx, dword [ebp - 0x28]
push edx
call fcn.004012b0
add esp, 4
mov dword [ebp - 0x14], str.bnmapViebOfFbbb
mov eax, dword [ebp - 0x14]
mov byte [eax], 0x55
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 8], 0x77
mov edx, dword [ebp - 0x14]
mov byte [edx + 0xc], 0x69
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xd], 0x6c
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0xe], 0x65
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x402178]
push eax
call fcn.00401060
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [0x402174], 0
jne 0x401a23
mov ecx, dword [0x40216c]
push ecx
call dword [ebp - 0x30]
cmp dword [0x402174], 0
jne 0x401a48
push 0x40
push 0x3000
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x34]
push ecx
call dword [ebp - 0x18]
mov dword [0x402140], eax
jmp 0x401a5d
push 0x40
push 0x3000
mov edx, dword [ebp - 4]
push edx
push 0
call dword [ebp - 0x18]
mov dword [0x402140], eax
cmp dword [0x402140], 0
jne 0x401a7b
push 0x40
push 0x3000
mov eax, dword [ebp - 4]
push eax
push 0
call dword [ebp - 0x18]
mov dword [0x402140], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x402140]
sub edx, dword [ecx + 0x34]
mov dword [0x402180], edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00401190
add esp, 8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x402140]
push edx
call fcn.00401420
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x402140]
add ecx, dword [eax + 0x28]
mov dword [0x402198], ecx
cmp dword [0x402174], 0
jne 0x401b11
mov edx, dword [0x402140]
push edx
mov eax, dword [0x402198]
push eax
mov ecx, dword [0x40216c]
push ecx
call fcn.004014c0
add esp, 0xc
mov edx, dword [0x402140]
push edx
call fcn.00401030
add esp, 4
jmp 0x401b77
mov eax, dword [ebp - 0x24]
mov byte [eax], 0x56
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [0x402178]
push edx
call fcn.00401060
add esp, 8
mov dword [ebp - 0x4c], eax
mov eax, dword [0x402140]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x402140]
add edx, dword [ecx + 0x28]
push edx
mov eax, dword [0x40216c]
push eax
call fcn.004014c0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x40216c]
add edx, dword [ecx + 0x28]
mov dword [0x4021a4], edx
lea eax, [ebp - 8]
push eax
push 0x40
push 6
mov ecx, dword [0x4021a4]
push ecx
call dword [ebp - 0x4c]
call fcn.004013f0
mov eax, 1
mov esp, ebp
pop ebp
ret 4