Function at 0x140014104
Capabilities:
Check http status code
Read http header
Receive http response

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14005e0f0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rdx
mov r14, rcx
movdqa xmm0, xmmword [0x14004da30]
movdqu xmmword [rbp - 1], xmm0
xor r13d, r13d
mov word [rbp - 0x11], r13w
lea rdx, str._OneSettings__GetCloudSettings
lea rcx, [rbp - 0x11]
call fcn.1400082d4
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r8, qword [rbp - 0x11]
lea rdx, str._s_:_Init
xor ecx, ecx
call fcn.140009b0c
nop
mov dword [rbp - 0x49], r13d
mov dword [rbp - 0x21], 4
mov rdx, rbx
mov rcx, r14
call fcn.1400153b0
mov esi, eax
test eax, eax
jns 0x1400141aa
mov r9d, eax
mov edx, 0x1a7
jmp 0x1400142cb
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
or r8d, 0xffffffff
xor edx, edx
mov rcx, qword [r14 + 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
nop dword [rax + rax]
mov ebx, 0x80004005
test eax, eax
jne 0x14001420d
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, ebx
test ecx, ecx
cmovs esi, ecx
test esi, esi
jns 0x14001420d
mov edx, 0x1ab
jmp 0x1400142c8
mov rcx, r14
call fcn.140015690
mov esi, eax
test eax, eax
jns 0x140014228
mov r9d, eax
mov edx, 0x1ae
jmp 0x1400142cb
xor edx, edx
mov rcx, qword [r14 + 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
nop dword [rax + rax]
test eax, eax
jne 0x14001426d
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, ebx
test ecx, ecx
cmovs esi, ecx
test esi, esi
jns 0x14001426d
mov edx, 0x1b2
jmp 0x1400142c8
mov qword [rsp + 0x28], r13
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x49]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, qword [r14 + 0x80]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
nop dword [rax + rax]
test eax, eax
jne 0x1400142e0
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, ebx
test ecx, ecx
cmovs esi, ecx
test esi, esi
jns 0x1400142e0
mov edx, 0x1bc
mov r9d, esi
mov rcx, qword [rbp + 0x5f]
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
call fcn.140003b08
jmp 0x14001466c
mov r8d, dword [rbp - 0x49]
lea rdx, str._OneSettings__GetCloudSettings_:_Got_HTTP__d_from_the_OneSettings_endpoint
xor ecx, ecx
call fcn.140009b0c
mov r8d, dword [rbp - 0x49]
cmp r8d, 0x130
jne 0x1400143df
mov qword [rbp - 0x41], r13
lea r9, [rbp - 0x41]
lea r8, str.x_ms_onesetinterval
mov edx, 0xffff
mov rcx, r14
call fcn.1400146c4
mov esi, eax
mov rbx, qword [rbp - 0x41]
test eax, eax
jns 0x140014330
mov edx, 0x1c5
jmp 0x1400143af
test rbx, rbx
je 0x140014359
mov qword [rbp - 0x39], r13
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140011c08
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rbp - 0x39]
jmp 0x14001435c
mov rax, r13
mov qword [rbp - 0x31], rax
lea r8, [r14 + 0x88]
lea rdx, [rbp - 0x31]
call fcn.14001488c
mov esi, eax
test eax, eax
jns 0x14001437d
mov edx, 0x1c6
jmp 0x1400143af
mov r8, rbx
lea rdx, str.x_ms_onesetinterval
mov rcx, r14
call fcn.140014cf8
mov esi, eax
test eax, eax
jns 0x14001439c
mov edx, 0x1c8
jmp 0x1400143af
mov rcx, r14
call fcn.140014980
mov esi, eax
test eax, eax
jns 0x1400143d7
mov edx, 0x1c9
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
mov rcx, qword [rbp + 0x5f]
call fcn.140003b08
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14001466c
mov rcx, rbx
jmp 0x14001464b
cmp r8d, 0xc8
jne 0x14001465c
mov qword [rbp - 0x41], r13
lea r9, [rbp - 0x41]
xor r8d, r8d
lea edx, [r8 + 0x36]
mov rcx, r14
call fcn.1400146c4
mov esi, eax
test eax, eax
jns 0x140014410
mov edx, 0x1d0
jmp 0x14001442e
mov r8, qword [rbp - 0x41]
lea rdx, str.ETag
mov rcx, r14
call fcn.140014cf8
mov esi, eax
test eax, eax
jns 0x140014446
mov edx, 0x1d2
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x5f]
call fcn.140003b08
jmp 0x140014624
mov qword [rbp - 0x31], r13
lea r9, [rbp - 0x31]
lea r8, str.x_ms_onesetinterval
mov edx, 0xffff
mov rcx, r14
call fcn.1400146c4
mov esi, eax
mov rbx, qword [rbp - 0x31]
test eax, eax
jns 0x140014473
mov edx, 0x1d6
jmp 0x1400144f2
test rbx, rbx
je 0x14001449c
mov qword [rbp - 0x39], r13
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140011c08
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rbp - 0x39]
jmp 0x14001449f
mov rax, r13
mov qword [rbp - 0x29], rax
lea r8, [r14 + 0x88]
lea rdx, [rbp - 0x29]
call fcn.14001488c
mov esi, eax
test eax, eax
jns 0x1400144c0
mov edx, 0x1d7
jmp 0x1400144f2
mov r8, rbx
lea rdx, str.x_ms_onesetinterval
mov rcx, r14
call fcn.140014cf8
mov esi, eax
test eax, eax
jns 0x1400144df
mov edx, 0x1d9
jmp 0x1400144f2
mov rcx, r14
call fcn.140014980
mov esi, eax
test eax, eax
jns 0x14001450a
mov edx, 0x1da
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x5f]
call fcn.140003b08
jmp 0x140014614
movdqa xmm0, xmmword [0x14004da40]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], r13b
lea rdx, [rbp + 0xf]
mov rcx, r14
call fcn.140013d70
mov esi, eax
test eax, eax
jns 0x140014537
mov edx, 0x1de
jmp 0x1400145f6
call fcn.140016134
mov esi, eax
test eax, eax
jns 0x14001454c
mov edx, 0x1df
jmp 0x1400145f6
lea rsi, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rsi, qword [rbp + 0xf]
or rcx, 0xffffffffffffffff
mov rax, rcx
inc rax
cmp byte [rsi + rax], r13b
jne 0x140014561
lea r12d, [rax + 1]
mov eax, 2
mul r12
cmovo rax, rcx
lea rdx, [0x14005ec11]
mov rcx, rax
call fcn.140042ef8
mov r15, rax
test rax, rax
jne 0x140014598
mov esi, 0x8007000e
jmp 0x1400145c0
mov r9, rsi
lea r8, [0x140049db8]
mov rdx, r12
mov rcx, r15
call fcn.140002278
mov esi, eax
test eax, eax
js 0x1400145c0
mov rdx, r15
mov rcx, r14
call fcn.140014f80
mov esi, eax
mov rcx, r15
call fcn.14004243c
test esi, esi
jns 0x1400145d6
mov r9d, esi
mov edx, 0x1e1
jmp 0x1400145f9
mov eax, 0x24b970
cmp esi, eax
jne 0x1400145e3
mov esi, eax
jmp 0x14001460a
mov rcx, r14
call fcn.140015cc0
mov esi, eax
test eax, eax
jns 0x14001462d
mov edx, 0x1e6
mov r9d, eax
lea r8, str.onecoreenduserwindowsupdate_ruxim_ruximliblibonesettings.cpp
mov rcx, qword [rbp + 0x5f]
call fcn.140003b08
nop
lea rcx, [rbp + 0xf]
call fcn.14000a234
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov rcx, qword [rbp - 0x41]
jmp 0x1400143c6
lea rcx, [rbp + 0xf]
call fcn.14000a234
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov esi, r13d
jmp 0x14001466c
lea rdx, str._OneSettings__GetCloudSettings_:_Got_HTTP__d_from_the_OneSettings_endpoint__304_200_was_Expected_
mov ecx, ebx
call fcn.140009b0c
mov esi, ebx
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r8, qword [rbp - 0x11]
lea rdx, str._s_:_Exit
xor ecx, ecx
call fcn.140009b0c
lea rcx, [rbp - 0x11]
call fcn.140008164
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140041d90
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret