Function at 0x14003c410
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
movaps xmmword [rsp + 0x2b0], xmm6
mov rax, qword [0x14016f8a0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x40], r13d
xor edx, edx
mov r8d, 0xc0
call fcn.1400bbac0
mov rcx, rsi
call fcn.140034510
nop
lea rax, vtable.Aws::Http::WinINetSyncHttpClient.0
mov qword [rsi], rax
mov qword [rsi + 0xc8], r13
mov qword [rsi + 0xd8], r13
mov qword [rsi + 0xe0], reloc.WS2_32.dll_ntohs
mov byte [rsi + 0xc8], r13b
mov qword [rsi + 0xe8], r13
mov qword [rsi + 0xf8], r13
mov qword [rsi + 0x100], reloc.WS2_32.dll_ntohs
mov byte [rsi + 0xe8], r13b
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14003c58d
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + htons]
cmp eax, 4
jl 0x14003c58d
lea edx, [r13 + 1]
lea rcx, [rsp + 0x70]
call fcn.140002860
nop
lea rdx, str.Creating_http_client_with_user_agent
lea rcx, [rsp + 0x70]
call fcn.1400019a0
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14003c50e
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140001d10
lea rdx, str._with_max_connections
mov rcx, rax
call fcn.1400019a0
mov rcx, rax
mov edx, dword [rdi + 0x4c]
call fcn.1400105c0
mov rcx, rax
lea rdx, str.__request_timeout
call fcn.1400019a0
mov rcx, rax
mov edx, dword [rdi + 0x54]
call fcn.1400107d0
mov rcx, rax
lea rdx, str._and_connect_timeout
call fcn.1400019a0
mov rcx, rax
mov edx, dword [rdi + 0x58]
call fcn.1400107d0
mov rax, qword [rbx]
lea r9, [rsp + 0x70]
lea r8, str.WinInetSyncHttpClient
mov edx, 4
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x70]
call fcn.140003bc0
mov eax, dword [rdi + 0x23c]
cmp eax, 2
je 0x14003c5c9
test eax, eax
jne 0x14003c5c5
lea rcx, [rdi + 0x28]
cmp qword [rdi + 0x40], 0x10
jb 0x14003c5ab
mov rcx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x38]
cmp r8, 0xa
jne 0x14003c5c5
lea rdx, [0x1400fb698]
call fcn.1400bc080
test eax, eax
je 0x14003c5c9
mov al, 1
jmp 0x14003c5cb
xor al, al
mov byte [rsi + 0xa8], al
mov r15d, 1
mov r14, r13
mov qword [rbp + 0x160], r13
movdqa xmm0, xmmword [0x1400f5ae0]
movdqu xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x160], r14b
mov rcx, qword [rdi + 0xb0]
test rcx, rcx
setne al
mov byte [rsi + 0xc0], al
test rcx, rcx
je 0x14003ca1f
mov ecx, dword [rdi + 0x9c]
call fcn.140030540
mov r13, rax
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14003c72c
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + htons]
cmp eax, 4
jl 0x14003c72c
mov edx, r15d
lea rcx, [rsp + 0x70]
call fcn.140002860
nop
lea rdx, str.Http_Client_is_using_a_proxy._Setting_up_proxy_with_settings_scheme
lea rcx, [rsp + 0x70]
call fcn.1400019a0
mov rcx, rax
mov rdx, r13
call fcn.1400019a0
mov rcx, rax
lea rdx, str.__host
call fcn.1400019a0
lea rdx, [rdi + 0xa0]
cmp qword [rdi + 0xb8], 0x10
jb 0x14003c696
mov rdx, qword [rdi + 0xa0]
mov r8, qword [rdi + 0xb0]
mov rcx, rax
call fcn.140001d10
lea rdx, str.__port
mov rcx, rax
call fcn.1400019a0
mov rcx, rax
mov edx, dword [rdi + 0xc0]
call fcn.1400105c0
mov rcx, rax
lea rdx, str.__username
call fcn.1400019a0
lea rdx, [rdi + 0xc8]
cmp qword [rdi + 0xe0], 0x10
jb 0x14003c6e9
mov rdx, qword [rdi + 0xc8]
mov r8, qword [rdi + 0xd8]
mov rcx, rax
call fcn.140001d10
mov rcx, rax
lea rdx, [0x1400f58e4]
call fcn.1400019a0
mov rax, qword [rbx]
lea r9, [rsp + 0x70]
lea r8, str.WinInetSyncHttpClient
mov edx, 4
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x70]
call fcn.140003bc0
mov edx, 1
lea r15d, [rdx + 2]
lea rcx, [rbp + 0x60]
call fcn.14000bed0
nop
mov ecx, dword [rdi + 0x20]
call fcn.140030540
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.140031570
nop
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14003c764
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0x70]
call fcn.140001d10
lea rdx, [0x1400f7484]
mov rcx, rax
call fcn.1400019a0
mov rcx, rax
mov rdx, r13
call fcn.1400019a0
mov rcx, rax
lea rdx, [0x1400f8d98]
call fcn.1400019a0
lea rdx, [rdi + 0xa0]
cmp qword [rdi + 0xb8], 0x10
jb 0x14003c7b2
mov rdx, qword [rdi + 0xa0]
mov r8, qword [rdi + 0xb0]
mov rcx, rax
call fcn.140001d10
lea rdx, str.:__
mov rcx, rax
call fcn.1400019a0
mov rcx, rax
mov edx, dword [rdi + 0xc0]
call fcn.1400105c0
nop
mov rdx, qword [rbp + 0x198]
cmp rdx, 0x10
jb 0x14003c821
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c81b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cc9b
call fcn.1400b91c0
nop
xor r13d, r13d
mov qword [rbp + 0x180], r13
movdqa xmm6, xmmword [0x1400f5ae0]
movdqu xmmword [rbp + 0x190], xmm6
mov byte [rbp + 0x180], r13b
or r12d, 2
mov dword [rsp + 0x40], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov rcx, qword [rbp + 0xe8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14003c88f
mov rax, qword [rbp + 0xb8]
mov r8, qword [rax]
test r8, r8
je 0x14003c88f
mov rax, qword [rbp + 0x98]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xe0]
cmovb r8, qword [rbp + 0xe0]
sub r8, rdx
jmp 0x14003c8c9
test cl, 4
jne 0x14003c8bf
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax]
test rcx, rcx
je 0x14003c8bf
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax]
mov rax, qword [rbp + 0xc8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14003c8c9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14003c8e2
lea rcx, [rbp + 0x180]
call fcn.140020f20
movdqu xmm6, xmmword [rbp + 0x190]
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x14003c923
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003c91e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cca1
call fcn.1400b91c0
movups xmm0, xmmword [rbp + 0x180]
movups xmmword [rbp + 0x160], xmm0
movdqu xmmword [rbp + 0x170], xmm6
lea r14, [rbp + 0x160]
movq rcx, xmm0
psrldq xmm6, 8
movq rax, xmm6
cmp rax, 0x10
cmovae r14, rcx
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14003c9c3
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + htons]
cmp eax, 5
jl 0x14003c9c3
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140002860
nop
lea rdx, str.Adding_proxy_host_string_to_wininet
lea rcx, [rsp + 0x70]
call fcn.1400019a0
mov rcx, rax
mov rdx, r14
call fcn.1400019a0
mov rax, qword [rbx]
lea r9, [rsp + 0x70]
lea r8, str.WinInetSyncHttpClient
mov edx, 5
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x70]
call fcn.140003bc0
lea r8, [rdi + 0xc8]
lea rcx, [rsi + 0xc8]
cmp rcx, r8
je 0x14003c9ec
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14003c9e3
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.140020f20
lea r8, [rdi + 0xe8]
lea rcx, [rsi + 0xe8]
cmp rcx, r8
je 0x14003ca16
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x14003ca0c
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.140020f20
nop
lea rcx, [rbp + 0x60]
call fcn.140011250
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14003ca2c
mov rcx, qword [rdi]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8, r14
mov edx, r15d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdx, rax
mov rcx, rsi
call fcn.140045680
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x4d]
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rcx, qword [rsi + 0xb0]
call fcn.14003df50
cmp byte [rdi + 0x1d0], 0
jne 0x14003cb65
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14003cadc
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + htons]
cmp eax, 3
jl 0x14003cadc
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140002860
nop
lea rdx, str.Turning_ssl_unknown_ca_verification_off.
lea rcx, [rsp + 0x70]
call fcn.1400019a0
mov rax, qword [rbx]
lea r9, [rsp + 0x70]
lea r8, str.WinInetSyncHttpClient
mov edx, 3
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x70]
call fcn.140003bc0
mov dword [rsp + 0x40], 0x1100
mov r9d, 4
lea r8, [rsp + 0x40]
lea edx, [r9 + 0x1b]
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x14003cb65
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14003cb65
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + htons]
cmp eax, 1
jl 0x14003cb65
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140002860
nop
lea rdx, str.Failed_to_turn_ssl_cert_ca_verification_off.
lea rcx, [rsp + 0x70]
call fcn.1400019a0
mov rax, qword [rbx]
lea r9, [rsp + 0x70]
lea r8, str.WinInetSyncHttpClient
mov edx, 1
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x70]
call fcn.140003bc0
call fcn.1400170f0
mov rbx, rax
test rax, rax
je 0x14003cbd5
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + htons]
cmp eax, 5
jl 0x14003cbd5
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.140002860
nop
lea rdx, str.API_handle
lea rcx, [rsp + 0x70]
call fcn.1400019a0
mov rcx, rax
mov rdx, qword [rsi + 0xb0]
call fcn.14003ccb0
mov rax, qword [rbx]
lea r9, [rsp + 0x70]
lea r8, str.WinInetSyncHttpClient
mov edx, 5
mov rcx, rbx
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x70]
call fcn.140003bc0
mov rbx, qword [rsi + 0xb0]
mov edx, 0xd8
lea rcx, str.WinInetSyncHttpClient
call fcn.14001add0
mov rcx, rax
mov eax, dword [rdi + 0x60]
mov dword [rsp + 0x30], eax
movzx eax, byte [rdi + 0x5c]
mov byte [rsp + 0x28], al
mov eax, dword [rdi + 0x58]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x54]
mov r8d, dword [rdi + 0x4c]
mov rdx, rbx
call fcn.140046160
mov rdx, rax
mov rcx, rsi
call fcn.1400455c0
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 0x10
jb 0x14003cc60
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003cc5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003cc95
call fcn.1400b91c0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400b91a0
mov rbx, qword [rsp + 0x310]
movaps xmm6, xmmword [rsp + 0x2b0]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400bfe60
nop
call fcn.1400bfe60
int3
call fcn.1400bfe60
int3