Function at 0x140026654
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400548d0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, r8
mov r12, rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r8
xor edi, edi
mov r15d, edi
lea r14d, [rdi + 5]
mov dword [rsp + 0x24], edi
mov rax, r8
cmp qword [r8 + 0x18], 8
jb 0x1400266b3
mov rax, qword [r8]
mov qword [r8 + 0x10], rdi
mov word [rax], di
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], 0xf
mov byte [rsp + 0x68], dil
mov eax, r14d
dec r14d
mov dword [rsp + 0x28], r14d
test eax, eax
jle 0x14002671e
lea rdx, [rsp + 0x24]
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
nop dword [rax + rax]
test eax, eax
jne 0x14002673c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov r15d, 0x80004005
test ecx, ecx
cmovs r15d, ecx
cmp qword [rsp + 0x78], rdi
jne 0x1400267cd
lea rdx, str.Payload_is_empty
xor ecx, ecx
call fcn.14000ad50
jmp 0x1400269cd
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x14002671e
lea ecx, [rax + 1]
lea rdx, [0x1400449d8]
call fcn.1400321c0
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140026768
mov r15d, 0x8007000e
jmp 0x14002671e
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, rbx
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
nop dword [rax + rax]
test eax, eax
je 0x1400266f8
mov eax, dword [rsp + 0x24]
mov byte [rax + rbx], dil
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14000b95c
nop
jmp 0x1400267c0
mov rcx, rbx
call fcn.140031098
jmp 0x1400266d0
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_mbstowcs]
nop dword [rax + rax]
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
test rax, rax
je 0x140026815
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140026ae4
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
sar rax, 1
je 0x140026a1f
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_mbstowcs]
nop dword [rax + rax]
mov r14, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
cmp r14, rax
je 0x1400269b1
movabs rdx, 0x7ffffffffffffffe
movabs r8, 0x7fffffffffffffff
movzx ecx, word [r14]
mov word [rsp + 0x20], cx
mov rbx, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
cmp rbx, r12
jae 0x1400268b2
lea rax, [rbx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp r12, 8
jb 0x1400268a4
mov rax, qword [rsi]
mov word [rax + rbx*2], cx
mov word [rax + rbx*2 + 2], di
jmp 0x14002699d
mov rax, rdx
sub rax, rbx
cmp rax, 1
jb 0x140026a19
lea r13, [rbx + 1]
or r13, 7
cmp r13, rdx
jbe 0x1400268d7
mov r13, rdx
mov rcx, r8
jmp 0x140026900
mov rcx, r12
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r12, rax
ja 0x1400268cf
lea rax, [rcx + r12]
cmp r13, rax
cmovb r13, rax
lea rcx, [r13 + 1]
cmp rcx, r8
ja 0x140026a25
add rcx, rcx
call fcn.14000ec94
mov qword [rsp + 0x30], rax
lea rcx, [rbx + 1]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], r13
add rbx, rbx
mov qword [rsp + 0x38], rbx
mov rcx, rax
cmp r12, 8
jb 0x140026966
mov rbx, qword [rsi]
mov r8, qword [rsp + 0x38]
mov rdx, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r13, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x20]
mov word [rax + r13], cx
mov word [rax + r13 + 2], di
lea rdx, [r12*2 + 2]
mov rcx, rbx
call fcn.14000ec50
jmp 0x140026986
mov r8, rbx
mov rdx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r13, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x20]
mov word [rbx + r13], cx
mov word [rbx + r13 + 2], di
movabs r8, 0x7fffffffffffffff
movabs rdx, 0x7ffffffffffffffe
mov qword [rsi], r13
add r14, 2
cmp r14, qword [rsp + 0x40]
jne 0x14002687a
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1400269cd
mov rdx, qword [rsp + 0x58]
sub rdx, r14
sar rdx, 1
add rdx, rdx
mov rcx, r14
call fcn.14000ec50
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x1400269e8
inc rdx
mov rcx, qword [rsp + 0x68]
call fcn.14000ec50
mov eax, r15d
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140031070
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140006620
nop
call fcn.140026acc
int3
call fcn.140003980
int3