Function at 0x1400262c8
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 [0x140056920]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, r8
mov r12, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x28], r8
xor ebx, ebx
mov r14d, ebx
lea r15d, [rbx + 5]
mov dword [rsp + 0x24], ebx
mov qword [r8 + 0x10], rbx
mov rax, r8
cmp qword [r8 + 0x18], 8
jb 0x14002632b
mov rax, qword [r8]
mov word [rax], bx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], 0xf
mov byte [rsp + 0x68], bl
mov eax, r15d
dec r15d
mov dword [rsp + 0x30], r15d
test eax, eax
jle 0x140026391
lea rdx, [rsp + 0x24]
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
nop dword [rax + rax]
test eax, eax
jne 0x1400263af
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 r14d, 0x80004005
test ecx, ecx
cmovs r14d, ecx
cmp qword [rsp + 0x78], rbx
jne 0x14002643f
lea rdx, str.Payload_is_empty
xor ecx, ecx
call fcn.14000b5ac
jmp 0x140026681
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x140026391
lea ecx, [rax + 1]
lea rdx, [0x1400573d4]
call fcn.1400313ac
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400263db
mov r14d, 0x8007000e
jmp 0x140026391
lea r9, [rsp + 0x24]
mov r8d, dword [rsp + 0x24]
mov rdx, rdi
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
nop dword [rax + rax]
test eax, eax
je 0x14002636b
mov eax, dword [rsp + 0x24]
mov byte [rax + rdi], bl
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14000bfa4
nop
jmp 0x140026432
mov rcx, rdi
call fcn.1400301e8
jmp 0x140026343
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 rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
test rax, rax
je 0x140026487
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400267ac
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 0x1400266bc
mov r8, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_mbstowcs]
nop dword [rax + rax]
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
cmp rdi, rax
je 0x140026629
movabs rdx, 0x7ffffffffffffffe
movzx ecx, word [rdi]
mov word [rsp + 0x20], cx
mov r12, qword [rsi + 0x10]
mov r13, qword [rsi + 0x18]
cmp r12, r13
jae 0x14002651c
lea rax, [r12 + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp r13, 8
jb 0x14002650c
mov rax, qword [rsi]
mov word [rax + r12*2], cx
mov word [rax + r12*2 + 2], bx
jmp 0x140026615
mov rax, rdx
sub rax, r12
cmp rax, 1
jb 0x1400266c2
lea r15, [r12 + 1]
or r15, 7
cmp r15, rdx
jbe 0x14002653f
mov r15, rdx
jmp 0x14002655b
mov rcx, r13
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r13, rax
ja 0x14002653a
lea rax, [rcx + r13]
cmp r15, rax
cmovb r15, rax
lea rdx, [r15 + 1]
call fcn.14000dafc
mov qword [rsp + 0x28], rax
lea rcx, [r12 + 1]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], r15
lea r15, [r12 + r12]
mov qword [rsp + 0x40], r15
mov rcx, rax
cmp r13, 8
jb 0x1400265e8
mov r15, qword [rsi]
lea r8, [r12 + r12]
mov rdx, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r12, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
movzx ecx, word [rsp + 0x20]
mov word [r12 + rax], cx
mov word [r12 + rax + 2], bx
lea rdx, [r13*2 + 2]
cmp rdx, 0x1000
jb 0x1400265de
add rdx, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x14002666b
mov r15, rcx
mov rcx, r15
call fcn.1400301e8
jmp 0x140026608
mov r8, r15
mov rdx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r12, qword [rsp + 0x28]
movzx ecx, word [rsp + 0x20]
mov word [r12 + r15], cx
mov word [r12 + r15 + 2], bx
movabs rdx, 0x7ffffffffffffffe
mov qword [rsi], r12
add rdi, 2
cmp rdi, qword [rsp + 0x38]
jne 0x1400264e2
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x140026681
mov rax, qword [rsp + 0x58]
sub rax, rdi
sar rax, 1
lea rdx, [rax + rax]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140026678
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026678
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
mov rcx, rdi
call fcn.1400301e8
nop
lea rcx, [rsp + 0x68]
call fcn.14000c030
mov eax, r14d
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400301c0
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.140026794
nop
call fcn.14000ee08
int3