Function at 0x1400202f0
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 [0x1400c8718]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, r9
mov qword [rsp + 0x50], r9
mov r13, r8
mov qword [rsp + 0x78], r8
mov rbx, rdx
xor r12d, r12d
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
mov word [rbp + 0x70], r12w
mov r8, rdx
mov edx, 0x80
lea rcx, [rbp + 0x70]
call fcn.140021d20
mov qword [rbp + 0x60], rax
test rax, rax
jne 0x14002036d
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140021bb0
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 r15, rax
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140020973
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 0x1400207fd
mov rbx, qword [rbp - 0x70]
mov rdi, rbx
mov qword [rbp - 0x48], rbx
mov rsi, qword [rbp - 0x68]
mov qword [rbp - 0x40], rsi
mov rax, qword [rbp - 0x78]
mov r14, rax
mov qword [rbp - 0x38], rax
cmp dword [rbp - 0x80], 0
je 0x1400204f5
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 3
mov dword [rsp + 0x74], 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 + 0x58]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x1400204ed
mov r13, qword [rsp + 0x38]
mov qword [rsp + 0x50], r13
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rbx
test r13, r13
je 0x1400204c7
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov byte [rbp - 0x20], 0
mov r8, r13
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140021dc0
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140020487
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.140021c60
mov qword [rbp - 0x28], rax
jmp 0x14002048b
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
mov r12, 0xffffffffffffffff
nop dword [rax]
inc r12
cmp byte [rdx + r12], 0
jne 0x1400204a0
mov r8, r12
mov rcx, qword [rsp + 0x78]
call fcn.140004f50
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400204c7
call fcn.140021e70
nop
test rbx, rbx
je 0x1400204d6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test r13, r13
je 0x140020797
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140020797
mov rbx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x14002069c
mov qword [rsp + 0x58], 2
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x74], 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 + 0x58]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x140020698
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x60], rax
mov r13, qword [rsp + 0x40]
mov rbx, r13
mov qword [rbp - 0x58], rbx
mov r12, 0xffffffffffffffff
test rax, rax
je 0x1400205f9
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.140021dc0
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x1400205b8
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x48]
call fcn.140021c60
mov qword [rbp - 0x28], rax
jmp 0x1400205bc
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
mov r8, r12
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400205d0
mov rcx, qword [rsp + 0x78]
call fcn.140004f50
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400205f4
call fcn.140021e70
nop
mov r13, qword [rsp + 0x40]
test r13, r13
je 0x14002066d
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x20], al
mov r8, r13
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140021dc0
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140020637
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.140021c60
mov qword [rbp - 0x28], rax
jmp 0x14002063b
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
inc r12
cmp byte [rdx + r12], 0
jne 0x140020646
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140004f50
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14002066d
call fcn.140021e70
nop
test rbx, rbx
je 0x14002067c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140020797
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140020797
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1400207ce
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov byte [rbp - 0x20], 0
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140021dc0
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x1400206dd
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140021c60
mov qword [rbp - 0x28], rax
jmp 0x1400206e1
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
mov r12, 0xffffffffffffffff
mov r8, r12
inc r8
cmp byte [rdx + r8], 0
jne 0x1400206f6
mov rcx, r13
call fcn.140004f50
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140020718
call fcn.140021e70
nop
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x140020797
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.140021dc0
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x14002075a
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.140021c60
mov qword [rbp - 0x28], rax
jmp 0x14002075e
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
nop dword [rax]
inc r12
cmp byte [rdx + r12], 0
jne 0x140020770
mov r8, r12
mov rcx, qword [rsp + 0x50]
call fcn.140004f50
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140020797
call fcn.140021e70
nop
test r14, r14
je 0x1400207a6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rsi, rsi
je 0x1400207b5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rdi, rdi
je 0x140020952
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov bl, 1
jmp 0x140020975
test r14, r14
je 0x1400207dd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rsi, rsi
je 0x1400207ec
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rdi, rdi
je 0x140020973
mov rcx, rdi
jmp 0x14002096d
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 0x140020973
mov rsi, qword [rsp + 0x38]
mov qword [rbp - 0x58], rsi
mov rdi, qword [rsp + 0x40]
mov rbx, rdi
mov qword [rbp - 0x60], rbx
cmp dword [rsp + 0x30], 1
je 0x140020956
mov r12, 0xffffffffffffffff
test rsi, rsi
je 0x1400208bd
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x20], al
mov r8, rsi
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140021dc0
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x140020884
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140021c60
mov qword [rbp - 0x28], rax
jmp 0x140020888
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
mov r8, r12
inc r8
cmp byte [rdx + r8], 0
jne 0x140020896
mov rcx, r13
call fcn.140004f50
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400208b8
call fcn.140021e70
nop
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140020935
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov byte [rbp - 0x20], al
mov r8, rdi
mov edx, 0x80
lea rcx, [rbp - 0x20]
call fcn.140021dc0
mov qword [rbp - 0x30], rax
test rax, rax
jne 0x1400208fb
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140021c60
mov qword [rbp - 0x28], rax
jmp 0x1400208ff
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
test rax, rax
cmovne rdx, rax
nop word [rax + rax]
inc r12
cmp byte [rdx + r12], 0
jne 0x140020910
mov r8, r12
mov rcx, r14
call fcn.140004f50
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140020935
call fcn.140021e70
nop
test rbx, rbx
je 0x140020944
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rsi, rsi
je 0x140020952
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov bl, 1
jmp 0x140020975
test rdi, rdi
je 0x140020965
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
test rsi, rsi
je 0x140020973
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor bl, bl
test r15, r15
je 0x140020984
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140020993
call fcn.140021e70
nop
movzx eax, bl
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14006b1a0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret