Function at 0x140010fd8
Capabilities:
Query or enumerate registry value
Read http header
Receive http response
Set http header

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2b0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140032370]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x58], 4
mov ebx, r15d
mov dword [rsp + 0x48], r15d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 2]
lea r8, str.ETag
mov rdx, qword [rcx + 0x20]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov r13d, 0x80070000
test eax, eax
je 0x140011072
movzx ebx, ax
or ebx, r13d
test eax, eax
cmovle ebx, eax
mov eax, dword [rsp + 0x48]
add eax, 0x1e
test ebx, ebx
js 0x14001108a
mov ecx, 0x800700ea
cmp eax, 0x208
cmovae ebx, ecx
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
test ebx, ebx
js 0x140011101
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.14000e9d4
mov ebx, eax
test eax, eax
js 0x140011101
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 2
lea r8, str.ETag
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x140011101
movzx ebx, ax
or ebx, r13d
test eax, eax
cmovle ebx, eax
lea rsi, [rdi + 0x88]
mov r12d, 0x80004005
test ebx, ebx
jns 0x140011122
lea rdx, str.Failed_to_get_E_Tag
mov ecx, ebx
call fcn.140008c80
jmp 0x14001116c
mov r9d, 0x20000000
or r8d, 0xffffffff
lea rdx, [rbp - 0x70]
mov rcx, qword [rsi]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140011164
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, r13d
test eax, eax
cmovle ecx, eax
mov ebx, r12d
test ecx, ecx
cmovs ebx, ecx
lea rdx, str.Failed_to_add_E_Tag_header_to_request
mov ecx, ebx
call fcn.140008a60
test ebx, ebx
js 0x1400113ba
mov rdx, rsi
mov rcx, r14
call fcn.1400119c8
mov ebx, eax
test eax, eax
js 0x1400113ba
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
or r8d, 0xffffffff
xor edx, edx
mov rcx, qword [rdi + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1400111c3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, r13d
test eax, eax
cmovle ecx, eax
mov ebx, r12d
test ecx, ecx
cmovs ebx, ecx
test ebx, ebx
js 0x1400113ba
mov rcx, rdi
call fcn.140011c20
mov ebx, eax
test eax, eax
js 0x1400113ba
xor edx, edx
mov rcx, qword [rdi + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140011209
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, r13d
test eax, eax
cmovle ecx, eax
mov ebx, r12d
test ecx, ecx
cmovs ebx, ecx
test ebx, ebx
js 0x1400113ba
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x20000013
mov rcx, qword [rdi + 0x88]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140011257
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, r13d
test eax, eax
cmovle ecx, eax
mov ebx, r12d
test ecx, ecx
cmovs ebx, ecx
test ebx, ebx
js 0x1400113ba
mov r13d, 0xc8
cmp dword [rsp + 0x40], r13d
jne 0x140011398
movdqa xmm0, xmmword [0x140028930]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r15b
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140010e6c
mov ebx, eax
test eax, eax
js 0x14001138c
lea rsi, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rsi, qword [rsp + 0x70]
or r8, 0xffffffffffffffff
mov rcx, r8
inc rcx
cmp byte [rsi + rcx], r15b
jne 0x1400112b0
mov ebx, 1
add ebx, ecx
mov eax, 2
mul rbx
cmovo rax, r8
lea rdx, [0x140032de2]
mov rcx, rax
call fcn.14001d804
mov r14, rax
test rax, rax
je 0x1400112f7
mov r9, rsi
lea r8, [0x140023e78]
mov edx, ebx
mov rcx, rax
call fcn.140002d90
mov rdx, r14
mov rcx, rdi
call fcn.1400117d4
mov ebx, eax
mov rcx, r14
call fcn.14001ce60
test ebx, ebx
js 0x14001138c
lea rdx, str.Saving_settings_cache_to_registry
mov ecx, ebx
call fcn.140008c80
mov rcx, rdi
call fcn.1400125d4
mov ebx, eax
test eax, eax
js 0x14001138c
cmp dword [rsp + 0x40], r13d
je 0x14001133d
cmp dword [rsp + 0x40], 0x130
jne 0x14001138c
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea r8, [rdi + 0x90]
lea r9, [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.1400113e8
mov ebx, eax
test eax, eax
js 0x140011375
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1400116a8
mov ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop
lea rcx, [rsp + 0x70]
call fcn.140009968
jmp 0x1400113ba
cmp dword [rsp + 0x40], 0x130
jne 0x1400113b7
lea rdx, str.ETag_not_modified
mov ecx, ebx
call fcn.140008c80
mov ebx, 1
jmp 0x1400113ba
mov ebx, r12d
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14001c780
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret