Function at 0x4156d0
Capabilities:
Enumerate pe sections

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