Function at 0x1400734a0
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 - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14025d030]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, r9
mov rsi, r8
mov qword [rsp + 0x48], r8
mov r15, rdx
mov qword [rsp + 0x50], rdx
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov r12, qword [rbp + 0xd0]
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x10], r12
cmp byte [0x14025f1b8], 0
jne 0x140073538
lea rcx, [0x14025efe8]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov dl, 1
mov ecx, 3
call fcn.1400d1d10
lea rcx, [0x14025efe8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov byte [0x14025f1b8], 1
call sym.CheraxLoader.exe_curl_easy_init
mov r14, rax
test rax, rax
je 0x1400737d3
mov r8, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140073556
mov r8, qword [r15]
mov edx, 0x2712
mov rcx, r14
call sym.CheraxLoader.exe_curl_easy_setopt
lea r8, [0x14025f1c0]
cmp qword [0x14025f1d8], 0x10
cmovae r8, qword [0x14025f1c0]
mov edx, 0x2722
mov rcx, r14
call sym.CheraxLoader.exe_curl_easy_setopt
xor r8d, r8d
lea edx, [r8 + 0x2b]
mov rcx, r14
call sym.CheraxLoader.exe_curl_easy_setopt
cmp byte [rdi + 0x40], 0
je 0x1400735ac
mov r8, rdi
mov edx, 0x2749
mov rcx, r14
call sym.CheraxLoader.exe_curl_easy_setopt
lea r8, [0x140072e60]
mov edx, 0x4efb
mov rcx, r14
call sym.CheraxLoader.exe_curl_easy_setopt
mov rbx, qword [r12]
mov r13, qword [r12 + 8]
cmp rbx, r13
je 0x14007370e
xor esi, esi
mov qword [rsp + 0x20], 2
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, str.:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 6
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]
call fcn.140055ce0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140055ce0
nop
lea rax, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rax, qword [rbp]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x60], r15
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rax, qword [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x58], r12
movdqa xmmword [rbp - 0x80], xmm6
movdqa xmmword [rbp - 0x70], xmm7
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.14005a870
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov rcx, rsi
call sym.CheraxLoader.exe_curl_slist_append
mov rsi, rax
lea rcx, [rsp + 0x58]
call fcn.140057660
nop
lea rcx, [rbp + 0x20]
call fcn.140057660
lea rcx, [rbp]
call fcn.140057660
add rbx, 0x40
cmp rbx, r13
jne 0x140073620
mov r8, rsi
mov edx, 0x2727
mov rcx, r14
call sym.CheraxLoader.exe_curl_easy_setopt
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
mov r12, qword [rbp - 0x30]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14007371b
mov rcx, qword [rsi]
lea rdx, [0x1401eead8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov r13, rax
test rax, rax
je 0x1400737bf
lea r8, [0x140072e50]
mov edx, 0x4e2b
mov rcx, r14
call sym.CheraxLoader.exe_curl_easy_setopt
mov r8, r13
mov edx, 0x2711
mov rcx, r14
call sym.CheraxLoader.exe_curl_easy_setopt
mov rcx, r14
call fcn.1400d2160
mov ebx, eax
mov qword [rbp - 0x30], r14
lea rcx, [rbp - 0x30]
call fcn.1400e9e20
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x1400737bf
mov rcx, r15
call fcn.140057660
nop
mov rcx, rsi
call fcn.140057660
nop
cmp byte [rdi + 0x40], bl
je 0x1400737b3
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400737b3
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.1400542a0
mov al, 1
jmp 0x140073815
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400737cc
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rcx, r15
call fcn.140057660
nop
mov rcx, rsi
call fcn.140057660
nop
cmp byte [rdi + 0x40], 0
je 0x14007380b
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14007380b
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.1400542a0
xor al, al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14013ea20
lea r11, [rsp + 0x170]
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