Function at 0x1801001b0
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, r8
mov qword [rsp + 0x38], rdx
mov r13, rcx
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x30], r15d
xor dil, dil
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x180058fa0]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r12, rax
test rax, rax
je 0x1801004d6
lea esi, [r15 + 0xf]
cmp qword [rbx + 0x10], r14
jne 0x18010026a
mov rdx, qword [0x1802972e8]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x40], dil
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], dil
jne 0x180100246
lea rcx, [rsp + 0x40]
call fcn.180099770
nop
mov r14d, 1
mov dword [rsp + 0x30], r14d
lea rbx, [rsp + 0x40]
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov r15, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180100280
mov rbx, qword [rbx]
cmp r15, 0x10
jae 0x180100293
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x80], xmm0
mov rdi, qword [rbp - 0x80]
jmp 0x180100308
mov rsi, r15
or rsi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1801002e4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18010050a
mov rcx, rax
call fcn.1801e60b0
test rax, rax
je 0x180100510
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1801002f5
test rcx, rcx
je 0x1801002f3
call fcn.1801e60b0
mov rdi, rax
jmp 0x1801002f5
xor edi, edi
mov qword [rbp - 0x80], rdi
lea r8, [r15 + 1]
mov rdx, rbx
mov rcx, rdi
call fcn.18020b760
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x70], r15
test r14b, 1
je 0x180100358
and r14d, 0xfffffffe
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180100358
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180100352
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180100516
call fcn.1801e60f0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x60]
call fcn.18020be10
mov edx, 1
lea rcx, [rbp - 0x60]
call fcn.1800fec20
nop
lea rdx, [rbp - 0x80]
cmp rsi, 0x10
cmovae rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1800fe380
nop
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], bx
or r14d, 8
mov dword [rsp + 0x30], r14d
mov rcx, qword [rbp + 0x28]
test cl, 2
jne 0x1801003d6
mov rax, qword [rbp - 8]
mov r8, qword [rax]
test r8, r8
je 0x1801003d6
mov rax, qword [rbp - 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x20]
cmovb r8, qword [rbp + 0x20]
sub r8, rdx
jmp 0x1801003fe
test cl, 4
jne 0x18010040c
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x18010040c
mov rax, qword [rbp - 0x30]
mov rdx, qword [rax]
mov rax, qword [rbp + 8]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x60]
call fcn.1800dcbe0
nop
lea rcx, [rbp - 0x60]
call fcn.1800ff530
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x38]
mov r8, r13
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
setne dil
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18010048b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180100485
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18010051c
call fcn.1801e60f0
nop
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], bx
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1801004d6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801004d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180100504
call fcn.1801e60f0
nop
movzx eax, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1801e67e0
mov rbx, qword [rsp + 0x208]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18010f960
nop
call fcn.180099270
int3
call fcn.18010f960
nop
call fcn.18010f960
nop
call fcn.18010f960
int3