Function at 0x4fccf0
Capabilities:
Enumerate pe sections

Disassembly:
mov al, byte [esp + 0xc]
sub esp, 0x43c
push ebx
mov ebx, 1
push ebp
mov ebp, dword [esp + 0x44c]
push esi
push edi
test bl, al
je 0x4fcd7f
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x1c]
push 0x24
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x454]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004f5140
add esp, 0xc
test eax, eax
jne 0x4fcd4c
test byte [esp + 0x45c], bl
jne 0x4fcd7f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x43c
ret
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [ebp + 1], edx
mov edx, dword [esp + 0x2c]
lea ecx, [ebp + 0xa]
mov dword [ebp + 5], eax
mov eax, dword [esp + 0x30]
mov dword [ecx], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x1b], ecx
test byte [esp + 0x458], 2
je 0x4fd318
mov esi, dword [esp + 0x450]
xor eax, eax
push eax
lea edx, [esp + 0x50]
push 0x400
push edx
mov ecx, 0x100
lea edi, [esp + 0x58]
push eax
push 0x2a
rep stosd dword es:[edi], eax
push esi
call fcn.004f5380
add esp, 0x18
test eax, eax
je 0x4fce1a
cmp byte [esp + 0x55], 0x1c
jb 0x4fce1a
mov al, byte [esp + 0x56]
test bl, al
je 0x4fcdce
mov dword [ebp + 0x28], ebx
test al, 2
je 0x4fcdd5
mov dword [ebp + 0x2c], ebx
test al, 8
je 0x4fcddc
mov dword [ebp + 0x40], ebx
test al, 0x10
je 0x4fcde3
mov dword [ebp + 0x64], ebx
test al, 0x20
je 0x4fcdea
mov dword [ebp + 0x7c], ebx
mov al, byte [esp + 0x57]
test bl, al
je 0x4fcdf5
mov dword [ebp + 0x30], ebx
test al, 2
je 0x4fcdfc
mov dword [ebp + 0x34], ebx
test al, 0x10
je 0x4fce03
mov dword [ebp + 0x68], ebx
test al, 0x20
je 0x4fce0d
mov dword [ebp + 0x80], ebx
test al, al
je 0x4fce14
mov byte [ebp + 0x20], bl
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x74], eax
lea ecx, [esp + 0x1c]
push 8
push ecx
push 0
push 0
push esi
call fcn.004f61b0
add esp, 0x14
test eax, eax
jne 0x4fce4d
test byte [esp + 0x45c], 2
jne 0x4fd318
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x43c
ret
mov edi, dword [esp + 0x1e]
mov edx, dword [esp + 0x1f]
and edi, 0xff
and edx, 0xff
shl edi, 8
or edi, edx
add edi, 4
push edi
push 0x40
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x4fce8b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret
mov eax, dword [esp + 0x450]
push edi
push esi
push 0
push 0
push eax
call fcn.004f61b0
add esp, 0x14
test eax, eax
jne 0x4fcec7
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test byte [esp + 0x45c], 2
jne 0x4fd318
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x43c
ret
mov edx, 8
cmp edi, edx
mov dword [esp + 0x10], edx
jbe 0x4fd300
add edx, esi
xor eax, eax
xor ecx, ecx
mov ah, byte [edx]
mov cl, byte [edx + 1]
or eax, ecx
cmp eax, 0x2f
ja 0x4fd0e1
je 0x4fd0c9
cmp eax, 0x2e
ja case.0x4fd0f8.66
xor ecx, ecx
mov cl, byte [eax + 0x4fd3d0]
jmp dword [ecx*4 + 0x4fd3a8]
test byte [edx + 3], 0xfc
jbe case.0x4fd0f8.66
mov eax, 0xfffffffb
lea esi, [edx + 5]
sub eax, edx
xor ecx, ecx
mov ch, byte [esi - 1]
mov cl, byte [esi]
lea edi, [ecx - 1]
cmp edi, 0x51
ja case.0x4fcf3b.20
xor ecx, ecx
mov cl, byte [edi + 0x4fd450]
jmp dword [ecx*4 + 0x4fd400]
mov dword [ebp + 0x24], ebx
jmp case.0x4fcf3b.20
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x30], ebx
jmp case.0x4fcf3b.1
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x34], ebx
jmp case.0x4fcf3b.1
mov dword [ebp + 0x40], ebx
jmp case.0x4fcf3b.20
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x68], ebx
jmp case.0x4fcf3b.1
mov dword [ebp + 0x7c], ebx
mov dword [ebp + 0x80], ebx
jmp case.0x4fcf3b.1
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x78], ebx
jmp case.0x4fcf3b.1
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], ebx
jmp case.0x4fcf3b.1
mov dword [ebp + 0x44], ebx
jmp case.0x4fcf3b.20
mov dword [ebp + 0x4c], ebx
jmp case.0x4fcf3b.20
mov dword [ebp + 0x54], ebx
jmp case.0x4fcf3b.20
mov dword [ebp + 0x5c], ebx
jmp case.0x4fcf3b.20
mov dword [ebp + 0x84], ebx
jmp case.0x4fcf3b.20
mov dword [ebp + 0x88], ebx
mov dword [ebp + 0x8c], ebx
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0x9c], ebx
jmp case.0x4fcf3b.1
mov dword [ebp + 0xa8], ebx
mov dword [ebp + 0xac], ebx
mov dword [ebp + 0xb8], ebx
mov dword [ebp + 0xbc], ebx
jmp case.0x4fcf3b.1
mov dword [ebp + 0xc8], ebx
jmp case.0x4fcf3b.20
mov dword [ebp + 0xcc], ebx
mov dword [ebp + 0xd0], ebx
jmp case.0x4fcf3b.1
mov dword [ebp + 0xd4], ebx
mov dword [ebp + 0xd8], ebx
mov byte [ebp + 0x20], bl
mov cl, byte [edx + 3]
add esi, 4
and ecx, 0xfc
lea edi, [eax + esi]
cmp edi, ecx
jb 0x4fcf20
jmp case.0x4fd0f8.66
mov dword [ebp + 0x24], ebx
mov al, byte [edx + 4]
test al, 2
je 0x4fd02f
mov dword [ebp + 0x38], ebx
test byte [edx + 4], bl
je case.0x4fd0f8.66
mov dword [ebp + 0x3c], ebx
jmp case.0x4fd0f8.66
mov dword [ebp + 0x40], ebx
mov al, byte [edx + 6]
test bl, al
je case.0x4fd0f8.66
mov dword [ebp + 0x6c], ebx
jmp case.0x4fd0f8.66
test byte [edx + 4], bl
je 0x4fd061
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x20], bl
test byte [edx + 4], 2
je 0x4fd06a
mov dword [ebp + 0x44], ebx
test byte [edx + 4], 4
je case.0x4fd0f8.66
mov dword [ebp + 0x48], ebx
mov byte [ebp + 0x20], bl
jmp case.0x4fd0f8.66
mov dword [ebp + 0x44], ebx
mov al, byte [edx + 4]
test bl, al
je case.0x4fd0f8.66
mov dword [ebp + 0x48], ebx
mov byte [ebp + 0x20], bl
jmp case.0x4fd0f8.66
mov dword [ebp + 0x4c], ebx
mov al, byte [edx + 4]
test bl, al
je case.0x4fd0f8.66
mov dword [ebp + 0x50], ebx
mov byte [ebp + 0x20], bl
jmp case.0x4fd0f8.66
mov byte [ebp + 0x20], bl
mov dword [ebp + 0x30], ebx
test byte [edx + 4], 2
je case.0x4fd0f8.66
mov dword [ebp + 0x34], ebx
jmp case.0x4fd0f8.66
mov byte [ebp + 0x20], bl
mov dword [ebp + 0x68], ebx
test byte [edx + 4], 2
je case.0x4fd0f8.66
mov dword [ebp + 0x78], ebx
jmp case.0x4fd0f8.66
lea edi, [eax - 0x33]
cmp edi, 0xdd
ja case.0x4fd0f8.66
xor eax, eax
mov al, byte [edi + 0x4fd4e4]
jmp dword [eax*4 + 0x4fd4a4]
mov byte [ebp + 0x20], bl
jmp case.0x4fd0f8.66
mov byte [ebp + 0x20], bl
mov dword [ebp + 0x34], ebx
jmp case.0x4fd0f8.66
mov byte [ebp + 0x20], bl
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0x9c], ebx
jmp case.0x4fd0f8.66
mov dword [ebp + 0x54], ebx
mov al, byte [edx + 4]
test bl, al
je case.0x4fd0f8.66
mov byte [ebp + 0x20], bl
mov dword [ebp + 0x58], ebx
jmp case.0x4fd0f8.66
mov dword [ebp + 0x5c], ebx
mov al, byte [edx + 4]
test bl, al
je case.0x4fd0f8.66
mov byte [ebp + 0x20], bl
mov dword [ebp + 0x60], ebx
jmp case.0x4fd0f8.66
mov dword [ebp + 0x84], ebx
mov al, byte [edx + 9]
test al, 2
je 0x4fd16b
mov dword [ebp + 0xa8], ebx
test byte [edx + 9], 4
je 0x4fd17d
mov dword [ebp + 0xa8], ebx
mov dword [ebp + 0xac], ebx
test byte [edx + 9], 8
je 0x4fd195
mov dword [ebp + 0xa8], ebx
mov dword [ebp + 0xac], ebx
mov dword [ebp + 0xb0], ebx
test byte [edx + 0x11], 2
je 0x4fd1a7
mov dword [ebp + 0x88], ebx
mov dword [ebp + 0x8c], ebx
test byte [edx + 0x11], 4
je case.0x4fd0f8.66
mov dword [ebp + 0x88], ebx
mov dword [ebp + 0x8c], ebx
mov dword [ebp + 0x90], ebx
mov dword [ebp + 0x94], ebx
jmp case.0x4fd0f8.66
mov byte [ebp + 0x20], bl
mov al, byte [edx + 9]
test al, 2
je 0x4fd1de
mov dword [ebp + 0xb8], ebx
test byte [edx + 9], 4
je 0x4fd1f0
mov dword [ebp + 0xb8], ebx
mov dword [ebp + 0xbc], ebx
test byte [edx + 9], 8
je 0x4fd208
mov dword [ebp + 0xb8], ebx
mov dword [ebp + 0xbc], ebx
mov dword [ebp + 0xc0], ebx
test byte [edx + 0x11], 2
je 0x4fd21a
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0x9c], ebx
test byte [edx + 0x11], 4
je case.0x4fd0f8.66
mov dword [ebp + 0x98], ebx
mov dword [ebp + 0x9c], ebx
mov dword [ebp + 0xa0], ebx
mov dword [ebp + 0xa4], ebx
jmp case.0x4fd0f8.66
mov dword [ebp + 0xc8], ebx
mov al, byte [edx + 4]
test bl, al
je 0x4fd254
mov dword [ebp + 0xcc], ebx
test byte [edx + 6], bl
je case.0x4fd0f8.66
mov dword [ebp + 0xd4], ebx
jmp case.0x4fd0f8.66
mov byte [ebp + 0x20], bl
mov al, byte [edx + 4]
test bl, al
je 0x4fd275
mov dword [ebp + 0xd0], ebx
test byte [edx + 6], bl
je case.0x4fd0f8.66
mov dword [ebp + 0xd8], ebx
jmp case.0x4fd0f8.66
mov dword [ebp + 0xdc], ebx
mov dword [ebp + 0xe0], ebx
jmp case.0x4fd0f8.66
xor ecx, ecx
lea esi, [edx + 4]
mov cl, byte [edx + 3]
lea edi, [ebp + 0xe4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp case.0x4fd0f8.66
lea ecx, [edx + 4]
lea eax, [ebp + 0x1e4]
mov esi, dword [ecx]
mov dword [eax], esi
mov esi, dword [ecx + 4]
mov dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov cx, word [ecx + 0xc]
mov word [eax + 0xc], cx
jmp case.0x4fd0f8.66
mov dword [ebp + 0x1f4], ebx
jmp case.0x4fd0f8.66
mov dword [ebp + 0x1f8], ebx
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [edx + 3]
mov esi, dword [esp + 0x14]
lea edx, [ecx + eax + 4]
mov eax, dword [esp + 0x18]
cmp edx, eax
mov dword [esp + 0x10], edx
jb 0x4fced8
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x4fd30e
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x4fd311
mov dword [ebp + 0x24], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test byte [esp + 0x458], 8
je 0x4fd384
xor eax, eax
lea edx, [esp + 0x4c]
push eax
mov ecx, 0x100
lea edi, [esp + 0x50]
push 0x400
push edx
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x460]
push 0x2a
push eax
call fcn.004f5380
add esp, 0x18
test eax, eax
je 0x4fd391
cmp byte [esp + 0x55], 0x1c
jb 0x4fd391
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x61]
and ecx, 0xff
and edx, 0xff
shl ecx, 8
add ecx, edx
mov dword [ebp + 0x200], 0
shl ecx, 0xa
mov dword [ebp + 0x1fc], ecx
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x43c
ret
test byte [esp + 0x45c], 8
jne 0x4fd384
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x43c
ret