Function at 0x140180300
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.140173e40
nop
lea rcx, [rsp + 0x100]
call fcn.140002d50
nop
mov dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x530]
add rcx, 0x168
call fcn.140007b70
movzx eax, al
test eax, eax
je 0x1401803e3
mov dword [rsp + 0x16c], 0x21
lea rcx, [rsp + 0x100]
call fcn.140001470
nop
lea rcx, [rsp + 0xa0]
call fcn.140170900
mov eax, dword [rsp + 0x16c]
jmp 0x140181c61
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x14018041c
mov rcx, qword [rsp + 0x530]
mov rcx, qword [rcx + 0x170]
call fcn.1400a9ff0
mov r11, qword [rsp + 0x530]
mov qword [r11 + 0x170], 0
mov rcx, qword [rsp + 0x530]
add rcx, 0x168
call fcn.1400012c0
mov rcx, qword [rsp + 0x530]
add rcx, 0x170
lea r8, [0x14023e558]
mov rdx, rax
call fcn.1400a9d5c
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x14018046b
cmp dword [rsp + 0x64], 0
je 0x14018049d
mov dword [rsp + 0x170], 0x22
lea rcx, [rsp + 0x100]
call fcn.140001470
nop
lea rcx, [rsp + 0xa0]
call fcn.140170900
mov eax, dword [rsp + 0x170]
jmp 0x140181c61
mov r9, qword [rsp + 0x530]
mov r9, qword [r9 + 0x170]
mov r8d, 1
mov edx, 2
lea rcx, [rsp + 0x80]
call fcn.1400ac7f4
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 1
je 0x140180501
mov dword [rsp + 0x174], 0x23
lea rcx, [rsp + 0x100]
call fcn.140001470
nop
lea rcx, [rsp + 0xa0]
call fcn.140170900
mov eax, dword [rsp + 0x174]
jmp 0x140181c61
movzx eax, word [rsp + 0x80]
cmp eax, 0xfeff
jne 0x1401805b0
lea rax, [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov r8, qword [rsp + 0x530]
add r8, 0x168
lea rdx, [0x14023e590]
lea rcx, [rsp + 0x188]
call fcn.140006c30
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.140173bf0
nop
lea rcx, [rsp + 0x188]
call fcn.140001470
jmp 0x1401806dc
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.140006c30
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.140173bf0
nop
lea rcx, [rsp + 0x1a0]
call fcn.140001470
mov rcx, qword [rsp + 0x530]
mov rcx, qword [rcx + 0x170]
call fcn.1400a9ff0
mov rcx, qword [rsp + 0x530]
add rcx, 0x168
call fcn.1400012c0
mov rcx, qword [rsp + 0x530]
add rcx, 0x170
lea r8, [0x14023d04c]
mov rdx, rax
call fcn.1400a9d5c
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x1401806aa
cmp dword [rsp + 0x64], 0
je 0x1401806dc
mov dword [rsp + 0x1a8], 0x22
lea rcx, [rsp + 0x100]
call fcn.140001470
nop
lea rcx, [rsp + 0xa0]
call fcn.140170900
mov eax, dword [rsp + 0x1a8]
jmp 0x140181c61
mov edx, 0xfa00
lea rcx, [rsp + 0x100]
call fcn.140001d70
mov r8, qword [rsp + 0x530]
mov r8, qword [r8 + 0x170]
mov edx, 0xfa00
mov rcx, rax
call fcn.1400a9e30
test rax, rax
je 0x140181b0e
mov edx, 0xffffffff
lea rcx, [rsp + 0x100]
call fcn.140002590
cmp qword [rsp + 0x90], 0
je 0x14018074a
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x90], 0
cmp qword [rsp + 0x78], 0
je 0x140180766
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x98], 0
je 0x14018078b
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x88], 0
je 0x1401807b0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0x108], 0
je 0x1401807d5
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x108], 0
cmp qword [rsp + 0x68], 0
je 0x1401807f1
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.140002d50
nop
lea rcx, [rsp + 0x120]
call fcn.140002d50
nop
mov dword [rsp + 0x110], 0
mov dword [rsp + 0x118], 0
lea rdx, str._r_n__t
lea rcx, [rsp + 0x100]
call fcn.140008040
lea rdx, [0x14023e658]
lea rcx, [rsp + 0x100]
call fcn.140008120
lea rcx, [rsp + 0x100]
call fcn.140007b70
movzx eax, al
test eax, eax
je 0x1401808b6
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x1401806dc
xor r8d, r8d
lea rdx, [0x14023e660]
lea rcx, [rsp + 0x100]
call fcn.140006720
mov dword [rsp + 0x144], eax
mov r8d, dword [rsp + 0x144]
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.140006ac0
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.140002d20
nop
lea rcx, [rsp + 0x1b0]
call fcn.140001470
mov r8d, dword [rsp + 0x144]
add r8d, 2
lea rdx, [0x14023e668]
lea rcx, [rsp + 0x100]
call fcn.140006720
mov dword [rsp + 0x138], eax
cmp dword [rsp + 0x138], 0xffffffff
jne 0x140180a5d
mov r8d, dword [rsp + 0x144]
add r8d, 2
lea rdx, [0x14023d05c]
lea rcx, [rsp + 0x100]
call fcn.140006720
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.140002230
mov qword [rsp + 0x368], rax
mov rcx, qword [rsp + 0x368]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x110], eax
lea rcx, [rsp + 0x1b8]
call fcn.140001470
lea rcx, [rsp + 0x100]
call fcn.1400019f0
mov r8d, eax
sub r8d, dword [rsp + 0x138]
sub r8d, 1
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x100]
call fcn.140006a00
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.140002d20
nop
lea rcx, [rsp + 0x1c0]
call fcn.140001470
jmp 0x140180b31
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.140002230
mov qword [rsp + 0x380], rax
mov rcx, qword [rsp + 0x380]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x110], eax
lea rcx, [rsp + 0x1c8]
call fcn.140001470
lea rcx, [rsp + 0x100]
call fcn.1400019f0
mov r8d, eax
sub r8d, dword [rsp + 0x138]
sub r8d, 2
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x100]
call fcn.140006a00
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.140002d20
nop
lea rcx, [rsp + 0x1d0]
call fcn.140001470
lea rcx, [rsp + 0x120]
call fcn.1400068b0
lea rcx, [rsp + 0x120]
call fcn.140007b70
movzx eax, al
test eax, eax
je 0x140180c07
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023e6f0]
lea rcx, [rsp + 0x1e8]
call fcn.140006c30
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.140173bf0
nop
lea rcx, [rsp + 0x1e8]
call fcn.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x1401806dc
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x1f8], rax
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x1f8]
call fcn.140001440
mov qword [rsp + 0x3b0], rax
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x530]
call fcn.1401727d0
movzx eax, al
test eax, eax
je 0x140180d05
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.140006c30
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x3c0], rax
lea r8, [0x14023e720]
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.140173bf0
nop
lea rcx, [rsp + 0x210]
call fcn.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x1401806dc
lea rax, [rsp + 0x218]
mov qword [rsp + 0x220], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023e790]
lea rcx, [rsp + 0x228]
call fcn.140006c30
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x3d0]
mov qword [rsp + 0x3d8], rax
lea r8, [0x14023d06c]
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.140173bf0
nop
lea rcx, [rsp + 0x228]
call fcn.140001470
lea rcx, [rsp + 0x130]
call fcn.140002d50
nop
xor r8d, r8d
lea rdx, [0x14023e714]
lea rcx, [rsp + 0x120]
call fcn.140006720
mov dword [rsp + 0x128], eax
cmp dword [rsp + 0x128], 0xffffffff
je 0x140180f2a
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, [0x14023d0f4]
lea rcx, [rsp + 0x120]
call fcn.140006720
mov dword [rsp + 0x15c], eax
cmp dword [rsp + 0x15c], 0xffffffff
je 0x140180e90
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.140002230
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.140002d20
nop
lea rcx, [rsp + 0x230]
call fcn.140001470
jmp 0x140180eec
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x120]
call fcn.1400069a0
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.140002d20
nop
lea rcx, [rsp + 0x238]
call fcn.140001470
xor r8d, r8d
lea rdx, [0x14023d15c]
lea rcx, [rsp + 0x130]
call fcn.140006720
cmp eax, 0xffffffff
je 0x140180f13
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, [0x14023e7b8]
lea rcx, [rsp + 0x120]
call fcn.140006720
mov dword [rsp + 0x128], eax
cmp dword [rsp + 0x128], 0xffffffff
je 0x1401810b1
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, [0x14023d1bc]
lea rcx, [rsp + 0x120]
call fcn.140006720
mov dword [rsp + 0x164], eax
cmp dword [rsp + 0x164], 0xffffffff
je 0x140181017
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.140002230
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.140002d20
nop
lea rcx, [rsp + 0x240]
call fcn.140001470
jmp 0x140181073
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x120]
call fcn.1400069a0
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.140002d20
nop
lea rcx, [rsp + 0x248]
call fcn.140001470
xor r8d, r8d
lea rdx, [0x14023d1d4]
lea rcx, [rsp + 0x130]
call fcn.140006720
cmp eax, 0xffffffff
je 0x14018109a
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, [0x14023e7c0]
lea rcx, [rsp + 0x120]
call fcn.140006720
cmp eax, 0xffffffff
je 0x1401810de
mov eax, dword [rsp + 0x118]
or eax, 1
mov dword [rsp + 0x118], eax
xor r8d, r8d
lea rdx, [0x14023e7c8]
lea rcx, [rsp + 0x120]
call fcn.140006720
cmp eax, 0xffffffff
je 0x14018110b
mov eax, dword [rsp + 0x118]
or eax, 2
mov dword [rsp + 0x118], eax
lea rcx, [rsp + 0x120]
call fcn.1400012c0
xor r9d, r9d
lea r8, [rsp + 0x90]
mov edx, 1
mov rcx, rax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x140181319
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x1401812cb
lea rax, [rsp + 0x250]
mov qword [rsp + 0x258], rax
lea rdx, [0x14023d21c]
lea rcx, [rsp + 0x268]
call fcn.140010e20
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x530]
call fcn.140176460
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.140006c30
mov qword [rsp + 0x438], rax
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x440], rax
mov rcx, qword [rsp + 0x440]
call fcn.1400012c0
lea r8, [rsp + 0x268]
mov rdx, rax
lea rcx, [rsp + 0x278]
call fcn.1400141d0
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x448]
mov qword [rsp + 0x450], rax
mov rcx, qword [rsp + 0x450]
call fcn.140010eb0
mov r8, qword [rsp + 0x430]
mov rdx, rax
mov rcx, qword [rsp + 0x258]
call fcn.140006c30
mov qword [rsp + 0x458], rax
mov r8, qword [rsp + 0x458]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.140173bf0
nop
lea rcx, [rsp + 0x278]
call fcn.140002e10
nop
lea rcx, [rsp + 0x270]
call fcn.140001470
nop
lea rcx, [rsp + 0x260]
call fcn.140001470
nop
lea rcx, [rsp + 0x268]
call fcn.140002e10
nop
lea rcx, [rsp + 0x130]
call fcn.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x1401806dc
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.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x140181b0e
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 0x140181550
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x140181502
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.140176460
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x468], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023e800]
lea rcx, [rsp + 0x298]
call fcn.140006c30
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x478], rax
lea r8, [0x14023e7f8]
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.140006b70
mov qword [rsp + 0x490], rax
mov r8, qword [rsp + 0x490]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.140173bf0
nop
lea rcx, [rsp + 0x2a0]
call fcn.140001470
nop
lea rcx, [rsp + 0x298]
call fcn.140001470
nop
lea rcx, [rsp + 0x290]
call fcn.140001470
nop
lea rcx, [rsp + 0x130]
call fcn.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x1401806dc
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.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x140181b0e
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 0x1401817fc
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x1401817ae
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.140176460
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x4a0], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023e830]
lea rcx, [rsp + 0x2c0]
call fcn.140006c30
mov qword [rsp + 0x4a8], rax
mov rax, qword [rsp + 0x4a8]
mov qword [rsp + 0x4b0], rax
lea r8, [0x14023e828]
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.140006b70
mov qword [rsp + 0x4c8], rax
mov r8, qword [rsp + 0x4c8]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.140173bf0
nop
lea rcx, [rsp + 0x2c8]
call fcn.140001470
nop
lea rcx, [rsp + 0x2c0]
call fcn.140001470
nop
lea rcx, [rsp + 0x2b8]
call fcn.140001470
nop
lea rcx, [rsp + 0x130]
call fcn.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x1401806dc
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.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x140181b0e
mov byte [rsp + 0x140], 0
cmp dword [rsp + 0x110], 1
jne 0x140181851
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x2d8], rax
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x2d8]
call fcn.140001440
mov qword [rsp + 0x4d0], rax
mov rcx, qword [rsp + 0x4d0]
call fcn.140170890
mov byte [rsp + 0x140], al
jmp 0x140181863
cmp dword [rsp + 0x110], 4
jne 0x140181863
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.140001440
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.14017e5c0
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 0x140181ae0
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.140176460
mov qword [rsp + 0x4e0], rax
mov rax, qword [rsp + 0x4e0]
mov qword [rsp + 0x4e8], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023e878]
lea rcx, [rsp + 0x308]
call fcn.140006c30
mov qword [rsp + 0x4f0], rax
mov rax, qword [rsp + 0x4f0]
mov qword [rsp + 0x4f8], rax
lea r8, [0x14023e858]
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.140006b70
mov qword [rsp + 0x510], rax
mov r8, qword [rsp + 0x510]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.140173bf0
nop
lea rcx, [rsp + 0x310]
call fcn.140001470
nop
lea rcx, [rsp + 0x308]
call fcn.140001470
nop
lea rcx, [rsp + 0x300]
call fcn.140001470
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x88], 5
je 0x140181a6d
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x88], 2
je 0x140181a6d
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x140181ab5
mov rax, qword [rsp + 0x530]
mov dword [rax + 0x88], 0
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x130]
call fcn.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x1401806dc
lea rcx, [rsp + 0x130]
call fcn.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x140181b0e
lea rcx, [rsp + 0x130]
call fcn.140001470
nop
lea rcx, [rsp + 0x120]
call fcn.140001470
nop
lea rcx, [rsp + 0x148]
call fcn.140001470
jmp 0x1401806dc
cmp dword [rsp + 0x70], 0x2c
jne 0x140181b2f
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 0x140181b68
mov rcx, qword [rsp + 0x530]
mov rcx, qword [rcx + 0x170]
call fcn.1400a9ff0
mov r11, qword [rsp + 0x530]
mov qword [r11 + 0x170], 0
cmp qword [rsp + 0x90], 0
je 0x140181b8d
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x90], 0
cmp qword [rsp + 0x78], 0
je 0x140181ba9
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x98], 0
je 0x140181bce
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x88], 0
je 0x140181bf3
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0x108], 0
je 0x140181c18
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x108], 0
cmp qword [rsp + 0x68], 0
je 0x140181c34
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.140001470
nop
lea rcx, [rsp + 0xa0]
call fcn.140170900
mov eax, dword [rsp + 0x318]
add rsp, 0x528
ret