Function at 0x1001791e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
mov byte [ebp - 1], 0x50
call fcn.100184f3
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
mov byte [ebp - 1], 0x4b
call fcn.100184f3
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
mov byte [ebp - 1], 3
call fcn.100184f3
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
mov byte [ebp - 1], 4
call fcn.100184f3
mov al, byte [esi + 2]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 3]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x2c]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x2d]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 6]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 7]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 8]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 9]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0xa]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0xb]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0xc]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0xd]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0xe]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0xf]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x10]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x11]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x12]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x13]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x14]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x15]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x16]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x17]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x18]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov eax, dword [esi + 0x18]
shr eax, 8
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov al, byte [esi + 0x1c]
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov eax, dword [esi + 0x1c]
shr eax, 8
mov byte [ebp - 1], al
push ebx
lea eax, [ebp - 1]
push eax
mov ecx, edi
call fcn.100184f3
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
je 0x10017b57
push eax
lea eax, [esi + 0x148]
push eax
mov ecx, edi
call fcn.100184f3
cmp eax, dword [esi + 0x18]
je 0x10017b61
push 0xa
pop eax
leave
ret
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10017b7c
mov eax, dword [esi + 0x13c]
push ecx
push eax
mov ecx, edi
call fcn.100184f3
cmp eax, dword [esi + 0x1c]
jne 0x10017b5c
xor eax, eax
leave
ret