Function at 0x140007ba4
Capabilities:
Copy file
Create process on windows
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1410]
mov eax, 0x1510
call fcn.14016df80
sub rsp, rax
mov rax, qword [0x140271510]
xor rax, rsp
mov qword [rbp + 0x1400], rax
mov rbx, qword [0x140274eb8]
xor r12d, r12d
mov rdi, r8
mov rax, qword [rbx + 0x68]
test rax, rax
je 0x140007bfd
lea ecx, [r12 + 2]
call rax
jmp 0x140007c03
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov r13d, 1
cmp dword [rbp + 0x1458], r13d
jne 0x140007c25
mov rcx, qword [rdi]
lea rdx, str.__slave
call fcn.14017f7c0
test eax, eax
je 0x140007c42
cmp dword [rbp + 0x1458], 2
jne 0x140007c90
mov rcx, qword [rdi + 8]
lea rdx, str.__slave
call fcn.14017f7c0
test eax, eax
jne 0x140007c4f
mov rcx, rbx
call fcn.140006038
jmp 0x140007fe8
mov rcx, qword [rdi + 8]
lea rdx, str.__netinfo
call fcn.14017f7c0
test eax, eax
jne 0x140007c90
lea rcx, [rsp + 0x50]
call fcn.14000b5e0
test eax, eax
jle 0x140007fe8
mov rdx, qword [rsp + 0x50]
lea rcx, str._s_r_n
call fcn.140001090
mov rcx, qword [rsp + 0x50]
jmp 0x140007fe3
cmp qword [rbx + 0x38], r12
jne 0x140007cb4
lea rax, [rbp]
mov byte [rbp], r12b
mov r8d, 0x400
mov qword [rbx + 0x38], rax
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov rcx, qword [rbx + 0x38]
lea rdx, [rbx + 0x5f0]
call fcn.140003494
mov rcx, qword [rbx + 0x38]
lea rdx, str..log
call fcn.140002b90
mov rcx, rax
or edx, 0xffffffff
call fcn.14007d488
mov qword [0x140274ea8], rax
call fcn.140076724
mov rcx, qword [rbx]
lea rdx, [0x140006134]
mov r8, rbx
call fcn.1400781bc
mov rcx, qword [rdi]
lea r8, [0x1401e8394]
or edx, 0xffffffff
call fcn.14007d1f4
test eax, eax
jle 0x140007d4a
mov r8, qword [rdi]
lea r15, [0x140276180]
movsxd rsi, eax
mov r14d, 0x10000
mov r9, rsi
mov edx, r14d
mov rcx, r15
call fcn.14017086c
cmp rsi, r14
jae 0x140008014
mov rcx, r15
mov byte [rsi + r15], r12b
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea rax, [rbp + 0x1458]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rdi
cmp qword [rbx + 0x20], r12
jne 0x140007f9e
cmp dword [rbp + 0x1458], 2
jl 0x140007d96
mov rcx, qword [rdi + 8]
lea r8, [0x1401e93ec]
mov r9d, 3
mov dword [rsp + 0x20], r13d
or edx, 0xffffffff
call fcn.14007d0d0
test eax, eax
jne 0x140007f9e
mov rcx, qword [rbx]
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [0x140007b5c]
call fcn.1400782a8
mov rcx, qword [rbx]
call fcn.140078c88
mov rcx, qword [rbx + 0x48]
mov qword [rbx], r12
test rcx, rcx
je 0x140007dc9
call fcn.140080b8c
mov qword [rbx + 0x48], r12
cmp dword [rbx + 0x5c4], r12d
je 0x140007fbf
xor edx, edx
mov dword [rsp + 0x70], WSAGetLastError
lea rcx, [rsp + 0x78]
mov esi, r12d
lea r8d, [rdx + 0x60]
call fcn.14016ef40
mov rcx, qword [rbx + 0x38]
lea rdx, str..update.exe
call fcn.140002b90
mov r14, rax
cmp dword [rbx + 0x5d0], r12d
je 0x140007e26
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.SelfUpdate____Updating...
xor edx, edx
call fcn.14007ddcc
mov r15d, r13d
mov byte [rbp + 0x400], r12b
cmp dword [rbp + 0x1458], r13d
jle 0x140007e79
add rdi, 8
test esi, esi
js 0x140007e79
mov r9, qword [rdi]
lea rcx, [rbp + 0x400]
mov eax, 0x1000
lea r8, [0x1401e940c]
sub eax, esi
movsxd rdx, eax
movsxd rax, esi
add rcx, rax
call fcn.1400010e4
add esi, eax
add r15d, r13d
add rdi, 8
cmp r15d, dword [rbp + 0x1458]
jl 0x140007e3d
lea rax, [rbp + 0x400]
mov r9, r14
mov qword [rsp + 0x28], rax
lea rdi, [0x140275180]
mov rax, qword [rbx + 0x38]
lea r8, str._s__update:__s__s
mov edx, 0x1000
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.1400010e4
lea rax, [rsp + 0x58]
mov esi, 0x8000000
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rdi
mov qword [rsp + 0x38], r12
xor ecx, ecx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140007f86
cmp dword [rbx + 0x5d0], r12d
je 0x140007f13
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.SelfUpdate____FAILED...
xor edx, edx
call fcn.14007ddcc
test r14, r14
je 0x140007fbf
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140007fbf
jmp 0x140007f3a
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0x38]
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140007f2b
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rdi
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140007fbf
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007fbf
mov rcx, qword [rbx]
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [0x140007b48]
call fcn.1400782a8
mov rcx, qword [rbx]
call fcn.140078c88
mov qword [rbx], r12
mov eax, dword [0x140274e70]
sub eax, r13d
mov dword [0x140274e70], eax
test eax, eax
jg 0x140007fd7
call fcn.1400afd20
mov rcx, qword [0x140274ea8]
test rcx, rcx
je 0x140007fe8
call fcn.140174cc8
xor eax, eax
mov rcx, qword [rbp + 0x1400]
xor rcx, rsp
call fcn.14016d990
mov rbx, qword [rsp + 0x1550]
add rsp, 0x1510
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14016dabc
int3