Function at 0x140029ffc
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 [0x14005b8e0]
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 0x14002a05b
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 0x14002a0c6
lea rdx, [rsp + 0x24]
mov rcx, qword [r12]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
nop dword [rax + rax]
test eax, eax
jne 0x14002a0e4
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 0x14002a175
lea rdx, str.Payload_is_empty
xor ecx, ecx
call fcn.14000bb5c
jmp 0x14002a375
mov eax, dword [rsp + 0x24]
test eax, eax
je 0x14002a0c6
lea ecx, [rax + 1]
lea rdx, [0x14004aa58]
call fcn.140035c40
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14002a110
mov r15d, 0x8007000e
jmp 0x14002a0c6
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 0x14002a0a0
mov eax, dword [rsp + 0x24]
mov byte [rax + rbx], dil
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14000c7fc
nop
jmp 0x14002a168
mov rcx, rbx
call fcn.140034b18
jmp 0x14002a078
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 0x14002a1bd
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14002a48c
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 0x14002a3c7
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 0x14002a359
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 0x14002a25a
lea rax, [rbx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp r12, 8
jb 0x14002a24c
mov rax, qword [rsi]
mov word [rax + rbx*2], cx
mov word [rax + rbx*2 + 2], di
jmp 0x14002a345
mov rax, rdx
sub rax, rbx
cmp rax, 1
jb 0x14002a3c1
lea r13, [rbx + 1]
or r13, 7
cmp r13, rdx
jbe 0x14002a27f
mov r13, rdx
mov rcx, r8
jmp 0x14002a2a8
mov rcx, r12
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r12, rax
ja 0x14002a277
lea rax, [rcx + r12]
cmp r13, rax
cmovb r13, rax
lea rcx, [r13 + 1]
cmp rcx, r8
ja 0x14002a3cd
add rcx, rcx
call fcn.14000f92c
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 0x14002a30e
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.14000f8e8
jmp 0x14002a32e
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 0x14002a222
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14002a375
mov rdx, qword [rsp + 0x58]
sub rdx, r14
sar rdx, 1
add rdx, rdx
mov rcx, r14
call fcn.14000f8e8
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x14002a390
inc rdx
mov rcx, qword [rsp + 0x68]
call fcn.14000f8e8
mov eax, r15d
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140034af0
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.140006790
nop
call fcn.14002a474
int3
call fcn.140003af0
int3