Function at 0x140001000
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, 0x13f8
call fcn.14000ab70
sub rsp, rax
mov rax, qword [0x140011020]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x130], xmm0
mov byte [rsp + 0x120], 0
movdqu xmmword [rsp + 0x110], xmm0
mov byte [rsp + 0x100], 0
mov esi, 1
cmp ecx, 3
jne 0x1400014a1
mov rdi, rdx
mov rsi, qword [rdx + 8]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rbx, rax
cmp rax, 0xf
jbe 0x140001656
lea rcx, [rsp + 0x120]
mov rdx, rbx
mov r8, rsi
call fcn.140003040
mov rbx, qword [rsp + 0x118]
mov rsi, qword [rdi + 0x10]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdi, rax
cmp rbx, rax
jae 0x140001683
lea rcx, [rsp + 0x100]
mov rdx, rdi
mov r8, rsi
call fcn.140003040
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x1280], xmm0
mov byte [rsp + 0x1270], 0
lea rax, [0x14000c208]
mov qword [rsp + 0x1140], rax
lea rcx, [rsp + 0x11f0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::ios_base::constructor_void____ptr64]
lea rax, [0x14000c188]
mov qword [rsp + 0x11f0], rax
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea rdi, [0x14000c180]
mov qword [rsp + rax + 0x1140], rdi
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0xb0]
mov dword [rsp + rax + 0x113c], ecx
lea rsi, [rsp + 0x1150]
lea rcx, [rsp + 0x1140]
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_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], rdi
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0xb0]
mov dword [rsp + rax + 0x113c], ecx
mov rcx, rsi
call fcn.140001e70
cmp qword [rsp + 0x118], 0xf
jbe 0x140001649
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x1140]
call fcn.140001de0
cmp qword [rsp + 0x11d0], 0
je 0x140001302
lea r14, [rsp + 0x1140]
lea rdi, [rsp + 0x140]
mov r15, 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 r13, qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::eof_void_const___ptr64]
mov r8d, 0x1000
mov rcx, r14
mov rdx, rdi
call r15
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea rcx, [rsp + rax]
add rcx, 0x1140
call rsi
test al, al
jne 0x140001302
mov r9, qword [rsp + 0x1148]
mov rcx, qword [rsp + 0x1280]
mov rax, qword [rsp + 0x1288]
mov rdx, rax
sub rdx, rcx
cmp rdx, r9
jb 0x140001290
lea rbx, [rcx + r9]
mov qword [rsp + 0x1280], rbx
mov rbp, r12
cmp rax, 0xf
jbe 0x140001270
mov rbp, qword [rsp + 0x1270]
add rcx, rbp
mov rdx, rdi
mov r8, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx], 0
jmp 0x14000129e
mov rcx, r12
mov rdx, r9
mov r8, rdi
call fcn.140003160
mov rax, qword [rsp + 0x1140]
movsxd rax, dword [rax + 4]
lea rcx, [rsp + rax]
add rcx, 0x1140
call r13
test al, al
je 0x140001200
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 0x140001322
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqa xmmword [rsp + 0xf0], xmm0
mov byte [rsp + 0xe0], 0
lea rcx, [rsp + 0x1140]
call fcn.140001e20
mov rax, qword [rsp + 0x1288]
cmp rax, 0x10
jb 0x14000135b
mov rcx, qword [rsp + 0x1270]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x1400016de
call fcn.140009e20
cmp qword [rsp + 0xf0], 0
je 0x140001444
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 rcx, [rsp + 0x1140]
mov edx, 0xffffffff
mov r8d, 8
mov r9d, 0x1f
call fcn.140003a90
test eax, eax
je 0x1400014f3
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
mov esi, 1
mov rax, qword [rsp + 0xd8]
cmp rax, 0x10
jb 0x140001449
mov rcx, qword [rsp + 0xc0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001757
call fcn.140009e20
jmp 0x140001449
mov esi, 1
mov rax, qword [rsp + 0xf8]
cmp rax, 0x10
jb 0x140001475
mov rcx, qword [rsp + 0xe0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001702
call fcn.140009e20
mov rax, qword [rsp + 0x118]
cmp rax, 0x10
jb 0x1400014a1
mov rcx, qword [rsp + 0x100]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001726
call fcn.140009e20
mov rax, qword [rsp + 0x138]
cmp rax, 0x10
jb 0x1400014cd
mov rcx, qword [rsp + 0x120]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001693
call fcn.140009e20
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.14000abe0
mov eax, esi
add rsp, 0x13f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x140]
mov qword [rsp + 0x1150], r14
mov dword [rsp + 0x1158], 0xfff
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x1148], eax
cmp qword [rsp + 0xf8], 0xf
jbe 0x14000174a
mov rcx, qword [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 0x140001783
lea rbx, [rsp + 0x1140]
lea rbp, [rsp + 0x1270]
jmp 0x140001593
mov qword [rsp + 0x1150], r14
mov dword [rsp + 0x1158], 0xfff
mov rcx, rbx
xor edx, edx
call fcn.140004580
cmp dword [rsp + 0x1158], 0
jne 0x14000162b
mov rsi, qword [rsp + 0x1280]
mov rax, qword [rsp + 0x1288]
mov rcx, rax
sub rcx, rsi
cmp rcx, 0xfff
jb 0x140001610
lea rcx, [rsi + 0xfff]
mov qword [rsp + 0x1280], rcx
mov rdi, rbp
cmp rax, 0xf
jbe 0x1400015ea
mov rdi, qword [rsp + 0x1270]
lea rcx, [rdi + rsi]
mov r8d, 0xfff
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi + 0xfff], 0
jmp 0x140001580
mov edx, 0xfff
mov r9d, 0xfff
mov rcx, rbp
mov r8, r14
call fcn.140003160
jmp 0x140001580
mov esi, eax
test eax, eax
jne 0x14000177b
mov eax, dword [rsp + 0x1148]
test eax, eax
jne 0x140001593
jmp 0x14000177b
lea rdx, [rsp + 0x100]
jmp 0x1400011b7
mov qword [rsp + 0x130], rbx
lea rcx, [rsp + 0x120]
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x120], 0
mov ebx, 0xf
jmp 0x1400010a1
cmp rbx, 0xf
jbe 0x1400016b7
mov rbx, qword [rsp + 0x100]
jmp 0x1400016bf
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001dd3
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x1400014c8
lea rbx, [rsp + 0x100]
mov qword [rsp + 0x110], rdi
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400010cc
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001dd3
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001356
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001dd3
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001470
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001dd3
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x14000149c
lea rcx, [rsp + 0xe0]
jmp 0x140001533
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001dd3
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x14000143d
test esi, esi
jne 0x140001834
lea rcx, [rsp + 0x1140]
mov edx, 4
call fcn.140004580
mov esi, eax
mov eax, 0xfff
sub eax, dword [rsp + 0x1158]
je 0x140001834
mov r9d, eax
mov rcx, qword [rsp + 0x1280]
mov rax, qword [rsp + 0x1288]
mov rdx, rax
sub rdx, rcx
cmp rdx, r9
jb 0x1400017e3
lea rdi, [rcx + r9]
mov qword [rsp + 0x1280], rdi
cmp rax, 0xf
jbe 0x1400017fd
mov rbx, qword [rsp + 0x1270]
jmp 0x140001805
lea rcx, [rsp + 0x1270]
lea r8, [rsp + 0x140]
mov rdx, r9
call fcn.140003160
jmp 0x14000181c
lea rbx, [rsp + 0x1270]
add rcx, rbx
lea rdx, [rsp + 0x140]
mov r8, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
mov qword [rsp + 0x1150], r14
mov dword [rsp + 0x1158], 0xfff
jmp 0x14000177b
lea rbx, [rsp + 0x1140]
mov rcx, rbx
call fcn.140003f80
cmp esi, 1
jne 0x14000188b
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
jmp 0x1400018d7
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0xd0], xmm0
mov byte [rsp + 0xc0], 0
mov rax, qword [rsp + 0x1288]
cmp rax, 0xf
jbe 0x1400018d7
mov rcx, qword [rsp + 0x1270]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001d19
call fcn.140009e20
cmp qword [rsp + 0xd0], 0
mov esi, 1
je 0x140001416
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
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], 0x100
mov qword [rsp + 0x68], rbx
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 0x140001d0c
mov rcx, qword [rsp + 0x120]
lea r9, [rsp + 0x50]
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x140001416
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 0x140001416
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 0x140001c65
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 0x140001c65
mov r15, 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 xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x38], 0
lea rdx, str.POST
lea r8, [rsp + 0x1270]
mov rcx, r15
xor r9d, r9d
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
test rax, rax
je 0x140001c73
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 rbx, [rsp + 0x1370]
mov edx, 0x80
mov rcx, rbx
mov r9, rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0x1260], xmm0
mov byte [rsp + 0x1250], 0
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rbx, rax
cmp rax, 0xf
jbe 0x140001d59
lea rcx, [rsp + 0x1250]
lea r8, [rsp + 0x1370]
mov rdx, rbx
call fcn.140003040
lea rdx, [0x14000f0d4]
lea rcx, [rsp + 0x1250]
call fcn.1400032f0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x1380], xmm1
movaps xmmword [rsp + 0x1370], xmm0
mov ecx, 0xf
movq xmm0, rcx
pslldq xmm0, 8
movdqu xmmword [rax + 0x10], xmm0
mov byte [rax], 0
mov rax, qword [rsp + 0x1268]
cmp rax, 0x10
jb 0x140001b91
mov rcx, qword [rsp + 0x1250]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001d93
call fcn.140009e20
lea rdx, str.X_PingSender_Version:_1.0
lea rbx, [rsp + 0x1370]
mov rcx, rbx
call fcn.1400032f0
lea rdx, [0x14000f0d4]
mov rcx, rbx
call fcn.1400032f0
lea rdx, str.Content_Encoding:_gzip
mov rcx, rbx
call fcn.1400032f0
mov eax, dword [rsp + 0xd0]
cmp qword [rsp + 0xd8], 0xf
jbe 0x140001d3d
mov r9, qword [rsp + 0xc0]
cmp qword [rsp + 0x1388], 0xf
jbe 0x140001bf7
mov rbx, qword [rsp + 0x1370]
mov dword [rsp + 0x20], eax
mov rcx, r14
mov rdx, rbx
mov r8d, 0xffffffff
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x140001c89
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 bl
and bl, al
jmp 0x140001c8b
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001416
mov rbx, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call rbx
mov rcx, rdi
call rbx
jmp 0x140001416
xor ebx, ebx
mov rax, qword [rsp + 0x1388]
cmp rax, 0x10
jb 0x140001cb7
mov rcx, qword [rsp + 0x1370]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jae 0x140001db3
call fcn.140009e20
mov rbp, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call rbp
mov rcx, r15
call rbp
mov rcx, rdi
call rbp
test bl, bl
je 0x140001416
cmp qword [rsp + 0x110], 0
je 0x140001d05
cmp qword [rsp + 0x118], 0xf
jbe 0x140001d86
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
jne 0x140001416
xor esi, esi
jmp 0x140001416
lea rcx, [rsp + 0x120]
jmp 0x140001983
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001dd3
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x1400018d2
lea r9, [rsp + 0xc0]
cmp qword [rsp + 0x1388], 0xf
ja 0x140001bef
jmp 0x140001bf7
mov qword [rsp + 0x1260], rbx
lea rcx, [rsp + 0x1250]
lea rdx, [rsp + 0x1370]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x1250], 0
jmp 0x140001b23
lea rcx, [rsp + 0x100]
jmp 0x140001cf7
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001dd3
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001b8c
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140001dd3
add rax, 0x28
mov rdx, rax
mov rcx, rbp
jmp 0x140001cb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
ud2