Function at 0x14008c910
Capabilities:
Delete file
Move file
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x140265280]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov r13, rcx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x60], r9
xor r12d, r12d
mov dword [rcx + 0xc4], 3
add rcx, 0x38
cmp qword [r13 + 0x50], 7
jbe 0x14008c96b
mov rcx, qword [r13 + 0x38]
mov qword [r13 + 0x48], r12
mov word [rcx], r12w
mov rcx, qword [rdx + 0x10]
movabs r15, 0x7ffffffffffffffe
mov rax, r15
sub rax, rcx
cmp rax, 0x19
jb 0x14008ce6e
mov r9, rdi
cmp qword [rdx + 0x18], 7
jbe 0x14008c99e
mov r9, qword [rdx]
mov qword [rsp + 0x30], Ordinal_27
lea rax, str._latest_launcher.download
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x38]
call fcn.140077110
nop
lea r8, [0x14026a298]
mov rdx, r14
lea rcx, [rbp + 0x28]
call fcn.140092260
nop
lea rax, [rbp + 8]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 8]
call fcn.140078250
mov rbx, rax
lea rdx, [rbp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140078410
nop
xor r9d, r9d
mov r8, r13
mov rdx, rbx
mov rcx, rax
call fcn.140077bc0
test al, al
je 0x14008ccb0
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x50]
call fcn.140078250
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140093f60
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14008ca3f
mov rdx, qword [rsi]
lea rcx, [rbp + 8]
mov rbx, qword [rbp + 8]
mov r13, qword [rbp + 0x20]
cmp r13, 0xf
cmova rcx, rbx
mov r8, qword [rbp + 0x18]
cmp r8, qword [rsi + 0x10]
jne 0x14008cc5a
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14008cc5a
lea rcx, [rbp - 0x58]
call fcn.1400792a0
nop
mov rax, qword [rdi + 0x10]
sub r15, rax
cmp r15, 0x11
jb 0x14008ce68
mov r9, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14008ca96
mov r9, qword [rdi]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recvfrom
lea rcx, str._old_launcher.bak
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x18]
call fcn.140077110
nop
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
lea rcx, [rbp - 0x38]
test eax, eax
jne 0x14008cbaf
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rdx, qword [rbp - 0x58]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
test eax, eax
jne 0x14008cb77
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._ignoreinstances
lea rcx, [rsp + 0x50]
call fcn.140077760
nop
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x70]
call fcn.140078250
nop
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400796e0
test al, al
je 0x14008cb67
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rcx, qword [rbp - 0x58]
jmp 0x14008cb85
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 7
cmova rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
jmp 0x14008cbc0
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14008cc03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008cbfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008cbfe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401c8940
movdqa xmm0, xmmword [0x140249410]
movdqu xmmword [rbp - 8], xmm0
mov word [rbp - 0x18], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14008cc76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008cc53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008cc53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401c8940
jmp 0x14008cc6e
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
movdqa xmm0, xmmword [0x140249410]
cmp r13, 0xf
jbe 0x14008ccb8
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14008cca8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008cca8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1401c8940
movdqa xmm0, xmmword [0x140249410]
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14008ccfe
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ccf1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ccf1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401c8940
movdqa xmm0, xmmword [0x140249410]
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14008cd49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008cd3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008cd3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401c8940
movdqa xmm0, xmmword [0x140249410]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x14008cd92
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14008cd8d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14008ce53
mov rcx, r8
call fcn.1401c8940
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14008cddc
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x14008cdd7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14008ce5a
mov rcx, r8
call fcn.1401c8940
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14008ce22
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14008ce1d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14008ce61
mov rcx, r8
call fcn.1401c8940
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
xor al, al
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1401c8920
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400775a0
nop
call fcn.1400775a0
int3