Function at 0x180036a70
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1800b3040]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800a9dd0]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180036d52
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.pastebin.com
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbp, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x180036d49
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str._raw_HR8Crt7C
lea rdx, [0x1800a9e18]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
je 0x180036d40
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x180036d37
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x180036d37
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], 0xf
mov byte [rsp + 0x78], bl
nop dword [rax + rax]
mov dword [rsp + 0x70], ebx
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x180036bf3
lea ecx, [rax + 1]
call fcn.18003dacc
mov rdi, rax
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x180036be4
mov ecx, dword [rsp + 0x74]
mov byte [rcx + rdi], 0
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.18003a3b0
mov rcx, rdi
call fcn.18003d440
cmp dword [rsp + 0x70], 0
ja 0x180036b90
lea rcx, [rsp + 0x50]
call fcn.180036640
mov rdi, rax
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180036c0e
mov rdi, qword [rax]
lea r15, [rsp + 0x78]
mov rbp, qword [rsp + 0x78]
mov r13, qword [rsp + 0x90]
cmp r13, 0xf
cmova r15, rbp
mov rcx, qword [rsp + 0x88]
cmp r14, rcx
ja 0x180036c90
test r14, r14
je 0x180036c97
mov r12, r15
sub r12, r14
add r12, rcx
movsx edx, byte [rdi]
lea r8, [r12 + 1]
sub r8, r15
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180036c90
nop
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180036cd2
inc rbx
lea r8, [r12 + 1]
sub r8, rbx
movsx edx, byte [rdi]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180036c60
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180036ce9
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036cd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036cd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, r15
jmp 0x180036c97
call fcn.18003d440
mov r13, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x78]
cmp rbx, 0xffffffffffffffff
je 0x180036d83
cmp r13, 0xf
jbe 0x180036d2d
lea rdx, [r13 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x180036d25
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036d25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.18003d440
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18003d350
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.180036070
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3