Function at 0x140040900
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rdi, rcx
xor esi, esi
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.140040da0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], 0xf
lea ecx, [rsi + 0x30]
call fcn.14007b82c
mov rcx, rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x39], 0x2e
mov qword [rbp - 0x31], 0x2f
movups xmm0, xmmword [str.https:__comun.chairfbi.com_loader_version_NoUi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400cd870]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400cd880]
movsd qword [rax + 0x20], xmm0
mov eax, dword [0x1400cd888]
mov dword [rcx + 0x28], eax
movzx eax, word [0x1400cd88c]
mov word [rcx + 0x2c], ax
mov byte [rcx + 0x2e], sil
lea r8, [rbp - 0x49]
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.140064510
nop
lea rbx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rbx, qword [rbp - 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rsi
mov qword [rbp - 9], 0xf
lea ecx, [rsi + 0x20]
call fcn.14007b82c
mov rdx, rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x11], 0x1b
mov qword [rbp - 9], 0x1f
movups xmm0, xmmword [str.C:_Chairs_tmp__s_laddon.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400cd8a0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400cd8a8]
mov word [rax + 0x18], cx
movzx eax, byte [0x1400cd8aa]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], sil
mov r8, rbx
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x69]
call fcn.1400442b0
nop
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0x1f]
call fcn.140002d70
mov rcx, rax
call fcn.140040160
lea rcx, [rbp - 0x69]
call fcn.140003d80
test al, al
jne 0x140040c1b
call fcn.140040da0
mov rbx, rax
lea rax, [rbp + 0x1f]
mov qword [rbp + 0x77], rax
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
cmova rdx, qword [rbp - 0x69]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x37], rsi
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140040a90
lea rcx, [rbp + 0x1f]
call fcn.140002540
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], 0xf
mov ecx, 0x70
call fcn.14007b82c
mov rcx, rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x39], 0x61
mov qword [rbp - 0x31], 0x6f
movaps xmm0, xmmword [str.https:__venom.nyc3.digitaloceanspaces.com_loaders_executable_1d0e7128_600a_4cb0_bd24_2cd796196c5b]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400cd8c0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400cd8d0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400cd8e0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x1400cd8f0]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x1400cd900]
movups xmmword [rax + 0x50], xmm1
movzx eax, byte [0x1400cd910]
mov byte [rcx + 0x60], al
mov byte [rcx + 0x61], 0
lea r8, [rbp + 0x1f]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140063f00
test al, al
jne 0x140040c1b
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
cmova 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.140005f50
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140040bbd
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040bb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040bb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b868
movdqa xmm0, xmmword [0x1400c7310]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140040c05
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040c00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040c6d
call fcn.14007b868
mov rax, rdi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
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
movdqa xmm0, xmmword [0x1400c7310]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140040c05
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040c00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140040c00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3