Function at 0x140134eb4
Capabilities:
Check http status code
Receive http response

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x418]
sub rsp, 0x4e0
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov byte [rsp + 0x43], r9b
mov r12, r8
mov r13, rdx
mov rdi, rcx
mov rsi, qword [rcx + 0x60]
mov qword [rsp + 0x48], rsi
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov r14b, bl
mov byte [rsp + 0x40], bl
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x54], ebx
mov byte [rsp + 0x42], bl
lea eax, [rbx + 7]
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rbx
mov word [rbp - 0x20], bx
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x10], rbx
mov word [rbp], bx
mov byte [rsp + 0x41], bl
mov r15b, bl
cmp qword [r12 + 0x10], rbx
sete al
test al, al
je 0x140134f55
mov rdx, rbx
jmp 0x140134f66
cmp qword [r12 + 0x18], 8
jb 0x140134f63
mov rdx, qword [r12]
jmp 0x140134f66
mov rdx, r12
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
or r8d, 0xffffffff
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x140134ffe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov r15d, 0x2f00
cmp eax, r15d
jne 0x140134fc4
lea rdx, str._WinHttp_request_resend_is_required
mov ecx, 3
call fcn.14011ab80
mov ecx, dword [rsp + 0x54]
inc ecx
mov dword [rsp + 0x54], ecx
cmp ecx, 0xa
jg 0x1401352e9
jmp 0x1401352df
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140135480
test al, al
je 0x14013533e
lea r8, [rsp + 0x48]
lea rdx, str.OHttp::SendRequest:_Http_Send_request_failed__trying_proxy_index__d.
mov ecx, 3
call fcn.140133f00
mov rsi, qword [rsp + 0x48]
jmp 0x1401352df
xor edx, edx
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1401350b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
cmp eax, 0x2eef
jne 0x140135069
test r14b, r14b
jne 0x140135069
lea rdx, str._retrying_request_with_NTLM_authentication
mov ecx, 3
call fcn.14010246c
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov rcx, r13
call qword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
je 0x14013536f
mov r14b, 1
mov byte [rsp + 0x40], r14b
jmp 0x140134f41
lea r8, [rsp + 0x68]
lea rdx, str._WinHttpReceiveResponse_failed__error_d
mov esi, 3
mov ecx, esi
call fcn.140133e50
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140135480
test al, al
je 0x1401353a6
lea r8, [rsp + 0x48]
lea rdx, str.OHttp::SendRequest:_Http_Receive_request_failed__trying_proxy_index__d.
mov ecx, esi
call fcn.140133f58
mov rsi, qword [rsp + 0x48]
jmp 0x140134f41
mov byte [rsp + 0x20], bl
mov r9d, 0x13
mov r8, r13
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.140134b0c
nop
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rcx, qword [rbp + 0x20]
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov r14d, eax
cmp qword [r12 + 0x10], rbx
sete cl
neg cl
sbb edx, edx
and edx, 0xfffffffa
add edx, 0xce
cmp edx, eax
je 0x14013519c
cmp eax, 0xc8
je 0x14013519c
cmp eax, 0x191
jne 0x140135164
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp eax, 3
jg 0x1401353dd
cmp eax, 1
setle al
lea rcx, [rdi + 0x68]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rcx
lea r9, [rbp]
lea r8, [rbp - 0x20]
mov rdx, r13
mov rcx, rdi
call fcn.140134734
mov byte [rsp + 0x41], 1
mov r15b, 1
jmp 0x140135251
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp eax, 3
jle 0x1401352c8
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140135480
mov r15b, al
mov eax, ebx
mov dword [rsp + 0x50], ebx
mov rsi, qword [rsp + 0x48]
jmp 0x14013524c
mov byte [rsp + 0x42], 1
cmp byte [rsp + 0x41], bl
je 0x1401352c8
cmp byte [rsp + 0x43], bl
je 0x1401352c8
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x50], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp - 0x50]
call fcn.1400082c0
nop
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rbx
mov word [rbp - 0x70], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.1400082c0
nop
lea rdx, [rdi + 0x68]
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x70], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.1400082c0
nop
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140134a20
test r15b, r15b
je 0x1401352c8
cmp byte [rdi + 0xf8], bl
jne 0x14013529a
lea rdx, [rdi + 0xa8]
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x70], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.1400082c0
lea rcx, [rdi + 0xc8]
lea r8, [rsp + 0x70]
mov rdx, qword [rdi + 0x100]
call fcn.14013c748
mov rax, qword [rdi + 0xe8]
sub rax, qword [rdi + 0xe0]
sar rax, 5
cmp rsi, rax
jae 0x1401352c8
lea rcx, [rdi + 0xc8]
mov r8, qword [rdi + 0x100]
mov rdx, rsi
call fcn.14013cacc
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x20]
call fcn.140007eb8
test r15b, r15b
je 0x1401353eb
mov r14b, byte [rsp + 0x40]
jmp 0x140134f41
cmp byte [rbp + 0x440], bl
je 0x14013531a
lea r9, str.OHttp::SendRequest:_WinHttp_request_resend_count_exceeded_limits
mov r8d, r15d
mov edx, 0x7d
lea rcx, [rbp + 0x40]
call fcn.14002b2d4
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140007eb8
xor al, al
jmp 0x140135454
cmp byte [rbp + 0x440], bl
je 0x14013531a
lea r9, str.OHttp::SendRequest:_Http_Send_request_failed
mov r8d, r14d
mov edx, 0x7d
lea rcx, [rbp + 0x40]
call fcn.140018e40
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
cmp byte [rbp + 0x440], bl
je 0x14013531a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, str.OHttp::SendRequest:_Failed_to_set_authentication_scheme
mov edx, 0x85
lea rcx, [rbp + 0x40]
call fcn.14002ce00
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
cmp byte [rbp + 0x440], bl
je 0x14013531a
lea r9, str.OHttp::SendRequest:_Http_Receive_request_failed
mov r8d, dword [rsp + 0x68]
mov edx, 0x7e
lea rcx, [rbp + 0x40]
call fcn.14011e040
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x20]
call fcn.140007eb8
mov al, byte [rsp + 0x42]
test al, al
jne 0x140135428
cmp byte [rbp + 0x440], bl
je 0x14013531a
lea r9, str.Unexpected_status_code_received_for_Http_Send_request
mov r8d, r14d
mov edx, 0x7d
lea rcx, [rbp + 0x40]
call fcn.140133d28
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
test rsi, rsi
je 0x140135431
lea rbx, [rsi - 1]
mov qword [rdi + 0x60], rbx
xor r8d, r8d
mov dl, 1
lea rcx, [rbp]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.140007eb8
mov al, 1
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140022430
mov rbx, qword [rsp + 0x538]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret