Function at 0x14008aaa4
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r15, r8
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.WinHTTP_proxy_resolver
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
lea rax, [fcn.14008aa90]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rsi
test rsi, rsi
je 0x14008acd2
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
lea rdi, [rbp - 0x38]
xor eax, eax
lea ecx, [rax + 0x20]
rep stosb byte [rdi], al
mov dword [rbp - 0x1c], 1
xor cl, cl
mov byte [rbp + 0x20], cl
cmp byte [r15 + 0x20], cl
je 0x14008ab48
mov rdx, r15
lea rcx, [rbp]
call fcn.14000edb4
mov cl, 1
mov byte [rbp + 0x20], cl
test cl, cl
je 0x14008ab67
mov dword [rbp - 0x38], 2
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
mov qword [rbp - 0x30], rax
jmp 0x14008ab75
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x34], 3
test cl, cl
je 0x14008ab82
lea rcx, [rbp]
call fcn.1400282fc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
lea rdi, [rbp - 0x18]
lea ecx, [rax + 0x18]
rep stosb byte [rdi], al
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x14008aba5
mov rdx, qword [r14]
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
jne 0x14008ac36
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x38]
mov qword [rbp], rax
lea rax, [0x14008b110]
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, [0x140234038]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r9, [rbp]
lea r8, [rsp + 0x50]
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14001f854
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.14001fa60
mov rdx, rax
mov rcx, rbx
call fcn.14001f5a4
nop
mov rcx, rsi
call fcn.14008aa90
nop
jmp 0x14008ad39
mov rdx, qword [rbp - 0x10]
test rdx, rdx
jne 0x14008acb1
mov byte [rsp + 0x30], dl
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rax, [0x14008b140]
mov qword [rsp + 0x58], rax
mov dword [rbp], 0x16
lea rax, [0x140234038]
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r9, [rsp + 0x50]
lea r8, [rbp]
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14001f854
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.14001fa60
mov rdx, rax
mov rcx, rbx
call fcn.14001f5a4
nop
mov rcx, rsi
call fcn.14008aa90
nop
jmp 0x14008ad39
lea rcx, [rbp]
call fcn.14001e81c
lea rdx, [rbp]
mov rcx, rbx
call fcn.140078214
nop
mov rcx, rsi
call fcn.14008aa90
nop
jmp 0x14008ad39
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rax, [0x14008afd0]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
lea rax, [0x140234038]
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp], xmm0
lea r9, [rsp + 0x50]
lea r8, [rbp]
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14001f854
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.14001fa60
mov rdx, rax
mov rcx, rbx
call fcn.14001f5a4
nop
mov rax, rbx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401d2140
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret