Function at 0x1400f5e30
Capabilities:
Read http header

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x550
mov qword [r11 - 0x448], 0xfffffffffffffffe
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov r12, r9
mov r15, r8
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rdx
xor r13d, r13d
mov dword [rsp + 0x48], r13d
mov rax, qword [rcx + 0x28]
mov qword [r11 - 0x500], r13
lea rcx, [0x1402b9810]
mov qword [r11 - 0x508], rcx
mov qword [r11 - 0x4f8], rax
mov qword [r11 - 0x4f0], r13
mov dword [r11 - 0x4e8], r13d
mov qword [r11 - 0x4e0], r13
mov dword [r11 - 0x4d8], r13d
mov qword [r11 - 0x4d0], r13
mov dword [r11 - 0x4c8], r13d
mov qword [r11 - 0x4c0], r13
mov dword [r11 - 0x4b8], r13d
mov qword [r11 - 0x4b0], r13
mov dword [r11 - 0x4a8], r13d
mov qword [r11 - 0x4a0], r13
mov dword [r11 - 0x498], r13d
mov qword [r11 - 0x490], r13
mov dword [r11 - 0x488], r13d
mov qword [r11 - 0x480], r13
mov dword [r11 - 0x478], r13d
lea rcx, [r11 - 0x508]
call fcn.1400c88ec
test eax, eax
jns 0x1400f59ad
mov r8d, 0x28876d2
lea rcx, [rsp + 0x148]
call fcn.1400e4c6c
mov r8, rax
mov rdx, r14
mov rcx, rbx
call fcn.1400e6450
lea rcx, [rsp + 0x80]
call fcn.1400d3844
mov rax, r14
jmp 0x1400f5dc9
mov edi, 0xf
mov esi, 0x33f
cmp qword [rbx + 0x10], r13
jne 0x1400f59d4
lea r9, str._HttpWin_Async__sendInternal:_null_context
mov r8d, edi
mov edx, esi
mov ecx, 0x5970e1
call fcn.140143574
nop
cmp byte [rbx + 0x21], r13b
je 0x1400f59f1
lea r9, str._HttpWin_Async__sendInternal:_request_already_sent
mov r8d, edi
mov edx, esi
mov ecx, 0x5970e2
call fcn.140143574
nop
cmp byte [rbx + 0x20], r13b
jne 0x1400f5a0e
lea r9, str._HttpWin_Async__sendInternal:_request_not_open
mov r8d, edi
mov edx, esi
mov ecx, 0x5970e3
call fcn.140143574
nop
cmp byte [rbx + 0x22], r13b
je 0x1400f5a2b
lea r9, str._HttpWin_Async__sendInternal:_request_already_aborted
mov r8d, edi
mov edx, esi
mov ecx, 0x12cd420
call fcn.140143574
nop
cmp qword [rbx + 0x120], r13
je 0x1400f5a4b
lea r9, str._HttpWin_Async__sendInternal:_helper_already_set
mov r8d, edi
mov edx, esi
mov ecx, 0x597100
call fcn.140143574
nop
cmp qword [rbx + 0x10], r13
je 0x1400f5d91
cmp byte [rbx + 0x21], r13b
jne 0x1400f5d91
cmp byte [rbx + 0x20], r13b
je 0x1400f5d91
cmp byte [rbx + 0x22], r13b
jne 0x1400f5d91
cmp qword [rbx + 0x120], r13
jne 0x1400f5d91
cmp qword [rbx + 0xd0], r13
je 0x1400f5bc3
cmp qword [rbx + 0x118], r13
jne 0x1400f5b03
lea rcx, [rsp + 0x50]
call fcn.1400e7db4
mov rdx, qword [rax]
mov qword [rax], r13
mov rcx, qword [rbx + 0x118]
mov qword [rsp + 0x58], rcx
mov qword [rbx + 0x118], rdx
test rcx, rcx
je 0x1400f5acc
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1400f5b03
mov qword [rsp + 0x50], r13
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400f5b03
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
mov rax, qword [rax + 0x28]
call qword [case.0x140118f85.0]
mov rcx, rdi
call fcn.140261814
nop
mov ecx, 0x28
call fcn.140261ad4
mov rdi, rax
test rax, rax
je 0x1400f5ded
nop dword [rax]
mov rcx, qword [rbx + 0x118]
mov qword [rax], rcx
test rcx, rcx
je 0x1400f5b3d
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
nop
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x20], r13
mov rsi, qword [rbx + 0x128]
mov qword [rbx + 0x128], rdi
test rsi, rsi
je 0x1400f5bc3
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400f5ba1
mov rax, qword [rsi + 0x20]
sub rax, rcx
cmp rax, 0x1000
jb 0x1400f5b90
mov rdx, qword [rcx - 8]
sub rcx, rdx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400f5dff
mov rcx, rdx
call fcn.140261814
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400f5bba
mov qword [rsi], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
mov rcx, rsi
call fcn.140261814
nop
mov rcx, rbx
call fcn.1400f6138
mov ecx, 0x58
call fcn.140261ad4
mov rdi, rax
test rax, rax
je 0x1400f5df6
mov qword [rsp + 0x58], rdi
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x5b0]
cmp rsi, rax
ja 0x1400f5e08
movdqa xmm0, xmmword [0x140333fe0]
movdqu xmmword [rsp + 0x188], xmm0
mov word [rsp + 0x178], r13w
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x178]
call fcn.14000b3a4
mov dword [rsp + 0x48], 1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], r13
lea rdx, [rsp + 0x178]
mov rcx, rdi
call fcn.14000b494
mov qword [rdi + 0x20], r15
test r15, r15
je 0x1400f5c65
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
nop
mov qword [rdi + 0x28], r12
mov dword [rdi + 0x30], esi
mov dword [rdi + 0x34], r13d
mov qword [rdi + 0x38], rbx
mov byte [rdi + 0x40], r13b
lea rsi, [rdi + 0x48]
mov qword [rsi], r13
mov qword [rdi + 0x50], r13
cmp dword [rdi + 0x30], r13d
jbe 0x1400f5cae
cmp qword [rdi + 0x28], r13
je 0x1400f5cae
cmp qword [rbx + 0xd0], r13
je 0x1400f5cae
mov r8d, dword [rdi + 0x30]
mov rdx, r12
mov rcx, rsi
call fcn.1400d65a8
mov rax, qword [rsi]
mov qword [rdi + 0x28], rax
mov rdx, qword [rbx + 0x120]
mov qword [rbx + 0x120], rdi
test rdx, rdx
je 0x1400f5cc7
call fcn.1400f88c0
nop
mov rax, qword [rsp + 0x190]
cmp rax, 8
jb 0x1400f5d0b
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x178]
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400f5d05
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x1400f5e11
call fcn.140261814
nop
lea rcx, [rbx + 0x158]
call fcn.1400e9b98
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 0x120]
call fcn.1400fa9c8
mov ecx, dword [rsp + 0x68]
mov dword [rbx + 0xb8], ecx
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0xc0], rax
mov eax, dword [rsp + 0x78]
mov dword [rbx + 0xc8], eax
cmp ecx, 7
jne 0x1400f5d6e
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400f5e1a
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140118f85.0]
cdqe
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x68]
mov rdx, r14
mov rcx, rbx
call fcn.1400e6450
nop
lea rcx, [rsp + 0x80]
call fcn.1400d3844
mov rax, r14
jmp 0x1400f5dc9
mov r8d, 0x28876d3
lea rcx, [rsp + 0x160]
call fcn.1400e4cf4
mov r8, rax
mov rdx, r14
mov rcx, rbx
call fcn.1400e6450
lea rcx, [rsp + 0x80]
call fcn.1400d3844
mov rax, r14
jmp 0x1400f5dc9
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.1402361b0
nop
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140147a48
nop
jmp 0x1400f5df5
nop
call fcn.140147a48
nop
jmp 0x1400f5dfe
nop
call fcn.140261a5c
nop
jmp 0x1400f5e07
nop
call fcn.14000f62c
nop
jmp 0x1400f5e10
nop
call fcn.140261a5c
nop
jmp 0x1400f5e19
nop
xor edx, edx
mov ecx, 0x152139a
call fcn.140025d34
nop
jmp 0x1400f5e2c
nop
nop
nop
nop
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
xor r14d, r14d
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp byte [rcx + 0x21], r14b
jne 0x1400f5eaf
lea rax, str.Message
mov word [rbp - 8], r14w
mov qword [rbp - 0x18], rax
lea r9, str._HttpWin_Async__status
lea rax, str.m_fRequestSent_is_false___request_sent_failed.
mov ecx, 0x25903cf
mov qword [rbp - 0x10], rax
lea r8d, [r14 + 0xf]
lea rax, method.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.virtual_0
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.1400d83a0
mov r8d, 0x28876d4
lea rcx, [rbp - 0x20]
call fcn.1400e4cf4
mov r8, rax
jmp 0x1400f5f29
mov rcx, qword [rcx + 0x58]
mov dword [rbp + 0x20], r14d
mov dword [rbp + 0x38], 4
test rcx, rcx
jne 0x1400f5ecb
mov r8d, 0x28876d5
jmp 0x1400f5ea1
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], r14
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
je 0x1400f5f02
mov eax, dword [rbp + 0x20]
mov dword [rsi], eax
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x18], r14
mov dword [rbp - 0x10], r14d
jmp 0x1400f5f25
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
mov r8d, 0x28565a0
or edx, 0x80070000
lea rcx, [rbp - 0x20]
test eax, eax
cmovle edx, eax
call fcn.1400eb618
lea r8, [rbp - 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.1400e6450
lea r11, [rsp + 0x50]
mov rax, rbx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret