Function at 0x14000f660
Capabilities:
Delete file
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1400a6700]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rsi, rcx
xor r13d, r13d
lea rdx, [rbp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x14000f6d0
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140017d10
nop
mov r8d, recv
lea rdx, [0x1400959a8]
lea rcx, [rsp + 0x40]
call fcn.140014640
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000f773
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f76e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f76e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080a74
movdqa xmm0, xmmword [0x140096e90]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r13w
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x18]
lea r10, [rdx + rax*2]
lea rdx, [rbp + 8]
cmova rdx, qword [rbp + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
cmp rdx, r10
jne 0x14000f7cd
movdqa xmm0, xmmword [0x140096ea0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
jmp 0x14000f7e3
mov r9, r10
sub r9, rdx
sar r9, 1
mov r8, r10
lea rcx, [rbp - 0x18]
call fcn.14001a270
nop
lea rcx, [rbp + 8]
call fcn.14000df10
mov ecx, 3
call fcn.1400258e0
call fcn.140025680
mov rdi, rax
test rax, rax
je 0x14000fb7d
lea rdx, str.Content_Type:_multipart_form_data
xor ecx, ecx
call fcn.140025a40
mov r15, rax
mov rcx, rdi
call fcn.140024570
mov r14, rax
mov rcx, rax
call fcn.140024040
mov r12, rax
lea rdx, str.payload_json
mov rcx, rax
call fcn.140024600
nop
mov byte [rbp - 0x28], 0
mov qword [rbp - 0x20], r13
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400160e0
mov byte [rsp + 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140080720
mov rbx, rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rbx
mov rdx, rsi
mov rcx, rbx
call fcn.140014840
nop
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 7
lea rdx, str.content
lea rcx, [rsp + 0x40]
call fcn.14000e1b0
lea rax, [rsp + 0x40]
mov qword [rbp + 0x28], rax
movzx ecx, byte [rbp - 0x28]
test cl, cl
jne 0x14000f8f1
mov byte [rbp - 0x28], 1
call fcn.140019040
mov qword [rbp - 0x20], rax
movzx ecx, byte [rbp - 0x28]
jmp 0x14000f8f5
mov rax, qword [rbp - 0x20]
cmp cl, 1
jne 0x14000fc45
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14001ca90
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000f955
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f950
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000f950
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080a74
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
movzx ecx, byte [rbx + 0x40]
movzx eax, byte [rsp + 0x30]
mov byte [rbx + 0x40], al
mov byte [rsp + 0x30], cl
mov rax, qword [rbx + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rbx + 0x48], rcx
mov qword [rsp + 0x38], rax
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400160e0
nop
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.140013a20
nop
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rdx, qword [rbp + 0x38]
mov r8, 0xffffffffffffffff
mov rcx, r12
call fcn.140024100
mov rcx, r14
call fcn.140024040
mov rbx, rax
lea rdx, str.file
mov rcx, rax
call fcn.140024600
lea rdx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rdx, qword [rbp - 0x18]
mov rcx, rbx
call fcn.140024250
lea rcx, [rsp + 0x40]
call fcn.140004610
cmp qword [rax + 0x18], 0xf
jbe 0x14000fa09
mov rax, qword [rax]
mov r8, rax
mov edx, 0x2712
mov rcx, rdi
call fcn.140029c30
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000fa59
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fa54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fa54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080a74
mov edx, Ordinal_50
lea r8d, [rdx - 0x2e]
mov rcx, rdi
call fcn.140029c30
mov r8, r14
mov edx, 0x281d
mov rcx, rdi
call fcn.140029c30
mov r8, r15
mov edx, 0x2727
mov rcx, rdi
call fcn.140029c30
lea r8, [0x14000f650]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.140029c30
xor r8d, r8d
lea edx, [r8 + 0x29]
mov rcx, rdi
call fcn.140029c30
mov rcx, rdi
call fcn.1400256f0
mov esi, eax
test eax, eax
je 0x14000faf3
lea rdx, str.curl_easy_perform___failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400170d0
mov rbx, rax
mov ecx, esi
call fcn.1400264d0
mov rdx, rax
mov rcx, rbx
call fcn.1400170d0
lea rdx, [0x1400172a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r14
call fcn.140024490
mov rcx, r15
call fcn.140025ae0
mov rcx, rdi
call fcn.140025650
lea rcx, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14000fb5e
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fb59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fb59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080a74
movdqa xmm0, xmmword [0x140096ea0]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
movzx edx, byte [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.1400160e0
nop
call fcn.140025880
nop
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14000fbc1
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fbbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fbbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080a74
movdqa xmm0, xmmword [0x140096ea0]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x14000fc15
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fc10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fc10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080a74
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140080700
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x28]
call fcn.140019790
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14001aec0
nop
mov r8, rax
lea rcx, [rsp + 0x78]
call fcn.14001af80
lea rdx, [0x1400a2618]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
int3