Function at 0x140001070
Capabilities:
Check http status code
Connect to http server
Create http request
Delete file
Parse url
Send data
Send http request

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1428
call fcn.140009a60
sub rsp, rax
movdqa xmmword [rsp + 0x1410], xmm7
movaps xmmword [rsp + 0x1400], xmm6
mov rax, qword [0x14000f020]
xor rax, rsp
mov qword [rsp + 0x13f8], rax
mov eax, 0xf
movq xmm6, rax
pslldq xmm6, 8
movdqu xmmword [rsp + 0x130], xmm6
mov byte [rsp + 0x120], 0
movdqu xmmword [rsp + 0x110], xmm6
mov byte [rsp + 0x100], 0
mov esi, 1
cmp ecx, 3
je 0x14000114b
mov rax, qword [rsp + 0x138]
cmp rax, 0x10
jae 0x14000112b
mov rcx, qword [rsp + 0x13f8]
xor rcx, rsp
call fcn.140009ad0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x1400]
movaps xmm7, xmmword [rsp + 0x1410]
add rsp, 0x1428
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x120]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001706
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
jmp 0x1400010f5
mov rdi, rdx
mov rdx, qword [rdx + 8]
lea r15, [rsp + 0x120]
mov rcx, r15
call fcn.140003140
mov rdx, qword [rdi + 0x10]
lea rbx, [rsp + 0x100]
mov rcx, rbx
call fcn.140003140
movdqu xmmword [rsp + 0x1280], xmm6
mov byte [rsp + 0x1270], 0
lea rax, [0x14000a130]
mov qword [rsp + 0x1140], rax
lea r14, [rsp + 0x11f0]
mov rcx, r14
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::ios_base::constructor_void____ptr64]
lea rax, [0x14000a140]
mov qword [rsp + 0x11f0], rax
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea r13, [0x14000a138]
mov qword [rsp + rax + 0x1140], r13
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0xb0]
mov dword [rsp + rax + 0x113c], ecx
lea rdi, [rsp + 0x1150]
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea rcx, [0x14000a148]
mov qword [rsp + rax + 0x1140], rcx
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x18]
mov dword [rsp + rax + 0x113c], ecx
mov qword [rsp + 0x1148], 0
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea rcx, [rsp + rax]
add rcx, 0x1140
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::init_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
mov qword [rsp + rax + 0x1140], r13
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0xb0]
mov dword [rsp + rax + 0x113c], ecx
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, [0x14000a150]
mov qword [rsp + 0x1150], rax
mov byte [rsp + 0x11cc], 0
mov byte [rsp + 0x11c1], 0
lea rax, [rsp + 0x1158]
mov qword [rsp + 0x1168], rax
lea rax, [rsp + 0x1160]
mov qword [rsp + 0x1170], rax
lea rax, [rsp + 0x1178]
mov qword [rsp + 0x1188], rax
lea rax, [rsp + 0x1180]
mov qword [rsp + 0x1190], rax
lea rax, [rsp + 0x1198]
mov qword [rsp + 0x11a0], rax
lea rax, [rsp + 0x119c]
mov qword [rsp + 0x11a8], rax
mov qword [rsp + 0x1198], 0
mov qword [rsp + 0x11d0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x1158], xmm0
movups xmmword [rsp + 0x1178], xmm0
mov qword [rsp + 0x11c4], 0
mov qword [rsp + 0x11b8], 0
cmp qword [rsp + 0x118], 0xf
jbe 0x14000135d
mov rbx, qword [rsp + 0x100]
lea rcx, [rsp + 0x1140]
mov rdx, rbx
call fcn.140001e20
cmp qword [rsp + 0x11d0], 0
jne 0x1400013b1
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqa xmmword [rsp + 0xf0], xmm0
mov byte [rsp + 0xe0], 0
lea rdx, [0x14000cea2]
lea rcx, [rsp + 0xe0]
call fcn.140003140
jmp 0x1400014b8
lea rdi, [rsp + 0x1140]
lea rbx, [rsp + 0x140]
mov rbp, qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov rsi, qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::bad_void_const___ptr64]
lea r12, [rsp + 0x1270]
mov r15, qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::eof_void_const___ptr64]
mov r8d, 0x1000
mov rcx, rdi
mov rdx, rbx
call rbp
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea rcx, [rsp + rax]
add rcx, 0x1140
call rsi
test al, al
jne 0x14000147c
mov r8, qword [rsp + 0x1148]
mov rcx, r12
mov rdx, rbx
call section..text
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea rcx, [rsp + rax]
add rcx, 0x1140
call r15
test al, al
je 0x1400013de
movups xmm0, xmmword [rsp + 0x1270]
movups xmm1, xmmword [rsp + 0x1280]
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0xe0], xmm0
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x1280], xmm0
mov byte [rsp + 0x1270], 0
jmp 0x1400014b0
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqa xmmword [rsp + 0xf0], xmm0
mov byte [rsp + 0xe0], 0
lea rdx, [0x14000cea2]
lea rcx, [rsp + 0xe0]
call fcn.140003140
lea r15, [rsp + 0x120]
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
mov qword [rsp + rax + 0x1140], r13
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0xb0]
mov dword [rsp + rax + 0x113c], ecx
lea rcx, [rsp + 0x1150]
call fcn.140002bc0
mov rcx, r14
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::ios_base::destructor_void____ptr64]
mov rax, qword [rsp + 0x1288]
cmp rax, 0x10
jae 0x14000169a
cmp qword [rsp + 0xf0], 0
je 0x1400016c3
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x1180], xmm0
movdqa xmmword [rsp + 0x1170], xmm0
movdqa xmmword [rsp + 0x1160], xmm0
movdqa xmmword [rsp + 0x1150], xmm0
movdqa xmmword [rsp + 0x1140], xmm0
mov qword [rsp + 0x1190], 0
lea rax, str.1.2.11
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0x58
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 8
lea r14, [rsp + 0x1140]
mov rcx, r14
mov edx, 0xffffffff
mov r8d, 8
mov r9d, 0x1f
call fcn.140003ab0
test eax, eax
jne 0x1400016cd
lea rsi, [rsp + 0x140]
mov qword [rsp + 0x1150], rsi
mov dword [rsp + 0x1158], 0xfff
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x1148], eax
cmp qword [rsp + 0xf8], 0xf
jbe 0x1400015e4
mov rcx, qword [rsp + 0xe0]
jmp 0x1400015ec
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x1140], rcx
mov ecx, 0xf
movq xmm0, rcx
pslldq xmm0, 8
movdqu xmmword [rsp + 0x1280], xmm0
mov byte [rsp + 0x1270], 0
test eax, eax
je 0x140001752
lea rbx, [rsp + 0x1140]
lea rdi, [rsp + 0x1270]
nop dword [rax]
mov rcx, rbx
xor edx, edx
call fcn.140004560
cmp dword [rsp + 0x1158], 0
je 0x14000165e
mov ebp, eax
test ebp, ebp
jne 0x14000174e
mov eax, dword [rsp + 0x1148]
test eax, eax
jne 0x140001630
jmp 0x14000174e
mov r8d, 0xfff
mov rcx, rdi
mov rdx, rsi
call section..text
mov qword [rsp + 0x1150], rsi
mov dword [rsp + 0x1158], 0xfff
mov rcx, rbx
xor edx, edx
call fcn.140004560
mov ebp, eax
cmp dword [rsp + 0x1158], 0
jne 0x140001646
jmp 0x14000165e
mov rcx, qword [rsp + 0x1270]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x14000172a
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
cmp qword [rsp + 0xf0], 0
jne 0x14000151c
mov esi, 1
jmp 0x1400019f5
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
lea rdx, [0x14000cea2]
lea rcx, [rsp + 0xc0]
call fcn.140003140
jmp 0x1400017db
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001e15
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001144
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001e15
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x1400016af
test ebp, ebp
jne 0x140001778
lea rcx, [rsp + 0x1140]
mov edx, 4
call fcn.140004560
mov ebp, eax
mov eax, 0xfff
sub eax, dword [rsp + 0x1158]
jne 0x1400019b3
lea rcx, [rsp + 0x1140]
call fcn.140003db0
pxor xmm0, xmm0
movdqu xmmword [rsp + 0xd0], xmm0
cmp ebp, 1
jne 0x140001a7b
movups xmm0, xmmword [rsp + 0x1270]
movups xmm1, xmmword [rsp + 0x1280]
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x1280], xmm0
mov byte [rsp + 0x1270], 0
mov esi, 1
cmp qword [rsp + 0xd0], 0
je 0x1400019e7
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0x50], 0x68
lea rax, [rsp + 0x140]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], 0x100
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x70], 0x100
lea rax, [rsp + 0x1270]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], 0x100
mov edx, dword [rsp + 0x130]
cmp qword [rsp + 0x138], 0xf
jbe 0x14000188b
mov r15, qword [rsp + 0x120]
lea r9, [rsp + 0x50]
mov rcx, r15
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x1400019e7
mov dword [rsp + 0x20], 0
lea rcx, str.pingsender_1.0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenA]
test rax, rax
je 0x1400019e7
mov rdi, rax
mov dword [rsp + 0x4c], 0x7530
lea r8, [rsp + 0x4c]
mov rcx, rax
mov edx, 2
mov r9d, 4
call qword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
je 0x1400019de
movzx r8d, word [rsp + 0x74]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x1140]
mov rcx, rdi
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetConnectA]
test rax, rax
je 0x1400019de
mov rbx, rax
mov eax, 0x70747468
xor eax, dword [rsp + 0x140]
movzx ecx, word [rsp + 0x144]
xor ecx, 0x73
xor edx, edx
or ecx, eax
sete dl
shl edx, 0x17
or edx, 0x80000
pxor xmm6, xmm6
movdqu xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x38], 0
lea rdx, str.POST
lea r8, [rsp + 0x1270]
mov rcx, rbx
xor r9d, r9d
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
test rax, rax
jne 0x140001ae4
mov rbp, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call rbp
mov rcx, rdi
call rbp
jmp 0x1400019e7
mov r8d, eax
lea rcx, [rsp + 0x1270]
mov rdx, rsi
call section..text
mov qword [rsp + 0x1150], rsi
mov dword [rsp + 0x1158], 0xfff
jmp 0x14000174e
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rsp + 0xd8]
cmp rax, 0x10
jae 0x140001a58
mov rax, qword [rsp + 0xf8]
cmp rax, 0x10
jae 0x140001a38
mov rax, qword [rsp + 0x118]
cmp rax, 0x10
jb 0x1400010e7
mov rcx, qword [rsp + 0x100]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001d4d
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
jmp 0x1400010e7
mov rcx, qword [rsp + 0xe0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001d71
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
jmp 0x140001a03
mov rcx, qword [rsp + 0xc0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001d95
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
jmp 0x1400019f5
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
lea rdx, [0x14000cea2]
lea rcx, [rsp + 0xc0]
call fcn.140003140
mov rax, qword [rsp + 0x1288]
cmp rax, 0x10
jb 0x1400017db
mov rcx, qword [rsp + 0x1270]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001db5
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
jmp 0x1400017db
mov r14, rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xb8]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64]
lea r8, str.Date:__a___d__b__Y__H:_M:_S_GMT
lea r15, [rsp + 0x1370]
mov edx, 0x80
mov rcx, r15
mov r9, rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
mov eax, 0xf
movq xmm7, rax
pslldq xmm7, 8
movdqu xmmword [rsp + 0x1260], xmm7
mov byte [rsp + 0x1250], 0
lea rbp, [rsp + 0x1250]
mov rcx, rbp
mov rdx, r15
call fcn.140003140
lea rdx, [0x14000cea0]
mov r8d, 2
mov rcx, rbp
call section..text
movdqa xmmword [rsp + 0x1380], xmm6
movdqu xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x1380], xmm1
movdqa xmmword [rsp + 0x1370], xmm0
movdqu xmmword [rax + 0x10], xmm7
mov byte [rax], 0
mov rax, qword [rsp + 0x1268]
cmp rax, 0x10
jae 0x140001d07
lea rdx, str.X_PingSender_Version:_1.0
mov r8d, 0x19
mov rcx, r15
call section..text
lea rdx, [0x14000cea0]
mov r8d, 2
mov rcx, r15
call section..text
lea rdx, str.Content_Encoding:_gzip
mov r8d, 0x16
mov rcx, r15
call section..text
mov eax, dword [rsp + 0xd0]
cmp qword [rsp + 0xd8], 0xf
jbe 0x140001c0f
mov r9, qword [rsp + 0xc0]
cmp qword [rsp + 0x1388], 0xf
ja 0x140001c22
jmp 0x140001c2a
lea r9, [rsp + 0xc0]
cmp qword [rsp + 0x1388], 0xf
jbe 0x140001c2a
mov r15, qword [rsp + 0x1370]
mov dword [rsp + 0x20], eax
mov rcx, r14
mov rdx, r15
mov r8d, 0xffffffff
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x140001c9a
mov dword [rsp + 0x1250], 0
mov dword [rsp + 0xb8], 4
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x1250]
lea r9, [rsp + 0xb8]
mov rcx, r14
mov edx, 0x20000013
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
setne al
cmp dword [rsp + 0x1250], 0xc8
sete r15b
and r15b, al
jmp 0x140001c9d
xor r15d, r15d
mov rax, qword [rsp + 0x1388]
cmp rax, 0x10
jae 0x140001d2a
mov rbp, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call rbp
mov rcx, rbx
call rbp
mov rcx, rdi
call rbp
test r15b, r15b
je 0x1400019e7
cmp qword [rsp + 0x110], 0
je 0x140001d00
cmp qword [rsp + 0x118], 0xf
jbe 0x140001cea
mov rcx, qword [rsp + 0x100]
jmp 0x140001cf2
lea rcx, [rsp + 0x100]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
jne 0x1400019e7
xor esi, esi
jmp 0x1400019e7
mov rcx, qword [rsp + 0x1250]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001dd5
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
jmp 0x140001ba9
mov rcx, qword [rsp + 0x1370]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001df5
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
jmp 0x140001cab
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001e15
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001a2e
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001e15
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001a51
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001e15
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001a71
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001e15
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001ada
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001e15
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001d20
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140001e15
add rax, 0x28
mov rdx, rax
mov rcx, r8
jmp 0x140001d43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
ud2