Function at 0x1400118cc
Capabilities:
Receive http response

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov qword [rax - 0x48], 0xfffffffffffffffe
mov r14, rdx
xor esi, esi
and dword [rax + 0x18], esi
lea ebx, [rsi + 0xa]
mov eax, ebx
dec ebx
mov dword [rsp + 0xa8], ebx
test eax, eax
jle 0x140011baf
mov r15, qword [rsp + 0x90]
lea rdx, [rsp + 0xa0]
mov rcx, qword [r15 + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x14001194f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov esi, 0x80004005
test ecx, ecx
cmovs esi, ecx
jmp 0x140011baf
mov r8d, dword [rsp + 0xa0]
mov ecx, esi
test r8d, r8d
je 0x140011ba3
lea rdx, str.You_are_reading__d_bytes
call fcn.140008980
mov ecx, dword [rsp + 0xa0]
inc ecx
lea rdx, [0x14002df96]
call fcn.1400198bc
mov r12, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001199a
mov esi, 0x8007000e
jmp 0x140011baf
lea r9, [rsp + 0xa0]
mov r8d, dword [rsp + 0xa0]
mov rdx, r12
mov rcx, qword [r15 + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14001192c
mov eax, dword [rsp + 0xa0]
mov byte [rax + r12], 0
or r15, 0xffffffffffffffff
inc r15
cmp byte [r12 + r15], 0
jne 0x1400119d2
mov rdx, qword [r14 + 0x10]
mov qword [rsp + 0x28], rdx
mov rcx, qword [r14 + 0x18]
mov qword [rsp + 0x30], rcx
mov rax, rcx
sub rax, rdx
cmp r15, rax
ja 0x140011a31
lea rax, [rdx + r15]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rcx, 0x10
jb 0x140011a0d
mov rax, qword [r14]
lea rbx, [rax + rdx]
mov r8, r15
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_memmove]
mov byte [rbx + r15], 0
mov ebx, dword [rsp + 0xa8]
jmp 0x140011b7c
movabs r8, 0x7fffffffffffffff
mov rax, r8
sub rax, rdx
cmp rax, r15
jb 0x140011bf6
lea r13, [rdx + r15]
or r13, 0xf
cmp r13, r8
jbe 0x140011a5c
mov r13, r8
jmp 0x140011a78
mov r9, rcx
shr r9, 1
mov rax, r8
sub rax, r9
cmp rcx, rax
ja 0x140011a57
lea rax, [r9 + rcx]
cmp r13, rax
cmovb r13, rax
mov qword [rsp + 0x20], r13
lea rcx, [r13 + 1]
test rcx, rcx
jne 0x140011a8b
xor r13d, r13d
jmp 0x140011ac4
cmp rcx, 0x1000
jb 0x140011ab7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140011bfc
mov rcx, rax
call fcn.140018b28
lea r13, [rax + 0x27]
and r13, 0xffffffffffffffe0
mov qword [r13 - 8], rax
jmp 0x140011abf
call fcn.140018b28
mov r13, rax
mov rdx, qword [rsp + 0x28]
lea rax, [rdx + r15]
mov qword [r14 + 0x10], rax
mov rax, qword [rsp + 0x20]
mov qword [r14 + 0x18], rax
lea rax, [rdx + r13]
mov qword [rsp + 0x20], rax
mov r8, rdx
mov rcx, r13
cmp qword [rsp + 0x30], 0x10
jb 0x140011b57
mov rbx, qword [r14]
mov rdx, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r8, r15
mov rdx, r12
mov rcx, qword [rsp + 0x20]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rax, qword [rsp + 0x20]
mov byte [rax + r15], 0
mov rax, qword [rsp + 0x30]
inc rax
cmp rax, 0x1000
jb 0x140011b3f
test bl, 0x1f
jne 0x140011b50
mov rax, qword [rbx - 8]
cmp rax, rbx
jae 0x140011b50
sub rbx, rax
sub rbx, 8
cmp rbx, 0x1f
ja 0x140011b50
mov rbx, rax
mov rcx, rbx
call fcn.140018814
mov ebx, dword [rsp + 0xa8]
jmp 0x140011b79
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r8, r15
mov rdx, r12
mov rcx, qword [rsp + 0x20]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rax, qword [rsp + 0x20]
mov byte [rax + r15], 0
mov qword [r14], r13
jmp 0x140011b96
mov rcx, r12
call fcn.140018ef0
jmp 0x1400118f8
lea rdx, str.You_have_completed_reading_as_dataSize_is_0
call fcn.140008980
test ebx, ebx
jne 0x140011bd3
cmp dword [rsp + 0xa0], ebx
jbe 0x140011bd3
mov esi, 0x8000ffff
lea r8d, [rbx + 0xa]
lea rdx, str.You_exceeded_the_maximum_number_of_reads_of__d._Something_is_probably_wrong_creating_a_read_loop_or_data_in_OneSettings_too_large
mov ecx, esi
call fcn.140008980
test esi, esi
je 0x140011be5
lea rdx, str.An_error_occurrred_during_the_read_of_OneSettings_data
mov ecx, esi
call fcn.140008980
mov eax, esi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret
call fcn.14000c848
nop
call fcn.14000c83c
int3