Function at 0x4bc9e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov al, 1
push esi
push edi
mov edi, dword [esp + 0x30]
mov ebx, ecx
mov dword [esp + 0x14], edx
xor esi, esi
mov byte [esp + 0x11], 0
mov byte [esp + 0x10], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
nop dword [eax]
cmp dword [ebx + 4], 8
jb 0x4bcd86
mov ecx, dword [ebx]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
add edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 3]
shl edx, 8
add eax, 0xc
add eax, edx
mov dword [edi + 4], eax
cmp dword [ebx + 4], eax
jb 0x4bcd86
mov edx, dword [ebx]
mov dword [edi], edx
mov ecx, dword [ebx + 4]
cmp ecx, eax
jb 0x4bca6d
add dword [ebx], eax
sub ecx, eax
mov dword [ebx + 4], ecx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
mov eax, ecx
shr eax, 8
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x4bcd86
cmp ecx, 0x4c546361
jne 0x4bcadd
mov ah, byte [esp + 0x11]
test ah, ah
jne 0x4bccf2
cmp byte [esp + 0x10], ah
jne 0x4bccf2
movzx eax, byte [edx + 8]
movzx ecx, byte [edx + 9]
shl eax, 8
add eax, ecx
movzx ecx, byte [edx + 0xa]
shl eax, 8
add eax, ecx
movzx ecx, byte [edx + 0xb]
shl eax, 8
add eax, ecx
cmp eax, 0x7fffffff
ja 0x4bcd86
cmp dword [esp + 0x14], eax
jae 0x4bcd86
mov byte [esp + 0x10], 1
jmp 0x4bca20
cmp ecx, 0x4c546366
jne 0x4bcc7e
mov ah, byte [esp + 0x11]
test ah, ah
je 0x4bcafc
cmp byte [esp + 0x10], 0
je 0x4bccf2
cmp esi, dword [esp + 0x14]
jne 0x4bcc49
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
add ecx, eax
mov byte [esp + 0x12], 1
movzx eax, byte [edx + 0xe]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
add eax, ecx
mov dword [ebp + 8], eax
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
movzx edx, byte [ecx + 0x10]
movzx eax, byte [ecx + 0x11]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x12]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x13]
shl edx, 8
add eax, edx
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
movzx edx, byte [ecx + 0x14]
movzx eax, byte [ecx + 0x15]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x16]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x17]
shl edx, 8
add eax, edx
mov dword [ebp + 0x10], eax
mov ecx, dword [edi]
mov dword [esp + 0x20], eax
movzx edx, byte [ecx + 0x18]
movzx eax, byte [ecx + 0x19]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x1a]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x1b]
shl edx, 8
add edx, eax
mov dword [ebp + 0x14], edx
mov eax, dword [edi]
movzx ecx, byte [eax + 0x1c]
movzx eax, byte [eax + 0x1d]
shl ecx, 8
add ecx, eax
mov dword [ebp + 0x18], ecx
mov eax, dword [edi]
movzx ecx, byte [eax + 0x1e]
movzx eax, byte [eax + 0x1f]
shl ecx, 8
add ecx, eax
cmp dword [esp + 0x18], 0xf4240
mov dword [ebp + 0x1c], ecx
mov eax, dword [edi]
movzx eax, byte [eax + 0x20]
mov dword [esp + 0x24], eax
mov dword [ebp + 0x20], eax
mov eax, dword [edi]
movzx eax, byte [eax + 0x21]
mov dword [esp + 0x28], eax
mov dword [ebp + 0x24], eax
ja 0x4bcd86
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xf4240
ja 0x4bcd86
mov eax, dword [esp + 0x20]
cmp eax, 0xf4240
ja 0x4bcd86
cmp edx, 0xf4240
ja 0x4bcd86
add eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
cmp eax, dword [ebp]
ja 0x4bcd86
lea eax, [edx + ecx]
cmp eax, dword [ebp + 4]
ja 0x4bcd86
cmp dword [esp + 0x24], 2
ja 0x4bcd86
cmp dword [esp + 0x28], 1
ja 0x4bcd86
inc esi
cmp byte [esp + 0x13], 0
je 0x4bca20
xor al, al
mov dword [ebp + 0x24], 0
cmp dword [ebp + 0x20], 2
mov byte [esp + 0x13], al
jne 0x4bca20
mov dword [ebp + 0x20], 1
jmp 0x4bca20
cmp ecx, 0x54414449
jne 0x4bccbe
cmp byte [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x11], 1
jne 0x4bcc9e
test ecx, ecx
jne 0x4bcd86
test esi, esi
jne 0x4bcca6
test ecx, ecx
je 0x4bccd8
cmp byte [esp + 0x12], 0
jne 0x4bccd8
test esi, esi
mov eax, 1
cmovne eax, esi
mov esi, eax
jmp 0x4bca20
cmp ecx, 0x54416466
jne 0x4bcce2
cmp byte [esp + 0x10], 0
je 0x4bccee
cmp byte [esp + 0x12], 0
je 0x4bca20
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1c
ret
cmp ecx, 0x444e4549
je 0x4bcd86
mov ah, byte [esp + 0x11]
mov al, cl
sub al, 0x41
cmp al, 0x39
ja 0x4bcd86
cmp cl, 0x5a
jbe 0x4bcd08
cmp cl, 0x61
jb 0x4bcd86
mov ecx, dword [esp + 0x28]
mov al, cl
sub al, 0x41
cmp al, 0x39
ja 0x4bcd86
cmp cl, 0x5a
jbe 0x4bcd1e
cmp cl, 0x61
jb 0x4bcd86
mov cl, byte [edx + 6]
mov al, cl
sub al, 0x41
cmp al, 0x39
ja 0x4bcd86
cmp cl, 0x5a
jbe 0x4bcd33
cmp cl, 0x61
jb 0x4bcd86
mov cl, byte [edx + 7]
mov al, cl
sub al, 0x41
cmp al, 0x39
ja 0x4bcd86
cmp cl, 0x5a
jbe 0x4bcd48
cmp cl, 0x61
jb 0x4bcd86
test ah, ah
jne 0x4bcd86
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x4bcd7a
push eax
push 8
call fcn.00404080
mov ecx, dword [edi]
add esp, 8
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x34]
add dword [eax + 4], 8
jmp 0x4bca20
push edi
push eax
call fcn.00476c90
jmp 0x4bca20
mov dword [edi], 0
xor al, al
mov dword [edi + 4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret