Function at 0x4d33d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [edi + 0x20]
mov ebp, dword [esi + 4]
test ebp, ebp
mov ebx, dword [esi]
mov dword [esp + 0x10], esi
jne 0x4d33fa
push edi
call dword [esi + 0xc]
add esp, 4
test al, al
je 0x4d362c
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
xor eax, eax
mov ah, byte [ebx]
dec ebp
inc ebx
test ebp, ebp
mov dword [esp + 0xc], eax
jne 0x4d3420
push edi
call dword [esi + 0xc]
add esp, 4
test al, al
je 0x4d362c
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
mov eax, dword [esp + 0xc]
movzx ecx, byte [ebx]
add eax, ecx
dec ebp
sub eax, 2
inc ebx
test eax, eax
mov dword [esp + 0xc], eax
jle 0x4d35fb
test ebp, ebp
jne 0x4d344e
push edi
call dword [esi + 0xc]
add esp, 4
test al, al
je 0x4d362c
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
movzx esi, byte [ebx]
mov edx, dword [edi]
mov dword [edx + 0x14], 0x51
mov ecx, dword [edi]
mov eax, esi
sar eax, 4
and esi, 0xf
mov dword [ecx + 0x18], esi
mov edx, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x1c], eax
mov eax, dword [edi]
push 1
dec ebp
push edi
inc ebx
call dword [eax + 4]
add esp, 8
cmp esi, 4
jge 0x4d3612
mov eax, dword [edi + esi*4 + 0x98]
test eax, eax
lea esi, [edi + esi*4 + 0x98]
jne 0x4d34aa
push edi
push esi
call fcn.004cf8a0
add esp, 8
test eax, eax
jl 0x4d363f
mov ecx, dword [esi]
mov esi, 0x5deaa8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
lea esp, [esp]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d3515
test ebp, ebp
mov esi, dword [esp + 0x10]
jne 0x4d34e4
push edi
call dword [esi + 0xc]
add esp, 4
test al, al
je 0x4d362c
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
xor edx, edx
mov dh, byte [ebx]
dec ebp
inc ebx
test ebp, ebp
mov dword [esp + 0x14], edx
jne 0x4d3506
push edi
call dword [esi + 0xc]
add esp, 4
test al, al
je 0x4d362c
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
movzx eax, byte [ebx]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add ecx, eax
jmp 0x4d3535
test ebp, ebp
jne 0x4d3532
mov ebp, dword [esp + 0x10]
push edi
call dword [ebp + 0xc]
add esp, 4
test al, al
je 0x4d362c
mov ebx, dword [ebp]
mov ebp, dword [ebp + 4]
movzx ecx, byte [ebx]
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
dec ebp
add esi, 4
inc ebx
cmp esi, 0x5deba8
mov dword [esp + 0x14], ecx
mov word [eax + edx*2], cx
mov dword [esp + 0x18], esi
jl 0x4d34c0
mov edx, dword [edi]
cmp dword [edx + 0x68], 2
jl 0x4d35cd
lea esi, [eax + 4]
mov dword [esp + 0x18], 8
jmp 0x4d3570
mov eax, dword [edi]
movzx ecx, word [esi - 4]
add eax, 0x18
mov dword [eax], ecx
movzx edx, word [esi - 2]
mov dword [eax + 4], edx
movzx ecx, word [esi]
mov dword [eax + 8], ecx
movzx edx, word [esi + 2]
mov dword [eax + 0xc], edx
movzx ecx, word [esi + 4]
mov dword [eax + 0x10], ecx
movzx edx, word [esi + 6]
mov dword [eax + 0x14], edx
movzx ecx, word [esi + 8]
mov dword [eax + 0x18], ecx
movzx edx, word [esi + 0xa]
mov dword [eax + 0x1c], edx
mov eax, dword [edi]
mov dword [eax + 0x14], 0x5d
mov ecx, dword [edi]
push 2
push edi
call dword [ecx + 4]
mov eax, dword [esp + 0x20]
add esp, 8
add esi, 0x10
dec eax
mov dword [esp + 0x18], eax
jne 0x4d3570
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
sub ecx, 0x41
test eax, eax
mov dword [esp + 0xc], ecx
je 0x4d35e9
mov eax, ecx
sub eax, 0x40
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
test eax, eax
mov esi, dword [esp + 0x10]
jg 0x4d3436
test eax, eax
je 0x4d3635
mov ecx, dword [edi]
pop esi
pop ebp
mov dword [ecx + 0x14], 0xb
mov eax, 0xfffffff5
pop ebx
add esp, 0x18
ret
mov edx, dword [edi]
mov dword [edx + 0x14], 0x1f
mov eax, dword [edi]
mov dword [eax + 0x18], esi
pop esi
pop ebp
mov eax, 0xffffffe1
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov dword [esi], ebx
mov dword [esi + 4], ebp
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x18
ret