Function at 0x1800b4d90
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 [0x180356880]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ebx, r8d
mov r12, rdx
mov r15, rcx
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xa8], rdx
xor r13d, r13d
movabs rax, 0x5726e8b59041ca5a
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x40], rax
movabs rax, 0xed64deb5eb05ffa
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x48], rax
movabs rax, 0xa39b2daa1633badd
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x50], rax
movabs rax, 0x914fed2401ddef40
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x58], rax
movabs rax, 0x4ebca6a775a1b23d
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x60], rax
movabs rax, 0x23c4bba7956c794d
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x68], rax
movabs rax, 0x7f080e3f2f33c3d1
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x70], rax
movabs rax, 0x8b25e640125ced08
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x78], rax
movabs rax, 0x9d167deacc753932
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x80], rax
movabs rcx, 0x6bfbfb570ef5a59c
mov qword [rbp + 0xb0], rcx
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x88], rax
movabs r14, 0x574fe8e29061ca1b
mov qword [rbp + 0xb0], r14
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe0], rax
movabs rsi, 0xe824dbf5ef85f94
mov qword [rbp + 0xb0], rsi
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xe8], rax
movabs rax, 0xa3f22dec1613ba8d
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf0], rax
movabs rax, 0x916fed6901b8ef36
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xf8], rax
movabs rax, 0x4ec9a6d675c4b26f
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x100], rax
movabs rax, 0x23e4bbd3951f7928
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x108], rax
movabs rax, 0x7f6f0e502f41c381
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x110], rax
movabs rax, 0x8b0ae62d123ded7a
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x118], rax
movabs rax, 0x9d167ddacc5b3903
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], r13d
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 0x1800b53de
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x1800b5096
mov rdx, qword [r12]
xor r9d, r9d
movzx r8d, bx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbx, rax
test rax, rax
je 0x1800b53d5
movabs rax, 0x572ee88e9011ca34
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x20], rax
movabs rax, 0xef14dcd5e9d5fed
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x28], rax
movabs rax, 0xa39d2d9f1679baa3
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x30], rax
movabs rax, 0x916fed6901b8ef58
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0xb0], r14
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, 0xa3f22dec1613ba8d
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xd0], rax
movabs rax, 0x916fed6901b8ef36
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, 0x574fe8b69024ca5c
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], r14
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], r13d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rbp + 0x20]
lea rdx, [rbp]
mov rcx, rbx
vzeroupper
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
je 0x1800b53cc
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, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1800b53c3
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1800b53c3
mov dword [rbp + 0xb0], r13d
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r13
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xd8], rdi
mov byte [rbp + 0xc0], 0
nop
mov dword [rbp + 0xa0], r13d
lea rdx, [rbp + 0xa0]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1800b5378
mov ecx, dword [rbp + 0xa0]
inc ecx
call fcn.18011c1c0
mov rsi, rax
mov r8d, dword [rbp + 0xa0]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.180152940
lea r9, [rbp + 0xb0]
mov r8d, dword [rbp + 0xa0]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1800b5370
mov ebx, dword [rbp + 0xb0]
mov rcx, qword [rbp + 0xd0]
mov rax, rdi
sub rax, rcx
cmp rbx, rax
ja 0x1800b534f
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 fcn.1801522a0
mov byte [rbx + rdi], 0
jmp 0x1800b5369
mov qword [rsp + 0x20], rbx
mov r9, rsi
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0xc0]
call fcn.1800043e0
mov rdi, qword [rbp + 0xd8]
mov rcx, rsi
call fcn.18011bcfc
cmp dword [rbp + 0xa0], 0
ja 0x1800b52a0
movups xmm0, xmmword [rbp + 0xc0]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp + 0xd0]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], 0
lea rcx, [rbp + 0xc0]
call fcn.180003490
jmp 0x1800b5409
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r8 + r13], 0
jne 0x1800b53f4
xor edx, edx
mov rcx, r15
call fcn.1800040e0
nop
mov rcx, r12
call fcn.180035890
mov rax, r15
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.18011b930
mov rbx, qword [rsp + 0x208]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret