Function at 0x1006aa2
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
xor cl, cl
push 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
pop eax
mov dword [ebp - 0xc], eax
je 0x1006acb
mov dword [ebp - 4], 0x80790054
jmp 0x100750e
cmp dword [ebp + 0xc], eax
jle 0x100750e
push ebx
mov ebx, dword [sym.imp.msvcrt.dll__wcsicmp]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx*4]
lea ecx, [ebp - 8]
push ecx
push dword [eax]
mov dword [ebp + 0x14], eax
call fcn.010064e2
mov dword [ebp - 4], eax
test eax, eax
jl 0x10074e2
cmp dword [ebp - 8], 0
jne 0x1006b1f
push 0x1001b38
push 0x738
push 0x1001aa8
call fcn.01028938
push dword [0x1032058]
and dword [ebp + 8], 0
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006bb2
mov eax, dword [esi + 0x10]
mov ecx, 0x200
and eax, ecx
xor edx, edx
or eax, edx
jne 0x1006b53
mov eax, dword [esi + 0x18]
and eax, ecx
xor ecx, ecx
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x24]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01005d5d
mov dword [ebp - 4], eax
test eax, eax
jl 0x1007546
mov ebx, dword [sym.imp.msvcrt.dll__wcsicmp]
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x1006b9e
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01005c3d
cmp eax, 0x80790066
jne 0x1006c61
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
jl 0x1006ae3
jmp 0x1007540
push dword [0x103205c]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006bea
mov eax, dword [esi + 0x10]
mov ecx, 0x800000
and eax, ecx
xor edx, edx
or eax, edx
jne 0x1006be2
mov eax, dword [esi + 0x18]
and eax, ecx
xor ecx, ecx
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x28]
jmp 0x1006b56
push dword [0x1032074]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006c6d
mov eax, dword [esi + 0x10]
mov ecx, 0x10000
and eax, ecx
xor edx, edx
or eax, edx
jne 0x1006c1a
mov eax, dword [esi + 0x18]
and eax, ecx
xor ecx, ecx
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x30]
push eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x2c], 1
push dword [eax]
call fcn.01005d5d
mov dword [ebp - 4], eax
test eax, eax
jl 0x1007546
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01005c78
mov dword [ebp - 4], eax
test eax, eax
jl 0x1007546
cmp dword [ebp - 0x14], 1
jbe 0x1006b6c
mov dword [ebp - 4], 0x80790066
jmp 0x1007565
push dword [0x1032078]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006cac
mov eax, dword [esi + 0x10]
mov ecx, 0x20000
and eax, ecx
xor edx, edx
or eax, edx
jne 0x1006c9d
mov eax, dword [esi + 0x18]
and eax, ecx
xor ecx, ecx
or eax, ecx
je 0x10074f7
mov dword [edi + 0x2c], 2
lea eax, [edi + 0x30]
jmp 0x1006b56
push dword [0x1032034]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006d18
mov eax, dword [esi + 0x10]
and eax, 8
xor ecx, ecx
or eax, ecx
jne 0x1006cd7
mov eax, dword [esi + 0x18]
and eax, 8
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x38]
push eax
lea eax, [edi + 0x34]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01006582
mov dword [ebp - 4], eax
test eax, eax
jl 0x1007546
mov eax, dword [esi + 0x18]
and eax, 0x200
xor ecx, ecx
or eax, ecx
je 0x1006b6c
mov eax, dword [esi + 0x14]
or dword [esi + 0x10], 0x200
mov dword [esi + 0x14], eax
jmp 0x1006b6c
push dword [0x10320c0]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006d58
mov ecx, dword [esi + 0x14]
and ecx, 2
or eax, ecx
jne 0x1006d41
mov ecx, dword [esi + 0x1c]
and ecx, 2
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x40]
push eax
lea eax, [edi + 0x3c]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01006582
jmp 0x1006b61
push dword [0x1032038]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006d8a
mov ecx, dword [esi + 0x14]
and ecx, 4
or eax, ecx
jne 0x1006d81
mov ecx, dword [esi + 0x1c]
and ecx, 4
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x48]
push eax
lea eax, [edi + 0x44]
jmp 0x1006d48
push dword [0x10320c4]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006dbc
mov ecx, dword [esi + 0x14]
and ecx, 8
or eax, ecx
jne 0x1006db3
mov ecx, dword [esi + 0x1c]
and ecx, 8
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x50]
push eax
lea eax, [edi + 0x4c]
jmp 0x1006d48
push dword [0x103203c]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006df7
mov eax, dword [esi + 0x10]
and eax, 0x10
xor ecx, ecx
or eax, ecx
jne 0x1006de7
mov eax, dword [esi + 0x18]
and eax, 0x10
or eax, ecx
je 0x10074f7
mov eax, dword [ebp + 0x14]
push edi
push dword [eax]
call fcn.010067c5
jmp 0x1006b61
push dword [0x103204c]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006e32
mov eax, dword [esi + 0x10]
and eax, 0x40
xor ecx, ecx
or eax, ecx
jne 0x1006e22
mov eax, dword [esi + 0x18]
and eax, 0x40
or eax, ecx
je 0x10074f7
mov eax, dword [ebp + 0x14]
push edi
push dword [eax]
call fcn.01005db8
jmp 0x1006b61
push dword [0x1032050]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006e6e
mov eax, dword [esi + 0x10]
mov ecx, 0x80
and eax, ecx
xor edx, edx
or eax, edx
jne 0x1006e62
mov eax, dword [esi + 0x18]
and eax, ecx
xor ecx, ecx
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x64]
push eax
lea eax, [edi + 0x60]
jmp 0x1006d48
push dword [0x1032054]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006eb1
mov eax, dword [esi + 0x10]
mov ecx, 0x100
and eax, ecx
xor edx, edx
or eax, edx
jne 0x1006e9e
mov eax, dword [esi + 0x18]
and eax, ecx
xor ecx, ecx
or eax, ecx
je 0x1006b72
lea eax, [edi + 0x68]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01005ccb
jmp 0x1006b61
push dword [0x1032060]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006f18
mov eax, dword [esi + 0x10]
mov ecx, 0x800
and eax, ecx
xor edx, edx
or eax, edx
jne 0x1006ee1
mov eax, dword [esi + 0x18]
and eax, ecx
xor ecx, ecx
or eax, ecx
je 0x10074f7
lea ebx, [edi + 0x70]
push ebx
lea eax, [edi + 0x6c]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01006582
mov dword [ebp - 4], eax
test eax, eax
jl 0x1007546
cmp dword [ebx], 1
je 0x1006b6c
mov eax, 0x80790055
push dword [ebp - 8]
mov dword [ebp - 4], eax
push eax
jmp 0x1007504
push dword [0x1032048]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006f53
mov eax, dword [esi + 0x10]
and eax, 4
xor ecx, ecx
or eax, ecx
jne 0x1006f43
mov eax, dword [esi + 0x18]
and eax, 4
or eax, ecx
je 0x10074f7
mov eax, dword [ebp + 0x14]
push edi
push dword [eax]
call fcn.010068bb
jmp 0x1006b61
push dword [0x1032040]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006f86
mov eax, dword [esi + 0x18]
and eax, 0x20
xor ecx, ecx
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x18], cl
jne 0x100751e
mov byte [edi + 0x18], 1
jmp 0x100746a
push dword [0x1032070]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006fbb
mov eax, dword [esi + 0x18]
and eax, 0x8000
xor ecx, ecx
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x1a], cl
jne 0x100751e
mov byte [edi + 0x1a], 1
jmp 0x100746a
push dword [0x103207c]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1006ff0
mov eax, dword [esi + 0x18]
and eax, 0x40000
xor ecx, ecx
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x1b], cl
jne 0x100751e
mov byte [edi + 0x1b], 1
jmp 0x100746a
push dword [0x10320a8]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1007025
mov eax, dword [esi + 0x18]
and eax, 0x40000000
xor ecx, ecx
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x1e], cl
jne 0x100751e
mov byte [edi + 0x1e], 1
jmp 0x100746a
push dword [0x10320cc]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1007057
mov ecx, dword [esi + 0x1c]
and ecx, 0x40
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x21], 0
jne 0x100751e
mov byte [edi + 0x21], 1
jmp 0x100746a
push dword [0x1032090]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x100708c
mov eax, dword [esi + 0x18]
and eax, 0x1000000
xor ecx, ecx
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x54], cl
jne 0x100751e
mov byte [edi + 0x54], 1
jmp 0x100746a
push dword [0x1032094]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x10070c1
mov eax, dword [esi + 0x18]
and eax, 0x2000000
xor ecx, ecx
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x1d], cl
jne 0x100751e
mov byte [edi + 0x1d], 1
jmp 0x100746a
push dword [0x1032044]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x10070f2
mov eax, dword [esi + 0x18]
and eax, 0x400
xor ecx, ecx
or eax, ecx
je 0x10070e9
cmp byte [edi + 0x19], cl
jne 0x100751e
mov byte [edi + 0x19], 1
jmp 0x100746a
push dword [0x1032064]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1007123
mov eax, dword [esi + 0x18]
and eax, 0x1000
xor ecx, ecx
or eax, ecx
je 0x100711a
cmp byte [edi + 0x7c], cl
jne 0x100751e
mov byte [edi + 0x7c], 1
jmp 0x100746a
push dword [0x103206c]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x100715a
mov eax, dword [esi + 0x18]
and eax, 0x4000
xor ecx, ecx
or eax, ecx
je 0x100714e
cmp byte [edi + 0x84], cl
je 0x100751e
mov byte [edi + 0x84], 0
jmp 0x100746a
push dword [0x10320a4]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1007192
mov eax, dword [esi + 0x18]
and eax, 0x20000000
xor ecx, ecx
or eax, ecx
je 0x1007186
cmp byte [edi + 0x85], 1
je 0x100751e
mov byte [edi + 0x85], 1
jmp 0x100746a
push dword [0x1032068]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x10071cb
mov eax, dword [esi + 0x18]
and eax, 0x2000
xor ecx, ecx
or eax, ecx
je 0x1006b72
lea eax, [edi + 0x80]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01005e19
jmp 0x1006b61
push dword [0x1032028]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
je 0x1007527
push dword [0x103202c]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
je 0x1007530
push dword [0x1032080]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x100722a
mov eax, dword [esi + 0x18]
and eax, 0x80000
xor ecx, ecx
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x8c]
push eax
lea eax, [edi + 0x88]
jmp 0x1006d48
push dword [0x1032084]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x100727f
mov eax, dword [esi + 0x18]
and eax, 0x100000
xor ecx, ecx
or eax, ecx
je 0x10074f7
and dword [ebp - 0x14], ecx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01005d5d
mov dword [ebp - 4], eax
test eax, eax
jl 0x1007546
lea eax, [edi + 0x90]
push 0
push eax
push dword [ebp - 0x14]
call fcn.01028a2f
jmp 0x1006b61
push dword [0x1032088]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x10072c6
mov eax, dword [esi + 0x18]
and eax, 0x200000
xor ecx, ecx
or eax, ecx
je 0x10074f7
and dword [ebp - 0x14], ecx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01005d5d
mov dword [ebp - 4], eax
test eax, eax
jl 0x1007546
lea eax, [edi + 0x94]
jmp 0x100726f
push dword [0x1032098]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x100730d
mov eax, dword [esi + 0x10]
mov ecx, 0x4000000
and eax, ecx
xor edx, edx
or eax, edx
jne 0x10072f6
mov eax, dword [esi + 0x18]
and eax, ecx
xor ecx, ecx
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x98]
cmp byte [eax], 0
je 0x100751e
mov byte [eax], 0
jmp 0x100746a
push dword [0x10320ac]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1007347
mov eax, dword [esi + 0x18]
and eax, 0x80000000
xor ecx, ecx
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x1f], 1
je 0x100751e
mov byte [edi + 0x20], 1
mov byte [edi + 0x1f], 1
jmp 0x100746a
push dword [0x10320b0]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1007379
mov ecx, dword [esi + 0x1c]
and ecx, 0x20
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x20], 1
je 0x100751e
mov byte [edi + 0x20], 1
jmp 0x100746a
push dword [0x103209c]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x10073ae
mov eax, dword [esi + 0x18]
and eax, 0x8000000
xor ecx, ecx
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x7e], cl
jne 0x100751e
mov byte [edi + 0x7e], 1
jmp 0x100746a
push dword [0x10320a0]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x10073e3
mov eax, dword [esi + 0x18]
and eax, 0x10000000
xor ecx, ecx
or eax, ecx
je 0x10074f7
cmp byte [edi + 0x7f], cl
jne 0x100751e
mov byte [edi + 0x7f], 1
jmp 0x100746a
push dword [0x10320b8]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1007437
mov eax, dword [esi + 0x18]
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x10074f7
lea ebx, [edi + 0x9c]
cmp byte [ebx], 1
je 0x100751e
lea eax, [edi + 0xa0]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.01005ea6
mov dword [ebp - 4], eax
test eax, eax
jl 0x1007546
mov byte [ebx], 1
jmp 0x1006b6c
push dword [0x10320bc]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1007476
mov eax, dword [esi + 0x18]
and eax, 2
xor ecx, ecx
or eax, ecx
je 0x10074f7
lea eax, [edi + 0xa4]
cmp byte [eax], 0
jne 0x100751e
mov byte [eax], 1
mov dword [ebp + 8], 1
jmp 0x1006b72
push dword [0x103208c]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
je 0x1006b72
push dword [0x10320b4]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x10074bc
mov ecx, dword [esi + 0x1c]
xor edx, edx
inc edx
and ecx, edx
or eax, ecx
je 0x10074f7
lea eax, [edi + 0x86]
cmp byte [eax], dl
je 0x100751e
mov byte [eax], dl
mov dword [ebp + 8], edx
jmp 0x1006b72
push dword [0x10320c8]
push dword [ebp - 8]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x1007539
mov ecx, dword [esi + 0x1c]
and ecx, 0x10
or eax, ecx
je 0x10074f7
lea eax, [edi + 0xa5]
jmp 0x100745e
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
push dword [eax + ecx*4]
push dword [ebp - 4]
call fcn.01005f0d
pop ecx
pop ecx
jmp 0x1007540
mov dword [ebp - 4], 0x80790065
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.01005f0d
pop ecx
pop ecx
pop edi
pop esi
pop ebx
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 4]
leave
ret 0x10
mov dword [ebp - 4], 0x80790067
jmp 0x10074fe
mov dword [ebp - 4], 0x790029
jmp 0x100750b
mov dword [ebp - 4], 0x79002a
jmp 0x100750b
mov dword [ebp - 4], 0x80790068
cmp dword [ebp - 4], 0
jge 0x100750b
mov eax, dword [ebp - 4]
cmp eax, 0x80790065
je 0x10074fe
cmp eax, 0x80790068
je 0x10074fe
cmp eax, 0x80790067
je 0x10074fe
cmp eax, 0x80790066
jne 0x100750b
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push dword [ecx + eax*4]
call fcn.01005c3d
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100759a
cmp word [eax], 0
je 0x100759a
push eax
push dword [ebp - 8]
push 0x80790066
call fcn.01005f0d
add esp, 0xc
jmp 0x100750b
mov eax, 0x8079006a
jmp 0x1006f0c