Function at 0x1016a95c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov ecx, dword [0x102c7ff4]
xor eax, eax
push ebx
mov ebx, dword [0x1029b530]
shr ebx, 0x12
push esi
and bl, 1
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov esi, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x1c], al
mov dword [ebp - 4], eax
push edi
test ecx, ecx
je 0x1016ac7c
cmp dword [ecx + 0x568], eax
je 0x1016ac7c
test byte [0x102b2ab4], 2
je 0x1016ac7c
cmp dword [0x102c7ff8], eax
je 0x1016ac7c
cmp dword [0x102c7fec], eax
je 0x1016ac7c
cmp dword [0x102c7ff0], eax
je 0x1016ac7c
mov eax, dword [0x102ba1fc]
cmp word [eax], 0x70
jne 0x1016a9f5
cmp dword [ecx + 8], 1
jne 0x1016ac85
add eax, 2
mov dword [ebp - 4], 0x10000000
mov dword [0x102ba1fc], eax
movzx eax, word [eax]
push eax
call dword [sym.imp.msvcrt.dll_towlower]
pop ecx
push 0x74
pop edx
push 0x69
movzx edi, ax
mov dword [ebp - 0xc], 0x66
pop eax
push 0x72
pop ecx
cmp edi, 0x62
je 0x1016aab1
cmp di, word [ebp - 0xc]
je 0x1016aab1
cmp di, cx
je 0x1016aaba
cmp di, ax
jne 0x1016aa66
test dword [ebp - 4], 0x10000000
je 0x1016aa49
xor edx, edx
mov ecx, 0x1001
jmp 0x1016ac8c
mov eax, dword [0x102ba1fc]
add eax, 2
push 0x6c
pop ecx
mov dword [0x102ba1fc], eax
mov dword [ebp - 8], ecx
cmp word [eax], cx
je 0x1016aabf
jmp 0x1016ac91
cmp di, dx
jne 0x1016aa95
test dword [ebp - 4], 0x10000000
jne 0x1016aa3d
mov eax, dword [0x102ba1fc]
add eax, 2
mov dword [0x102ba1fc], eax
cmp word [eax], cx
je 0x1016aa90
mov edx, 0x1008addc
jmp 0x1016ac96
mov dword [ebp - 8], ecx
jmp 0x1016aabf
cmp edi, 0x75
je 0x1016aaba
mov eax, dword [0x102c7ff4]
test eax, eax
je 0x1016aaec
cmp dword [eax + 8], 1
jne 0x1016aaec
push 0x78
pop eax
cmp di, ax
jne 0x1016aaec
test dword [ebp - 4], 0x10000000
jne 0x1016aa3d
mov eax, dword [0x102ba1fc]
add eax, 2
mov dword [0x102ba1fc], eax
movzx eax, word [eax]
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
pop ecx
mov edx, eax
call fcn.10179827
test ax, ax
je 0x1016aaf3
test edx, edx
jne 0x1016aaf3
mov edx, 0x1008ae04
jmp 0x1016ac96
mov eax, dword [0x102ba1fc]
jmp 0x1016aac7
cmp di, word [ebp - 0xc]
jne 0x1016aba6
call fcn.101797f2
mov ecx, dword [0x102ba1fc]
cmp ax, 0x2d
je 0x1016ab14
cmp word [ecx], 0x2f
jne 0x1016ab7d
add ecx, 2
mov dword [0x102ba1fc], ecx
movzx eax, word [ecx]
cmp eax, 0x69
jg 0x1016ab57
je 0x1016ab4f
sub eax, 0x44
je 0x1016ab4b
sub eax, 0xb
je 0x1016ab43
sub eax, 0x14
je 0x1016ab3e
dec eax
jne 0x1016ab9c
or esi, 0x20
jmp 0x1016ab72
or esi, 2
jmp 0x1016ab72
or esi, 0x40000000
jmp 0x1016ab72
mov bl, 1
jmp 0x1016ab72
or esi, 0x80000000
jmp 0x1016ab72
sub eax, 0x6d
je 0x1016ab6f
dec eax
je 0x1016ab6a
dec eax
jne 0x1016ab9c
or esi, 0x20000000
jmp 0x1016ab72
or esi, 0x10
jmp 0x1016ab72
or esi, 1
add ecx, 2
mov dword [0x102ba1fc], ecx
jmp 0x1016aafd
xor eax, eax
mov edx, 0x102ba1e0
inc eax
push ecx
mov dword [0x102ba0cc], eax
push eax
push 2
pop ecx
call fcn.1014310f
mov ecx, dword [ebp - 0x10]
jmp 0x1016ac21
mov edx, 0x1008ae40
jmp 0x1016ac96
push 0x74
pop eax
cmp di, ax
jne 0x1016abd9
push 0x72
pop eax
cmp word [ebp - 8], ax
jne 0x1016abd9
push ecx
push 0
push 2
mov edx, 0x102ba1e0
mov dword [0x102ba0cc], 1
pop ecx
call fcn.1014310f
push ecx
push 0
lea edx, [ebp - 0x38]
jmp 0x1016ab8c
mov eax, dword [0x102c7ff0]
push 1
push 0x100000
push 2
mov ecx, dword [eax + 0x24]
xor eax, eax
push 0
mov dword [0x102ba0cc], 1
cmp dword [ecx], 0x200
mov ecx, 0x102ba1e0
sete al
add eax, 8
cdq
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.10142e3d
mov ecx, dword [ebp - 0x18]
test eax, eax
setne byte [ebp - 0x1c]
and dword [0x102ba0cc], 0
mov eax, edi
mov edx, dword [ebp - 0x14]
cmp eax, 0x66
je 0x1016ac71
cmp eax, 0x74
je 0x1016ac5e
cmp eax, 0x78
je 0x1016ac55
push dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 8]
push ecx
push dword [ebp - 4]
mov ecx, edi
call fcn.1016a5b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push ecx
call fcn.1016a355
jmp 0x1016ac4e
push 0x72
pop eax
cmp word [ebp - 8], ax
jne 0x1016ac4e
lea ecx, [ebp - 0x38]
call fcn.10168dca
jmp 0x1016ac4e
mov dl, bl
mov ecx, esi
call fcn.10169833
jmp 0x1016ac4e
xor edx, edx
mov ecx, 0x1011
jmp 0x1016ac8c
xor edx, edx
mov ecx, 0x1020
call fcn.101f3103
mov edx, 0x1008adb4
mov ecx, 0x1001
call fcn.100b5eb0
int3