Function at 0x1400a20ec
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 [0x1404fa650]
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.1400eba18
nop
cmp qword [rbp + 0x27], 0
jbe 0x1400a2145
mov dword [rbx], 3
lea rcx, [rbx + 8]
lea rdx, [rbp + 0x17]
call fcn.14008c970
jmp 0x1400a2430
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 0x1400a21d4
call fcn.1400abd44
mov rsi, rax
cmp dword [rax], 3
jbe 0x1400a21b1
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, [0x140473186]
mov rcx, rsi
call fcn.140003c9c
and dword [rbx], 0
lea rcx, [rbx + 8]
lea rdx, [0x1403bbccc]
call fcn.1400d71b0
nop
lea rcx, [rbp - 0x41]
call fcn.1403561b8
nop
jmp 0x1400a2430
cmp dword [rbp - 0x41], 3
jne 0x1400a220b
mov dword [rbx], 2
lea rcx, [rbx + 8]
lea rdx, [0x1403bbccc]
mov rax, qword [rbp - 0x39]
test rax, rax
cmovne rdx, rax
call fcn.1400d71b0
nop
lea rcx, [rbp - 0x41]
call fcn.1403561b8
nop
jmp 0x1400a2430
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 0x1400a22ab
call fcn.1400abd44
mov rsi, rax
cmp dword [rax], 3
jbe 0x1400a227e
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, [0x140473186]
mov rcx, rsi
call fcn.140003c9c
and dword [rbx], 0
lea rcx, [rbx + 8]
lea rdx, [0x1403bbccc]
call fcn.1400d71b0
nop
lea rcx, [rbp - 0x51]
call fcn.140356174
nop
lea rcx, [rbp - 0x41]
call fcn.1403561b8
nop
jmp 0x1400a2430
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 0x1400a22de
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 0x1400a23c9
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x2f94
jne 0x1400a234a
mov dword [rbx], 1
lea rcx, [rbx + 8]
lea rdx, [0x1403bbccc]
call fcn.1400d71b0
nop
lea rcx, [rbp - 0x29]
call fcn.1403561b8
nop
lea rcx, [rbp - 0x51]
call fcn.140356174
nop
lea rcx, [rbp - 0x41]
call fcn.1403561b8
nop
jmp 0x1400a2430
call fcn.1400abd44
mov rsi, rax
cmp dword [rax], 3
jbe 0x1400a2395
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, [0x140473186]
mov rcx, rsi
call fcn.140003c9c
and dword [rbx], 0
lea rcx, [rbx + 8]
lea rdx, [0x1403bbccc]
call fcn.1400d71b0
nop
lea rcx, [rbp - 0x29]
call fcn.1403561b8
nop
lea rcx, [rbp - 0x51]
call fcn.140356174
nop
lea rcx, [rbp - 0x41]
call fcn.1403561b8
nop
jmp 0x1400a2430
lea rcx, [rbx + 8]
cmp dword [rbp - 0x29], 3
jne 0x1400a23ff
mov dword [rbx], esi
mov rdx, qword [rbp - 0x21]
call fcn.1400d71b0
nop
lea rcx, [rbp - 0x29]
call fcn.1403561b8
nop
lea rcx, [rbp - 0x51]
call fcn.140356174
nop
lea rcx, [rbp - 0x41]
call fcn.1403561b8
nop
jmp 0x1400a2430
mov dword [rbx], 1
lea rdx, [0x1403bbccc]
call fcn.1400d71b0
nop
lea rcx, [rbp - 0x29]
call fcn.1403561b8
nop
lea rcx, [rbp - 0x51]
call fcn.140356174
nop
lea rcx, [rbp - 0x41]
call fcn.1403561b8
nop
lea rcx, [rbp + 0x17]
call fcn.14007bc80
nop
mov rcx, rdi
call fcn.14007bc80
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140157600
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret