Function at 0x14008a754
Capabilities:
Initialize winhttp library

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x2f0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140249670]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor edx, edx
mov r8d, 0xc0
call fcn.14015ed10
mov rcx, rdi
call fcn.140089be0
nop
lea rax, vtable.Aws::Http::WinHttpSyncHttpClient.0
mov qword [rdi], rax
lea r12, [rdi + 0xc8]
mov rcx, r12
call fcn.14000b660
nop
lea r13, [rdi + 0xe8]
mov rcx, r13
call fcn.14000b660
nop
call fcn.140067f0c
mov r14, rax
test rax, rax
je 0x14008a89f
mov rax, qword [rax]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 4
jl 0x14008a89f
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x70]
call fcn.14005ba84
nop
lea rdx, str.Creating_http_client_with_user_agent
lea rcx, [rbp - 0x70]
call fcn.14002e2d0
mov rcx, rax
mov rdx, rsi
call fcn.14000d710
mov rcx, rax
lea rdx, str._with_max_connections
call fcn.14002e2d0
mov rcx, rax
mov edx, dword [rsi + 0x4c]
call fcn.14005f168
mov rcx, rax
lea rdx, str._request_timeout
call fcn.14002e2d0
mov rcx, rax
mov edx, dword [rsi + 0x50]
call fcn.14005f2a0
mov rcx, rax
lea rdx, str._and_connect_timeout
call fcn.14002e2d0
mov rcx, rax
mov edx, dword [rsi + 0x54]
call fcn.14005f2a0
mov rbx, qword [r14]
mov rcx, rdi
call fcn.14008b54c
mov r8, rax
lea r9, [rbp - 0x70]
mov edx, 4
mov rcx, r14
call qword [rbx + 0x18]
nop
lea rcx, [rbp - 0x70]
call fcn.14001bb60
mov r14d, 1
lea rcx, [rsp + 0x70]
call fcn.14000bae0
nop
mov al, byte [rsi + 0x174]
mov byte [rdi + 0xa8], al
lea r15, [rsi + 0x90]
mov rcx, r15
call fcn.14000b400
test al, al
sete al
mov byte [rdi + 0xc0], al
lea rcx, [rsp + 0x50]
call fcn.14000b660
nop
cmp byte [rdi + 0xc0], 0
je 0x14008abb9
mov ecx, dword [rsi + 0x88]
call fcn.140077918
mov qword [rsp + 0x38], rax
call fcn.140067f0c
mov r14, rax
test rax, rax
je 0x14008a9cd
mov rax, qword [rax]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 4
jl 0x14008a9cd
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x70]
call fcn.14005ba84
nop
lea rdx, str.Http_Client_is_using_a_proxy._Setting_up_proxy_with_settings_scheme
lea rcx, [rbp - 0x70]
call fcn.14002e2d0
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.14002e2d0
mov rcx, rax
lea rdx, str.__host
call fcn.14002e2d0
mov rcx, rax
mov rdx, r15
call fcn.14000d710
mov rcx, rax
lea rdx, str.__port
call fcn.14002e2d0
mov rcx, rax
mov edx, dword [rsi + 0xb0]
call fcn.14005f168
mov rcx, rax
lea rdx, str.__username
call fcn.14002e2d0
mov rcx, rax
lea rdx, [rsi + 0xb8]
call fcn.14000d710
mov rbx, qword [r14]
mov rcx, rdi
call fcn.14008b54c
mov r8, rax
lea r9, [rbp - 0x70]
mov edx, 4
mov rcx, r14
call qword [rbx + 0x18]
nop
lea rcx, [rbp - 0x70]
call fcn.14001bb60
mov dword [rsp + 0x30], 3
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rbp + 0x80]
call fcn.14005bbc4
nop
mov ecx, dword [rsi + 0x20]
call fcn.140077918
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.1400832f4
nop
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.14000d710
mov rcx, rax
lea rdx, [0x1401a85d8]
call fcn.14002e2d0
mov rcx, rax
mov rdx, qword [rsp + 0x38]
call fcn.14002e2d0
mov rcx, rax
lea rdx, [0x1401aa090]
call fcn.14002e2d0
mov rcx, rax
mov rdx, r15
call fcn.14000d710
mov rcx, rax
lea rdx, [0x1401a87a0]
call fcn.14002e2d0
mov rcx, rax
mov edx, dword [rsi + 0xb0]
call fcn.14005f168
nop
lea rcx, [rbp + 0x180]
call fcn.14000b980
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x80]
call fcn.140028d10
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14002db70
lea rcx, [rbp + 0x180]
call fcn.14000b980
lea rcx, [rsp + 0x70]
call fcn.14000b840
mov rbx, rax
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.140083374
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000b590
lea rcx, [rbp + 0x180]
call fcn.140004af0
call fcn.140067f0c
mov r14, rax
test rax, rax
je 0x14008ab43
mov rax, qword [rax]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 5
jl 0x14008ab43
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x70]
call fcn.14005ba84
nop
lea rdx, str.Adding_proxy_host_string_to_winhttp
lea rcx, [rbp - 0x70]
call fcn.14002e2d0
mov rcx, rax
mov rdx, rbx
call fcn.14002e2d0
mov rbx, qword [r14]
mov rcx, rdi
call fcn.14008b54c
mov r8, rax
lea r9, [rbp - 0x70]
mov edx, 5
mov rcx, r14
call qword [rbx + 0x18]
nop
lea rcx, [rbp - 0x70]
call fcn.14001bb60
lea rcx, [rsi + 0xb8]
call fcn.14000b840
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.140083374
mov rdx, rax
mov rcx, r12
call fcn.14000b590
lea rcx, [rbp + 0x180]
call fcn.140004af0
lea rcx, [rsi + 0xd8]
call fcn.14000b840
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.140083374
mov rdx, rax
mov rcx, r13
call fcn.14000b590
lea rcx, [rbp + 0x1c0]
call fcn.140004af0
nop
lea rcx, [rbp + 0x80]
call fcn.1400204c0
mov r14d, dword [rsp + 0x30]
mov rcx, rsi
call fcn.14000b840
mov rdx, rax
lea rcx, [rbp + 0x1a0]
call fcn.140083374
nop
lea rcx, [rsp + 0x50]
call fcn.14000b4c0
mov rbx, rax
lea rcx, [rbp + 0x1a0]
call fcn.14000b4c0
mov rcx, rax
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbx
mov edx, r14d
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdx, rax
mov rcx, rdi
call fcn.14008d550
lea r12, [rsi + 0x54]
mov rcx, rdi
call fcn.14008a1c0
mov rcx, rax
mov eax, dword [rsi + 0x50]
mov dword [rsp + 0x20], eax
or r9d, 0xffffffff
mov r8d, dword [r12]
mov edx, r8d
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x14008acae
call fcn.140067f0c
mov r14, rax
test rax, rax
je 0x14008acae
mov rax, qword [rax]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 3
jl 0x14008acae
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x70]
call fcn.14005ba84
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Error_setting_timeouts
lea rcx, [rbp - 0x70]
call fcn.14002e2d0
mov rcx, rax
mov edx, ebx
call fcn.140029fd0
mov rbx, qword [r14]
mov rcx, rdi
call fcn.14008b54c
mov r8, rax
lea r9, [rbp - 0x70]
mov edx, 3
mov rcx, r14
call qword [rbx + 0x18]
nop
lea rcx, [rbp - 0x70]
call fcn.14001bb60
mov al, byte [rsi + 0x108]
mov byte [rdi + 0xc1], al
test al, al
je 0x14008ad65
mov dword [rsp + 0x30], 0xa80
mov rcx, rdi
call fcn.14008a1c0
mov rcx, rax
mov r9d, 4
lea r8, [rsp + 0x30]
lea edx, [r9 + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x14008ad65
call fcn.140067f0c
mov r14, rax
test rax, rax
je 0x14008ad65
mov rax, qword [rax]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 1
jl 0x14008ad65
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x70]
call fcn.14005ba84
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Failed_setting_secure_crypto_protocols_with_error_code:
lea rcx, [rbp - 0x70]
call fcn.14002e2d0
mov rcx, rax
mov edx, ebx
call fcn.140029fd0
mov rbx, qword [r14]
mov rcx, rdi
call fcn.14008b54c
mov r8, rax
lea r9, [rbp - 0x70]
mov edx, 1
mov rcx, r14
call qword [rbx + 0x18]
nop
lea rcx, [rbp - 0x70]
call fcn.14001bb60
call fcn.140067f0c
mov r14, rax
test rax, rax
je 0x14008ade0
mov rax, qword [rax]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp eax, 5
jl 0x14008ade0
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp - 0x70]
call fcn.14005ba84
nop
mov rcx, rdi
call fcn.14008a1c0
mov rbx, rax
lea rdx, str.API_handle
lea rcx, [rbp - 0x70]
call fcn.14002e2d0
mov rcx, rax
mov rdx, rbx
call fcn.1400863dc
mov rbx, qword [r14]
mov rcx, rdi
call fcn.14008b54c
mov r8, rax
lea r9, [rbp - 0x70]
mov edx, 5
mov rcx, r14
call qword [rbx + 0x18]
nop
lea rcx, [rbp - 0x70]
call fcn.14001bb60
mov rcx, rdi
call fcn.14008a1c0
mov qword [rsp + 0x38], rax
mov rcx, rdi
call fcn.14008b54c
mov rcx, rax
mov qword [rsp + 0x20], r12
lea r9, [rsi + 0x50]
lea r8, [rsi + 0x4c]
lea rdx, [rsp + 0x38]
call fcn.14008a590
mov rdx, rax
mov rcx, rdi
call fcn.14008d4d8
nop
lea rcx, [rbp + 0x1a0]
call fcn.140004af0
nop
lea rcx, [rsp + 0x50]
call fcn.140004af0
nop
lea rcx, [rsp + 0x70]
call fcn.14000b980
nop
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14015ade0
mov rbx, qword [rsp + 0x340]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret