Function at 0x140040140
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp + 0x6f], rax
lea rcx, [rbp + 0x6f]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
call fcn.1400405b0
mov rbx, rax
xor r15d, r15d
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], 0xf
lea r8d, [r15 + 0x2e]
lea rdx, str.https:__comun.chairfbi.com_loader_version_NoUi
lea rcx, [rbp - 0x49]
call fcn.140004270
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.140063650
nop
lea rbx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae rbx, qword [rbp - 0x29]
mov qword [rbp - 9], r15
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], 0xf
lea r8d, [r15 + 0x1b]
lea rdx, str.C:_Chairs_tmp__s_laddon.exe
lea rcx, [rbp - 9]
call fcn.140004270
mov r8, rbx
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.140043d90
nop
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], r15
mov rsi, qword [rbp - 0x59]
lea r14, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae r14, qword [rbp - 0x69]
cmp rsi, 0x10
jae 0x140040226
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x49], xmm0
lea ebx, [r15 + 0xf]
jmp 0x14004029f
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14004027d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140040480
mov rcx, rax
call fcn.14007af98
mov rcx, rax
test rax, rax
je 0x140040276
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14004028c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140040289
call fcn.14007af98
jmp 0x14004028c
mov rax, r15
mov qword [rbp - 0x49], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], rbx
lea rcx, [rbp - 0x49]
call fcn.14003fb00
lea rcx, [rbp - 0x69]
call fcn.140003ae0
test al, al
jne 0x140040428
call fcn.1400405b0
mov rbx, rax
lea rax, [rbp - 0x49]
mov qword [rbp + 0x77], rax
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rdx, qword [rbp - 0x69]
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], 0xf
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400402f6
lea rcx, [rbp - 0x49]
call fcn.140004270
nop
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], 0xf
mov r8d, 0x65
lea rdx, str.https:__venom.nyc3.cdn.digitaloceanspaces.com_loaders_executable_1d0e7128_600a_4cb0_bd24_2cd796196c5b
lea rcx, [rbp + 0x17]
call fcn.140004270
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.140062f40
test al, al
jne 0x140040428
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rcx, qword [rbp - 0x69]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.Failed_to_download_loader_addon
call fcn.140005ff0
mov qword [rdi], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov qword [rdi + 0x10], r15
mov byte [rdi], 0
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x1400403c7
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400403c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400403c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007afd4
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14004040e
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040409
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040479
call fcn.14007afd4
mov rax, rdi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x59]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x14004040e
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040409
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040409
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140004190
int3