Function at 0x4bd635
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x4bd656
xor eax, eax
jmp 0x4bd7f3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x4bd674
xor eax, eax
jmp 0x4bd7f3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 6]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x54]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004bd615
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0x14]
add ecx, 0x18
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0
jmp 0x4bd6da
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x1c]
jae 0x4bd72c
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax + 0x10]
push edx
call fcn.004bd615
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 8]
push eax
call fcn.004bd615
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx + 8], eax
jmp 0x4bd6d1
mov eax, dword [ebp - 0x1c]
sub eax, 1
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + eax + 0xc]
mov edx, dword [ebp - 0xc]
add eax, dword [edx + ecx + 0x10]
cmp eax, dword [ebp - 0x10]
jbe 0x4bd774
mov eax, dword [ebp - 0x1c]
sub eax, 1
imul eax, eax, 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub edx, dword [ecx + eax + 0xc]
mov eax, dword [ebp - 0x1c]
sub eax, 1
imul eax, eax, 0x28
mov ecx, dword [ebp - 0xc]
mov dword [ecx + eax + 0x10], edx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004bdef5
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4bd79a
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x1c]
jae 0x4bd7ee
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x14]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x34]
push eax
call fcn.004bdef5
add esp, 0xc
jmp 0x4bd791
mov eax, 1
mov esp, ebp
pop ebp
ret 8