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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14010a040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ebx, r8d
mov r14, rdx
mov r13, rcx
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xa8], rdx
xor r12d, r12d
movabs rax, 0xdf00e8a4c0068c24
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x40], rax
movabs rax, 0xbd502ff6c216f670
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x48], rax
movabs rax, 0x8017ef6fc766c6f7
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x50], rax
movabs rax, 0x92eb31154c6ef2fe
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x58], rax
movabs rax, 0x45bf5ff6c0d8d83b
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x60], rax
movabs rax, 0xf7b4f992bc7d72e7
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x68], rax
movabs rax, 0xbd091cd2160209fb
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x70], rax
movabs rax, 0x588beb1170ce627e
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x78], rax
movabs rax, 0x6a9b5beb8360695c
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x80], rax
movabs rcx, 0xc56266caa492c4e6
mov qword [rbp + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x88], rax
movabs r15, 0xdf69e8f3c0268c65
mov qword [rbp + 0xb0], r15
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe0], rax
movabs rsi, 0xbd042fa2c25ef61e
mov qword [rbp + 0xb0], rsi
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe8], rax
movabs rax, 0x807eef29c746c6a7
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf0], rax
movabs rax, 0x92cb31584c0bf288
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf8], rax
movabs rax, 0x45ca5f87c0bdd869
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x100], rax
movabs rax, 0xf794f9e6bc0e7282
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x108], rax
movabs rax, 0xbd6e1cbd167009ab
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x110], rax
movabs rax, 0x58a4eb7c70af620c
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x118], rax
movabs rax, 0x6a9b5bdb834e696d
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x120], rax
mov qword [rbp + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x128], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqa xmm0, xmmword [rbp + 0x80]
vxorps xmm0, xmm0, xmmword [rbp + 0x120]
vmovdqa xmmword [rbp + 0x80], xmm0
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x40]
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
test rax, rax
je 0x140091dc5
mov rdx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140091a54
mov rdx, qword [r14]
xor r9d, r9d
movzx r8d, bx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, rax
test rax, rax
je 0x140091dbc
movabs rax, 0xdf08e89fc0568c4a
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x20], rax
movabs rax, 0xbd772fd0c23bf667
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x28], rax
movabs rax, 0x8011ef5ac72cc689
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x30], rax
movabs rax, 0x92cb31584c0bf2e6
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0xb0], r15
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xb0], rsi
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc8], rax
movabs rax, 0x807eef29c746c6a7
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd0], rax
movabs rax, 0x92cb31584c0bf288
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqu ymmword [rbp + 0x20], ymm1
movabs rax, 0xdf69e8a7c0638c22
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp], rax
mov qword [rbp + 0xb0], rsi
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 8], rax
mov qword [rbp + 0xb0], r15
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xb0], rsi
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc8], rax
vmovdqa xmm0, xmmword [rbp]
vxorps xmm0, xmm0, xmmword [rbp + 0xc0]
vmovdqa xmmword [rbp], xmm0
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp]
mov rcx, rbx
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r15, rax
test rax, rax
je 0x140091da9
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140091da0
xor edx, edx
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140091da0
mov dword [rbp + 0xb0], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r12
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xd8], rdi
mov byte [rbp + 0xc0], 0
nop dword [rax]
mov dword [rbp + 0xa0], r12d
lea rdx, [rbp + 0xa0]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140091d35
mov ecx, dword [rbp + 0xa0]
inc ecx
call fcn.1400952e8
mov rsi, rax
mov r8d, dword [rbp + 0xa0]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0xb0]
mov r8d, dword [rbp + 0xa0]
mov rdx, rsi
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140091d2d
mov ebx, dword [rbp + 0xb0]
mov rcx, qword [rbp + 0xd0]
mov rax, rdi
sub rax, rcx
cmp rbx, rax
ja 0x140091d0f
lea rax, [rbx + rcx]
mov qword [rbp + 0xd0], rax
lea rax, [rbp + 0xc0]
cmp rdi, 0xf
cmova rax, qword [rbp + 0xc0]
lea rdi, [rax + rcx]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x140091d26
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.140012cd0
mov rdi, qword [rbp + 0xd8]
mov rcx, rsi
call fcn.140094c70
cmp dword [rbp + 0xa0], 0
ja 0x140091c60
movups xmm0, xmmword [rbp + 0xc0]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp + 0xd0]
movups xmmword [r13 + 0x10], xmm1
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x140091e92
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140091e8d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140091e8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movabs r15, 0xdf69e8f3c0268c65
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov qword [rbp + 0xb0], r15
mov rax, qword [rbp + 0xb0]
mov qword [rbp], rax
mov qword [rbp + 0xb0], rsi
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 8], rax
mov qword [rbp + 0xb0], r15
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xb0], rsi
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xc8], rax
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp], xmm0
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], r12
mov qword [r13 + 0x18], r12
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140091e40
lea rdx, [rbp]
mov rcx, r13
call fcn.140001970
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x140091e92
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140091e8d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140091ecf
mov rcx, r8
call fcn.140094c70
mov rax, r13
mov word [r14], r12w
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r12
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140094c50
mov rbx, qword [rsp + 0x208]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3