Function at 0x1400298d8
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rsi, r8
mov r12, rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x30], r8
xor ebx, ebx
mov r15d, ebx
lea r14d, [rbx + 5]
mov dword [rsp + 0x24], ebx
mov rax, r8
lea r13, [r8 + 0x18]
mov qword [rsp + 0x50], r13
cmp qword [r13], 8
jb 0x140029940
mov rax, qword [r8]
lea rdi, [r8 + 0x10]
mov qword [rsp + 0x38], rdi
mov qword [rdi], rbx
mov word [rax], bx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], 0xf
mov byte [rsp + 0x78], bl
mov eax, r14d
dec r14d
mov dword [rsp + 0x28], r14d
test eax, eax
jle 0x1400299ba
lea rdx, [rsp + 0x24]
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
nop dword [rax + rax]
test eax, eax
jne 0x1400299db
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 + 0x88], rbx
jne 0x140029a6b
lea rdx, str.Payload_is_empty
xor ecx, ecx
call fcn.14000c770
jmp 0x140029c64
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x1400299ba
lea ecx, [rax + 1]
lea rdx, [0x140049a88]
call fcn.140034c90
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140029a07
mov r15d, 0x8007000e
jmp 0x1400299ba
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 0x140029994
mov eax, dword [rsp + 0x24]
mov byte [rax + rdi], bl
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.14000d3e4
nop
jmp 0x140029a5e
mov rcx, rdi
call fcn.140033a14
jmp 0x14002996c
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rdx, qword [rsp + 0x78]
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 + 0x58], xmm0
mov qword [rsp + 0x68], rbx
test rax, rax
je 0x140029ab3
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140029d9c
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rdx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
sub rax, r12
sar rax, 1
je 0x140029cb2
mov r8, rdi
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_mbstowcs]
nop dword [rax + rax]
cmp r12, qword [rsp + 0x60]
je 0x140029c59
movabs rdx, 0x7ffffffffffffffe
mov rdi, qword [rsp + 0x38]
movzx ecx, word [r12]
mov word [rsp + 0x20], cx
mov r14, qword [rdi]
mov rax, qword [rsp + 0x50]
mov r13, qword [rax]
cmp r14, r13
jae 0x140029b46
lea rax, [r14 + 1]
mov qword [rdi], rax
mov rax, rsi
cmp r13, 8
jb 0x140029b36
mov rax, qword [rsi]
mov word [rax + r14*2], cx
mov word [rax + r14*2 + 2], bx
jmp 0x140029c4a
mov rax, rdx
sub rax, r14
cmp rax, 1
jb 0x140029cac
lea rdi, [r14 + 1]
or rdi, 7
cmp rdi, rdx
jbe 0x140029b68
mov rdi, rdx
jmp 0x140029b84
mov rcx, r13
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r13, rax
ja 0x140029b63
lea rax, [rcx + r13]
cmp rdi, rax
cmovb rdi, rax
lea rdx, [rdi + 1]
call fcn.14000f584
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x38]
lea rdx, [r14 + 1]
mov qword [rcx], rdx
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rdi
lea rdi, [r14 + r14]
mov qword [rsp + 0x40], rdi
mov rcx, rax
cmp r13, 8
jb 0x140029c18
mov rdi, qword [rsi]
lea r8, [r14 + r14]
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r14, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
movzx ecx, word [rsp + 0x20]
mov word [r14 + rax], cx
mov word [r14 + rax + 2], bx
lea rdx, [r13*2 + 2]
cmp rdx, 0x1000
jb 0x140029c0e
add rdx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140029c9f
mov rdi, rcx
mov rcx, rdi
call fcn.140034098
jmp 0x140029c38
mov r8, rdi
mov rdx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r14, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x20]
mov word [r14 + rdi], cx
mov word [r14 + rdi + 2], bx
movabs rdx, 0x7ffffffffffffffe
mov rdi, qword [rsp + 0x38]
mov qword [rsi], r14
add r12, 2
cmp r12, qword [rsp + 0x60]
jne 0x140029b09
lea rcx, [rsp + 0x58]
call fcn.140029cc0
nop
lea rcx, [rsp + 0x78]
call fcn.14000d504
mov eax, r15d
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400339f0
lea r11, [rsp + 0xa0]
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 qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
call fcn.140007740
int3
call fcn.140029d84
int3