Function at 0x180026c40
Capabilities:
Read http header

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x18008f230]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
test rcx, rcx
jne 0x180026c86
mov edi, r15d
mov qword [rbp - 0x39], r15
jmp 0x180026cab
mov rax, qword [rcx + 0x38]
movsxd rcx, dword [rax + 8]
lea rdi, [rbx + 0x38]
add rdi, rcx
mov qword [rbp - 0x39], rdi
je 0x180026cab
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x180062b2e.0]
nop
cmp dword [rbx + 0xa4], r15d
je 0x180026f77
mov dword [rbp - 0x55], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x55]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x180026f33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0x7a
je 0x180026d44
lea rdx, [0x18008d218]
mov rcx, qword [0x18008d218]
cmp rcx, rdx
je 0x180026d26
test byte [rcx + 0x1c], 1
je 0x180026d26
mov edx, 0x28
mov r9d, eax
lea r8, [0x180073ab8]
mov rcx, qword [rcx + 0x10]
call fcn.180001330
nop
test rdi, rdi
je 0x180026d3c
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x180062b2e.0]
nop
mov eax, r14d
jmp 0x180026f4e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r15
mov byte [rbp - 0x59], r15b
mov edx, dword [rbp - 0x55]
lea rax, [rbp - 0x51]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x21], rax
lea r8, [rbp - 0x29]
lea rcx, [rbp - 0x51]
call fcn.180027dd8
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x55]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x51]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x180026e3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, [0x18008d218]
mov rcx, qword [0x18008d218]
cmp rcx, rdx
je 0x180026dd9
test byte [rcx + 0x1c], 1
je 0x180026dd9
mov edx, 0x29
mov r9d, eax
lea r8, [0x180073ab8]
mov rcx, qword [rcx + 0x10]
call fcn.180001330
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x180026e1f
mov rdx, qword [rbp - 0x41]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180026e0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180026f71
call fcn.180040d20
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r15
test rdi, rdi
je 0x180026e35
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x180062b2e.0]
nop
mov eax, ebx
jmp 0x180026f4e
mov edx, dword [rbp - 0x55]
shr rdx, 1
movdqa xmm0, xmmword [0x1800792a0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], r15w
lea rcx, [rbp + 0xf]
cmp rdx, 7
ja 0x180026e7a
mov qword [rbp + 0x1f], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, qword [rbp - 0x51]
call fcn.1800441f0
mov word [rbp + rbx + 0xf], r15w
jmp 0x180026e86
lfence
mov r9, qword [rbp - 0x51]
call fcn.180005bfc
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.18000b224
lea rcx, [rbp + 0xf]
call fcn.180005f20
lea rdx, [0x18008d218]
mov rcx, qword [0x18008d218]
cmp rcx, rdx
je 0x180026ed7
test byte [rcx + 0x1c], 4
je 0x180026ed7
cmp qword [rsi + 0x18], 8
jb 0x180026ebe
mov rsi, qword [rsi]
mov edx, 0x2a
mov r9, rsi
lea r8, [0x180073ab8]
mov rcx, qword [rcx + 0x10]
call fcn.180001364
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x180026f19
mov rdx, qword [rbp - 0x41]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180026f08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180026f71
call fcn.180040d20
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r15
test rdi, rdi
je 0x180026f2f
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x180062b2e.0]
nop
xor eax, eax
jmp 0x180026f4e
test rdi, rdi
je 0x180026f49
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x180062b2e.0]
nop
mov eax, 3
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.180040cc0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18004afbc
nop
mov edx, 0x8007139f
lea rcx, [rbp - 0x11]
call fcn.18003b9b4
lea rdx, [0x180089f50]
lea rcx, [rbp - 0x11]
call fcn.1800425b8
int3