Function at 0x1400ca6a0
Capabilities:
Read http header

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb80
mov qword [r11 - 0x6c0], 0xfffffffffffffffe
mov rax, qword [0x1401cd010]
xor rax, rsp
mov qword [rsp + 0xb70], rax
mov qword [rsp + 0xe8], r9
mov qword [rsp + 0xb8], r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0xa0], rdx
mov rax, qword [rcx + 0x28]
xor r15d, r15d
mov qword [r11 - 0xab0], r15
lea rcx, [0x14013fd40]
mov qword [r11 - 0xab8], rcx
mov qword [r11 - 0xaa8], rax
mov qword [r11 - 0xaa0], r15
mov dword [r11 - 0xa98], r15d
mov qword [r11 - 0xa90], r15
mov dword [r11 - 0xa88], r15d
mov qword [r11 - 0xa80], r15
mov dword [r11 - 0xa78], r15d
mov qword [r11 - 0xa70], r15
mov dword [r11 - 0xa68], r15d
mov qword [r11 - 0xa60], r15
mov dword [r11 - 0xa58], r15d
mov qword [r11 - 0xa50], r15
mov dword [r11 - 0xa48], r15d
mov qword [r11 - 0xa40], r15
mov dword [r11 - 0xa38], r15d
mov qword [r11 - 0xa30], r15
mov dword [r11 - 0xa28], r15d
lea rcx, [r11 - 0xab8]
call fcn.1400a54e4
test eax, eax
jns 0x1400c90b3
nop
mov r8d, 0x288765c
mov rcx, rsi
call fcn.1400c02a0
lea rcx, [rsp + 0x100]
call fcn.1400b0380
mov rax, rsi
jmp 0x1400ca638
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x568]
call fcn.1400c6184
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x1400c90d6
mov rcx, qword [rcx]
lea rdx, str.RequestId
mov qword [rsp + 0x300], rdx
mov qword [rsp + 0x308], rcx
mov word [rsp + 0x310], r15w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x2f8], rcx
lea rcx, str.Message
mov qword [rsp + 0x320], rcx
lea rcx, str.Sending_request_for_Url.
mov qword [rsp + 0x328], rcx
mov word [rsp + 0x330], r15w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x318], rcx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x318]
mov qword [rsp + 0x28], rax
lea rax, str._HttpWin__sendInternal
mov qword [rsp + 0x20], rax
mov ecx, 0x5c80a0
mov r8d, 0x64
call fcn.1400ce7b4
mov rax, qword [rsp + 0x590]
cmp rax, 8
jb 0x1400c91be
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x578]
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400c91b7
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c91b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
cmp byte [rbx + 0x22], r15b
je 0x1400c91e1
lea r9, str._HttpWin__sendInternal:_request_already_aborted
mov edx, 0x33f
mov ecx, 0x597058
mov r8d, 0xf
call fcn.140122aa8
nop
cmp byte [rbx + 0x21], r15b
je 0x1400c9204
lea r9, str._HttpWin__sendInternal:_request_already_sent
mov edx, 0x33f
mov ecx, 0x597059
mov r8d, 0xf
call fcn.140122aa8
nop
cmp byte [rbx + 0x20], r15b
jne 0x1400c9227
lea r9, str._HttpWin__sendInternal:_request_not_open
mov edx, 0x33f
mov ecx, 0x59705a
mov r8d, 0xf
call fcn.140122aa8
nop
cmp byte [rbx + 0x21], r15b
jne 0x1400ca610
cmp byte [rbx + 0x20], r15b
je 0x1400ca610
cmp byte [rbx + 0x22], r15b
jne 0x1400ca610
mov r12b, r15b
mov byte [rsp + 0x50], r15b
mov r14b, r15b
mov r13d, r15d
movdqa xmm0, xmmword [0x140186810]
movdqu xmmword [rsp + 0x558], xmm0
mov word [rsp + 0x548], r15w
mov rcx, rbx
call fcn.1400caa08
lea rax, [rbx + 0x120]
mov rcx, rax
call fcn.1400c4fdc
mov rdi, qword [rsp + 0xbe0]
test rdi, rdi
setne al
mov byte [rbx + 0x160], al
mov r15d, 1
test r12b, r12b
jne 0x1400c9f58
lea r12, [rbx + 0xf0]
mov qword [rsp + 0x60], r12
xor r14d, r14d
mov dword [rsp + 0x68], r14d
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, r15d
lock xadd dword [rsp + 0x68], eax
cmp qword [rbx + 0x58], r14
jne 0x1400c9387
mov r8d, 0x288765e
mov rcx, rsi
call fcn.1400c0324
nop
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x1400c9310
or eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400c92e7
mov rax, qword [rsp + 0x560]
cmp rax, 8
jb 0x1400c9358
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x548]
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400c9351
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c9351
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x140186810]
movdqu xmmword [rsp + 0x558], xmm0
mov word [rsp + 0x548], r14w
lea rcx, [rsp + 0x100]
call fcn.1400b0380
mov rax, rsi
jmp 0x1400ca638
or qword [rbx + 0xa0], 0xffffffffffffffff
mov qword [rbx + 0xa8], r14
mov eax, 0xffffffff
cmp rdi, rax
ja 0x1400ca65c
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0xe8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
setne r14b
test eax, eax
je 0x1400c944e
add dword [rbx + 0xa8], edi
mov rdi, qword [rbx + 0x90]
test rdi, rdi
je 0x1400c93f0
lock add dword [rdi + 8], r15d
mov rdi, qword [rbx + 0x90]
mov rax, qword [rbx + 0x88]
mov rcx, qword [rsp + 0xbe0]
add dword [rax + 0x10], ecx
test rdi, rdi
je 0x1400c9441
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400c9441
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400ee2b6.0]
or eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400c9441
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
nop
mov rdi, qword [rsp + 0xbe0]
jmp 0x1400c954a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rax, str.SH_ErrorCode
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0x1b0], r13d
xor eax, eax
mov word [rsp + 0x1b4], ax
lea rax, [0x14013c1c8]
mov qword [rsp + 0x1a0], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x5a0]
call fcn.1400c6184
nop dword [rax]
lea rcx, str.Message
mov qword [rsp + 0x340], rcx
lea rcx, str.WinHttpSendRequest_failed
mov qword [rsp + 0x348], rcx
xor ecx, ecx
mov word [rsp + 0x350], cx
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x338], rcx
lea rcx, [rsp + 0x1a0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x338]
mov qword [rsp + 0x28], rax
mov ecx, 0x105539d
call fcn.1400ceb64
mov rax, qword [rsp + 0x5c8]
cmp rax, 8
jb 0x1400c954a
nop
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x5b0]
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400c9543
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c9543
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov eax, dword [rsp + 0x68]
xor ecx, ecx
test eax, eax
je 0x1400c956d
or eax, 0xffffffff
lock xadd dword [rsp + 0x68], eax
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400c954a
test r14b, r14b
je 0x1400c9cba
cmp qword [rsp + 0xb8], rcx
je 0x1400c9ac7
test rdi, rdi
je 0x1400c9ac7
mov qword [rsp + 0xe0], rcx
mov r14, qword [rsp + 0xb8]
mov rax, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov rdx, rcx
mov rcx, r14
mov rax, qword [rax + 0x28]
call qword [case.0x1400ee2b6.0]
xor r15d, r15d
test eax, eax
jns 0x1400c9600
lea rcx, str.HRESULT
mov qword [rsp + 0x1c0], rcx
mov dword [rsp + 0x1c8], eax
mov word [rsp + 0x1cc], r15w
lea rax, [0x14013fd48]
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x20], rax
call fcn.1400b2854
nop
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], r15
mov eax, 0x2000
mov edx, eax
cmp rdi, rax
cmovb rdx, rdi
lea rcx, [rsp + 0xc8]
call fcn.14000cb58
mov r15, rdi
xor edi, edi
jmp 0x1400c963e
mov r14, qword [rsp + 0xb8]
mov eax, 0x2000
mov ecx, eax
cmp r15, rax
cmovb rcx, r15
mov eax, 0xffffffff
cmp rcx, rax
ja 0x1400ca665
mov rax, qword [r14]
lea r9, [rsp + 0x58]
mov r8d, ecx
mov rdx, qword [rsp + 0xc8]
mov rcx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x1400ee2b6.0]
test eax, eax
setns r14b
test eax, eax
js 0x1400c998a
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400c998a
sub r15, rax
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], edi
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, 1
lock xadd dword [rsp + 0x78], eax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400c97bd
mov r8d, 0x288765f
mov rcx, rsi
call fcn.1400c0324
nop
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1400c96f2
or eax, 0xffffffff
lock xadd dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400c96d1
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x1400c9747
mov rax, qword [rsp + 0xd8]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400c972d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c972d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd8], rdi
mov rax, qword [rsp + 0x560]
cmp rax, 8
jb 0x1400c978f
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x548]
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400c9788
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c9788
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x140186810]
movdqu xmmword [rsp + 0x558], xmm0
mov word [rsp + 0x548], di
lea rcx, [rsp + 0x100]
call fcn.1400b0380
mov rax, rsi
jmp 0x1400ca638
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0xc8]
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
setne r14b
test eax, eax
je 0x1400c984f
mov ecx, dword [rsp + 0x54]
add dword [rbx + 0xa8], ecx
mov rdi, qword [rbx + 0x90]
test rdi, rdi
je 0x1400c9804
lock inc dword [rdi + 8]
mov rdi, qword [rbx + 0x90]
mov ecx, dword [rsp + 0x54]
mov rax, qword [rbx + 0x88]
add dword [rax + 0x10], ecx
test rdi, rdi
je 0x1400c984d
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400c984d
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400ee2b6.0]
or eax, 0xffffffff
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400c984d
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.0]
nop
xor edi, edi
mov eax, dword [rsp + 0x78]
test eax, eax
je 0x1400c9870
or eax, 0xffffffff
lock xadd dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400c984f
test r14b, r14b
je 0x1400c9890
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x58], eax
jne 0x1400c9890
mov r14b, 1
test r15, r15
jne 0x1400c9636
jmp 0x1400c9ab2
mov r14b, dil
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rax, str.SH_ErrorCode
mov qword [rsp + 0x1d8], rax
mov dword [rsp + 0x1e0], r13d
mov word [rsp + 0x1e4], di
lea rax, [0x14013c1c8]
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x5d8]
call fcn.1400c6184
lea rcx, str.Message
mov qword [rsp + 0x360], rcx
lea rcx, str.WinHttpWriteData_failed
mov qword [rsp + 0x368], rcx
mov word [rsp + 0x370], di
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x358], rcx
lea rcx, [rsp + 0x1d0]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x358]
mov qword [rsp + 0x28], rax
mov ecx, 0x8c80d0
call fcn.1400ceb64
mov rax, qword [rsp + 0x600]
cmp rax, 8
jb 0x1400c9ab2
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x5e8]
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400c9aab
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c9aab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rax, str.SH_ErrorCode
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x1f8], r13d
mov word [rsp + 0x1fc], di
lea rax, [0x14013c1c8]
mov qword [rsp + 0x1e8], rax
lea rax, [0x14013c1f8]
mov qword [rsp + 0x200], rax
lea rax, str.fSuccess
mov qword [rsp + 0x208], rax
mov byte [rsp + 0x210], r14b
mov word [rsp + 0x212], di
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x610]
call fcn.1400c6184
lea rcx, str.Message
mov qword [rsp + 0x380], rcx
lea rcx, str.Failed_to_read_bytes_from_the_stream_into_a_temporary_buffer
mov qword [rsp + 0x388], rcx
mov word [rsp + 0x390], di
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x378], rcx
lea rcx, [rsp + 0x1e8]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x200]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x378]
mov qword [rsp + 0x28], rax
call fcn.1400cebf8
mov rax, qword [rsp + 0x638]
cmp rax, 8
jb 0x1400c9ab2
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x620]
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400c9aab
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400c9aab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0xc8]
call fcn.14000aa84
mov r15d, 1
jmp 0x1400c9ac9
xor edi, edi
test r14b, r14b
je 0x1400c9cba
mov qword [rsp + 0x80], r12
mov dword [rsp + 0x88], edi
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, r15d
lock xadd dword [rsp + 0x88], eax
cmp qword [rbx + 0x58], rdi
jne 0x1400c9b58
mov r8d, 0x2887660
mov rcx, rsi
call fcn.1400c0324
nop
mov eax, dword [rsp + 0x88]
test eax, eax
je 0x1400c9b36
or eax, 0xffffffff
lock xadd dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400c9b0c
lea rcx, [rsp + 0x548]
call fcn.1400079d0
lea rcx, [rsp + 0x100]
call fcn.1400b0380
mov rax, rsi
jmp 0x1400ca638
mov rdi, qword [rbx + 0x90]
xor r12d, r12d
test rdi, rdi
je 0x1400c9b73
lock add dword [rdi + 8], r15d
mov rdi, qword [rbx + 0x90]
mov rcx, qword [rbx + 0x88]
call fcn.1400b6b98
test rdi, rdi
je 0x1400c9b8d
mov rcx, rdi
call fcn.140007434
nop
xor edx, edx
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
setne r14b
test eax, eax
je 0x1400c9bcd
lea rcx, [rbx + 0x120]
mov byte [rsp + 0x51], 9
mov r8b, r15b
lea rdx, [rsp + 0x51]
call fcn.1400c502c
lea rcx, [rbx + 0x98]
call fcn.1400ce348
jmp 0x1400c9c87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rax, str.SH_ErrorCode
mov qword [rsp + 0x220], rax
mov dword [rsp + 0x228], r13d
mov word [rsp + 0x22c], r12w
lea rax, [0x14013c1c8]
mov qword [rsp + 0x218], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x648]
call fcn.1400c6184
lea rcx, str.Message
mov qword [rsp + 0x3a0], rcx
lea rcx, str.WinHttpReceiveResponse_failed
mov qword [rsp + 0x3a8], rcx
mov word [rsp + 0x3b0], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x398], rcx
lea rcx, [rsp + 0x218]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x398]
mov qword [rsp + 0x28], rax
mov ecx, 0x8c80d1
call fcn.1400ceb64
lea rcx, [rsp + 0x648]
call fcn.14000efb8
nop
mov eax, dword [rsp + 0x88]
test eax, eax
je 0x1400c9cb1
or eax, 0xffffffff
lock xadd dword [rsp + 0x88], eax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400c9c87
test r14b, r14b
jne 0x1400c9e08
cmp r13d, 0x2f00
mov rdi, qword [rsp + 0xbe0]
mov r12b, byte [rsp + 0x50]
je 0x1400c929e
xor r12d, r12d
test r14b, r14b
jne 0x1400c9e08
mov ecx, r13d
call fcn.1400b6808
test al, al
je 0x1400c9e08
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400ca671
mov rax, qword [rcx]
lea rdx, [rsp + 0x548]
mov rax, qword [rax + 0x50]
call qword [case.0x1400ee2b6.0]
test al, al
je 0x1400c9e08
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x6b8]
call fcn.1400c6184
mov rdi, rax
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x1400c9d40
mov rcx, qword [rcx]
lea rax, str.RequestId
mov qword [rsp + 0x3c0], rax
mov qword [rsp + 0x3c8], rcx
mov word [rsp + 0x3d0], r12w
lea rax, [0x14013c2d8]
mov qword [rsp + 0x3b8], rax
lea rcx, [rsp + 0x680]
call fcn.1400c60f0
lea rcx, str.Message
mov qword [rsp + 0x2e0], rcx
lea rcx, str.There_was_a_proxy_error._Retrying_the_request_with_a_new_proxy.
mov qword [rsp + 0x2e8], rcx
mov word [rsp + 0x2f0], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x2d8], rcx
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x3b8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x28], rax
call fcn.1400ceca0
lea rcx, [rsp + 0x680]
call fcn.14000efb8
lea rcx, [rsp + 0x6b8]
call fcn.14000efb8
nop
mov rdi, qword [rsp + 0xbe0]
mov r12b, byte [rsp + 0x50]
jmp 0x1400c929e
call fcn.1400c4ec8
test al, al
je 0x1400c9f43
cmp byte [rbx + 0x85], r12b
je 0x1400c9f43
test r14b, r14b
je 0x1400c9f43
mov dword [rsp + 0x5c], r12d
mov dword [rsp + 0xa8], 4
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400c9f43
nop dword [rax]
cmp dword [rsp + 0x5c], 0x191
jne 0x1400c9f43
lea rax, [rbx + 0x38]
cmp qword [rax + 0x18], 8
jb 0x1400c9e8c
mov rax, qword [rax]
lea rcx, str.RequestId
mov qword [rsp + 0x3e0], rcx
mov qword [rsp + 0x3e8], rax
mov word [rsp + 0x3f0], r12w
lea rax, [0x14013c2d8]
mov qword [rsp + 0x3d8], rax
lea rax, str.Message
mov qword [rsp + 0x400], rax
lea rax, str.Got_401_response_with_Negotiate_AuthScheme.__Retrying_the_request_with_NTLM.
mov qword [rsp + 0x408], rax
mov word [rsp + 0x410], r12w
lea rax, [0x14013c2d8]
mov qword [rsp + 0x3f8], rax
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x3f8]
mov qword [rsp + 0x28], rax
lea rax, str._HttpWin__sendInternal
mov qword [rsp + 0x20], rax
mov ecx, 0x2887661
mov r8d, 0x32
call fcn.1400bc658
mov r8, qword [rbx + 0x28]
mov rdx, qword [rbx + 0x58]
mov rcx, rbx
call fcn.1400c7398
mov byte [rbx + 0x85], r12b
jmp 0x1400c9df6
mov r12b, r15b
mov byte [rsp + 0x50], r15b
mov rdi, qword [rsp + 0xbe0]
jmp 0x1400c929e
xor r12d, r12d
test r14b, r14b
je 0x1400c9f7a
mov byte [rsp + 0x52], 0xa
mov r8b, r15b
lea rdx, [rsp + 0x52]
lea rcx, [rbx + 0x120]
call fcn.1400c502c
nop
mov byte [rbx + 0x21], r14b
mov rcx, rbx
call fcn.1400c78f8
mov edi, r12d
mov r14, r12
mov r15d, r12d
cmp byte [rbx + 0x21], r12b
jne 0x1400ca0bf
test r13d, r13d
jne 0x1400c9fa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov r8d, 0x2887662
mov edx, r13d
lea rcx, [rsp + 0x500]
call fcn.1400c6d4c
mov edi, dword [rax]
mov r14, qword [rax + 8]
mov r15d, dword [rax + 0x10]
lea rdx, [rsp + 0x100]
test edi, edi
jne 0x1400ca2bd
lea rcx, [rsp + 0x6f0]
call fcn.1400c6184
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x1400c9ff2
mov rcx, qword [rcx]
lea rdx, str.RequestId
mov qword [rsp + 0x420], rdx
mov qword [rsp + 0x428], rcx
mov word [rsp + 0x430], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x418], rcx
lea rcx, str.Message
mov qword [rsp + 0x440], rcx
lea rcx, str.The_request_failed_to_send__but_GetLastError_returned_Result::OK_
mov qword [rsp + 0x448], rcx
mov word [rsp + 0x450], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x438], rcx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x418]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x438]
mov qword [rsp + 0x28], rax
lea rax, str._HttpWin__sendInternal
mov qword [rsp + 0x20], rax
mov ecx, 0x8c80d3
mov r8d, 0xf
call fcn.1400ce7b4
lea rcx, [rsp + 0x6f0]
call fcn.14000efb8
mov edx, r13d
mov r8d, 0x2887663
lea rcx, [rsp + 0x518]
call fcn.1400c0540
mov edi, dword [rax]
mov r14, qword [rax + 8]
mov r15d, dword [rax + 0x10]
lea r13, str.Message
mov al, byte [rbx + 0x21]
test al, al
je 0x1400ca236
mov rax, qword [rbx]
lea r8, [rsp + 0xac]
lea rdx, [rsp + 0x530]
mov rcx, rbx
mov rax, qword [rax + 0x50]
call qword [case.0x1400ee2b6.0]
lea rax, str.Status
mov qword [rsp + 0x250], rax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x258], eax
mov word [rsp + 0x25c], r12w
lea rax, [0x14013c1c8]
mov qword [rsp + 0x248], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x760]
call fcn.1400c6184
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x1400ca149
mov rcx, qword [rcx]
lea rdx, str.RequestId
mov qword [rsp + 0x4a0], rdx
mov qword [rsp + 0x4a8], rcx
mov word [rsp + 0x4b0], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x498], rcx
mov qword [rsp + 0x4c0], r13
lea rcx, str.Request_for_Url_is_sent.
mov qword [rsp + 0x4c8], rcx
mov word [rsp + 0x4d0], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x4b8], rcx
lea rcx, [rsp + 0x248]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x498]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4b8]
mov qword [rsp + 0x28], rax
call fcn.1400cedec
lea rcx, [rsp + 0x760]
call fcn.14000efb8
mov al, byte [rbx + 0x21]
test al, al
je 0x1400ca236
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xb0]
call qword [case.0x1400ee2b6.0]
test rax, rax
je 0x1400ca236
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xb0]
call qword [case.0x1400ee2b6.0]
mov r10, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x28]
mov r9, rbx
mov r8, qword [rbx + 0x28]
mov rdx, qword [rbx + 0x30]
mov rcx, r10
call qword [case.0x1400ee2b6.0]
nop
cmp edi, 7
jne 0x1400ca595
mov qword [rsp + 0xc0], r12
lea rcx, [rbx + 0xf0]
mov qword [rsp + 0x90], rcx
mov dword [rsp + 0x98], r12d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lea eax, [rdi - 6]
lock xadd dword [rsp + 0x98], eax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1400ca3e2
mov r8d, 0x2887680
mov rcx, rsi
call fcn.1400c0324
nop
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x1400ca3c0
or eax, 0xffffffff
lock xadd dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400ca28f
lea rax, str.SH_ErrorCode
mov qword [rsp + 0x238], rax
mov dword [rsp + 0x240], r13d
mov word [rsp + 0x244], r12w
lea rax, [0x14013c1c8]
mov qword [rsp + 0x230], rax
lea rcx, [rsp + 0x728]
call fcn.1400c6184
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x1400ca307
mov rcx, qword [rcx]
lea rdx, str.RequestId
mov qword [rsp + 0x460], rdx
mov qword [rsp + 0x468], rcx
mov word [rsp + 0x470], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x458], rcx
lea r13, str.Message
mov qword [rsp + 0x480], r13
lea rcx, str.Failed_to_send_request.
mov qword [rsp + 0x488], rcx
mov word [rsp + 0x490], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x478], rcx
lea rcx, [rsp + 0x230]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x458]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x478]
mov qword [rsp + 0x28], rax
lea rax, str._HttpWin__sendInternal
mov qword [rsp + 0x20], rax
mov ecx, 0x5c80a2
call fcn.1400ced48
lea rcx, [rsp + 0x728]
call fcn.14000efb8
jmp 0x1400ca0c6
lea rcx, [rsp + 0x548]
call fcn.1400079d0
lea rcx, [rsp + 0x100]
call fcn.1400b0380
mov rax, rsi
jmp 0x1400ca638
mov dword [rsp + 0xb0], 8
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xc0]
mov edx, 0x4e
call qword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x1400ca515
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.SH_ErrorCode
mov qword [rsp + 0x268], rcx
mov dword [rsp + 0x270], eax
mov word [rsp + 0x274], r12w
lea rax, [0x14013c1c8]
mov qword [rsp + 0x260], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x798]
call fcn.1400c6184
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x1400ca467
mov rcx, qword [rcx]
lea rdx, str.RequestId
mov qword [rsp + 0x4e0], rdx
mov qword [rsp + 0x4e8], rcx
mov word [rsp + 0x4f0], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x4d8], rcx
mov qword [rsp + 0x280], r13
lea rcx, str.An_error_occurred_while_querying_for_the_Server_Certification_Context.
mov qword [rsp + 0x288], rcx
mov word [rsp + 0x290], r12w
lea rcx, [0x14013c2d8]
mov qword [rsp + 0x278], rcx
lea rcx, [rsp + 0x260]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4d8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x278]
mov qword [rsp + 0x28], rax
lea rax, str._HttpWin__sendInternal
mov qword [rsp + 0x20], rax
mov ecx, 0x1141443
call fcn.1400ced48
lea rcx, [rsp + 0x798]
call fcn.14000efb8
nop
mov eax, dword [rsp + 0x98]
test eax, eax
je 0x1400ca53f
or eax, 0xffffffff
lock xadd dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400ca515
cmp qword [rsp + 0xc0], r12
je 0x1400ca595
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, rax
test rax, rax
je 0x1400ca681
mov rax, qword [rsp + 0xc0]
mov dword [rdx + 8], r12d
lea rcx, fcn.14000b480
mov qword [rdx], rcx
mov qword [rdx + 0x10], rax
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400ca68a
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x1400ee2b6.0]
nop
lea r8, [rbx + 0xb0]
mov dword [r8], edi
mov qword [r8 + 8], r14
mov dword [r8 + 0x10], r15d
cmp edi, 7
jne 0x1400ca5b3
movsxd r14, dword [rbx + 0x164]
lea rcx, [rbx + 0x120]
mov rax, qword [rbx + 0x28]
mov r9b, byte [rbx + 0x21]
lea rdx, [rbx + 0x38]
cmp qword [rdx + 0x18], 8
jb 0x1400ca5d0
mov rdx, qword [rdx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x20], r9b
xor r9d, r9d
call fcn.1400c56d0
mov dword [rsi], edi
mov qword [rsi + 8], r14
mov dword [rsi + 0x10], r15d
lea rcx, [rsp + 0x548]
call fcn.1400079d0
lea rcx, [rsp + 0x100]
call fcn.1400b0380
mov rax, rsi
jmp 0x1400ca638
mov r8d, 0x288765d
mov rcx, rsi
call fcn.1400c0324
lea rcx, [rsp + 0x100]
call fcn.1400b0380
mov rax, rsi
jmp 0x1400ca638
mov rcx, qword [rsp + 0xb70]
xor rcx, rsp
call fcn.14012aa20
nop
add rsp, 0xb80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140011f3c
nop
jmp 0x1400ca664
nop
call fcn.140011f3c
nop
jmp 0x1400ca670
nop
xor edx, edx
mov ecx, 0x152139a
call fcn.14000ad28
nop
jmp 0x1400ca680
nop
call fcn.140129d58
nop
jmp 0x1400ca689
nop
xor edx, edx
mov ecx, 0x152139a
call fcn.14000ad28
nop
jmp 0x1400ca69c
nop
nop
nop
nop
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
cmp byte [rcx + 0x21], 0
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
jne 0x1400ca6d1
mov r8d, 0x2887683
mov rcx, rdx
call fcn.1400c0324
jmp 0x1400ca7b6
and dword [rbp + 0x20], 0
add rcx, 0xf0
and dword [rbp - 8], 0
mov dword [rbp + 0x38], 4
mov qword [rbp - 0x10], rcx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov eax, 1
lock xadd dword [rbp - 8], eax
mov rcx, qword [rdi + 0x58]
test rcx, rcx
jne 0x1400ca737
mov r8d, 0x2887684
mov rcx, rbx
call fcn.1400c0324
mov eax, dword [rbp - 8]
test eax, eax
je 0x1400ca7b6
or eax, 0xffffffff
lock xadd dword [rbp - 8], eax
mov rcx, qword [rbp - 0x10]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400ca715
and qword [rsp + 0x28], 0
lea rax, [rbp + 0x38]
lea r9, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x20000013
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
setne dil
mov eax, dword [rbp - 8]
test eax, eax
je 0x1400ca77c
or eax, 0xffffffff
lock xadd dword [rbp - 8], eax
mov rcx, qword [rbp - 0x10]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x1400ca75e
test dil, dil
je 0x1400ca794
mov eax, dword [rbp + 0x20]
mov dword [rsi], eax
and dword [rbx], 0
and qword [rbx + 8], 0
and dword [rbx + 0x10], 0
jmp 0x1400ca7b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
mov r8d, 0x2887685
or edx, 0x80070000
mov rcx, rbx
test eax, eax
cmovle edx, eax
call fcn.1400c69b4
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret