Function at 0x18000df70
Capabilities:
Copy file
Create process on windows
Delete file
Get common file path
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x120
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rsp + 0x150], rbx
mov rsi, rcx
lea rdx, [rsp + 0x50]
call fcn.18000e600
nop
lea rdx, [rsp + 0x160]
mov rcx, rsi
call fcn.180003c70
nop
xor r13d, r13d
mov edi, r13d
nop dword [rax + rax]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8d, 1
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsi + 0x68]
call fcn.18002b710
test eax, eax
jne 0x18000e03b
inc edi
cmp edi, 3
jl 0x18000dfc0
mov rdx, qword [rsp + 0x160]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e017
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000e034
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor eax, eax
jmp 0x18000e5c5
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0xb0]
call fcn.180035fe0
xor edx, edx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0xb0], 0x68
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18000e57f
mov edx, 0x4e20
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x18000e522
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, vtable.CIcons.0
mov qword [rsp + 0x58], rdx
lea r8, str..ico
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x90]
call fcn.1800055a0
nop
mov rbp, qword [rax]
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x58]
call fcn.180014100
mov rdi, rax
test rax, rax
je 0x18000e142
mov r8, rbp
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180014860
mov rcx, rdi
call fcn.180035540
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e164
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsi + 0x58]
sub rcx, 0x18
call fcn.1800023a0
add rax, 0x18
mov qword [rsp + 0x158], rax
lea r8, str..lnk
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x98]
call fcn.1800055a0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x158]
call fcn.180002500
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e1cd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea r8, str..ico
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x88]
call fcn.1800055a0
nop
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9, qword [rax]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rsp + 0x158]
call fcn.180012320
mov edi, eax
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x18000e231
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test edi, edi
jne 0x18000e374
mov rdi, qword [rsp + 0x158]
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x18000e26f
mov edx, 0x104
lea rcx, [rsp + 0x158]
call fcn.1800027f0
mov rdi, qword [rsp + 0x158]
xor r9d, r9d
lea r8d, [r9 + 0x19]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call fcn.180034690
test eax, eax
js 0x18000e369
cmp eax, dword [rdi - 0xc]
jg 0x18000e369
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], r13w
mov eax, dword [rdi - 0x10]
dec eax
js 0x18000e35e
cmp eax, dword [rdi - 0x10]
jg 0x18000e35e
cdqe
cmp word [rdi + rax*2], 0x5c
je 0x18000e2ef
xor eax, eax
mov rcx, rbx
lea rdi, [0x18006c734]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x18006c734]
lea rcx, [rsp + 0x158]
call fcn.180002500
lea r8, str..lnk
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x78]
call fcn.1800055a0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x158]
call fcn.180002500
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e339
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rsp + 0x158]
call fcn.180012320
jmp 0x18000e374
mov ecx, 0x80070057
call fcn.180002d30
int3
mov ecx, 0x80070057
call fcn.180002d30
int3
lea r8, [rsi + 0x20]
lea rdx, [rsi + 0x58]
lea rcx, [rsp + 0xa0]
call fcn.18000e8c0
nop
lea r8, str..lnk
mov rdx, rax
lea rcx, [rsp + 0x168]
call fcn.1800055a0
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e3c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
cmp dword [rsi + 0x14], 0
jne 0x18000e4aa
mov rdx, qword [rsi + 0x50]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x168]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x18000e435
cmp dword [rdi + 0x10], 0
jl 0x18000e424
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x18000e424
call fcn.1800023a0
mov rbp, rax
mov ecx, ebx
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x18000e416
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x168], rax
jmp 0x18000e435
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x168]
call fcn.180002290
lea r8, str..lnk
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0x80]
call fcn.1800055a0
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x168]
call fcn.180002500
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e485
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor r8d, r8d
mov rdx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x158]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, qword [rsp + 0x168]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsi + 0x38], rax
mov rdx, qword [rsp + 0x168]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e4fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x158]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e520
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
jmp 0x18000e52f
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rsi
call fcn.180003a00
nop
mov rdx, qword [rsp + 0x160]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e55b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000e578
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, 1
jmp 0x18000e5c5
mov rdx, qword [rsp + 0x160]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000e5a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x18000e5c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor eax, eax
mov rbx, qword [rsp + 0x150]
add rsp, 0x120
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret