Function at 0x1401803d0
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.140173f10
nop
lea rcx, [rsp + 0x100]
call fcn.140002db0
nop
mov dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x530]
add rcx, 0x168
call fcn.140006e20
movzx eax, al
test eax, eax
je 0x1401804b3
mov dword [rsp + 0x16c], 0x21
lea rcx, [rsp + 0x100]
call fcn.140001490
nop
lea rcx, [rsp + 0xa0]
call fcn.1401709d0
mov eax, dword [rsp + 0x16c]
jmp 0x140181d31
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x1401804ec
mov rcx, qword [rsp + 0x530]
mov rcx, qword [rcx + 0x170]
call fcn.1400aa000
mov r11, qword [rsp + 0x530]
mov qword [r11 + 0x170], 0
mov rcx, qword [rsp + 0x530]
add rcx, 0x168
call fcn.140023510
mov rcx, qword [rsp + 0x530]
add rcx, 0x170
lea r8, [0x14023d558]
mov rdx, rax
call fcn.1400a9d6c
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x14018053b
cmp dword [rsp + 0x64], 0
je 0x14018056d
mov dword [rsp + 0x170], 0x22
lea rcx, [rsp + 0x100]
call fcn.140001490
nop
lea rcx, [rsp + 0xa0]
call fcn.1401709d0
mov eax, dword [rsp + 0x170]
jmp 0x140181d31
mov r9, qword [rsp + 0x530]
mov r9, qword [r9 + 0x170]
mov r8d, 1
mov edx, 2
lea rcx, [rsp + 0x80]
call fcn.1400ac814
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 1
je 0x1401805d1
mov dword [rsp + 0x174], 0x23
lea rcx, [rsp + 0x100]
call fcn.140001490
nop
lea rcx, [rsp + 0xa0]
call fcn.1401709d0
mov eax, dword [rsp + 0x174]
jmp 0x140181d31
movzx eax, word [rsp + 0x80]
cmp eax, 0xfeff
jne 0x140180680
lea rax, [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov r8, qword [rsp + 0x530]
add r8, 0x168
lea rdx, [0x14023d590]
lea rcx, [rsp + 0x188]
call fcn.140006c90
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.140173cc0
nop
lea rcx, [rsp + 0x188]
call fcn.140001490
jmp 0x1401807ac
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.140006c90
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.140173cc0
nop
lea rcx, [rsp + 0x1a0]
call fcn.140001490
mov rcx, qword [rsp + 0x530]
mov rcx, qword [rcx + 0x170]
call fcn.1400aa000
mov rcx, qword [rsp + 0x530]
add rcx, 0x168
call fcn.140023510
mov rcx, qword [rsp + 0x530]
add rcx, 0x170
lea r8, [0x14023c04c]
mov rdx, rax
call fcn.1400a9d6c
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x530]
cmp qword [rax + 0x170], 0
je 0x14018077a
cmp dword [rsp + 0x64], 0
je 0x1401807ac
mov dword [rsp + 0x1a8], 0x22
lea rcx, [rsp + 0x100]
call fcn.140001490
nop
lea rcx, [rsp + 0xa0]
call fcn.1401709d0
mov eax, dword [rsp + 0x1a8]
jmp 0x140181d31
mov edx, 0xfa00
lea rcx, [rsp + 0x100]
call fcn.140001dd0
mov r8, qword [rsp + 0x530]
mov r8, qword [r8 + 0x170]
mov edx, 0xfa00
mov rcx, rax
call fcn.1400a9e40
test rax, rax
je 0x140181bde
mov edx, 0xffffffff
lea rcx, [rsp + 0x100]
call fcn.1400025f0
cmp qword [rsp + 0x90], 0
je 0x14018081a
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x90], 0
cmp qword [rsp + 0x78], 0
je 0x140180836
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x98], 0
je 0x14018085b
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x88], 0
je 0x140180880
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0x108], 0
je 0x1401808a5
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x108], 0
cmp qword [rsp + 0x68], 0
je 0x1401808c1
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.140002db0
nop
lea rcx, [rsp + 0x120]
call fcn.140002db0
nop
mov dword [rsp + 0x110], 0
mov dword [rsp + 0x118], 0
lea rdx, str._r_n__t
lea rcx, [rsp + 0x100]
call fcn.140008000
lea rdx, [0x14023d658]
lea rcx, [rsp + 0x100]
call fcn.1400080e0
lea rcx, [rsp + 0x100]
call fcn.140006e20
movzx eax, al
test eax, eax
je 0x140180986
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x1401807ac
xor r8d, r8d
lea rdx, [0x14023d660]
lea rcx, [rsp + 0x100]
call fcn.140006780
mov dword [rsp + 0x144], eax
mov r8d, dword [rsp + 0x144]
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.140006b20
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.140002d80
nop
lea rcx, [rsp + 0x1b0]
call fcn.140001490
mov r8d, dword [rsp + 0x144]
add r8d, 2
lea rdx, [0x14023d668]
lea rcx, [rsp + 0x100]
call fcn.140006780
mov dword [rsp + 0x138], eax
cmp dword [rsp + 0x138], 0xffffffff
jne 0x140180b2d
mov r8d, dword [rsp + 0x144]
add r8d, 2
lea rdx, [0x14023c05c]
lea rcx, [rsp + 0x100]
call fcn.140006780
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.140002270
mov qword [rsp + 0x368], rax
mov rcx, qword [rsp + 0x368]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x110], eax
lea rcx, [rsp + 0x1b8]
call fcn.140001490
lea rcx, [rsp + 0x100]
call fcn.140001a40
mov r8d, eax
sub r8d, dword [rsp + 0x138]
sub r8d, 1
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x100]
call fcn.140006a60
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.140002d80
nop
lea rcx, [rsp + 0x1c0]
call fcn.140001490
jmp 0x140180c01
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.140002270
mov qword [rsp + 0x380], rax
mov rcx, qword [rsp + 0x380]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x110], eax
lea rcx, [rsp + 0x1c8]
call fcn.140001490
lea rcx, [rsp + 0x100]
call fcn.140001a40
mov r8d, eax
sub r8d, dword [rsp + 0x138]
sub r8d, 2
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x100]
call fcn.140006a60
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.140002d80
nop
lea rcx, [rsp + 0x1d0]
call fcn.140001490
lea rcx, [rsp + 0x120]
call fcn.140006910
lea rcx, [rsp + 0x120]
call fcn.140006e20
movzx eax, al
test eax, eax
je 0x140180cd7
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023d6f0]
lea rcx, [rsp + 0x1e8]
call fcn.140006c90
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.140173cc0
nop
lea rcx, [rsp + 0x1e8]
call fcn.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x1401807ac
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.1401728a0
movzx eax, al
test eax, eax
je 0x140180dd5
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.140006c90
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x3c0], rax
lea r8, [0x14023d720]
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.140173cc0
nop
lea rcx, [rsp + 0x210]
call fcn.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x1401807ac
lea rax, [rsp + 0x218]
mov qword [rsp + 0x220], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023d790]
lea rcx, [rsp + 0x228]
call fcn.140006c90
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x3d0]
mov qword [rsp + 0x3d8], rax
lea r8, [0x14023c06c]
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.140173cc0
nop
lea rcx, [rsp + 0x228]
call fcn.140001490
lea rcx, [rsp + 0x130]
call fcn.140002db0
nop
xor r8d, r8d
lea rdx, [0x14023d714]
lea rcx, [rsp + 0x120]
call fcn.140006780
mov dword [rsp + 0x128], eax
cmp dword [rsp + 0x128], 0xffffffff
je 0x140180ffa
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, [0x14023c0f4]
lea rcx, [rsp + 0x120]
call fcn.140006780
mov dword [rsp + 0x15c], eax
cmp dword [rsp + 0x15c], 0xffffffff
je 0x140180f60
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.140002270
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.140002d80
nop
lea rcx, [rsp + 0x230]
call fcn.140001490
jmp 0x140180fbc
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x120]
call fcn.140006a00
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.140002d80
nop
lea rcx, [rsp + 0x238]
call fcn.140001490
xor r8d, r8d
lea rdx, [0x14023c15c]
lea rcx, [rsp + 0x130]
call fcn.140006780
cmp eax, 0xffffffff
je 0x140180fe3
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, [0x14023d7b8]
lea rcx, [rsp + 0x120]
call fcn.140006780
mov dword [rsp + 0x128], eax
cmp dword [rsp + 0x128], 0xffffffff
je 0x140181181
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, [0x14023c1bc]
lea rcx, [rsp + 0x120]
call fcn.140006780
mov dword [rsp + 0x164], eax
cmp dword [rsp + 0x164], 0xffffffff
je 0x1401810e7
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.140002270
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.140002d80
nop
lea rcx, [rsp + 0x240]
call fcn.140001490
jmp 0x140181143
mov r8d, dword [rsp + 0x128]
add r8d, 2
lea rdx, [rsp + 0x248]
lea rcx, [rsp + 0x120]
call fcn.140006a00
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.140002d80
nop
lea rcx, [rsp + 0x248]
call fcn.140001490
xor r8d, r8d
lea rdx, [0x14023c1d4]
lea rcx, [rsp + 0x130]
call fcn.140006780
cmp eax, 0xffffffff
je 0x14018116a
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, [0x14023d7c0]
lea rcx, [rsp + 0x120]
call fcn.140006780
cmp eax, 0xffffffff
je 0x1401811ae
mov eax, dword [rsp + 0x118]
or eax, 1
mov dword [rsp + 0x118], eax
xor r8d, r8d
lea rdx, [0x14023d7c8]
lea rcx, [rsp + 0x120]
call fcn.140006780
cmp eax, 0xffffffff
je 0x1401811db
mov eax, dword [rsp + 0x118]
or eax, 2
mov dword [rsp + 0x118], eax
lea rcx, [rsp + 0x120]
call fcn.140023510
xor r9d, r9d
lea r8, [rsp + 0x90]
mov edx, 1
mov rcx, rax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
jne 0x1401813e9
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x14018139b
lea rax, [rsp + 0x250]
mov qword [rsp + 0x258], rax
lea rdx, [0x14023c21c]
lea rcx, [rsp + 0x268]
call fcn.140010530
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x530]
call fcn.140176530
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.140006c90
mov qword [rsp + 0x438], rax
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x440], rax
mov rcx, qword [rsp + 0x440]
call fcn.140023510
lea r8, [rsp + 0x268]
mov rdx, rax
lea rcx, [rsp + 0x278]
call fcn.1400136e0
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x448]
mov qword [rsp + 0x450], rax
mov rcx, qword [rsp + 0x450]
call fcn.1400105c0
mov r8, qword [rsp + 0x430]
mov rdx, rax
mov rcx, qword [rsp + 0x258]
call fcn.140006c90
mov qword [rsp + 0x458], rax
mov r8, qword [rsp + 0x458]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.140173cc0
nop
lea rcx, [rsp + 0x278]
call fcn.140002e70
nop
lea rcx, [rsp + 0x270]
call fcn.140001490
nop
lea rcx, [rsp + 0x260]
call fcn.140001490
nop
lea rcx, [rsp + 0x268]
call fcn.140002e70
nop
lea rcx, [rsp + 0x130]
call fcn.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x1401807ac
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.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x140181bde
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 0x140181620
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x1401815d2
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.140176530
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x460]
mov qword [rsp + 0x468], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023d800]
lea rcx, [rsp + 0x298]
call fcn.140006c90
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x470]
mov qword [rsp + 0x478], rax
lea r8, [0x14023d7f8]
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.140006bd0
mov qword [rsp + 0x490], rax
mov r8, qword [rsp + 0x490]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.140173cc0
nop
lea rcx, [rsp + 0x2a0]
call fcn.140001490
nop
lea rcx, [rsp + 0x298]
call fcn.140001490
nop
lea rcx, [rsp + 0x290]
call fcn.140001490
nop
lea rcx, [rsp + 0x130]
call fcn.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x1401807ac
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.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x140181bde
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 0x1401818cc
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x14018187e
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.140176530
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x498]
mov qword [rsp + 0x4a0], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023d830]
lea rcx, [rsp + 0x2c0]
call fcn.140006c90
mov qword [rsp + 0x4a8], rax
mov rax, qword [rsp + 0x4a8]
mov qword [rsp + 0x4b0], rax
lea r8, [0x14023d828]
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.140006bd0
mov qword [rsp + 0x4c8], rax
mov r8, qword [rsp + 0x4c8]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.140173cc0
nop
lea rcx, [rsp + 0x2c8]
call fcn.140001490
nop
lea rcx, [rsp + 0x2c0]
call fcn.140001490
nop
lea rcx, [rsp + 0x2b8]
call fcn.140001490
nop
lea rcx, [rsp + 0x130]
call fcn.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x1401807ac
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.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x140181bde
mov byte [rsp + 0x140], 0
cmp dword [rsp + 0x110], 1
jne 0x140181921
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.140170960
mov byte [rsp + 0x140], al
jmp 0x140181933
cmp dword [rsp + 0x110], 4
jne 0x140181933
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.14017e690
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 0x140181bb0
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.140176530
mov qword [rsp + 0x4e0], rax
mov rax, qword [rsp + 0x4e0]
mov qword [rsp + 0x4e8], rax
lea r8, [rsp + 0x148]
lea rdx, [0x14023d878]
lea rcx, [rsp + 0x308]
call fcn.140006c90
mov qword [rsp + 0x4f0], rax
mov rax, qword [rsp + 0x4f0]
mov qword [rsp + 0x4f8], rax
lea r8, [0x14023d858]
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.140006bd0
mov qword [rsp + 0x510], rax
mov r8, qword [rsp + 0x510]
mov edx, 3
mov rcx, qword [rsp + 0x530]
call fcn.140173cc0
nop
lea rcx, [rsp + 0x310]
call fcn.140001490
nop
lea rcx, [rsp + 0x308]
call fcn.140001490
nop
lea rcx, [rsp + 0x300]
call fcn.140001490
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x88], 5
je 0x140181b3d
mov rax, qword [rsp + 0x530]
cmp dword [rax + 0x88], 2
je 0x140181b3d
mov rax, qword [rsp + 0x530]
movzx eax, byte [rax + 0x8c]
test eax, eax
je 0x140181b85
mov rax, qword [rsp + 0x530]
mov dword [rax + 0x88], 0
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x130]
call fcn.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x1401807ac
lea rcx, [rsp + 0x130]
call fcn.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x140181bde
lea rcx, [rsp + 0x130]
call fcn.140001490
nop
lea rcx, [rsp + 0x120]
call fcn.140001490
nop
lea rcx, [rsp + 0x148]
call fcn.140001490
jmp 0x1401807ac
cmp dword [rsp + 0x70], 0x2c
jne 0x140181bff
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 0x140181c38
mov rcx, qword [rsp + 0x530]
mov rcx, qword [rcx + 0x170]
call fcn.1400aa000
mov r11, qword [rsp + 0x530]
mov qword [r11 + 0x170], 0
cmp qword [rsp + 0x90], 0
je 0x140181c5d
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x90], 0
cmp qword [rsp + 0x78], 0
je 0x140181c79
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x78], 0
cmp qword [rsp + 0x98], 0
je 0x140181c9e
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x98], 0
cmp qword [rsp + 0x88], 0
je 0x140181cc3
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x88], 0
cmp qword [rsp + 0x108], 0
je 0x140181ce8
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x108], 0
cmp qword [rsp + 0x68], 0
je 0x140181d04
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.140001490
nop
lea rcx, [rsp + 0xa0]
call fcn.1401709d0
mov eax, dword [rsp + 0x318]
add rsp, 0x528
ret