Function at 0x1017e250
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x64]
lea ebx, [edi + 0x128]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push 0x20
push dword [edi + 0xbc]
push dword [edi + 0xc0]
push ebp
call fcn.1017f350
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1017e4f2
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.1014e470
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1017e4f2
test esi, 0xffffff00
je 0x1017e2ca
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x18
ret
and esi, 4
mov dword [esp + 0x24], esi
push ebx
je 0x1017e2db
push 0x102c65f0
jmp 0x1017e2e0
push 0x102c65d4
push ebp
call fcn.1014e1a0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1017e4f2
movzx edx, word [ebx]
movzx eax, word [ebx + 2]
cmp dx, ax
ja 0x1017e4ed
mov ecx, 0xff
cmp ax, cx
ja 0x1017e4ed
movzx eax, word [ebx + 4]
movzx ecx, word [ebx + 6]
cmp ax, cx
ja 0x1017e4ed
mov eax, 0xff
cmp cx, ax
ja 0x1017e4ed
movzx ecx, word [ebx + 8]
mov ax, cx
movzx ecx, cl
shr ax, 8
movzx eax, ax
mov dword [esp + 0x14], eax
movzx eax, word [ebx + 4]
mov dword [esp + 0x18], ecx
cmp word [esp + 0x14], ax
jb 0x1017e377
movzx ebp, word [ebx + 6]
cmp word [esp + 0x14], bp
mov ebp, dword [esp + 0x2c]
ja 0x1017e377
cmp cx, dx
movzx ecx, word [ebx + 2]
jb 0x1017e37b
cmp word [esp + 0x18], cx
jbe 0x1017e394
jmp 0x1017e37b
movzx ecx, word [ebx + 2]
shl eax, 8
add eax, edx
mov word [ebx + 8], ax
movzx eax, word [ebx + 4]
mov edi, eax
mov dword [esp + 0x14], edi
mov edi, edx
mov dword [esp + 0x18], edi
movzx edi, word [ebx + 6]
movzx eax, ax
movzx ecx, cx
sub edi, eax
sub ecx, edx
inc edi
inc ecx
imul edi, ecx
mov dword [esp + 0x1c], edi
lea eax, [edi + edi]
push eax
push ebp
call fcn.1014dc30
mov edi, dword [esp + 0x38]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1017e4f2
mov edx, dword [esp + 0x14]
movzx eax, word [ebx + 4]
movzx ecx, word [ebx]
movzx edx, dx
sub edx, eax
movzx eax, word [ebx + 2]
sub eax, ecx
inc eax
imul edx, eax
mov eax, dword [esp + 0x18]
movzx eax, ax
sub edx, ecx
add edx, eax
mov eax, dword [ebp + 0x20]
lea eax, [eax + edx*2]
test esi, esi
je 0x1017e400
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
jmp 0x1017e407
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl cx, 8
or cx, ax
mov eax, 0xffff
movzx edx, cx
cmp dx, ax
jne 0x1017e422
mov edx, 1
jmp 0x1017e434
inc edx
mov ecx, 1
movzx eax, dx
cmp eax, dword [edi + 0x120]
cmovae edx, ecx
mov ecx, dword [edi + 0x124]
movzx eax, dx
add eax, eax
movups xmm0, xmmword [ecx + eax*8]
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x24]
movups xmmword [ecx], xmm0
push 0
push 2
push dword [esp + 0x34]
call fcn.10150130
mov edi, eax
add esp, 0x18
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xc], edi
test eax, eax
jne 0x1017e4f2
movzx eax, word [ebx + 4]
mov dword [esp + 0x30], eax
cmp ax, word [ebx + 6]
ja 0x1017e4d8
movzx esi, word [ebx]
cmp si, word [ebx + 2]
ja 0x1017e4cd
nop dword [eax]
cmp dword [esp + 0x24], 0
push ebp
je 0x1017e49f
call fcn.1014de60
jmp 0x1017e4a4
call fcn.1014dea0
movzx eax, ax
mov ecx, 0xffff
add esp, 4
cmp ax, cx
jne 0x1017e4b8
mov eax, ecx
jmp 0x1017e4bc
inc eax
movzx eax, ax
mov word [edi], ax
inc esi
add edi, 2
cmp si, word [ebx + 2]
jbe 0x1017e490
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp ax, word [ebx + 6]
jbe 0x1017e480
push ebp
call fcn.1014dd00
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret