Function at 0x503510
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x704200]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 5]
push 1
push eax
push edi
mov esi, ecx
mov byte [ebp - 5], 0x50
call fcn.00502730
push 1
lea eax, [ebp - 5]
mov byte [ebp - 5], 0x4b
push eax
push edi
call fcn.00502730
push 1
lea eax, [ebp - 5]
mov byte [ebp - 5], 3
push eax
push edi
call fcn.00502730
push 1
lea eax, [ebp - 5]
mov byte [ebp - 5], 4
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 2]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 3]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x2c]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x2d]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 6]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 7]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 8]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
mov eax, dword [esi + 8]
shr eax, 8
mov byte [ebp - 5], al
push 1
lea eax, [ebp - 5]
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0xa]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0xb]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0xc]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0xe]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0xf]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x10]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x12]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x13]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x14]
mov byte [ebp - 5], al
push 1
lea eax, [ebp - 5]
push eax
push edi
call fcn.00502730
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x16]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x17]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x18]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
mov eax, dword [esi + 0x18]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
movzx eax, byte [esi + 0x1c]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
mov eax, dword [esi + 0x1c]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.00502730
add esp, 0x48
lea eax, [esi + 0x148]
push dword [esi + 0x18]
push eax
push edi
call fcn.00502730
add esp, 0xc
cmp eax, dword [esi + 0x18]
jne 0x5037d0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x5037be
push eax
push dword [esi + 0x13c]
push edi
call fcn.00502730
add esp, 0xc
xor ecx, ecx
cmp eax, dword [esi + 0x1c]
mov edx, 0xa
cmovne ecx, edx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e465
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e465
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xa
pop edi
xor ecx, ebp
pop esi
call fcn.0041e465
mov esp, ebp
pop ebp
ret