Function at 0x14014a1e0
Capabilities:
Initialize winhttp library

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, r8
mov r15, rdx
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov rcx, qword [r8 + 8]
xor r12d, r12d
test rcx, rcx
je 0x14014a245
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 8], r12
lea rsi, [rbx + 0x10]
mov rcx, qword [rsi]
test rcx, rcx
je 0x14014a25a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsi], r12
lea rdi, [rbx + 0x18]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14014a26f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rdi], r12
movzx edx, byte [0x1402f310b]
lea rcx, [rbp - 1]
call fcn.14020b510
nop
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
lea rcx, [rbp + 7]
call fcn.14020bb00
cmp byte [rbp + 0x17], 0
je 0x14014a324
cmp byte [rbp + 7], 1
jne 0x14014a3c2
xor eax, eax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 1]
call fcn.14020b880
cmp dword [rbp - 0x61], 0
je 0x14014a3c2
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x61]
call fcn.14002d520
nop
cmp qword [rax + 0x18], 0x10
jb 0x14014a2e5
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_impersonate_logged_on_user:__hs
mov qword [rsp + 0x20], rax
mov r9d, 0x1de
lea r8, str.XMLUpdater::v2::CUpdater::fill_proxy_data_for_specific_url
lea rdx, str.xmlUpdater.cpp
mov ecx, 1
call fcn.1401fc9c0
nop
lea rcx, [rsp + 0x38]
call fcn.14002dfa0
jmp 0x14014a3c2
lea rdx, [rbp - 0x61]
lea rcx, [rbp + 7]
call fcn.14002d520
nop
cmp qword [rax + 0x18], 0x10
jb 0x14014a33c
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, str.Unable_to_determine_if_process_is_running_as_a_service:__hs
mov qword [rsp + 0x20], rax
mov r9d, 0x1e3
lea r8, str.XMLUpdater::v2::CUpdater::fill_proxy_data_for_specific_url
lea rdx, str.xmlUpdater.cpp
mov ecx, 1
call fcn.1401fc9c0
nop
mov rax, qword [rbp - 0x49]
cmp rax, 0x10
jb 0x14014a3c2
inc rax
mov rcx, qword [rbp - 0x61]
cmp rax, 0x1000
jb 0x14014a3bd
test cl, 0x1f
je 0x14014a390
call fcn.14029051c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14014a39f
call fcn.14029051c
int3
sub rcx, rax
cmp rcx, 8
jae 0x14014a3ae
call fcn.14029051c
int3
cmp rcx, 0x27
jbe 0x14014a3ba
call fcn.14029051c
int3
mov rcx, rax
call fcn.14026d850
lea rcx, [rbp - 0x21]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x14014a523
mov rdx, qword [rbp - 0x11]
test rdx, rdx
je 0x14014a406
mov rcx, rsi
call fcn.140149b60
test al, al
je 0x14014a523
mov rdx, qword [rbp - 9]
mov rcx, rdi
call fcn.140149b60
test al, al
jne 0x14014a51f
jmp 0x14014a523
mov rax, qword [rbp - 0x19]
cmp dword [rbp - 0x21], 0
jne 0x14014a419
test rax, rax
je 0x14014a51f
xor ecx, ecx
mov qword [rbp - 0x5d], rcx
mov qword [rbp - 0x55], rcx
mov qword [rbp - 0x4d], rcx
mov dword [rbp - 0x45], ecx
test rax, rax
je 0x14014a43c
mov dword [rbp - 0x61], 2
mov qword [rbp - 0x59], rax
jmp 0x14014a44a
mov dword [rbp - 0x61], 1
mov dword [rbp - 0x5d], 3
mov dword [rbp - 0x45], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.Temp
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
test rax, rax
je 0x14014a523
lea r13, vtable.XMLUpdater::v2::auto_proxy_info.0
mov qword [rbp - 0x41], r13
mov dword [rbp - 0x39], 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
lea r9, [rbp - 0x39]
lea r8, [rbp - 0x61]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
jne 0x14014a4db
mov qword [rbp - 0x41], r13
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14014a4ca
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbp - 0x31], r12
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14014a523
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14014a523
cmp dword [rbp - 0x39], 3
jne 0x14014a4f9
mov rdx, qword [rbp - 0x31]
mov rcx, rsi
call fcn.140149b60
mov rdx, qword [rbp - 0x29]
mov rcx, rdi
call fcn.140149b60
mov qword [rbp - 0x41], r13
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14014a510
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbp - 0x31], r12
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14014a51f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov bl, 1
jmp 0x14014a525
xor bl, bl
lea rcx, [rbp - 1]
call fcn.14020b520
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14014a542
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbp - 0x19], r12
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14014a555
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbp - 0x11], r12
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14014a564
call qword [sym.imp.KERNEL32.dll_GlobalFree]
movzx eax, bl
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14026d870
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret