Function at 0x140042520
Capabilities:
Create directory
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rdi, rcx
xor r14d, r14d
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.140042b60
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
lea ecx, [r14 + 0x30]
call fcn.14007ca5c
mov rcx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0x2f
mov qword [rsp + 0x38], 0x2f
movups xmm0, xmmword [str.https:__access.chairfbi.com_loader_version_NoUi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400c7a00]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400c7a10]
movsd qword [rax + 0x20], xmm0
mov eax, dword [0x1400c7a18]
mov dword [rcx + 0x28], eax
movzx eax, word [0x1400c7a1c]
mov word [rcx + 0x2c], ax
movzx eax, byte [0x1400c7a1e]
mov byte [rcx + 0x2e], al
mov byte [rcx + 0x2f], r14b
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.140065c40
nop
lea rcx, [rbp + 7]
call fcn.140004bf0
cmp qword [rax + 0x18], 0xf
jbe 0x1400425f5
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x14004263c
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042637
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042637
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007ca98
lea rsi, [rbp - 0x39]
cmp qword [rbp - 0x21], 0xf
cmova rsi, qword [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.140004bf0
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140042660
mov rbx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r14
mov ecx, 0x20
call fcn.14007ca5c
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], 0x10
mov qword [rbp - 0x41], 0x1f
movups xmm0, xmmword [str._s_s_laddon.exe]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
mov r9, rsi
mov r8, rbx
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140045c50
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400426ed
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400426e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400426e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007ca98
movdqa xmm0, xmmword [0x1400c14a0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
lea r8, [rbp - 0x39]
cmp qword [rbp - 0x21], 0xf
cmova r8, qword [rbp - 0x39]
mov word [rsp + 0x2e], r14w
mov qword [rsp + 0x30], 0xd
mov qword [rsp + 0x38], 0xf
movsd xmm0, qword [str._s_laddon.exe]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x1400c7a40]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1400c7a44]
mov byte [rsp + 0x2c], al
mov byte [rsp + 0x2d], 0
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x19]
call fcn.140045c50
mov rcx, rax
call fcn.140041ce0
lea rcx, [rbp - 0x79]
call fcn.140004b60
test al, al
jne 0x1400429c9
call fcn.140042b60
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov ecx, 0x30
call fcn.14007ca5c
mov rdx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], 0x2b
mov qword [rsp + 0x38], 0x2f
movups xmm0, xmmword [str.https:__access.chairfbi.com_loader_url_NoUi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400c7a58]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400c7a68]
movsd qword [rax + 0x20], xmm0
movzx ecx, word [0x1400c7a70]
mov word [rax + 0x28], cx
movzx eax, byte [0x1400c7a72]
mov byte [rdx + 0x2a], al
mov byte [rdx + 0x2b], 0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.140065c40
nop
call fcn.140042b60
mov rbx, rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x77], rax
lea rdx, [rbp - 0x79]
cmp qword [rbp - 0x61], 0xf
cmova rdx, qword [rbp - 0x79]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x41], r14
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140042832
lea rcx, [rbp - 0x59]
call fcn.140002780
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.140003730
nop
lea r8, [rbp - 0x59]
mov rdx, rax
mov rcx, rbx
call fcn.140065600
test al, al
jne 0x14004298b
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x79]
cmp qword [rbp - 0x61], 0xf
cmova rcx, qword [rbp - 0x79]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.Failed_to_download_loader_addon
call fcn.140008960
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1400428e6
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400428e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400429bd
call fcn.14007ca98
movdqa xmm0, xmmword [0x1400c14a0]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x140042935
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042930
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042930
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007ca98
movdqa xmm0, xmmword [0x1400c14a0]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x79], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140042a27
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042a22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042a22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1400429c9
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400429c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400429c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007ca98
movups xmm0, xmmword [rbp - 0x79]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x69]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1400c14a0]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x79], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x140042a27
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042a22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042a22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007ca98
mov rax, rdi
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret