Function at 0x1400d0c2c
Capabilities:
Read http header

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov qword [r11 - 0x438], 0xfffffffffffffffe
mov rax, qword [0x1401cd010]
xor rax, rsp
mov qword [rsp + 0x470], 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 - 0x3e0], r13
lea rcx, [0x14013fd40]
mov qword [r11 - 0x3e8], rcx
mov qword [r11 - 0x3d8], rax
mov qword [r11 - 0x3d0], r13
mov dword [r11 - 0x3c8], r13d
mov qword [r11 - 0x3c0], r13
mov dword [r11 - 0x3b8], r13d
mov qword [r11 - 0x3b0], r13
mov dword [r11 - 0x3a8], r13d
mov qword [r11 - 0x3a0], r13
mov dword [r11 - 0x398], r13d
mov qword [r11 - 0x390], r13
mov dword [r11 - 0x388], r13d
mov qword [r11 - 0x380], r13
mov dword [r11 - 0x378], r13d
mov qword [r11 - 0x370], r13
mov dword [r11 - 0x368], r13d
mov qword [r11 - 0x360], r13
mov dword [r11 - 0x358], r13d
lea rcx, [r11 - 0x3e8]
call fcn.1400a54e4
test eax, eax
jns 0x1400d0d4a
mov r8d, 0x28876d2
lea rcx, [rsp + 0x50]
call fcn.1400c02a0
mov r8, rax
mov rdx, r14
mov rcx, rbx
call fcn.1400c18c8
lea rcx, [rsp + 0xd0]
call fcn.1400b0380
mov rax, r14
jmp 0x1400d1177
mov edi, 0xf
mov esi, 0x33f
cmp qword [rbx + 0x10], r13
jne 0x1400d0d71
lea r9, str._HttpWin_Async__sendInternal:_null_context
mov r8d, edi
mov edx, esi
mov ecx, 0x5970e1
call fcn.140122aa8
nop
cmp byte [rbx + 0x21], r13b
je 0x1400d0d8e
lea r9, str._HttpWin_Async__sendInternal:_request_already_sent
mov r8d, edi
mov edx, esi
mov ecx, 0x5970e2
call fcn.140122aa8
nop
cmp byte [rbx + 0x20], r13b
jne 0x1400d0dab
lea r9, str._HttpWin_Async__sendInternal:_request_not_open
mov r8d, edi
mov edx, esi
mov ecx, 0x5970e3
call fcn.140122aa8
nop
cmp byte [rbx + 0x22], r13b
je 0x1400d0dc8
lea r9, str._HttpWin_Async__sendInternal:_request_already_aborted
mov r8d, edi
mov edx, esi
mov ecx, 0x12cd420
call fcn.140122aa8
nop
cmp qword [rbx + 0x120], r13
je 0x1400d0de8
lea r9, str._HttpWin_Async__sendInternal:_helper_already_set
mov r8d, edi
mov edx, esi
mov ecx, 0x597100
call fcn.140122aa8
nop
cmp qword [rbx + 0x10], r13
je 0x1400d113f
cmp byte [rbx + 0x21], r13b
jne 0x1400d113f
cmp byte [rbx + 0x20], r13b
je 0x1400d113f
cmp byte [rbx + 0x22], r13b
jne 0x1400d113f
cmp qword [rbx + 0x120], r13
jne 0x1400d113f
cmp qword [rbx + 0xd0], r13
je 0x1400d0f51
cmp qword [rbx + 0x118], r13
jne 0x1400d0e92
xor eax, eax
mov qword [rsp + 0x58], rax
lea ecx, [rax + 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400d119b
lea rcx, [rsp + 0x50]
call fcn.1400c3204
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400d0e6c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rbx + 0x118]
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x118], rax
test rcx, rcx
je 0x1400d0e92
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ee2b6.0]
nop
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400d11a9
nop dword [rax]
mov rcx, qword [rbx + 0x118]
mov qword [rax], rcx
test rcx, rcx
je 0x1400d0ecd
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.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 0x1400d0f51
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400d0f2e
mov rax, qword [rsi + 0x20]
sub rax, rcx
cmp rax, 0x1000
jb 0x1400d0f1c
mov rdx, qword [rcx - 8]
sub rcx, rdx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400d0f72
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400d0f47
mov qword [rsi], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ee2b6.0]
nop
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, rbx
call fcn.1400d14e8
mov ecx, 0x58
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400d11b5
jmp 0x1400d0f79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsp + 0x50], rdi
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x4e0]
cmp rsi, rax
ja 0x1400d11bf
movdqa xmm0, xmmword [0x140186810]
movdqu xmmword [rsp + 0xb8], xmm0
mov word [rsp + 0xa8], r13w
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0xa8]
call fcn.140007920
mov dword [rsp + 0x48], 1
lea rdx, [rsp + 0xa8]
mov rcx, rdi
call fcn.140007a9c
mov qword [rdi + 0x20], r15
test r15, r15
je 0x1400d0ff5
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x1400ee2b6.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 0x1400d103e
cmp qword [rdi + 0x28], r13
je 0x1400d103e
cmp qword [rbx + 0xd0], r13
je 0x1400d103e
mov r8d, dword [rdi + 0x30]
mov rdx, r12
mov rcx, rsi
call fcn.1400b28d8
mov rax, qword [rsi]
mov qword [rdi + 0x28], rax
mov rdx, qword [rbx + 0x120]
mov qword [rbx + 0x120], rdi
test rdx, rdx
je 0x1400d1057
call fcn.1400d3c64
nop
mov rax, qword [rsp + 0xc0]
cmp rax, 8
jb 0x1400d109f
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400d1098
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1400d1098
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 + 0xb8], xmm0
mov word [rsp + 0xa8], r13w
lea rcx, [rbx + 0x158]
call fcn.1400c4fdc
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 0x120]
call fcn.1400d5d38
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 0x1400d111c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400d11c9
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400ee2b6.0]
cdqe
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x68]
mov rdx, r14
mov rcx, rbx
call fcn.1400c18c8
nop
lea rcx, [rsp + 0xd0]
call fcn.1400b0380
mov rax, r14
jmp 0x1400d1177
mov r8d, 0x28876d3
lea rcx, [rsp + 0x90]
call fcn.1400c0324
mov r8, rax
mov rdx, r14
mov rcx, rbx
call fcn.1400c18c8
lea rcx, [rsp + 0xd0]
call fcn.1400b0380
mov rax, r14
jmp 0x1400d1177
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14012aa20
nop
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x1117748
call fcn.14000adbc
nop
jmp 0x1400d11a8
nop
call fcn.140129d58
nop
jmp 0x1400d11b4
nop
call fcn.140129d58
nop
jmp 0x1400d11be
nop
call fcn.140011f3c
nop
jmp 0x1400d11c8
nop
xor edx, edx
mov ecx, 0x152139a
call fcn.14000ad28
nop
jmp 0x1400d11d8
nop
nop
nop
nop
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 0x1400d125f
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, [0x14013c2d8]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.1400b3e60
mov r8d, 0x28876d4
lea rcx, [rbp - 0x20]
call fcn.1400c0324
mov r8, rax
jmp 0x1400d12d9
mov rcx, qword [rcx + 0x58]
mov dword [rbp + 0x20], r14d
mov dword [rbp + 0x38], 4
test rcx, rcx
jne 0x1400d127b
mov r8d, 0x28876d5
jmp 0x1400d1251
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 0x1400d12b2
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 0x1400d12d5
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.1400c69b4
lea r8, [rbp - 0x20]
mov rdx, rbx
mov rcx, rdi
call fcn.1400c18c8
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