Function at 0x506450
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], 0x50
call fcn.00506e10
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], 0x4b
call fcn.00506e10
push 1
lea edx, [esp + 7]
push edx
mov ecx, edi
mov byte [esp + 0xb], 1
call fcn.00506e10
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], 2
call fcn.00506e10
movzx ecx, byte [esi]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 1]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 2]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 3]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 4]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 5]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 6]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 7]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 8]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 9]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0xa]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 0xb]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 0xc]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0xd]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 0xe]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 0xf]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0x10]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 0x11]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 0x12]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0x13]
push 1
lea ecx, [esp + 7]
mov byte [esp + 7], al
push ecx
mov ecx, edi
call fcn.00506e10
movzx edx, byte [esi + 0x14]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 0x15]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0x16]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 0x17]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 0x18]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
mov eax, dword [esi + 0x18]
push 1
lea ecx, [esp + 7]
shr eax, 8
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 0x20]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
mov ecx, dword [esi + 0x20]
shr ecx, 8
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0x24]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
mov edx, dword [esi + 0x24]
push 1
lea eax, [esp + 7]
shr edx, 8
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 0x28]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0x29]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 0x2a]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 0x2b]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0x30]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 0x31]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 0x32]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0x33]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 0x34]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
movzx ecx, byte [esi + 0x35]
push 1
lea edx, [esp + 7]
mov byte [esp + 7], cl
push edx
mov ecx, edi
call fcn.00506e10
movzx eax, byte [esi + 0x36]
push 1
lea ecx, [esp + 7]
push ecx
mov ecx, edi
mov byte [esp + 0xb], al
call fcn.00506e10
movzx edx, byte [esi + 0x37]
push 1
lea eax, [esp + 7]
push eax
mov ecx, edi
mov byte [esp + 0xb], dl
call fcn.00506e10
mov eax, dword [esi + 0x18]
test eax, eax
je 0x506854
push eax
lea ecx, [esi + 0x148]
push ecx
mov ecx, edi
call fcn.00506e10
cmp eax, dword [esi + 0x18]
jne 0x506893
mov eax, dword [esi + 0x20]
test eax, eax
je 0x506874
mov ecx, dword [esi + 0x140]
push eax
push ecx
mov ecx, edi
call fcn.00506e10
cmp eax, dword [esi + 0x20]
jne 0x506893
mov eax, dword [esi + 0x24]
test eax, eax
je 0x50688f
mov ecx, dword [esi + 0x144]
push eax
push ecx
mov ecx, edi
call fcn.00506e10
cmp eax, dword [esi + 0x24]
jne 0x506893
xor eax, eax
pop ecx
ret
mov eax, 0xa
pop ecx
ret