Function at 0x14008d694
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
cmp dword [rcx + 0x6e0], ebx
je 0x14008d6bf
cmp qword [rcx + 0x6d8], rbx
mov eax, 0x80004005
cmove ebx, eax
jmp 0x14008d909
xor edx, edx
lea rcx, str.OneSettingsClient.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov qword [rdi + 0x6d8], rax
test rax, rax
jne 0x14008d6f0
mov ebx, 0x8007007e
jmp 0x14008d90d
lea rdx, str.OneSettingsCreateDownloadConfig
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x6e8], rax
test rax, rax
jne 0x14008d71c
mov ebx, 0x8007007f
jmp 0x14008d90d
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsFreeDownloadConfig
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x6f0], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsSetConfigBoolProperty
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x6f8], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsSetConfigDwordProperty
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x700], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsSetConfigWideStringProperty
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x708], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsSetConfigHandleProperty
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x710], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsFreeDownloadResponse
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x718], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsGetResponseDwordProperty
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x720], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsGetResponseStringProperty
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x728], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsGetResponseWideStringProperty
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x730], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsStartDownloadSession
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x738], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsEndDownloadSession
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x740], rax
test rax, rax
je 0x14008d712
mov rcx, qword [rdi + 0x6d8]
lea rdx, str.OneSettingsDownloadEndpoint
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x748], rax
test rax, rax
jne 0x14008d92d
mov ebx, 0x8007007f
test ebx, ebx
jns 0x14008d92d
mov rcx, qword [rdi + 0x6d8]
test rcx, rcx
je 0x14008d92d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
and qword [rdi + 0x6d8], 0
mov eax, ebx
mov dword [rdi + 0x6e0], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret