Function at 0x1400c177e
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov edi, r9d
mov qword [rsp + 0x50], r8
mov rsi, rdx
mov r12, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x238], rax
xorps xmm6, xmm6
lea rcx, [rsp + 0xb0]
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x1400c1827
mov ecx, 0x20
call fcn.140255d40
mov r15, rax
lea rax, str._1_f_
mov qword [r15], rax
movups xmmword [r15 + 8], xmm6
mov qword [r15 + 0x18], 0
mov r8, qword [rsp + 0xc0]
test r8, r8
je 0x1400c189f
xor eax, eax
cmp word [r8], 0
setne cl
je 0x1400c18ac
mov r9, qword [rsp + 0xc8]
jmp 0x1400c18b2
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c1892
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea rsi, [rsp + 0xd8]
mov rcx, rsi
mov r8d, 0x6e
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.WinHttpGetIEProxyConfigForCurrentUser___failed:
mov r8d, 0x30
call fcn.14001eb4a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x70]
mov dword [rdx], eax
mov rcx, rdi
call fcn.1400c0b7f
mov rcx, rsi
call fcn.1400f68f0
mov qword [r12], 0
jmp 0x1400c2121
mov edx, 1
xor r8d, r8d
xor r9d, r9d
jmp 0x1400c18b9
xor r9d, r9d
xor r8d, r8d
mov al, cl
lea edx, [rax + rax]
inc edx
lea rbx, [r15 + 8]
cmp byte [rsi + 0x17], 0
jns 0x1400c18c6
mov rsi, qword [rsi]
mov dword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, rbx
mov rdx, rax
call fcn.1400c22ba
mov rbp, qword [rbx]
test rbp, rbp
je 0x1400c1a81
mov word [rsp + 0x46], di
mov bl, byte [rsp + 0x2d0]
mov r13, qword [rsp + 0x2c8]
lea rdx, [0x1400c2310]
mov rcx, rbp
mov r8d, 0x10000
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp rax, 0xffffffffffffffff
jne 0x1400c198c
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c198c
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea r14, [rsp + 0xd8]
mov rcx, r14
mov r8d, 0x142
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.WinHttpSetStatusCallback___failed:
mov r8d, 0x23
call fcn.14001eb4a
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x70]
mov dword [rdx], eax
mov rcx, rsi
call fcn.1400c0b7f
mov rcx, r14
call fcn.1400f68f0
mov qword [rsp + 0x48], r12
movaps xmm0, xmmword [0x14029de10]
lea rsi, [rsp + 0x78]
movaps xmmword [rsi - 8], xmm0
movaps xmmword [rsi + 0x28], xmm0
movaps xmmword [rsi + 0x18], xmm0
movaps xmmword [rsi + 8], xmm0
cmp dword [rsp + 0xb0], 1
sete byte [rsi - 8]
mov rax, qword [rsp + 0xb8]
test rax, rax
lea rdx, [0x1402a6bb8]
cmovne rdx, rax
mov rcx, rsi
call fcn.1400231ae
mov byte [rsi + 0x18], 0
lea r12, [rsp + 0x98]
xorps xmm6, xmm6
movups xmmword [r12], xmm6
mov qword [r12 + 0x10], 0
mov edi, ebx
mov byte [rsp + 0x20], bl
lea r14, [rsp + 0x58]
mov rcx, r14
mov rdx, qword [rsp + 0x50]
movzx r8d, word [rsp + 0x46]
mov r9, r13
call fcn.1400c35b4
cmp byte [r12 - 0x28], 0
je 0x1400c1b11
movups xmmword [rsp + 0x218], xmm6
mov qword [rsp + 0x228], 0
movabs rax, 0x300020001
mov qword [rsp + 0x210], rax
cmp byte [rsp + 0x6f], 0
jns 0x1400c1a53
mov r14, qword [rsp + 0x58]
lea r8, [rsp + 0x210]
mov rcx, rbp
mov rdx, r14
mov r9, r12
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x1400c1af9
mov byte [rsp + 0x90], 1
mov ebx, edi
jmp 0x1400c1c24
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c1aec
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea rsi, [rsp + 0xd8]
mov rcx, rsi
mov r8d, 0x13a
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.WinHttpOpen___failed:
mov r8d, 0x16
call fcn.14001eb4a
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x70]
mov dword [rdx], eax
mov rcx, rbx
call fcn.1400c0b7f
mov rcx, rsi
call fcn.1400f68f0
mov qword [r12], 0
jmp 0x1400c210f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f92
je 0x1400c1b11
cmp eax, 0x2f94
jne 0x1400c1ee1
cmp byte [rsp + 0x8f], 0
js 0x1400c1b43
mov ebx, edi
je 0x1400c1c24
xorps xmm0, xmm0
movaps xmmword [rsp + 0x210], xmm0
movaps xmmword [rsp + 0x220], xmm0
mov dword [rsp + 0x210], 2
jmp 0x1400c1b77
cmp qword [rsp + 0x80], 0
mov ebx, edi
je 0x1400c1c24
xorps xmm0, xmm0
movaps xmmword [rsp + 0x210], xmm0
movaps xmmword [rsp + 0x220], xmm0
mov dword [rsp + 0x210], 2
mov rsi, qword [rsp + 0x78]
mov qword [rsp + 0x218], rsi
cmp byte [rsp + 0x6f], 0
jns 0x1400c1b8d
mov rdx, qword [rsp + 0x58]
jmp 0x1400c1b92
lea rdx, [rsp + 0x58]
lea r8, [rsp + 0x210]
mov rcx, rbp
mov r9, r12
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x1400c1bb4
mov byte [rsp + 0x90], 1
jmp 0x1400c1c24
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c1c24
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea r14, [rsp + 0xd8]
mov rcx, r14
mov r8d, 0xde
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.WinHttpGetProxyForUrl_WINHTTP_AUTOPROXY_CONFIG_URL__failed:
mov r8d, 0x3c
call fcn.14001eb4a
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0xd0]
mov dword [rdx], eax
mov rcx, rsi
call fcn.1400c0b7f
mov rcx, r14
mov ebx, edi
call fcn.1400f68f0
cmp byte [rsp + 0x6f], 0
jns 0x1400c1c35
mov rcx, qword [rsp + 0x58]
call fcn.140255d7c
lea rsi, [r15 + 0x10]
mov rdx, qword [rsp + 0x50]
cmp byte [rdx + 0x17], 0
movzx r14d, word [rsp + 0x46]
jns 0x1400c1c52
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rcx, rbp
mov r8d, r14d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rcx, rsi
mov rdx, rax
call fcn.1400c22ba
mov rcx, qword [r15 + 0x10]
test rcx, rcx
je 0x1400c1da0
mov rdx, qword [rsp + 0x2c0]
movzx eax, bl
cmp byte [r13 + 0x17], 0
jns 0x1400c1c8f
mov r13, qword [r13]
mov rsi, r15
add rsi, 0x18
shl eax, 0x17
cmp byte [rdx + 0x17], 0
jns 0x1400c1ca2
mov rdx, qword [rdx]
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r8, r13
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, rsi
mov rdx, rax
call fcn.1400c22ba
cmp qword [r15 + 0x10], 0
je 0x1400c1dcc
lea r8, [rsp + 0x210]
mov dword [r8], 5
mov rsi, qword [rsi]
mov rcx, rsi
mov edx, 0x3f
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1400c1e92
test r12, r12
je 0x1400c1d2c
cmp byte [rsp + 0x90], 0
je 0x1400c1d2c
mov rcx, rsi
mov edx, 0x26
mov r8, r12
mov r9d, 0x18
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1400c1fa7
mov r9, qword [rsp + 0x2e0]
mov rdx, qword [rsp + 0x2d8]
movzx eax, byte [r9 + 0x17]
test al, al
jns 0x1400c1d4c
mov eax, dword [r9 + 8]
mov r9, qword [r9]
cmp byte [rdx + 0x17], 0
jns 0x1400c1d55
mov rdx, qword [rdx]
mov r12, qword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x30], 0
mov rcx, rsi
mov r8d, 0xffffffff
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400c1f58
mov rcx, rsi
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400c201e
mov rax, r15
xor r15d, r15d
jmp 0x1400c20d1
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c1e80
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea rsi, [rsp + 0xd8]
mov rcx, rsi
mov r8d, 0x14f
jmp 0x1400c1df6
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c1e80
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea rsi, [rsp + 0xd8]
mov rcx, rsi
mov r8d, 0x15c
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.WinHttpConnect___failed_with_host
mov r8d, 0x22
call fcn.14001eb4a
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.1400f7760
lea rdx, str._and_port
mov r8d, 0xa
mov rcx, rax
call fcn.14001eb4a
mov rcx, rax
mov edx, r14d
call fcn.14001a1a8
lea rdx, [0x1402a904f]
mov r8d, 2
mov rcx, rax
call fcn.14001eb4a
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x210]
mov dword [rdx], eax
mov rcx, rbx
call fcn.1400c0b7f
mov rcx, rsi
call fcn.1400f68f0
mov r12, qword [rsp + 0x48]
mov qword [r12], 0
jmp 0x1400c20d5
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c2012
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea rsi, [rsp + 0xd8]
mov rcx, rsi
mov r8d, 0x167
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.WinHttpSetOption_WINHTTP_DISABLE_COOKIES__WINHTTP_DISABLE_AUTHENTICATION__failed:
mov r8d, 0x53
jmp 0x1400c1fed
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c1a7a
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea r14, [rsp + 0xd8]
mov rcx, r14
mov r8d, 0xcb
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.Unexpected_error_during_WinHttpGetProxyForUrl_WINHTTP_AUTOPROXY_AUTO_DETECT_
mov r8d, 0x4c
call fcn.14001eb4a
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0xd0]
mov dword [rdx], eax
mov rcx, rsi
call fcn.1400c0b7f
mov rcx, r14
call fcn.1400f68f0
jmp 0x1400c1a7a
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c20cf
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea rsi, [rsp + 0xd8]
mov rcx, rsi
mov r8d, 0x17e
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.Failed_to_send_HTTP_request_to_host
mov r8d, 0x24
jmp 0x1400c2068
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c2012
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea rsi, [rsp + 0xd8]
mov rcx, rsi
mov r8d, 0x172
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.WinHttpSetOption_WINHTTP_OPTION_PROXY__failed:
mov r8d, 0x2f
call fcn.14001eb4a
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x58]
mov dword [rdx], eax
mov rcx, rbx
call fcn.1400c0b7f
mov rcx, rsi
call fcn.1400f68f0
xor eax, eax
mov r12, qword [rsp + 0x48]
jmp 0x1400c20d1
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400c20cf
lea rdx, str.....chromechrome_cleanerhttphttp_agent_impl.cc
lea rsi, [rsp + 0xd8]
mov rcx, rsi
mov r8d, 0x186
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0xe8]
lea rdx, str.Failed_to_complete_HTTP_request_to_host
mov r8d, 0x28
call fcn.14001eb4a
mov rcx, rax
mov rdx, qword [rsp + 0x50]
call fcn.1400f7760
lea rdx, str._and_port
mov r8d, 0xa
mov rcx, rax
call fcn.14001eb4a
mov rcx, rax
mov edx, r14d
call fcn.14001a1a8
lea rdx, [0x1402a904f]
mov r8d, 2
mov rcx, rax
call fcn.14001eb4a
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x58]
mov dword [rdx], eax
mov rcx, rbx
call fcn.1400c0b7f
mov rcx, rsi
call fcn.1400f68f0
xor eax, eax
mov qword [r12], rax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400c20e8
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400c20fb
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [rsp + 0x8f], 0
jns 0x1400c210f
mov rcx, qword [rsp + 0x78]
call fcn.140255d7c
test r15, r15
je 0x1400c2121
mov rcx, r15
mov edx, 1
call fcn.1400c3140
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400c2134
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400c2147
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x1400c215a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140257200
mov rax, r12
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret