Function at 0x18000b980
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180045068]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
mov qword [rbp + 8], r15
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], r15b
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r15b
mov rdx, r8
lea rcx, [rsp + 0x48]
call fcn.180002680
lea r9, [rsp + 0x68]
lea r8, [rbp + 8]
mov rdx, rax
mov rcx, rsi
call fcn.18000c160
test al, al
jne 0x18000ba06
xor bl, bl
jmp 0x18000bd74
lea rbx, [rsi + 0x18]
mov rcx, rbx
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18000ba1a
mov rcx, qword [rbx]
mov rdi, qword [rbx + 0x10]
add rdi, rcx
cmp rdx, 0x10
jb 0x18000ba2a
mov rbx, qword [rbx]
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov rdx, rdi
sub rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.18000d870
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.18000abc0
nop
mov edx, r15d
mov eax, 4
cmp byte [rsi + 0xd0], dl
cmove edx, eax
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsi], rax
test rax, rax
jne 0x18000baa0
xor bl, bl
jmp 0x18000bd23
lea rdi, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rdi, qword [rbp + 8]
add rdi, qword [rbp + 0x18]
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rbx, qword [rbp + 8]
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
mov rdx, rdi
sub rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.18000d870
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.18000abc0
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
xor r9d, r9d
movzx r8d, word [rsi + 0x38]
mov rcx, qword [rsi]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsi + 0x10], rax
test rax, rax
jne 0x18000bb26
xor bl, bl
jmp 0x18000bcd2
mov edx, 0x1bb
mov eax, 0x800100
mov ecx, 0x100
cmp word [rsi + 0x38], dx
cmovne eax, ecx
mov dword [rsi + 0x40], eax
mov rcx, r14
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x18000bb4f
mov rcx, qword [r14]
mov rbx, qword [r14 + 0x10]
add rbx, rcx
cmp rdx, 0x10
jb 0x18000bb5f
mov r14, qword [r14]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov rdx, rbx
sub rdx, r14
lea rcx, [rbp - 0x78]
call fcn.18000d870
xor r9d, r9d
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.18000abc0
nop
lea rdi, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x78]
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rbx, qword [rsp + 0x68]
mov qword [rbp - 0x18], r15
mov qword [rbp - 8], r15
mov qword [rbp], 7
mov rdx, rdi
sub rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.18000d870
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.18000abc0
lea r8, [rbp - 0x18]
cmp qword [rbp], 8
cmovae r8, qword [rbp - 0x18]
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov eax, dword [rsi + 0x40]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsi + 8], rax
test rax, rax
setne bl
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x18000bc70
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bc6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000be25
call fcn.180010918
mov qword [rbp - 8], r15
mov qword [rbp], 7
mov word [rbp - 0x18], r15w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x18000bcc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bcbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000be2b
call fcn.180010918
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x18000bd12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bd0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000be31
call fcn.180010918
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x18000bd63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bd5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000be37
call fcn.180010918
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x18000bdb0
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bdab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000be3d
call fcn.180010918
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x18000bdf9
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bdf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000be1f
call fcn.180010918
movzx eax, bl
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1800110b0
mov rbx, qword [rsp + 0x168]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.180016e8c
nop
call fcn.180016e8c
nop
call fcn.180016e8c
nop
call fcn.180016e8c
nop
call fcn.180016e8c
nop
call fcn.180016e8c
int3