Function at 0x14007fb90
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1402d9040]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, r9
mov r14, r8
mov qword [rsp + 0x48], r8
mov r15, rdx
mov qword [rsp + 0x50], rdx
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], r9
mov r12, qword [rbp + 0xc0]
mov qword [rsp + 0x58], r12
mov qword [rbp - 0x18], r12
cmp byte [0x1402db990], 0
jne 0x14007fc29
lea rcx, [0x1402db730]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov dl, 1
mov ecx, 3
call fcn.1400f3960
lea rcx, [0x1402db730]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov byte [0x1402db990], 1
call fcn.14007e8d0
mov rsi, rax
test rax, rax
je 0x14007fedf
mov edx, 0x54
lea r8d, [rdx - 0x50]
mov rcx, rax
call sym.CheraxLoader.exe_curl_easy_setopt
mov r8, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14007fc58
mov r8, qword [r15]
mov edx, 0x2712
mov rcx, rsi
call sym.CheraxLoader.exe_curl_easy_setopt
mov edx, 0x34
lea r8d, [rdx - 0x33]
mov rcx, rsi
call sym.CheraxLoader.exe_curl_easy_setopt
lea r8, [0x1402db998]
cmp qword [0x1402db9b0], 0xf
cmova r8, qword [0x1402db998]
mov edx, 0x2722
mov rcx, rsi
call sym.CheraxLoader.exe_curl_easy_setopt
xor r8d, r8d
lea edx, [r8 + 0x2b]
mov rcx, rsi
call sym.CheraxLoader.exe_curl_easy_setopt
cmp byte [rdi + 0x40], 0
je 0x14007fcbf
mov r8, rdi
mov edx, 0x2749
mov rcx, rsi
call sym.CheraxLoader.exe_curl_easy_setopt
lea r8, [0x14007e840]
mov edx, 0x4efb
mov rcx, rsi
call sym.CheraxLoader.exe_curl_easy_setopt
mov rbx, qword [r12]
mov r13, qword [r12 + 8]
cmp rbx, r13
je 0x14007fe1f
xor r14d, r14d
lea rax, str.:_
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 6
mov qword [rsp + 0x30], 2
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movabs r15, 0xc000000000000000
movabs r12, 0xc000000000000010
nop dword [rax]
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.14005f5f0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x10]
call fcn.14005f5f0
nop
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rax, qword [rbp - 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x60], r15
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x58], r12
movdqa xmmword [rbp - 0x80], xmm7
movdqa xmmword [rbp - 0x70], xmm6
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.140064740
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov rcx, r14
call sym.CheraxLoader.exe_curl_slist_append
mov r14, rax
lea rcx, [rsp + 0x60]
call fcn.1400614c0
nop
lea rcx, [rbp + 0x10]
call fcn.1400614c0
lea rcx, [rbp - 0x10]
call fcn.1400614c0
add rbx, 0x40
cmp rbx, r13
jne 0x14007fd30
mov r8, r14
mov edx, 0x2727
mov rcx, rsi
call sym.CheraxLoader.exe_curl_easy_setopt
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14007fe2c
mov rcx, qword [r14]
lea rdx, [0x1402200f0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r13, rax
test rax, rax
je 0x14007fecb
lea r8, [0x14007e830]
mov edx, 0x4e2b
mov rcx, rsi
call sym.CheraxLoader.exe_curl_easy_setopt
mov r8, r13
mov edx, 0x2711
mov rcx, rsi
call sym.CheraxLoader.exe_curl_easy_setopt
mov rcx, rsi
call fcn.1400f3e90
mov ebx, eax
mov rdx, rsi
call fcn.14007ea10
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x14007fecb
mov rcx, r15
call fcn.1400614c0
nop
mov rcx, r14
call fcn.1400614c0
nop
cmp byte [rdi + 0x40], bl
je 0x14007febf
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14007febf
mov rax, qword [rcx]
cmp rcx, rdi
sete dl
xor dl, 1
call qword [rax + 0x20]
mov qword [rdi + 0x38], 0
mov rcx, r12
call fcn.14005d9f0
mov al, 1
jmp 0x14007ff21
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14007fed8
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rcx, r15
call fcn.1400614c0
nop
mov rcx, r14
call fcn.1400614c0
nop
cmp byte [rdi + 0x40], 0
je 0x14007ff17
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14007ff17
mov rax, qword [rcx]
cmp rcx, rdi
sete dl
xor dl, 1
call qword [rax + 0x20]
mov qword [rdi + 0x38], 0
mov rcx, r12
call fcn.14005d9f0
xor al, al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14016b380
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret