Function at 0x4d0400
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, edx
mov edx, ecx
push esi
push edi
mov dword [esp + 0x14], edx
mov eax, dword [ebx]
movzx ecx, byte [ebx + 0x18]
mov edi, dword [edx + 8]
not ecx
and ecx, 1
mov eax, dword [eax]
mov dword [esp + 0x18], eax
add eax, ecx
add eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x48]
inc eax
mov dword [esp + 0x1c], ecx
cmp dword [ebp + 0x18], 0
mov dword [edx + 0x48], eax
mov esi, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
je 0x4d0458
mov esi, dword [ebp + 0xc]
sub esi, dword [esp + 0x18]
sub esi, ecx
jmp 0x4d0466
lea esi, [eax + 1]
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x24]
mov dword [edx + 0x48], eax
mov edx, dword [ebx]
mov ecx, dword [esp + 0x14]
push 5
push dword [ebp + 0x10]
mov dword [esp + 0x34], esi
push esi
call fcn.004b4460
mov ecx, dword [esp + 0x28]
add esp, 0xc
test ecx, ecx
je 0x4d04ea
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x30], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d04ab
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4d04e6
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0x4a
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x34]
mov byte [ecx + 3], 0
mov dword [ecx + 4], eax
lea eax, [esi + edx]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov ecx, dword [esp + 0x1c]
jmp 0x4d04ee
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp dword [ebp + 0x18], 0
jne 0x4d050c
push dword [ebp + 0x14]
lea eax, [esi + edx]
mov edx, dword [ebp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.004b3220
add esp, 8
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x34], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d052a
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4d0563
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x20]
inc dword [edi + 0x20]
mov word [eax + ecx*4], 0x31
lea ecx, [eax + ecx*4]
lea eax, [esi + edx]
mov byte [ecx + 3], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
sub eax, edx
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
jmp 0x4d0567
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x4d07a8
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x48]
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 0x48], eax
mov edx, ecx
sub edx, dword [ebx + 4]
mov eax, dword [esp + 0x1c]
add edx, eax
mov dword [esp + 0x1c], edx
test eax, eax
je 0x4d05a0
add ecx, esi
jmp 0x4d05a3
mov ecx, dword [ebx + 8]
push ecx
test eax, eax
mov ecx, 0x3b
mov edx, 0x2e
cmove edx, ecx
mov ecx, edi
call fcn.0049d730
mov ecx, dword [edi + 0x18]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x34], eax
cmp dword [ecx + 0x54], eax
jg 0x4d05e6
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4d0616
mov eax, dword [esp + 0x34]
inc dword [edi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jns 0x4d0621
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x41], 0
je 0x4d0630
mov ecx, 0x734434
jmp 0x4d0639
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov eax, dword [eax]
cmp byte [eax + 0x41], 0
jne 0x4d095f
mov eax, dword [esp + 0x1c]
add eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x1c], ecx
movzx eax, word [ecx + 6]
push eax
push 0
push dword [ecx + 0x10]
call fcn.006440e0
mov edx, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi]
test edx, edx
je 0x4d06a6
cmp byte [ecx + 0x41], 0
jne 0x4d06a6
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
push dword [edx + eax*4 - 4]
lea esi, [edx + eax*4]
movsx edx, byte [esi - 0x13]
call fcn.0049dff0
mov eax, dword [esp + 0x20]
mov dword [esi - 4], eax
mov byte [esi - 0x13], 0xfa
mov esi, dword [esp + 0x30]
jmp 0x4d06b8
push dword [esp + 0x1c]
mov edx, 0xfffffffa
call fcn.0049dff0
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 8]
add esp, 4
mov edx, dword [ebx]
dec eax
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x24]
call fcn.004d17e0
mov ecx, dword [esp + 0x30]
mov edx, 0x2b
mov dword [ecx + 0x10], eax
mov ecx, edi
mov eax, dword [edi + 0x20]
mov dword [esp + 0x3c], eax
inc eax
push eax
push 0
push eax
call fcn.0049d670
add esp, 0x14
mov ecx, edi
call fcn.0049dc20
mov ecx, dword [esp + 0x14]
mov edx, 0xf
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x48]
inc eax
mov dword [ecx + 0x48], eax
mov ecx, edi
push dword [ebx + 0x10]
mov dword [ebx + 0xc], eax
push eax
call fcn.0049d7a0
push dword [ebx + 8]
mov edx, 0x78
mov ecx, edi
call fcn.0049d730
mov ecx, dword [edi + 0x20]
add esp, 0xc
mov eax, dword [edi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x20]
test ecx, ecx
jns 0x4d0744
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x41], 0
je 0x4d0753
mov eax, 0x734434
jmp 0x4d075c
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, esi
push dword [ebx + 4]
push dword [esp + 0x34]
call fcn.004b3220
mov eax, dword [edi + 0x18]
add esp, 8
mov ecx, dword [edi + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [edi]
mov edx, dword [edi + 0x20]
cmp byte [eax + 0x41], 0
je 0x4d0790
mov eax, 0x734434
jmp 0x4d07a5
mov ecx, dword [esp + 0x34]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebx + 8]
mov dl, byte [ebx + 0x18]
mov esi, dword [edi + 0x20]
not dl
mov dword [esp + 0x34], eax
and dl, 1
mov eax, dword [edi + 0x18]
mov byte [esp + 0x13], dl
cmp dword [eax + 0x54], esi
jg 0x4d07d5
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4d080e
mov dl, byte [esp + 0x13]
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
add dl, 0x6e
mov byte [eax + ecx*4], dl
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
test edx, edx
je 0x4d095f
mov eax, dword [eax + 0xc]
test eax, eax
mov esi, dword [edi + 0x20]
lea ecx, [eax + 1]
mov eax, dword [edi + 0x18]
cmove ecx, edx
mov dword [esp + 0x34], ecx
cmp dword [eax + 0x54], esi
jg 0x4d0848
mov ecx, edi
call fcn.0049d5e0
test eax, eax
je 0x4d0848
mov esi, 1
jmp 0x4d087c
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x8c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x34], ecx
cmp dword [eax + 0x54], ecx
jg 0x4d08a1
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4d08d5
mov ecx, dword [esp + 0x34]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x6a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 8]
mov ebx, dword [edi + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x54], ebx
jg 0x4d08f2
mov ecx, edi
call fcn.0049d5e0
test eax, eax
jne 0x4d0926
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x20]
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x62
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
dec ecx
mov dword [eax + 0x58], ecx
mov eax, dword [edi]
mov edx, dword [edi + 0x20]
cmp byte [eax + 0x41], 0
je 0x4d094a
mov eax, 0x734434
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret