Function at 0x14018a6a0
Capabilities:
Inspect section memory permissions
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x528
mov qword [rsp + 0x320], 0xfffffffffffffffe
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x60], 0
mov rdx, qword [rsp + 0x530]
lea rcx, [rsp + 0xa0]
call fcn.14017e1e0
nop
lea rcx, [rsp + 0x100]
call fcn.140002d10
nop
mov dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x530]
add rcx, 0x168
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x14018a783
mov dword [rsp + 0x16c], 0x21
lea rcx, [rsp + 0x100]
call fcn.140007060
nop
lea rcx, [rsp + 0xa0]
call fcn.14017aca0
mov eax, dword [rsp + 0x16c]
jmp 0x14018c001
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x14018a7bc
mov rcx, qword [rsp + 0x530]
mov rcx, qword [rcx + 0x170]
call fcn.1400ab86c
mov r11, qword [rsp + 0x530]
mov qword [r11 + 0x170], 0
mov rcx, qword [rsp + 0x530]
add rcx, 0x168
call fcn.140050200
mov rcx, qword [rsp + 0x530]
add rcx, 0x170
lea r8, [0x140254538]
mov rdx, rax
call fcn.1400ab5d8
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x14018a80b
cmp dword [rsp + 0x64], 0
je 0x14018a83d
mov dword [rsp + 0x170], 0x22
lea rcx, [rsp + 0x100]
call fcn.140007060
nop
lea rcx, [rsp + 0xa0]
call fcn.14017aca0
mov eax, dword [rsp + 0x170]
jmp 0x14018c001
mov r9, qword [rsp + 0x530]
mov r9, qword [r9 + 0x170]
mov r8d, 1
mov edx, 2
lea rcx, [rsp + 0x80]
call fcn.1400ae1e4
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 1
je 0x14018a8a1
mov dword [rsp + 0x174], 0x23
lea rcx, [rsp + 0x100]
call fcn.140007060
nop
lea rcx, [rsp + 0xa0]
call fcn.14017aca0
mov eax, dword [rsp + 0x174]
jmp 0x14018c001
movzx eax, word [rsp + 0x80]
cmp eax, 0xfeff
jne 0x14018a950
lea rax, [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov r8, qword [rsp + 0x530]
add r8, 0x168
lea rdx, [0x140254570]
lea rcx, [rsp + 0x188]
call fcn.140006d10
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
mov qword [rsp + 0x330], rax
lea r8, str.__detected_as_Unicode.
mov rdx, qword [rsp + 0x330]
mov rcx, qword [rsp + 0x180]
call fcn.1400010b0
mov qword [rsp + 0x338], rax
mov r8, qword [rsp + 0x338]
mov edx, 1
mov rcx, qword [rsp + 0x530]
call fcn.14017df90
nop
lea rcx, [rsp + 0x188]
call fcn.140007060
jmp 0x14018aa7c
lea rax, [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov r8, qword [rsp + 0x530]
add r8, 0x168
lea rdx, str.Input_file_for_restore_operation:__
lea rcx, [rsp + 0x1a0]
call fcn.140006d10
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x340]
mov qword [rsp + 0x348], rax
lea r8, str.__detected_as_ANSI.
mov rdx, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x198]
call fcn.1400010b0
mov qword [rsp + 0x350], rax
mov r8, qword [rsp + 0x350]
mov edx, 1
mov rcx, qword [rsp + 0x530]
call fcn.14017df90
nop
lea rcx, [rsp + 0x1a0]
call fcn.140007060
mov rcx, qword [rsp + 0x530]
mov rcx, qword [rcx + 0x170]
call fcn.1400ab86c
mov rcx, qword [rsp + 0x530]
add rcx, 0x168
call fcn.140050200
mov rcx, qword [rsp + 0x530]
add rcx, 0x170
lea r8, [0x140252ffc]
mov rdx, rax
call fcn.1400ab5d8
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x14018aa4a
cmp dword [rsp + 0x64], 0
je 0x14018aa7c
mov dword [rsp + 0x1a8], 0x22
lea rcx, [rsp + 0x100]
call fcn.140007060
nop
lea rcx, [rsp + 0xa0]
call fcn.14017aca0
mov eax, dword [rsp + 0x1a8]
jmp 0x14018c001
mov edx, 0xfa00
lea rcx, [rsp + 0x100]
call fcn.140001d50
mov r8, qword [rsp + 0x530]
mov r8, qword [r8 + 0x170]
mov edx, 0xfa00
mov rcx, rax
call fcn.1400ab6ac
test rax, rax
je 0x14018beae
mov edx, 0xffffffff
lea rcx, [rsp + 0x100]
call fcn.140002550
cmp qword [rsp + 0x90], 0
je 0x14018aaea
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x90], 0
cmp qword [rsp + 0x78], 0
je 0x14018ab06
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x98], 0
je 0x14018ab2b
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x88], 0
je 0x14018ab50
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0x108], 0
je 0x14018ab75
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x108], 0
cmp qword [rsp + 0x68], 0
je 0x14018ab91
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x13c], 0
mov dword [rsp + 0x158], 0
mov dword [rsp + 0x154], 0
mov dword [rsp + 0x114], 0
mov dword [rsp + 0x150], 0
lea rcx, [rsp + 0x148]
call fcn.140002d10
nop
lea rcx, [rsp + 0x120]
call fcn.140002d10
nop
mov dword [rsp + 0x110], 0
mov dword [rsp + 0x118], 0
lea rdx, str._r_n__t
lea rcx, [rsp + 0x100]
call fcn.1400075e0
lea rdx, [0x140254638]
lea rcx, [rsp + 0x100]
call fcn.1400076c0
lea rcx, [rsp + 0x100]
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x14018ac56
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018aa7c
xor r8d, r8d
lea rdx, [0x140254640]
lea rcx, [rsp + 0x100]
call fcn.140006800
mov dword [rsp + 0x144], eax
mov r8d, dword [rsp + 0x144]
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.140006ba0
mov qword [rsp + 0x358], rax
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x360], rax
mov rdx, qword [rsp + 0x360]
lea rcx, [rsp + 0x148]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x1b0]
call fcn.140007060
mov r8d, dword [rsp + 0x144]
add r8d, 2
lea rdx, [0x140254648]
lea rcx, [rsp + 0x100]
call fcn.140006800
mov dword [rsp + 0x138], eax
cmp dword [rsp + 0x138], 0xffffffff
jne 0x14018adfd
mov r8d, dword [rsp + 0x144]
add r8d, 2
lea rdx, [0x140253034]
lea rcx, [rsp + 0x100]
call fcn.140006800
mov dword [rsp + 0x138], eax
mov eax, dword [rsp + 0x144]
mov r9d, dword [rsp + 0x138]
sub r9d, eax
mov r8d, dword [rsp + 0x144]
add r8d, 2
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x100]
call fcn.1400021f0
mov qword [rsp + 0x368], rax
mov rcx, qword [rsp + 0x368]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x110], eax
lea rcx, [rsp + 0x1b8]
call fcn.140007060
lea rcx, [rsp + 0x100]
call fcn.1400019a0
mov r8d, eax
sub r8d, dword [rsp + 0x138]
sub r8d, 1
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x100]
call fcn.140006ae0
mov qword [rsp + 0x370], rax
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0x378], rax
mov rdx, qword [rsp + 0x378]
lea rcx, [rsp + 0x120]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x1c0]
call fcn.140007060
jmp 0x14018aed1
mov eax, dword [rsp + 0x144]
mov r9d, dword [rsp + 0x138]
sub r9d, eax
sub r9d, 1
mov r8d, dword [rsp + 0x144]
add r8d, 2
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x100]
call fcn.1400021f0
mov qword [rsp + 0x380], rax
mov rcx, qword [rsp + 0x380]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x110], eax
lea rcx, [rsp + 0x1c8]
call fcn.140007060
lea rcx, [rsp + 0x100]
call fcn.1400019a0
mov r8d, eax
sub r8d, dword [rsp + 0x138]
sub r8d, 2
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x100]
call fcn.140006ae0
mov qword [rsp + 0x388], rax
mov rax, qword [rsp + 0x388]
mov qword [rsp + 0x390], rax
mov rdx, qword [rsp + 0x390]
lea rcx, [rsp + 0x120]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x1d0]
call fcn.140007060
lea rcx, [rsp + 0x120]
call fcn.140006990
lea rcx, [rsp + 0x120]
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x14018afa7
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
lea r8, [rsp + 0x148]
lea rdx, [0x1402546d0]
lea rcx, [rsp + 0x1e8]
call fcn.140006d10
mov qword [rsp + 0x398], rax
mov rax, qword [rsp + 0x398]
mov qword [rsp + 0x3a0], rax
lea r8, str.__because_neither_owner__group__DACL_nor_SACL_were_backed_up.
mov rdx, qword [rsp + 0x3a0]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400010b0
mov qword [rsp + 0x3a8], rax
mov r8, qword [rsp + 0x3a8]
mov edx, 1
mov rcx, qword [rsp + 0x530]
call fcn.14017df90
nop
lea rcx, [rsp + 0x1e8]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018aa7c
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x1f8]
call fcn.140001430
mov qword [rsp + 0x3b0], rax
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x530]
call fcn.14017cb70
movzx eax, al
test eax, eax
je 0x14018b0a5
lea rax, [rsp + 0x200]
mov qword [rsp + 0x208], rax
lea r8, [rsp + 0x148]
lea rdx, str.Omitting_SD_of:__
lea rcx, [rsp + 0x210]
call fcn.140006d10
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x3c0], rax
lea r8, [0x140254700]
mov rdx, qword [rsp + 0x3c0]
mov rcx, qword [rsp + 0x208]
call fcn.1400010b0
mov qword [rsp + 0x3c8], rax
mov r8, qword [rsp + 0x3c8]
mov edx, 1
mov rcx, qword [rsp + 0x530]
call fcn.14017df90
nop
lea rcx, [rsp + 0x210]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018aa7c
lea rax, [rsp + 0x218]
mov qword [rsp + 0x220], rax
lea r8, [rsp + 0x148]
lea rdx, [0x140254770]
lea rcx, [rsp + 0x228]
call fcn.140006d10
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x3d0]
mov qword [rsp + 0x3d8], rax
lea r8, [0x140253044]
mov rdx, qword [rsp + 0x3d8]
mov rcx, qword [rsp + 0x220]
call fcn.1400010b0
mov qword [rsp + 0x3e0], rax
mov r8, qword [rsp + 0x3e0]
mov edx, 1
mov rcx, qword [rsp + 0x530]
call fcn.14017df90
nop
lea rcx, [rsp + 0x228]
call fcn.140007060
lea rcx, [rsp + 0x130]
call fcn.140002d10
nop
xor r8d, r8d
lea rdx, [0x1402546f4]
lea rcx, [rsp + 0x120]
call fcn.140006800
mov dword [rsp + 0x128], eax
cmp dword [rsp + 0x128], 0xffffffff
je 0x14018b2ca
mov eax, dword [rsp + 0x118]
or eax, 4
mov dword [rsp + 0x118], eax
mov dword [rsp + 0x160], 0x20000000
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [0x140253054]
lea rcx, [rsp + 0x120]
call fcn.140006800
mov dword [rsp + 0x15c], eax
cmp dword [rsp + 0x15c], 0xffffffff
je 0x14018b230
mov eax, dword [rsp + 0x128]
mov r9d, dword [rsp + 0x15c]
sub r9d, eax
sub r9d, 2
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x120]
call fcn.1400021f0
mov qword [rsp + 0x3e8], rax
mov rax, qword [rsp + 0x3e8]
mov qword [rsp + 0x3f0], rax
mov rdx, qword [rsp + 0x3f0]
lea rcx, [rsp + 0x130]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x230]
call fcn.140007060
jmp 0x14018b28c
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x120]
call fcn.140006a80
mov qword [rsp + 0x3f8], rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x400], rax
mov rdx, qword [rsp + 0x400]
lea rcx, [rsp + 0x130]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x238]
call fcn.140007060
xor r8d, r8d
lea rdx, [0x1402530dc]
lea rcx, [rsp + 0x130]
call fcn.140006800
cmp eax, 0xffffffff
je 0x14018b2b3
mov dword [rsp + 0x160], 0x80000000
mov ecx, dword [rsp + 0x160]
mov eax, dword [rsp + 0x118]
or eax, ecx
mov dword [rsp + 0x118], eax
xor r8d, r8d
lea rdx, [0x140254798]
lea rcx, [rsp + 0x120]
call fcn.140006800
mov dword [rsp + 0x128], eax
cmp dword [rsp + 0x128], 0xffffffff
je 0x14018b451
mov eax, dword [rsp + 0x118]
or eax, 8
mov dword [rsp + 0x118], eax
mov dword [rsp + 0x168], 0x10000000
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [0x1402530ec]
lea rcx, [rsp + 0x120]
call fcn.140006800
mov dword [rsp + 0x164], eax
cmp dword [rsp + 0x164], 0xffffffff
je 0x14018b3b7
mov eax, dword [rsp + 0x128]
mov r9d, dword [rsp + 0x164]
sub r9d, eax
sub r9d, 2
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x120]
call fcn.1400021f0
mov qword [rsp + 0x408], rax
mov rax, qword [rsp + 0x408]
mov qword [rsp + 0x410], rax
mov rdx, qword [rsp + 0x410]
lea rcx, [rsp + 0x130]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x240]
call fcn.140007060
jmp 0x14018b413
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x120]
call fcn.140006a80
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x418]
mov qword [rsp + 0x420], rax
mov rdx, qword [rsp + 0x420]
lea rcx, [rsp + 0x130]
call fcn.140002ce0
nop
lea rcx, [rsp + 0x248]
call fcn.140007060
xor r8d, r8d
lea rdx, [0x140253144]
lea rcx, [rsp + 0x130]
call fcn.140006800
cmp eax, 0xffffffff
je 0x14018b43a
mov dword [rsp + 0x168], 0x40000000
mov ecx, dword [rsp + 0x168]
mov eax, dword [rsp + 0x118]
or eax, ecx
mov dword [rsp + 0x118], eax
xor r8d, r8d
lea rdx, [0x1402547a0]
lea rcx, [rsp + 0x120]
call fcn.140006800
cmp eax, 0xffffffff
je 0x14018b47e
mov eax, dword [rsp + 0x118]
or eax, 1
mov dword [rsp + 0x118], eax
xor r8d, r8d
lea rdx, [0x1402547a8]
lea rcx, [rsp + 0x120]
call fcn.140006800
cmp eax, 0xffffffff
je 0x14018b4ab
mov eax, dword [rsp + 0x118]
or eax, 2
mov dword [rsp + 0x118], eax
lea rcx, [rsp + 0x120]
call fcn.140050200
xor r9d, r9d
lea r8, [rsp + 0x90]
mov edx, 1
mov rcx, rax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x14018b6b9
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x14018b66b
lea rax, [rsp + 0x250]
mov qword [rsp + 0x258], rax
lea rdx, [0x1402531a4]
lea rcx, [rsp + 0x268]
call fcn.14000f540
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x530]
call fcn.140180800
mov qword [rsp + 0x428], rax
mov rax, qword [rsp + 0x428]
mov qword [rsp + 0x430], rax
lea r8, [rsp + 0x148]
lea rdx, str.Restoring_SD_of__
lea rcx, [rsp + 0x270]
call fcn.140006d10
mov qword [rsp + 0x438], rax
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x440], rax
mov rcx, qword [rsp + 0x440]
call fcn.140050200
lea r8, [rsp + 0x268]
mov rdx, rax
lea rcx, [rsp + 0x278]
call fcn.140012b60
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x448]
mov qword [rsp + 0x450], rax
mov rcx, qword [rsp + 0x450]
call fcn.14000f5d0
mov r8, qword [rsp + 0x430]
mov rdx, rax
mov rcx, qword [rsp + 0x258]
call fcn.140006d10
mov qword [rsp + 0x458], rax
mov r8, qword [rsp + 0x458]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.14017df90
nop
lea rcx, [rsp + 0x278]
call fcn.140002dd0
nop
lea rcx, [rsp + 0x270]
call fcn.140007060
nop
lea rcx, [rsp + 0x260]
call fcn.140007060
nop
lea rcx, [rsp + 0x268]
call fcn.140002dd0
nop
lea rcx, [rsp + 0x130]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018aa7c
mov dword [rsp + 0x70], 0x1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x530]
mov dword [rax + 0x88], r11d
lea rcx, [rsp + 0x130]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018beae
lea rax, [rsp + 0x150]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x114]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x154]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
lea r8, [rsp + 0x13c]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14018b8f0
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x14018b8a2
lea rax, [rsp + 0x280]
mov qword [rsp + 0x288], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x530]
call fcn.140180800
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x468], rax
lea r8, [rsp + 0x148]
lea rdx, [0x1402547e0]
lea rcx, [rsp + 0x298]
call fcn.140006d10
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x478], rax
lea r8, [0x1402547d8]
mov rdx, qword [rsp + 0x478]
lea rcx, [rsp + 0x2a0]
call fcn.1400010b0
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x488], rax
mov r8, qword [rsp + 0x468]
mov rdx, qword [rsp + 0x488]
mov rcx, qword [rsp + 0x288]
call fcn.140006c50
mov qword [rsp + 0x490], rax
mov r8, qword [rsp + 0x490]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.14017df90
nop
lea rcx, [rsp + 0x2a0]
call fcn.140007060
nop
lea rcx, [rsp + 0x298]
call fcn.140007060
nop
lea rcx, [rsp + 0x290]
call fcn.140007060
nop
lea rcx, [rsp + 0x130]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018aa7c
mov dword [rsp + 0x70], 0x1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x530]
mov dword [rax + 0x88], r11d
lea rcx, [rsp + 0x130]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018beae
mov edx, dword [rsp + 0x13c]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x158]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x98], rax
mov edx, dword [rsp + 0x154]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x88], rax
mov edx, dword [rsp + 0x114]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x108], rax
mov edx, dword [rsp + 0x150]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x114]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x154]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
lea r8, [rsp + 0x13c]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
test eax, eax
jne 0x14018bb9c
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x14018bb4e
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x2b0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x2b8]
mov rcx, qword [rsp + 0x530]
call fcn.140180800
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x4a0], rax
lea r8, [rsp + 0x148]
lea rdx, [0x140254810]
lea rcx, [rsp + 0x2c0]
call fcn.140006d10
mov qword [rsp + 0x4a8], rax
mov rax, qword [rsp + 0x4a8]
mov qword [rsp + 0x4b0], rax
lea r8, [0x140254808]
mov rdx, qword [rsp + 0x4b0]
lea rcx, [rsp + 0x2c8]
call fcn.1400010b0
mov qword [rsp + 0x4b8], rax
mov rax, qword [rsp + 0x4b8]
mov qword [rsp + 0x4c0], rax
mov r8, qword [rsp + 0x4a0]
mov rdx, qword [rsp + 0x4c0]
mov rcx, qword [rsp + 0x2b0]
call fcn.140006c50
mov qword [rsp + 0x4c8], rax
mov r8, qword [rsp + 0x4c8]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.14017df90
nop
lea rcx, [rsp + 0x2c8]
call fcn.140007060
nop
lea rcx, [rsp + 0x2c0]
call fcn.140007060
nop
lea rcx, [rsp + 0x2b8]
call fcn.140007060
nop
lea rcx, [rsp + 0x130]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018aa7c
mov dword [rsp + 0x70], 0x1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r11d, eax
mov rax, qword [rsp + 0x530]
mov dword [rax + 0x88], r11d
lea rcx, [rsp + 0x130]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018beae
mov byte [rsp + 0x140], 0
cmp dword [rsp + 0x110], 1
jne 0x14018bbf1
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x2d8], rax
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x2d8]
call fcn.140001430
mov qword [rsp + 0x4d0], rax
mov rcx, qword [rsp + 0x4d0]
call fcn.14017ac30
mov byte [rsp + 0x140], al
jmp 0x14018bc03
cmp dword [rsp + 0x110], 4
jne 0x14018bc03
mov byte [rsp + 0x140], 1
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x2e8]
call fcn.140001430
mov qword [rsp + 0x4d8], rax
movzx eax, byte [rsp + 0x140]
mov byte [rsp + 0x48], al
mov byte [rsp + 0x40], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x118]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x4d8]
lea rcx, [rsp + 0xa0]
call fcn.140188960
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x530]
mov eax, dword [rsp + 0xd0]
mov dword [rcx + 0x88], eax
cmp dword [rsp + 0x70], 0
je 0x14018be80
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x530]
mov r8d, dword [rax + 0x88]
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x530]
call fcn.140180800
mov qword [rsp + 0x4e0], rax
mov rax, qword [rsp + 0x4e0]
mov qword [rsp + 0x4e8], rax
lea r8, [rsp + 0x148]
lea rdx, [0x140254858]
lea rcx, [rsp + 0x308]
call fcn.140006d10
mov qword [rsp + 0x4f0], rax
mov rax, qword [rsp + 0x4f0]
mov qword [rsp + 0x4f8], rax
lea r8, [0x140254838]
mov rdx, qword [rsp + 0x4f8]
lea rcx, [rsp + 0x310]
call fcn.1400010b0
mov qword [rsp + 0x500], rax
mov rax, qword [rsp + 0x500]
mov qword [rsp + 0x508], rax
mov r8, qword [rsp + 0x4e8]
mov rdx, qword [rsp + 0x508]
mov rcx, qword [rsp + 0x2f8]
call fcn.140006c50
mov qword [rsp + 0x510], rax
mov r8, qword [rsp + 0x510]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.14017df90
nop
lea rcx, [rsp + 0x310]
call fcn.140007060
nop
lea rcx, [rsp + 0x308]
call fcn.140007060
nop
lea rcx, [rsp + 0x300]
call fcn.140007060
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x88], 5
je 0x14018be0d
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x88], 2
je 0x14018be0d
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x14018be55
mov rax, qword [rsp + 0x530]
mov dword [rax + 0x88], 0
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x130]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018aa7c
lea rcx, [rsp + 0x130]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018beae
lea rcx, [rsp + 0x130]
call fcn.140007060
nop
lea rcx, [rsp + 0x120]
call fcn.140007060
nop
lea rcx, [rsp + 0x148]
call fcn.140007060
jmp 0x14018aa7c
cmp dword [rsp + 0x70], 0x2c
jne 0x14018becf
mov rax, qword [rsp + 0x530]
mov dword [rax + 0x88], 0
mov dword [rsp + 0x70], 0
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x14018bf08
mov rcx, qword [rsp + 0x530]
mov rcx, qword [rcx + 0x170]
call fcn.1400ab86c
mov r11, qword [rsp + 0x530]
mov qword [r11 + 0x170], 0
cmp qword [rsp + 0x90], 0
je 0x14018bf2d
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x90], 0
cmp qword [rsp + 0x78], 0
je 0x14018bf49
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x98], 0
je 0x14018bf6e
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x88], 0
je 0x14018bf93
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0x108], 0
je 0x14018bfb8
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x108], 0
cmp qword [rsp + 0x68], 0
je 0x14018bfd4
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x68], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x318], eax
lea rcx, [rsp + 0x100]
call fcn.140007060
nop
lea rcx, [rsp + 0xa0]
call fcn.14017aca0
mov eax, dword [rsp + 0x318]
add rsp, 0x528
ret