Function at 0x1400a1e7c
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x49], rcx
mov qword [rbp + 0xf], rdx
lea rcx, [rbp + 0x17]
call fcn.1400e5f78
nop
cmp qword [rbp + 0x27], 0
jbe 0x1400a1ed5
mov dword [rbx], 3
lea rcx, [rbx + 8]
lea rdx, [rbp + 0x17]
call fcn.14008cc50
jmp 0x1400a21c0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x41]
call qword [sym.imp.WINHTTP.dll_WinHttpGetDefaultProxyConfiguration]
nop dword [rax + rax]
test eax, eax
jne 0x1400a1f64
call fcn.1400abad4
mov rsi, rax
cmp dword [rax], 3
jbe 0x1400a1f41
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x59], eax
lea rax, str.WinHttpGetDefaultProxyConfiguration_failed
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x51]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140475a5b]
mov rcx, rsi
call fcn.140003c9c
and dword [rbx], 0
lea rcx, [rbx + 8]
lea rdx, [0x1403bdebc]
call fcn.1400d16f0
nop
lea rcx, [rbp - 0x41]
call fcn.140358728
nop
jmp 0x1400a21c0
cmp dword [rbp - 0x41], 3
jne 0x1400a1f9b
mov dword [rbx], 2
lea rcx, [rbx + 8]
lea rdx, [0x1403bdebc]
mov rax, qword [rbp - 0x39]
test rax, rax
cmovne rdx, rax
call fcn.1400d16f0
nop
lea rcx, [rbp - 0x41]
call fcn.140358728
nop
jmp 0x1400a21c0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea esi, [r9 + 4]
mov edx, esi
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
nop dword [rax + rax]
mov qword [rbp - 0x51], rax
test rax, rax
jne 0x1400a203b
call fcn.1400abad4
mov rsi, rax
cmp dword [rax], 3
jbe 0x1400a200e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x59], eax
lea rax, str.WinHttpOpen_failed
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140475a5b]
mov rcx, rsi
call fcn.140003c9c
and dword [rbx], 0
lea rcx, [rbx + 8]
lea rdx, [0x1403bdebc]
call fcn.1400d16f0
nop
lea rcx, [rbp - 0x51]
call fcn.1403586e4
nop
lea rcx, [rbp - 0x41]
call fcn.140358728
nop
jmp 0x1400a21c0
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rcx
mov dword [rbp - 0x11], 0x20001
mov dword [rbp - 0xd], 3
movdqu xmmword [rbp - 9], xmm0
and dword [rbp + 7], ecx
and dword [rbp + 0xb], ecx
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400a206e
mov rdx, qword [rdi]
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x11]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
nop dword [rax + rax]
test eax, eax
jne 0x1400a2159
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x2f94
jne 0x1400a20da
mov dword [rbx], 1
lea rcx, [rbx + 8]
lea rdx, [0x1403bdebc]
call fcn.1400d16f0
nop
lea rcx, [rbp - 0x29]
call fcn.140358728
nop
lea rcx, [rbp - 0x51]
call fcn.1403586e4
nop
lea rcx, [rbp - 0x41]
call fcn.140358728
nop
jmp 0x1400a21c0
call fcn.1400abad4
mov rsi, rax
cmp dword [rax], 3
jbe 0x1400a2125
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x59], eax
lea rax, str.WinHttpGetProxyForUrl_failed
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140475a5b]
mov rcx, rsi
call fcn.140003c9c
and dword [rbx], 0
lea rcx, [rbx + 8]
lea rdx, [0x1403bdebc]
call fcn.1400d16f0
nop
lea rcx, [rbp - 0x29]
call fcn.140358728
nop
lea rcx, [rbp - 0x51]
call fcn.1403586e4
nop
lea rcx, [rbp - 0x41]
call fcn.140358728
nop
jmp 0x1400a21c0
lea rcx, [rbx + 8]
cmp dword [rbp - 0x29], 3
jne 0x1400a218f
mov dword [rbx], esi
mov rdx, qword [rbp - 0x21]
call fcn.1400d16f0
nop
lea rcx, [rbp - 0x29]
call fcn.140358728
nop
lea rcx, [rbp - 0x51]
call fcn.1403586e4
nop
lea rcx, [rbp - 0x41]
call fcn.140358728
nop
jmp 0x1400a21c0
mov dword [rbx], 1
lea rdx, [0x1403bdebc]
call fcn.1400d16f0
nop
lea rcx, [rbp - 0x29]
call fcn.140358728
nop
lea rcx, [rbp - 0x51]
call fcn.1403586e4
nop
lea rcx, [rbp - 0x41]
call fcn.140358728
nop
lea rcx, [rbp + 0x17]
call fcn.14007bf60
nop
mov rcx, rdi
call fcn.14007bf60
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140156340
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret