Function at 0x506020
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push 1
lea eax, [esp + 7]
push eax
mov ecx, esi
mov byte [esp + 0xb], 0x50
call fcn.00506e10
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, esi
mov byte [esp + 0xb], 0x4b
call fcn.00506e10
push 1
lea edx, [esp + 7]
push edx
mov ecx, esi
mov byte [esp + 0xb], 3
call fcn.00506e10
push 1
lea eax, [esp + 7]
push eax
mov ecx, esi
mov byte [esp + 0xb], 4
call fcn.00506e10
movzx ecx, byte [edi + 2]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, esi
call fcn.00506e10
movzx eax, byte [edi + 3]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, esi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [edi + 0x2c]
push 1
lea eax, [esp + 7]
push eax
mov ecx, esi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [edi + 0x2d]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, esi
call fcn.00506e10
movzx eax, byte [edi + 6]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, esi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [edi + 7]
push 1
lea eax, [esp + 7]
push eax
mov ecx, esi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [edi + 8]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, esi
call fcn.00506e10
movzx eax, byte [edi + 9]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, esi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [edi + 0xa]
push 1
lea eax, [esp + 7]
push eax
mov ecx, esi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [edi + 0xb]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, esi
call fcn.00506e10
movzx eax, byte [edi + 0xc]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, esi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [edi + 0xd]
push 1
lea eax, [esp + 7]
push eax
mov ecx, esi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [edi + 0xe]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, esi
call fcn.00506e10
movzx eax, byte [edi + 0xf]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, esi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [edi + 0x10]
push 1
lea eax, [esp + 7]
push eax
mov ecx, esi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [edi + 0x11]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, esi
call fcn.00506e10
movzx eax, byte [edi + 0x12]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, esi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [edi + 0x13]
push 1
lea eax, [esp + 7]
push eax
mov ecx, esi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [edi + 0x14]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, esi
call fcn.00506e10
movzx eax, byte [edi + 0x15]
push 1
lea ecx, [esp + 7]
mov byte [esp + 7], al
push ecx
mov ecx, esi
call fcn.00506e10
movzx edx, byte [edi + 0x16]
push 1
lea eax, [esp + 7]
push eax
mov ecx, esi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [edi + 0x17]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, esi
call fcn.00506e10
movzx eax, byte [edi + 0x18]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, esi
mov byte [esp + 0xb], al
call fcn.00506e10
mov edx, dword [edi + 0x18]
push 1
lea eax, [esp + 7]
shr edx, 8
push eax
mov ecx, esi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [edi + 0x1c]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, esi
call fcn.00506e10
mov eax, dword [edi + 0x1c]
push 1
lea ecx, [esp + 7]
shr eax, 8
push ecx
mov ecx, esi
mov byte [esp + 0xb], al
call fcn.00506e10
mov eax, dword [edi + 0x18]
test eax, eax
je 0x5062c3
push eax
lea edx, [edi + 0x148]
push edx
mov ecx, esi
call fcn.00506e10
cmp eax, dword [edi + 0x18]
je 0x5062cf
mov eax, 0xa
pop ecx
ret
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x5062ea
mov ecx, dword [edi + 0x13c]
push eax
push ecx
mov ecx, esi
call fcn.00506e10
cmp eax, dword [edi + 0x1c]
jne 0x5062c8
xor eax, eax
pop ecx
ret