Function at 0x140013d70
Capabilities:
Receive http response

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14005e0f0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12, rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdx
movdqa xmm0, xmmword [0x14004da30]
movdqu xmmword [rsp + 0x78], xmm0
xor edi, edi
mov word [rsp + 0x68], di
lea rdx, str._OneSettings__ReadOneSettingsIntoBuffer
lea rcx, [r11 - 0x50]
call fcn.1400082d4
lea r8, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009b0c
nop
mov esi, edi
mov dword [rsp + 0x20], edi
lea ebx, [rdi + 0xa]
or r13, 0xffffffffffffffff
mov eax, ebx
dec ebx
mov dword [rsp + 0x30], ebx
test eax, eax
jle 0x140013e5c
mov r14, qword [rsp + 0x50]
lea rdx, [rsp + 0x20]
mov rcx, qword [r14 + 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
nop dword [rax + rax]
test eax, eax
jne 0x140013ec8
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 esi, 0x80004005
test ecx, ecx
cmovs esi, ecx
test ebx, ebx
jne 0x140013e6c
mov eax, 0x8000ffff
cmp dword [rsp + 0x20], edi
cmova esi, eax
lea r8, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae r8, qword [rsp + 0x68]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009b0c
lea rcx, [rsp + 0x68]
call fcn.140008164
mov eax, esi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140041d90
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x140013e5c
lea ecx, [rax + 1]
lea rdx, [0x14005ec11]
call fcn.140042ef8
mov r15, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140013ef6
mov esi, 0x8007000e
jmp 0x140013e5c
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, r15
mov rcx, qword [r14 + 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
nop dword [rax + rax]
test eax, eax
je 0x140013e38
mov eax, dword [rsp + 0x20]
mov byte [rax + r15], dil
mov r14, r13
inc r14
cmp byte [r15 + r14], dil
jne 0x140013f29
mov rcx, qword [r12 + 0x10]
mov qword [rsp + 0x28], rcx
mov rbx, qword [r12 + 0x18]
mov qword [rsp + 0x38], rbx
mov rax, rbx
sub rax, rcx
cmp r14, rax
ja 0x140013f82
lea rax, [rcx + r14]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rbx, 0x10
jb 0x140013f67
mov rax, qword [r12]
lea rbx, [rax + rcx]
mov r8, r14
mov rdx, r15
mov rcx, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov byte [rbx + r14], dil
jmp 0x1400140d0
movabs r8, 0x7fffffffffffffff
mov rax, r8
sub rax, rcx
cmp rax, r14
jb 0x1400140f7
lea r13, [rcx + r14]
or r13, 0xf
cmp r13, r8
jbe 0x140013fad
mov r13, r8
jmp 0x140013fc9
mov rdx, rbx
shr rdx, 1
mov rax, r8
sub rax, rdx
cmp rbx, rax
ja 0x140013fa8
lea rax, [rdx + rbx]
cmp r13, rax
cmovb r13, rax
lea rax, [r13 + 1]
cmp rax, 0x1000
jb 0x140014008
lea rcx, [rax + 0x27]
cmp rcx, rax
mov rax, 0xffffffffffffffff
cmovbe rcx, rax
call fcn.140042d9c
test rax, rax
je 0x1400140a1
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov rcx, qword [rsp + 0x28]
jmp 0x14001401d
test rax, rax
je 0x14001401a
mov rcx, rax
call fcn.140042d9c
mov rbx, rax
jmp 0x140014001
mov rbx, rdi
lea rax, [rcx + r14]
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x18], r13
lea r13, [rbx + rcx]
mov qword [rsp + 0x28], r13
mov r8, rcx
mov rcx, rbx
cmp qword [rsp + 0x38], 0x10
jb 0x1400140ae
mov r13, qword [r12]
mov rdx, r13
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r8, r14
mov rdx, r15
mov rcx, qword [rsp + 0x28]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rax, qword [rsp + 0x28]
mov byte [rax + r14], dil
mov rdx, qword [rsp + 0x38]
inc rdx
cmp rdx, 0x1000
jb 0x140014090
add rdx, 0x27
mov rcx, qword [r13 - 8]
sub r13, rcx
lea rax, [r13 - 8]
cmp rax, 0x1f
ja 0x1400140a1
mov r13, rcx
mov rcx, r13
call fcn.14004243c
mov r13, 0xffffffffffffffff
jmp 0x1400140cc
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
mov rdx, r12
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r8, r14
mov rdx, r15
mov rcx, r13
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov byte [r14 + r13], dil
or r13, 0xffffffffffffffff
mov qword [r12], rbx
jmp 0x1400140e6
mov ebx, dword [rsp + 0x30]
mov rcx, r15
call fcn.14004243c
jmp 0x140013e07
call fcn.140008354
int3