Function at 0x14001f070
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400c5518]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, r9
mov qword [rsp + 0x58], r9
mov rdi, r8
mov qword [rsp + 0x48], r8
mov rbx, rdx
xor r13d, r13d
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r13
mov word [rbp + 0x70], r13w
mov r8, rdx
mov edx, 0x80
lea rcx, [rbp + 0x70]
call fcn.1400209d0
mov qword [rbp + 0x60], rax
test rax, rax
jne 0x14001f0ed
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140020860
mov qword [rbp + 0x68], rax
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r12, rax
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14001f6d8
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x14001f560
mov rbx, qword [rbp - 0x70]
mov rsi, rbx
mov qword [rbp - 0x48], rbx
mov r14, qword [rbp - 0x68]
mov qword [rbp - 0x40], r14
mov rax, qword [rbp - 0x78]
mov r15, rax
mov qword [rbp - 0x38], rax
cmp dword [rbp - 0x80], 0
je 0x14001f263
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], r13d
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x64], 3
mov dword [rsp + 0x7c], 1
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x68]
test rax, rax
cmovne rdx, rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x14001f25b
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rbx
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x50], rdi
test rbx, rbx
je 0x14001f247
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov byte [rbp - 0x20], 0
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140020a70
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14001f207
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140020910
mov qword [rbp - 0x28], rax
jmp 0x14001f20b
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
mov r13, 0xffffffffffffffff
nop dword [rax]
inc r13
cmp byte [rdx + r13], 0
jne 0x14001f220
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140004a10
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001f247
call fcn.140020b20
nop
test rdi, rdi
je 0x14001f256
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
jmp 0x14001f3e9
mov rbx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x14001f404
mov qword [rsp + 0x60], 2
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x7c], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x68]
test rax, rax
cmovne rdx, rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x60]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x14001f400
mov rbx, qword [rsp + 0x38]
mov qword [rbp - 0x60], rbx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rdi, rax
mov qword [rbp - 0x58], rax
mov r13, 0xffffffffffffffff
test rbx, rbx
je 0x14001f364
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x20], al
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140020a70
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14001f324
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140020910
mov qword [rbp - 0x28], rax
jmp 0x14001f328
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
mov r8, r13
inc r8
cmp byte [rdx + r8], 0
jne 0x14001f336
mov rcx, qword [rsp + 0x48]
call fcn.140004a10
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001f35a
call fcn.140020b20
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001f3da
xor ecx, ecx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rcx
mov byte [rbp - 0x20], cl
mov r8, rax
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140020a70
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14001f3a4
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.140020910
mov qword [rbp - 0x28], rax
jmp 0x14001f3a8
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
inc r13
cmp byte [rdx + r13], 0
jne 0x14001f3b3
mov r8, r13
mov rcx, qword [rsp + 0x58]
call fcn.140004a10
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001f3da
call fcn.140020b20
nop
test rdi, rdi
je 0x14001f3e9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rbx, rbx
je 0x14001f4fa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14001f4fa
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14001f531
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
mov byte [rbp - 0x20], 0
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140020a70
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14001f445
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140020910
mov qword [rbp - 0x28], rax
jmp 0x14001f449
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
mov r13, 0xffffffffffffffff
mov r8, r13
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14001f460
mov rcx, rdi
call fcn.140004a10
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001f482
call fcn.140020b20
nop
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x14001f4fa
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x20], al
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140020a70
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14001f4c4
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140020910
mov qword [rbp - 0x28], rax
jmp 0x14001f4c8
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
inc r13
cmp byte [rdx + r13], 0
jne 0x14001f4d3
mov r8, r13
mov rcx, qword [rsp + 0x58]
call fcn.140004a10
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001f4fa
call fcn.140020b20
nop
test r15, r15
je 0x14001f509
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test r14, r14
je 0x14001f518
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rsi, rsi
je 0x14001f6b7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov bl, 1
jmp 0x14001f6da
test r15, r15
je 0x14001f540
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test r14, r14
je 0x14001f54f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rsi, rsi
je 0x14001f6d8
mov rcx, rsi
jmp 0x14001f6d2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.WINHTTP.dll_WinHttpGetDefaultProxyConfiguration]
test eax, eax
je 0x14001f6d8
mov rbx, qword [rsp + 0x38]
mov qword [rbp - 0x58], rbx
mov rsi, qword [rsp + 0x40]
mov rdi, rsi
mov qword [rbp - 0x60], rsi
cmp dword [rsp + 0x30], 1
je 0x14001f6bb
mov r13, 0xffffffffffffffff
xor r15d, r15d
test rbx, rbx
je 0x14001f629
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov byte [rbp - 0x20], r15b
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140020a70
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14001f5e9
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140020910
mov qword [rbp - 0x28], rax
jmp 0x14001f5ed
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
mov r8, r13
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14001f600
mov rcx, qword [rsp + 0x48]
call fcn.140004a10
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001f624
call fcn.140020b20
nop
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x14001f69a
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov byte [rbp - 0x20], 0
mov r8, rsi
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140020a70
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14001f666
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140020910
mov qword [rbp - 0x28], rax
jmp 0x14001f66a
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
inc r13
cmp byte [rdx + r13], 0
jne 0x14001f675
mov r8, r13
mov rcx, r14
call fcn.140004a10
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001f69a
call fcn.140020b20
nop
test rdi, rdi
je 0x14001f6a9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rbx, rbx
je 0x14001f6b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov bl, 1
jmp 0x14001f6da
test rdi, rdi
je 0x14001f6ca
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rbx, rbx
je 0x14001f6d8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor bl, bl
test r12, r12
je 0x14001f6e9
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x14001f6f8
call fcn.140020b20
nop
movzx eax, bl
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140067810
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret