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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1800fc040]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
movabs rax, 0x28257effe0d45348
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x118], rax
movabs rax, 0xb67d6639c40c7c15
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x110], rax
movabs rax, 0xb609d1ed014c8eba
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x108], rax
movabs rsi, 0x135e018c5c20dfe0
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x100], rax
movabs r15, 0x284c7e93e0a45309
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x78], rax
movabs rbx, 0xb617665ac46d7c7e
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x70], rax
movabs r12, 0xb609d1ed014c8edb
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x68], rax
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x48]
mov qword [r11 - 0x60], rax
vmovdqu ymm0, ymmword [rsp + 0x90]
vpxor ymm1, ymm0, ymmword [r11 - 0x78]
vmovdqu ymmword [rsp + 0x90], ymm1
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [r11 - 0x118]
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r13, rax
test rax, rax
jne 0x18000c95b
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x18000c940
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180003970
jmp 0x18000d184
movabs rax, 0x28627efae0d45368
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rax
movabs rax, 0xb6716633c41d7c17
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb8], rax
movabs rax, 0xb67bd18201628ea2
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rax
movabs rax, 0x135e018c5c20df87
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x48], r12
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x48], rsi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x168], rax
vmovdqu ymm0, ymmword [rsp + 0xb0]
vpxor ymm1, ymm0, ymmword [rsp + 0x150]
vmovdqu ymmword [rsp + 0xb0], ymm1
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, [rsp + 0xb0]
mov rcx, r13
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x18000caf0
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], r15
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x18000cad5
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180003970
jmp 0x18000d184
movabs rax, 0x284c7e93e0a45326
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x118], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rsp + 0x110]
movdqa xmmword [rsp + 0x60], xmm0
movabs rax, 0x284c7ec7e0e1534e
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x128], rax
movdqa xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rsp + 0x120]
movdqa xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r12, rax
test rax, rax
jne 0x18000cc81
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x18000cc66
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180003970
jmp 0x18000d184
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov rcx, r12
test eax, eax
jne 0x18000cd4f
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x18000cd34
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180003970
jmp 0x18000d184
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x18000ce0b
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x18000cdf0
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180003970
jmp 0x18000d184
mov dword [rsp + 0xd4], r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov rbx, r14
mov qword [rsp + 0xe8], rbx
mov r15d, 0xf
mov qword [rsp + 0xf0], r15
mov byte [rsp + 0xd8], bl
nop
mov dword [rsp + 0xd0], r14d
lea rdx, [rsp + 0xd0]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x18000d085
mov ecx, dword [rsp + 0xd0]
inc ecx
call fcn.18001ea08
mov r14, rax
mov r8d, dword [rsp + 0xd0]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0xd4]
mov r8d, dword [rsp + 0xd0]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x18000cf70
mov esi, dword [rsp + 0xd4]
mov rax, r15
sub rax, rbx
cmp rsi, rax
ja 0x18000cef5
lea rax, [rbx + rsi]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0xd8]
cmp r15, 0xf
cmova rax, qword [rsp + 0xd8]
add rbx, rax
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x18000cf0d
mov qword [rsp + 0x20], rsi
mov r9, r14
mov rdx, rsi
lea rcx, [rsp + 0xd8]
call fcn.180014a30
mov rcx, r14
call fcn.18001e3b0
cmp dword [rsp + 0xd0], 0
jbe 0x18000cf37
mov r15, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
xor r14d, r14d
jmp 0x18000ce40
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movups xmm0, xmmword [rsp + 0xd8]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0xe8]
movups xmmword [rdi + 0x10], xmm1
jmp 0x18000d184
mov rcx, r14
call fcn.18001e3b0
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movabs rdx, 0x284c7e93e0a45309
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rcx, 0xb617665ac46d7c7e
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18000d020
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180003970
nop
mov rdx, qword [rsp + 0xf0]
cmp rdx, 0xf
jbe 0x18000d184
inc rdx
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d17f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d17f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movabs rdx, 0x284c7e93e0a45309
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movabs rcx, 0xb617665ac46d7c7e
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rdx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x108], rax
movdqa xmm0, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18000d126
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180003970
nop
mov rdx, qword [rsp + 0xf0]
cmp rdx, 0xf
jbe 0x18000d184
inc rdx
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d17f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d17f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001e3b0
mov rax, rdi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.18001e390
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret