Function at 0x14000cf70
Capabilities:
Copy file
Delete file
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14000cfb0
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000cfa7
mov ecx, 0x800
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x20
pop rbx
jmp 0x14000d0d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x14005b060]
xor rax, rsp
mov qword [rbp + 0x230], rax
xor esi, esi
mov dword [rsp + 0x58], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x14005eb38], rax
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], si
mov edx, 0x108
lea rcx, [rbp + 0x40]
call fcn.140006f50
mov r8, rax
mov qword [rbp + 0x50], 0x104
mov qword [rbp + 0x58], 0x107
movzx eax, si
mov rdi, r8
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [r8 + 0x208], si
mov qword [rbp + 0x40], r8
mov r13d, 2
mov dword [rsp + 0x58], r13d
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, r8
mov r8d, dword [rbp + 0x50]
mov rcx, qword [0x14005eb38]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, eax
mov rax, qword [rbp + 0x50]
cmp rdx, rax
ja 0x14000d1b8
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rax, qword [rbp + 0x40]
mov qword [rbp + 0x50], rdx
mov word [rax + rdx*2], si
jmp 0x14000d1c7
xor r8d, r8d
sub rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140006520
lea rdx, [rbp + 0x40]
lea rbx, [0x14005bc58]
mov rcx, rbx
call fcn.14000c1e0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14000d21b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d216
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e048
call fcn.14001c70c
lea rcx, [rbp + 0x20]
call fcn.14000cfc0
mov rdx, rax
lea rcx, [0x14005bc78]
call fcn.14000c1e0
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14000d273
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d26e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e04e
call fcn.14001c70c
lea rcx, [rbp + 0x20]
call fcn.14000cfc0
mov rdx, rax
lea rcx, [0x14005bd38]
call fcn.14000c1e0
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14000d2cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d2c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e054
call fcn.14001c70c
mov rdx, rbx
mov r9, qword [0x14005bc58]
mov r10, qword [0x14005bc70]
cmp r10, 8
cmovae rdx, r9
mov r14, 0xffffffffffffffff
mov rdi, qword [0x14005bc68]
test rdi, rdi
je 0x14000d328
lea rcx, [rdi - 1]
mov rax, r14
cmp rcx, rax
cmovb rax, rcx
lea r8, [rdx + rax*2]
cmp word [r8], 0x5c
je 0x14000d320
cmp r8, rdx
je 0x14000d328
sub r8, 2
cmp word [r8], 0x5c
jne 0x14000d310
sub r8, rdx
sar r8, 1
jmp 0x14000d32b
mov r8, r14
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 7
cmp rdi, r8
cmovb r8, rdi
mov rdx, rbx
cmp r10, 8
cmovae rdx, r9
lea rcx, [rbp + 0x20]
call fcn.1400063f0
mov eax, 0xc
mov dword [rsp + 0x58], eax
lea rdx, [rbp + 0x20]
lea rcx, [0x14005bcd8]
call fcn.14000c1e0
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14000d3af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d3aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e05a
call fcn.14001c70c
cmp qword [0x14005bc68], 0
je 0x14000dff5
cmp qword [0x14005bc88], 0
je 0x14000dff5
cmp qword [0x14005bd48], 0
je 0x14000dff5
lea rcx, [rbp - 0x10]
call fcn.14000f050
nop
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
je 0x14000d46c
mov rdi, qword [0x14005eb48]
mov r9d, eax
mov r8d, 1
lea rdx, str.CoInitializeEx_failed___d_
lea rcx, [rbp + 0x20]
call fcn.14000edc0
mov eax, 0x1c
mov dword [rsp + 0x58], eax
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000d46c
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d467
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e060
call fcn.14001c70c
call fcn.140025e30
movsxd rdi, dword [rax]
call fcn.140025e38
mov r12, qword [rax]
mov r15d, esi
xor al, al
mov byte [rsp + 0x50], al
mov ebx, 1
mov rsi, rdi
cmp rdi, rbx
jle 0x14000d6a1
mov edi, ebx
nop dword [rax + rax]
lea rdx, str._SILENT
mov rcx, qword [r12 + rdi*8]
call fcn.1400251f0
test eax, eax
jne 0x14000d4c7
mov byte [0x14005eb40], 1
mov byte [0x14005bc54], 1
jmp 0x14000d648
lea rdx, str._PASSIVE
mov rcx, qword [r12 + rdi*8]
call fcn.1400251f0
test eax, eax
jne 0x14000d4e7
mov byte [0x14005bc54], 1
jmp 0x14000d648
lea rdx, str._PATH
mov rcx, qword [r12 + rdi*8]
call fcn.1400251f0
test eax, eax
jne 0x14000d5db
inc ebx
inc rdi
cmp rdi, rsi
jge 0x14000d74c
mov rdx, qword [r12 + rdi*8]
mov r8, r14
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000d514
lea rcx, [0x14005bcd8]
call fcn.1400063f0
lea rcx, [0x14005bcd8]
cmp qword [0x14005bcf0], 8
cmovae rcx, qword [0x14005bcd8]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14000d648
mov rdi, qword [0x14005eb48]
cmp qword [0x14005bcf0], 8
lea r9, [0x14005bcd8]
cmovae r9, qword [0x14005bcd8]
lea r8d, [rax + 1]
lea rdx, str.Non_existent_path_argument:__ls
lea rcx, [rbp + 0x20]
call fcn.14000edc0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000da45
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e030
jmp 0x14000da40
lea rdx, str._EXECUTE
mov rcx, qword [r12 + rdi*8]
call fcn.1400251f0
test eax, eax
jne 0x14000d5f6
mov byte [rsp + 0x50], 1
jmp 0x14000d648
lea rdx, str._WAITPID
mov rcx, qword [r12 + rdi*8]
call fcn.1400251f0
test eax, eax
jne 0x14000d9d0
inc ebx
inc rdi
cmp rdi, rsi
jge 0x14000d960
lea r8d, [rax + 0xa]
lea rdx, [rsp + 0x60]
mov rcx, qword [r12 + rdi*8]
call fcn.140025ddc
mov r15d, eax
mov rcx, qword [rsp + 0x60]
cmp word [rcx], 0
jne 0x14000d8e3
test eax, eax
je 0x14000d8e3
inc ebx
inc rdi
cmp rdi, rsi
jl 0x14000d4a0
test r15d, r15d
je 0x14000d696
mov r8d, r15d
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000d84e
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000d7bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rsp + 0x50], 0
jne 0x14000d73f
lea r8, [0x140050728]
lea rdx, [0x14005bc78]
lea rcx, [rbp + 0x20]
call fcn.140006a40
mov rbx, rax
mov r8d, dword [rsp + 0x58]
or r8d, 1
mov dword [rsp + 0x58], r8d
mov rcx, qword [rax + 0x10]
cmp qword [0x14005bc68], rcx
jb 0x14000da52
lea r15, [0x14005bc58]
cmp qword [0x14005bc70], 8
cmovae r15, qword [0x14005bc58]
cmp qword [rax + 0x18], 8
jb 0x14000d6fb
mov rax, qword [rax]
lea r12, [rax + rcx*2]
jb 0x14000d704
mov rbx, qword [rbx]
cmp rbx, r12
je 0x14000d744
sub r15, rbx
nop dword [rax]
movzx esi, word [r15 + rbx]
movzx ecx, word [rbx]
cmp cx, si
je 0x14000d736
call fcn.140025f48
movzx edi, ax
movzx ecx, si
call fcn.140025f48
cmp di, ax
jne 0x14000da4d
add rbx, 2
cmp rbx, r12
jne 0x14000d710
mov r8d, dword [rsp + 0x58]
xor dil, dil
jmp 0x14000da55
mov rdi, qword [0x14005eb48]
xor r8d, r8d
lea rdx, str.Missing_argument
lea rcx, [rbp + 0x20]
call fcn.14000edc0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000da45
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e036
jmp 0x14000da40
mov rdi, qword [0x14005eb48]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, r15d
mov r8, r13
lea rdx, str.Failed_to_wait_for_process__d___d_
lea rcx, [rbp + 0x20]
call fcn.14000edc0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000d837
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d832
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e066
call fcn.14001c70c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13d, 3
xor r12d, r12d
jmp 0x14000dfcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x14000d696
mov rdi, qword [0x14005eb48]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, r15d
mov r8, r13
lea rdx, str.Failed_to_open_process__d___d_
lea rcx, [rbp + 0x20]
call fcn.14000edc0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000d8d5
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d8d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e06c
call fcn.14001c70c
mov r13d, 3
xor r12d, r12d
jmp 0x14000dfcf
mov rdi, qword [0x14005eb48]
movsxd r9, ebx
mov r9, qword [r12 + r9*8]
mov r8d, 1
lea rdx, str.Unrecognized_argument:__ls
lea rcx, [rbp + 0x20]
call fcn.14000edc0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000da45
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e03c
jmp 0x14000da40
mov rdi, qword [0x14005eb48]
xor r8d, r8d
lea rdx, str.Missing_argument
lea rcx, [rbp + 0x20]
call fcn.14000edc0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000da45
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e042
jmp 0x14000da40
mov rdi, qword [0x14005eb48]
movsxd r9, ebx
mov r9, qword [r12 + r9*8]
mov r8d, 1
lea rdx, str.Unrecognized_argument:__ls
lea rcx, [rbp + 0x20]
call fcn.14000edc0
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.14000f340
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14000da45
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e072
call fcn.14001c70c
xor r12d, r12d
jmp 0x14000dfcf
mov r8d, dword [rsp + 0x58]
mov dil, 1
test r8b, 1
je 0x14000da9b
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14000da9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000da96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e078
call fcn.14001c70c
test dil, dil
je 0x14000de94
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xor r12d, r12d
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x50], r12
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r12w
mov edx, 0x108
lea rcx, [rbp + 0x40]
call fcn.140006f50
mov rdx, rax
mov qword [rbp + 0x50], 0x104
mov qword [rbp + 0x58], 0x107
movzx eax, r12w
mov rdi, rdx
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [rdx + 0x208], r12w
mov qword [rbp + 0x40], rdx
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae r9, rdx
lea r15, [0x14005bc78]
mov rcx, r15
cmp qword [0x14005bc90], 8
cmovae rcx, qword [0x14005bc78]
xor r8d, r8d
lea rdx, [0x140050730]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x14000de47
lea rax, [rbp + 0x40]
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
cmovae rax, rcx
inc r14
cmp word [rax + r14*2], 0
jne 0x14000db53
mov rax, qword [rbp + 0x50]
cmp r14, rax
ja 0x14000db7e
lea rax, [rbp + 0x40]
cmp rdx, 8
cmovae rax, rcx
mov qword [rbp + 0x50], r14
mov word [rax + r14*2], r12w
jmp 0x14000db90
xor r8d, r8d
sub r14, rax
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140006520
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
cmp qword [0x14005bc70], 8
lea rcx, [0x14005bc58]
cmovae rcx, qword [0x14005bc58]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14000de47
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rcx, qword [rbp + 0x40]
mov esi, 4
mov r8d, esi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r12w
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x60]
call fcn.14000f4f0
cmp byte [0x14005eb40], 0
je 0x14000dc29
lea rdx, str._SILENT
lea rcx, [rbp + 0x60]
call fcn.14000f4f0
lea rdx, str._WAITPID
lea rcx, [rbp + 0x60]
call fcn.14000f4f0
lea rdi, [rbp + 0xaa]
sub rdi, 2
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [rdi], bx
mov ebx, edx
test edx, edx
jne 0x14000dc40
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x30], r12
mov eax, 7
mov qword [rbp + 0x38], rax
mov word [rbp + 0x20], r12w
lea rcx, [rbp + 0xaa]
cmp rdi, rcx
je 0x14000dcaa
lea r8, [rbp + 0xaa]
sub r8, rdi
sar r8, 1
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.1400063f0
mov rax, qword [rbp + 0x38]
lea rdx, [rbp + 0x20]
cmp rax, 8
cmovae rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x60]
call fcn.14000f4f0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x14000dd01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000dcfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e07e
call fcn.14001c70c
lea rdx, str._PATH
lea rcx, [rbp + 0x60]
call fcn.14000f4f0
cmp qword [0x14005bcf0], 8
lea rdx, [0x14005bcd8]
cmovae rdx, qword [0x14005bcd8]
lea rcx, [rbp + 0x60]
call fcn.14000f4f0
lea rdx, str._EXECUTE
lea rcx, [rbp + 0x60]
call fcn.14000f4f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x7c], xmm1
movups xmmword [rbp - 0x6c], xmm1
movups xmmword [rbp - 0x5c], xmm1
movups xmmword [rbp - 0x4c], xmm1
movups xmmword [rbp - 0x3c], xmm1
movups xmmword [rbp - 0x2c], xmm1
mov dword [rbp - 0x1c], eax
mov dword [rbp - 0x80], 0x68
cmp qword [0x14005bc90], 8
cmovae r15, qword [0x14005bc78]
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rcx, qword [rbp + 0x40]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x28
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000ddf4
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, r12d
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14000de34
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e084
call fcn.14001c70c
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r12w
jmp 0x14000de4c
mov esi, 4
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14000de8c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000de87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e02a
call fcn.14001c70c
mov r13d, esi
jmp 0x14000dfcf
lea rax, str.SeBackupPrivilege
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x88], r13d
lea rax, str.SeRestorePrivilege
mov qword [rbp + 0x90], rax
mov dword [rbp + 0x98], r13d
lea rax, str.SeIncreaseQuotaPrivilege
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], r13d
lea rax, str.SeImpersonatePrivilege
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0xb8], r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x58]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000dfa7
mov ecx, 0x34
call fcn.140025e54
mov rdi, rax
xor r12d, r12d
mov dword [rax], r12d
lea rbx, [rbp + 0x80]
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x60]
mov rdx, qword [rbx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14000df65
mov ecx, dword [rdi]
lea rdx, [rcx + rcx*2]
mov rax, qword [rsp + 0x60]
mov qword [rdi + rdx*4 + 4], rax
mov eax, dword [rdi]
inc rax
lea rcx, [rax + rax*2]
mov eax, dword [rbx + 8]
mov dword [rdi + rcx*4], eax
inc dword [rdi]
add rbx, 0x10
lea rax, [rbp + 0xc0]
cmp rbx, rax
jne 0x14000df30
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.140025e40
jmp 0x14000dfaa
xor r12d, r12d
lea rcx, [rbp + 0xc0]
call fcn.1400078d0
nop
mov rcx, rax
call fcn.140008750
mov r13d, eax
lea rcx, [rbp + 0xc0]
call fcn.140007a50
nop
mov qword [0x14005eb48], r12
mov rcx, qword [rbp - 0x10]
cmp rcx, 0xffffffffffffffff
je 0x14000dfe6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, r13d
jmp 0x14000dffa
mov eax, 8
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14001c460
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140025138
nop
call fcn.140025138
int3
call fcn.140025138
int3
call fcn.140025138
int3
call fcn.140025138
nop
call fcn.140025138
int3
call fcn.140025138
int3
call fcn.140025138
int3
call fcn.140025138
nop
call fcn.140025138
int3
call fcn.140025138
int3
call fcn.140025138
int3
call fcn.140025138
int3
call fcn.140025138
nop
call fcn.140025138
nop
call fcn.140025138
int3