Function at 0x140007da8
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.1401a62f0
sub rsp, rax
mov rax, qword [0x1402ccee0]
xor rax, rsp
mov qword [rbp + 0x1400], rax
mov rbx, qword [0x1402cfcf0]
xor r12d, r12d
mov rdi, r8
mov rax, qword [rbx + 0x68]
test rax, rax
je 0x140007e01
lea ecx, [r12 + 2]
call rax
jmp 0x140007e07
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov r13d, 1
cmp dword [rbp + 0x1458], r13d
jne 0x140007e29
mov rcx, qword [rdi]
lea rdx, str.__slave
call fcn.1401b7970
test eax, eax
je 0x140007e46
cmp dword [rbp + 0x1458], 2
jne 0x140007e94
mov rcx, qword [rdi + 8]
lea rdx, str.__slave
call fcn.1401b7970
test eax, eax
jne 0x140007e53
mov rcx, rbx
call fcn.1400061dc
jmp 0x1400081ec
mov rcx, qword [rdi + 8]
lea rdx, str.__netinfo
call fcn.1401b7970
test eax, eax
jne 0x140007e94
lea rcx, [rsp + 0x50]
call fcn.14000bd0c
test eax, eax
jle 0x1400081ec
mov rdx, qword [rsp + 0x50]
lea rcx, str._s_r_n
call fcn.140001090
mov rcx, qword [rsp + 0x50]
jmp 0x1400081e7
cmp qword [rbx + 0x38], r12
jne 0x140007eb8
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 + 0x5f4]
call fcn.140003544
mov rcx, qword [rbx + 0x38]
lea rdx, str..log
call fcn.140002bf4
mov rcx, rax
or edx, 0xffffffff
call fcn.14007ea90
mov qword [0x1402cfcd8], rax
call fcn.140077834
mov rcx, qword [rbx]
lea rdx, [0x1400062d8]
mov r8, rbx
call fcn.1400792cc
mov rcx, qword [rdi]
lea r8, [0x1402310e4]
or edx, 0xffffffff
call fcn.14007e7fc
test eax, eax
jle 0x140007f4e
mov r8, qword [rdi]
lea r15, [0x1402d0fc0]
movsxd rsi, eax
mov r14d, 0x10000
mov r9, rsi
mov edx, r14d
mov rcx, r15
call fcn.1401a8bdc
cmp rsi, r14
jae 0x140008218
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 0x1400081a2
cmp dword [rbp + 0x1458], 2
jl 0x140007f9a
mov rcx, qword [rdi + 8]
lea r8, [0x14023222c]
mov r9d, 3
mov dword [rsp + 0x20], r13d
or edx, 0xffffffff
call fcn.14007e6d8
test eax, eax
jne 0x1400081a2
mov rcx, qword [rbx]
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [0x140007d60]
call fcn.1400793b8
mov rcx, qword [rbx]
call fcn.14007a24c
mov rcx, qword [rbx + 0x48]
mov qword [rbx], r12
test rcx, rcx
je 0x140007fcd
call fcn.1400821fc
mov qword [rbx + 0x48], r12
cmp dword [rbx + 0x5c4], r12d
je 0x1400081c3
xor edx, edx
mov dword [rsp + 0x70], WSAGetLastError
lea rcx, [rsp + 0x78]
mov esi, r12d
lea r8d, [rdx + 0x60]
call fcn.1401a72b0
mov rcx, qword [rbx + 0x38]
lea rdx, str..update.exe
call fcn.140002bf4
mov r14, rax
cmp dword [rbx + 0x5d0], r12d
je 0x14000802a
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.SelfUpdate____Updating...
xor edx, edx
call fcn.14007f3d4
mov r15d, r13d
mov byte [rbp + 0x400], r12b
cmp dword [rbp + 0x1458], r13d
jle 0x14000807d
add rdi, 8
test esi, esi
js 0x14000807d
mov r9, qword [rdi]
lea rcx, [rbp + 0x400]
mov eax, 0x1000
lea r8, [0x14023224c]
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 0x140008041
lea rax, [rbp + 0x400]
mov r9, r14
mov qword [rsp + 0x28], rax
lea rdi, [0x1402cffc0]
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 0x14000818a
cmp dword [rbx + 0x5d0], r12d
je 0x140008117
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.SelfUpdate____FAILED...
xor edx, edx
call fcn.14007f3d4
test r14, r14
je 0x1400081c3
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400081c3
jmp 0x14000813e
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 0x14000812f
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 0x1400081c3
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 0x1400081c3
mov rcx, qword [rbx]
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [0x140007d4c]
call fcn.1400793b8
mov rcx, qword [rbx]
call fcn.14007a24c
mov qword [rbx], r12
mov eax, dword [0x1402cfc9c]
sub eax, r13d
mov dword [0x1402cfc9c], eax
test eax, eax
jg 0x1400081db
call fcn.1400b3130
mov rcx, qword [0x1402cfcd8]
test rcx, rcx
je 0x1400081ec
call fcn.1401ad038
xor eax, eax
mov rcx, qword [rbp + 0x1400]
xor rcx, rsp
call fcn.1401a5d00
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.1401a5e2c
int3