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

Disassembly:
push rbp
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0xc0]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov dword [rbp + 0x30], r8d
mov qword [rbp + 0x38], r9
lea rax, [rbp - 0x70]
mov rcx, rax
call fcn.14000a130
mov dword [rbp - 0x74], 0
mov dword [rbp - 0x78], 0
mov qword [rbp - 0x28], 0
mov dword [rbp - 4], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
lea rax, str.Hax0r_1337_1.0
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpOpen]
call rax
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0
je 0x140001636
mov eax, dword [rbp + 0x30]
movzx ecx, ax
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp - 0x30]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpConnect]
call rax
mov qword [rbp - 0x10], rax
jmp 0x140001650
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____Error_in_WinHttpConnect:__u_n
mov rcx, rax
call sym.printf_char_const__::_
cmp qword [rbp - 0x10], 0
je 0x14000169b
mov rdx, qword [rbp + 0x38]
mov rax, qword [rbp - 0x10]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
lea rdx, [0x14000c042]
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
call rax
mov qword [rbp - 0x18], rax
jmp 0x1400016b5
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____Error_in_WinHttpOpenRequest:__u_n
mov rcx, rax
call sym.printf_char_const__::_
cmp qword [rbp - 0x18], 0
je 0x1400016fb
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
call rax
mov dword [rbp - 4], eax
jmp 0x140001715
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____Error_in_WinHttpSendRequest:__u_n
mov rcx, rax
call sym.printf_char_const__::_
cmp dword [rbp - 4], 0
je 0x140001735
mov rax, qword [rbp - 0x18]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
call rax
mov dword [rbp - 4], eax
jmp 0x14000174f
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____Error_in_WinHttpReceiveResponse:__u_n
mov rcx, rax
call sym.printf_char_const__::_
cmp dword [rbp - 4], 0
je 0x140001894
mov dword [rbp - 0x74], 0
lea rdx, [rbp - 0x74]
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
call rax
test eax, eax
sete al
test al, al
je 0x140001797
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____Error__u_in_WinHttpQueryDataAvailable:__u_n
mov rcx, rax
call sym.printf_char_const__::_
mov eax, dword [rbp - 0x74]
add eax, 1
mov eax, eax
mov rcx, rax
call sym.operator_new___unsigned_long_long_
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
jne 0x1400017cd
lea rax, str.____Out_of_memory__n
mov rcx, rax
call sym.printf_char_const__::_
mov dword [rbp - 0x74], 0
jmp 0x140001889
mov eax, dword [rbp - 0x74]
add eax, 1
mov edx, eax
mov rax, qword [rbp - 0x28]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov ecx, dword [rbp - 0x74]
lea r8, [rbp - 0x78]
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
mov r9, r8
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpReadData]
call rax
test eax, eax
sete al
test al, al
je 0x14000182f
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____Error__u_in_WinHttpReadData._n
mov rcx, rax
call sym.printf_char_const__::_
jmp 0x140001876
mov eax, dword [rbp - 0x78]
mov edx, eax
mov rax, qword [rbp - 0x28]
lea rbx, [rdx + rax]
lea rax, [rbp - 0x70]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.end__
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x48]
lea rax, [rbp - 0x50]
mov rcx, rax
call method.__gnu_cxx::__normal_iterator_unsigned_char_const__std::vector_unsigned_char__std::allocator_unsigned_char_____.__normal_iterator_unsigned_char__void____gnu_cxx::__normal_iterator_unsigned_char__std::vector_unsigned_char__std::allocator_unsigned_
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x50]
lea rax, [rbp - 0x70]
mov r9, rbx
mov r8, rcx
mov rcx, rax
call method.__gnu_cxx::__normal_iterator_unsigned_char__std::vector_unsigned_char__std::allocator_unsigned_char______std::vector_unsigned_char__std::allocator_unsigned_char___.insert_char__void____gnu_cxx::__normal_iterator_unsigned_char_const__std::vector_
cmp qword [rbp - 0x28], 0
je 0x140001889
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.operator_delete___void_
mov eax, dword [rbp - 0x74]
test eax, eax
jne 0x140001759
lea rax, [rbp - 0x70]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.empty___const
movzx eax, al
cmp eax, 1
sete al
test al, al
je 0x1400018bc
lea rax, str.____Error_in_retrieving_the_Sh311c0de
mov rcx, rax
call sym.printf_char_const__::_
cmp dword [rbp - 4], 0
jne 0x1400018dc
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rax, str.____Error__d_has_occurred._n
mov rcx, rax
call sym.printf_char_const__::_
cmp qword [rbp - 0x18], 0
je 0x1400018f3
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
cmp qword [rbp - 0x10], 0
je 0x14000190a
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
cmp qword [rbp - 0x30], 0
je 0x140001921
mov rax, qword [rbp - 0x30]
mov rcx, rax
mov rax, qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call rax
lea rax, [rbp - 0x70]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov rcx, rax
call sym.malloc
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x1c], 0
jmp 0x140001974
mov eax, dword [rbp - 0x1c]
movsxd rdx, eax
lea rax, [rbp - 0x70]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.operator___unsigned_long_long_
movzx ecx, byte [rax]
mov eax, dword [rbp - 0x1c]
movsxd rdx, eax
mov rax, qword [rbp - 0x40]
add rax, rdx
mov edx, ecx
mov byte [rax], dl
add dword [rbp - 0x1c], 1
mov eax, dword [rbp - 0x1c]
movsxd rbx, eax
lea rax, [rbp - 0x70]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
cmp rbx, rax
setb al
test al, al
jne 0x14000194a
mov rax, qword [rbp + 0x20]
mov rdx, qword [rbp - 0x40]
mov qword [rax], rdx
mov rax, qword [rbp + 0x20]
mov rdx, qword [rbp - 0x38]
mov qword [rax + 8], rdx
nop
lea rax, [rbp - 0x70]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
jmp 0x1400019d0
mov rax, qword [rbp + 0x20]
add rsp, 0xc8
pop rbx
pop rbp
ret