Function at 0x4dc360
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
movzx dx, byte [edi]
test dx, dx
je 0x4dc406
test byte [edi + 2], 4
mov eax, dword [esi + 0x14]
je 0x4dc38f
movsx ecx, word [esi + 0x28]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x4dc393
mov dword [esp + 0x10], eax
test byte [edi + 3], 4
je 0x4dc3a4
movsx ebx, word [esi + 0x2a]
mov ecx, dword [esi + 0x1c]
sub ecx, ebx
jmp 0x4dc3a7
mov ecx, dword [esi + 0x1c]
movsx ebx, dx
add ecx, eax
test bl, 4
mov dword [esp + 0x1c], ecx
je 0x4dc3c0
movsx eax, word [esi + 0x24]
mov ebp, dword [esi + 0x20]
sub ebp, eax
jmp 0x4dc3c3
mov ebp, dword [esi + 0x20]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
xor ecx, ecx
push edx
mov cl, byte [edi + 4]
add ebp, eax
mov dword [esp + 0x18], ecx
mov ecx, edi
call fcn.004ddd40
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push eax
mov eax, dword [esp + 0x18]
shr ecx, 3
shr ebx, 1
push eax
mov eax, dword [esp + 0x18]
and ecx, 1
push 0
and ebx, 1
push ecx
push ebx
push ebp
push edx
push ebp
push eax
mov ecx, esi
call fcn.00510140
movzx dx, byte [edi + 1]
test dx, dx
je 0x4dc49d
test byte [edi + 2], 4
mov eax, dword [esi + 0x14]
je 0x4dc429
movsx ecx, word [esi + 0x28]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x4dc42d
mov dword [esp + 0x10], eax
test byte [edi + 3], 4
je 0x4dc43e
movsx ecx, word [esi + 0x2a]
mov ebp, dword [esi + 0x1c]
sub ebp, ecx
jmp 0x4dc441
mov ebp, dword [esi + 0x1c]
movsx ebx, dx
add ebp, eax
test bl, 4
je 0x4dc458
movsx eax, word [esi + 0x26]
add eax, dword [esi + 0x18]
mov dword [esp + 0x1c], eax
jmp 0x4dc45f
mov edx, dword [esi + 0x18]
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0x10]
xor eax, eax
mov al, byte [edi + 5]
push ecx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004ddd40
mov edx, dword [esp + 0x14]
push eax
mov eax, ebx
mov ecx, dword [esp + 0x14]
shr eax, 3
push edx
and eax, 1
shr ebx, 1
push 1
push eax
mov eax, dword [esp + 0x2c]
and ebx, 1
push ebx
push eax
push ebp
push eax
push ecx
mov ecx, esi
call fcn.00510140
movzx ax, byte [edi + 3]
test ax, ax
je 0x4dc537
movsx ebx, ax
test bl, 4
je 0x4dc4be
movsx edx, word [esi + 0x2a]
mov eax, dword [esi + 0x1c]
sub eax, edx
jmp 0x4dc4c1
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x14]
mov dword [esp + 0x10], eax
mov al, byte [edi]
test al, 4
mov eax, dword [esi + 0x18]
je 0x4dc4dc
movsx ecx, word [esi + 0x24]
mov ebp, dword [esi + 0x20]
sub ebp, ecx
jmp 0x4dc4df
mov ebp, dword [esi + 0x20]
mov cl, byte [edi + 1]
add ebp, eax
test cl, 4
je 0x4dc4f5
movsx ecx, word [esi + 0x26]
add ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x4dc4f9
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
xor edx, edx
mov dl, byte [edi + 7]
push eax
mov ecx, edi
mov dword [esp + 0x18], edx
call fcn.004ddd40
mov ecx, dword [esp + 0x14]
mov edx, ebx
shr edx, 3
push eax
mov eax, dword [esp + 0x20]
shr ebx, 1
push ecx
and edx, 1
push 0
and ebx, 1
push edx
push ebx
push eax
mov eax, dword [esp + 0x28]
push eax
push ebp
push eax
mov ecx, esi
call fcn.00510140
movzx ax, byte [edi + 2]
test ax, ax
je 0x4dc5cf
movsx ebx, ax
test bl, 4
je 0x4dc55a
movsx eax, word [esi + 0x28]
add eax, dword [esi + 0x14]
mov dword [esp + 0x10], eax
jmp 0x4dc561
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x10], ecx
test byte [edi], 4
mov eax, dword [esi + 0x18]
je 0x4dc574
movsx edx, word [esi + 0x24]
mov ebp, dword [esi + 0x20]
sub ebp, edx
jmp 0x4dc577
mov ebp, dword [esi + 0x20]
mov cl, byte [edi + 1]
add ebp, eax
test cl, 4
je 0x4dc58d
movsx ecx, word [esi + 0x26]
add ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x4dc591
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x10]
xor eax, eax
mov al, byte [edi + 6]
push ecx
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.004ddd40
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, ebx
shr eax, 3
shr ebx, 1
push edx
and eax, 1
push 1
and ebx, 1
push eax
mov eax, dword [esp + 0x20]
push ebx
push ecx
push eax
push ebp
push eax
mov ecx, esi
call fcn.00510140
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4