Function at 0x140089640
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140265280]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rbp - 0x41], rcx
xor r13d, r13d
lea rdx, [rcx + 0x18]
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
lea r8, [rdx + 0x10]
mov qword [r8], r13
mov qword [rdx + 0x18], 7
mov word [rdx], r13w
add rcx, 0x38
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 7
mov word [rcx], r13w
lea rsi, [rdi + 0x58]
movups xmmword [rsi], xmm0
lea r15, [rsi + 0x10]
mov qword [r15], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
lea rax, [rdi + 0x78]
movups xmmword [rax], xmm0
lea r9, [rax + 0x10]
mov qword [r9], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea r14, [rdi + 0xa0]
movups xmmword [r14], xmm0
lea r12, [r14 + 0x10]
mov qword [r12], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
cmp qword [rdx + 0x18], 7
jbe 0x140089718
mov rdx, qword [rdx]
mov qword [r8], r13
mov word [rdx], r13w
cmp qword [rax + 0x18], 7
jbe 0x140089729
mov rax, qword [rax]
mov qword [r9], r13
mov word [rax], r13w
cmp qword [rcx + 0x18], 0xf
jb 0x14008975e
mov rbx, qword [rcx]
mov qword [rcx + 0x10], reloc.WS2_32.dll_ntohs
mov r8d, reloc.WLDAP32.dll_Ordinal_30
lea rdx, str.Initializing...
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x1e], r13w
jmp 0x14008976f
lea r9, str.Initializing...
mov edx, reloc.WS2_32.dll_ntohs
call fcn.140086b90
cmp qword [rsi + 0x18], 7
jbe 0x140089779
mov rsi, qword [rsi]
mov qword [r15], r13
mov word [rsi], r13w
mov dword [rdi + 0xc4], r13d
mov word [rdi + 0x98], 0
cmp qword [r14 + 0x18], 7
jbe 0x14008979a
mov r14, qword [r14]
mov qword [r12], r13
mov word [r14], r13w
mov byte [rdi + 0xc0], 0
lea rcx, [rbp - 0x19]
call fcn.1400792a0
nop
lea rcx, [rbp - 0x19]
call fcn.140079f80
mov r8, rax
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
cmp qword [rbp - 9], rax
cmovb r8, qword [rbp - 9]
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.140077760
nop
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140089833
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008982d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008982d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401c8940
nop
lea rdx, str._old_launcher.bak
lea rcx, [rbp + 7]
call fcn.140077080
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x1400898b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400898af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400898af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401c8940
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 7
cmova rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x14008990c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140089906
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140089906
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401c8940
nop
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1401c8920
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret