Function at 0x180100290
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 0x1801005b6
lea esi, [r15 + 0xf]
cmp qword [rbx + 0x10], r14
jne 0x18010034a
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 0x180100326
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 0x180100360
mov rbx, qword [rbx]
cmp r15, 0x10
jae 0x180100373
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x80], xmm0
mov rdi, qword [rbp - 0x80]
jmp 0x1801003e8
mov rsi, r15
or rsi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1801003c4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1801005ea
mov rcx, rax
call fcn.1801e6190
test rax, rax
je 0x1801005f0
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1801003d5
test rcx, rcx
je 0x1801003d3
call fcn.1801e6190
mov rdi, rax
jmp 0x1801003d5
xor edi, edi
mov qword [rbp - 0x80], rdi
lea r8, [r15 + 1]
mov rdx, rbx
mov rcx, rdi
call fcn.18020b840
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x70], r15
test r14b, 1
je 0x180100438
and r14d, 0xfffffffe
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180100438
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180100432
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801005f6
call fcn.1801e61d0
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x60]
call fcn.18020bef0
mov edx, 1
lea rcx, [rbp - 0x60]
call fcn.1800fed00
nop
lea rdx, [rbp - 0x80]
cmp rsi, 0x10
cmovae rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1800fe460
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 0x1801004b6
mov rax, qword [rbp - 8]
mov r8, qword [rax]
test r8, r8
je 0x1801004b6
mov rax, qword [rbp - 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x20]
cmovb r8, qword [rbp + 0x20]
sub r8, rdx
jmp 0x1801004de
test cl, 4
jne 0x1801004ec
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x1801004ec
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.1800dccc0
nop
lea rcx, [rbp - 0x60]
call fcn.1800ff610
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 0x18010056b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180100565
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801005fc
call fcn.1801e61d0
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 0x1801005b6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801005b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801005e4
call fcn.1801e61d0
nop
movzx eax, dil
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1801e68c0
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.18010fa40
nop
call fcn.180099270
int3
call fcn.18010fa40
nop
call fcn.18010fa40
nop
call fcn.18010fa40
int3