Function at 0x140022b18
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x260
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400d3258]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r14d, r9d
mov dword [rsp + 0x64], r9d
mov rbx, r8
mov qword [rbp - 0x10], rdx
mov r12, rcx
mov qword [rbp - 0x18], rcx
mov rdi, qword [rbp + 0x1d0]
mov r13, qword [rbp + 0x1c8]
mov r15, qword [rbp + 0x1d8]
mov rsi, qword [rbp + 0x1e0]
mov qword [rbp - 0x28], rsi
xor ecx, ecx
mov dword [rsp + 0x70], ecx
movzx r8d, byte [rbp + 0x1c0]
lea r9d, [rcx + 4]
test byte [0x1400d5680], 0x20
je 0x140022c06
mov dword [rbp - 0x60], ecx
mov dword [rbp - 0x68], ecx
mov dword [rbp - 0x70], r8d
lea rax, [rbp - 0x70]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], r9
lea rax, [rbp - 0x68]
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], r9
lea rax, [rbp - 0x60]
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], r9
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400afd30]
call fcn.1400050c8
mov rdx, qword [rbp - 0x10]
movzx r8d, byte [rbp + 0x1c0]
lea rax, [0x1400d0018]
mov r9d, 5
mov rcx, qword [0x1400d0018]
cmp rcx, rax
je 0x140022c63
test byte [rcx + 0x1c], 1
je 0x140022c63
cmp byte [rcx + 0x19], r9b
jb 0x140022c63
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r9, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400208f4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rsp + 0x6c], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
xor eax, eax
mov qword [rbp + 8], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp + 0x20], 0xa
mov dword [rbp - 0x78], 0x32000
mov esi, eax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
xor ecx, ecx
test eax, eax
jne 0x140022ce7
mov ebx, ecx
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x30], rax
mov r10, qword [0x1400d0018]
lea rdx, [0x1400d0018]
cmp r10, rdx
je 0x140022d38
test byte [r10 + 0x1c], 2
je 0x140022d38
mov edx, 2
test ebx, ebx
lea eax, [rdx + 3]
cmove edx, eax
movzx eax, byte [r10 + 0x19]
cmp eax, edx
jb 0x140022d38
mov edx, 0x48
mov r9d, ebx
lea r8, [0x1400b1f20]
mov rcx, qword [r10 + 0x10]
call fcn.1400035c4
mov r10, qword [0x1400d0018]
xor ecx, ecx
test ebx, ebx
jne 0x140022df4
mov dword [rsp + 0x68], ecx
mov dword [rbp - 0x58], 4
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x54]
xor r8d, r8d
lea rdx, str.BrowseSearchSizeOverride
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140022d8f
mov eax, dword [rbp - 0x54]
sub eax, 4
neg eax
sbb ebx, ebx
and ebx, 0xd
mov r10, qword [0x1400d0018]
lea rax, [0x1400d0018]
cmp r10, rax
je 0x140022dd7
test byte [r10 + 0x1c], 2
je 0x140022dd7
mov eax, 5
cmp byte [r10 + 0x19], al
jb 0x140022dd7
lea edx, [rax + 0x44]
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x68]
lea r8, [0x1400b1f20]
mov rcx, qword [r10 + 0x10]
call fcn.1400054e0
mov r10, qword [0x1400d0018]
test ebx, ebx
jne 0x140022df4
mov r12d, dword [rsp + 0x68]
test r12d, r12d
mov eax, 0xffffffff
cmove r12d, eax
mov dword [rbp - 0x78], r12d
mov r12, qword [rbp - 0x18]
lea rax, [0x1400d0018]
cmp r10, rax
je 0x140022e2a
test byte [r10 + 0x1c], 1
je 0x140022e2a
mov edx, 0x25
lea r8, [0x1400b2318]
mov rcx, qword [r10 + 0x10]
call fcn.1400034f0
mov r10, qword [0x1400d0018]
lea rax, [0x1400d0018]
movzx ebx, byte [r13 + 0xb0]
cmp r10, rax
je 0x140022e66
test byte [r10 + 0x1c], 1
je 0x140022e66
mov eax, 5
cmp byte [r10 + 0x19], al
jb 0x140022e66
mov r9d, ebx
lea edx, [rax + 0x21]
lea r8, [0x1400b2318]
mov rcx, qword [r10 + 0x10]
call fcn.1400035c4
mov r10, qword [0x1400d0018]
cmp bl, 1
jne 0x140022edb
lea rdx, [rbp - 8]
mov rcx, rdi
call fcn.140030ee8
mov esi, eax
mov r10, qword [0x1400d0018]
lea rbx, [0x1400d0018]
cmp r10, rbx
je 0x140022f3a
test byte [r10 + 0x1c], 2
je 0x140022f3a
movzx edx, byte [r10 + 0x19]
mov ecx, 2
test eax, eax
lea eax, [rcx + 3]
cmovns ecx, eax
cmp edx, ecx
jb 0x140022f3a
lea edx, [rax + 0x45]
mov eax, dword [rbp + 8]
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x1400b1f20]
mov rcx, qword [r10 + 0x10]
call fcn.1400054e0
mov r10, qword [0x1400d0018]
jmp 0x140022f3a
test rdi, rdi
je 0x14002366d
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140022f33
mov rcx, qword [rbp - 8]
mov rdx, qword [rbx + 0x10]
mov rbx, qword [rbx + 8]
mov r9, rcx
xor r8d, r8d
lea rcx, [rbp - 8]
call fcn.140028494
mov rcx, rax
mov rax, qword [rbp - 8]
test rax, rax
je 0x140022f1a
mov qword [rax + 8], rcx
jmp 0x140022f1e
mov qword [rbp], rcx
mov qword [rbp - 8], rcx
test rbx, rbx
jne 0x140022ef1
mov r10, qword [0x1400d0018]
mov r14d, dword [rsp + 0x64]
lea rbx, [0x1400d0018]
and dword [rsp + 0x60], 0
test esi, esi
js 0x1400234fe
mov rax, qword [r12]
lea rdx, [rsp + 0x60]
mov rcx, r12
mov rax, qword [rax + 0x40]
call qword [case.0x1400688bc.0]
mov edi, eax
mov r10, qword [0x1400d0018]
xor r12d, r12d
cmp r10, rbx
je 0x140022fb0
test byte [r10 + 0x1c], 2
je 0x140022fb0
movzx edx, byte [r10 + 0x19]
lea ecx, [r12 + 2]
test eax, eax
lea eax, [rcx + 3]
cmovns ecx, eax
cmp edx, ecx
jb 0x140022fb0
lea edx, [rax + 0x46]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x1400b1f20]
mov rcx, qword [r10 + 0x10]
call fcn.1400054e0
mov r10, qword [0x1400d0018]
test edi, edi
js 0x1400234fe
mov eax, dword [rsp + 0x60]
test eax, eax
cmovs eax, r12d
mov dword [rsp + 0x60], eax
mov rcx, r15
call fcn.140004d10
imul edx, dword [rsp + 0x60], 0x1770
add edx, 0xb1
mov rax, qword [r15]
mov r8d, 1
sub r8d, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, edx
or ecx, r8d
jge 0x140022ffb
mov rcx, r15
call fcn.140004ec8
lea rdx, str._DIDL_Lite_xmlns:dc_http:__purl.org_dc_elements_1.1___r_nxmlns:upnp_urn:schemas_upnp_org:metadata_1_0_upnp___r_nxmlns_urn:schemas_upnp_org:metadata_1_0_DIDL_Lite___r_n
or rsi, 0xffffffffffffffff
mov rax, rsi
xor ebx, ebx
inc rax
cmp word [rdx + rax*2], bx
jne 0x14002300b
mov r8d, eax
mov rcx, r15
call fcn.140004550
mov rax, qword [r13]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, r13
mov rax, qword [rax]
call qword [case.0x1400688bc.0]
test al, al
je 0x140023056
lea rdx, str.xmlns:microsoft_urn:schemas_microsoft_com:WMPNSS_1_0___r_n
mov rax, rsi
inc rax
cmp word [rdx + rax*2], bx
jne 0x140023042
mov r8d, eax
mov rcx, r15
call fcn.140004550
mov rax, qword [r13]
mov edx, 0x4a
mov rcx, r13
mov rax, qword [rax]
call qword [case.0x1400688bc.0]
test al, al
jne 0x140023088
mov rax, qword [r13]
mov edx, 0x48
mov rcx, r13
mov rax, qword [rax]
call qword [case.0x1400688bc.0]
test al, al
je 0x1400230a6
lea rdx, str.xmlns:dlna_urn:schemas_dlna_org:metadata_1_0___r_n
mov rax, rsi
inc rax
cmp word [rdx + rax*2], bx
jne 0x140023092
mov r8d, eax
mov rcx, r15
call fcn.140004550
lea rdx, [0x1400b1e14]
mov rax, rsi
inc rax
cmp word [rdx + rax*2], bx
jne 0x1400230b0
mov r8d, eax
mov rcx, r15
call fcn.140004550
mov eax, dword [rsp + 0x60]
test eax, eax
jle 0x140023439
cmp eax, 1
jne 0x1400230df
btr r14d, 0xc
mov dword [rsp + 0x64], r14d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov r14d, eax
sub r14d, dword [rsp + 0x6c]
mov rcx, r15
call fcn.140022a78
mov esi, eax
xor eax, eax
cmp dword [rsp + 0x60], eax
jbe 0x1400233e5
mov qword [rbp - 0x80], rax
mov r9, qword [rbp - 0x18]
mov rcx, qword [r9]
mov rax, qword [rcx + 0x38]
lea r8, [rbp - 0x80]
mov edx, ebx
mov rcx, r9
call qword [case.0x1400688bc.0]
mov edi, eax
mov rcx, qword [0x1400d0018]
lea rax, [0x1400d0018]
cmp rcx, rax
je 0x14002317d
test byte [rcx + 0x1c], 2
je 0x14002317d
movzx edx, byte [rcx + 0x19]
mov eax, 2
test edi, edi
lea r8d, [rax + 3]
cmovns eax, r8d
cmp edx, eax
jb 0x14002317d
lea edx, [r8 + 0x47]
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov r9d, edi
lea r8, [0x1400b1f20]
mov rcx, qword [rcx + 0x10]
call fcn.14000ad4c
test edi, edi
js 0x1400233cf
mov rax, qword [0x1400d2e50]
lea rcx, [0x1400d2e50]
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
mov eax, 0x1770
sub ecx, eax
or ecx, edx
jge 0x1400231c8
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140004ec8
test byte [0x1400d5680], 0x20
je 0x140023208
mov dword [rbp - 0x50], ebx
lea rax, [rbp - 0x50]
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], 4
lea rax, [rbp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea rdx, [0x1400afd10]
call fcn.1400050c8
lea rcx, [rbp + 0x50]
call fcn.140036e04
nop
mov qword [rsp + 0x38], r13
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov al, byte [rbp + 0x1c0]
mov byte [rsp + 0x20], al
mov r9d, dword [rsp + 0x64]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x50]
call fcn.140036ff4
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x50]
call fcn.14009a23c
test byte [0x1400d5680], 0x20
je 0x140023293
mov dword [rbp - 0x48], ebx
lea rax, [rbp - 0x48]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], 4
lea rax, [rbp + 0x130]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea rdx, [0x1400afd00]
call fcn.1400050c8
mov rdx, qword [rsp + 0x78]
xor eax, eax
cmp dword [rdx - 0x10], eax
je 0x1400232f2
test dword [rsp + 0x64], 0x408
jne 0x1400232cd
lea rcx, [rsp + 0x78]
call fcn.140022a78
add eax, 2
add esi, eax
lea eax, [rsi + 0xc]
mov r8d, dword [rbp - 0x78]
cmp eax, r8d
ja 0x14002334e
mov rdx, qword [rsp + 0x78]
inc r12d
mov r8d, dword [rdx - 0x10]
mov rcx, r15
call fcn.140004550
mov r8d, 2
lea rdx, [0x1400b1cec]
mov rcx, r15
call fcn.140004550
nop
lea rcx, [rbp + 0x50]
call fcn.140036f40
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140023323
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rcx, qword [rbp - 0x80]
xor eax, eax
test rcx, rcx
je 0x14002333d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400688bc.0]
xor eax, eax
inc ebx
cmp ebx, dword [rsp + 0x60]
jae 0x1400233e5
jmp 0x140023109
mov rcx, qword [0x1400d0018]
lea rax, [0x1400d0018]
cmp rcx, rax
je 0x14002339e
test byte [rcx + 0x1c], 2
je 0x14002339e
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x14002339e
lea eax, [rsi + 0xc]
mov edx, 0x4d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, ebx
lea r8, [0x1400b1f20]
mov rcx, qword [rcx + 0x10]
call fcn.140020164
nop
lea rcx, [rbp + 0x50]
call fcn.140036f40
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400233cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400233e5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400688bc.0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov esi, dword [rsp + 0x6c]
sub eax, esi
mov rcx, qword [0x1400d0018]
lea rdx, [0x1400d0018]
mov r13d, 5
cmp rcx, rdx
je 0x140023443
test byte [rcx + 0x1c], 2
je 0x140023443
cmp byte [rcx + 0x19], r13b
jb 0x140023443
lea edx, [r13 + 0x49]
mov dword [rsp + 0x20], eax
mov r9d, r14d
lea r8, [0x1400b1f20]
mov rcx, qword [rcx + 0x10]
call fcn.1400054e0
jmp 0x140023443
mov esi, dword [rsp + 0x6c]
mov r13d, 5
mov rbx, qword [rbp - 0x28]
mov dword [rbx], r12d
lea rdx, str.__DIDL_Lite_
or rax, 0xffffffffffffffff
xor r12d, r12d
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140023458
mov r8d, eax
mov rcx, r15
call fcn.140004550
mov rcx, qword [r15]
test rcx, rcx
jne 0x14002347a
mov eax, r12d
jmp 0x140023490
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x14002347e
test eax, eax
js 0x140023662
cmp eax, dword [rcx - 0xc]
jg 0x140023662
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [r15]
mov word [rax + rcx*2], r12w
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, esi
mov r10, qword [0x1400d0018]
lea r14, [0x1400d0018]
cmp r10, r14
je 0x1400234f8
test byte [r10 + 0x1c], 2
je 0x1400234f8
cmp byte [r10 + 0x19], r13b
jb 0x1400234f8
mov edx, 0x4f
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x1400b1f20]
mov rcx, qword [r10 + 0x10]
call fcn.1400054e0
mov r10, qword [0x1400d0018]
test edi, edi
jns 0x14002350e
jmp 0x140023509
lea r14, [0x1400d0018]
mov rbx, qword [rbp - 0x28]
mov edi, 0x80040365
cmp r10, r14
je 0x14002356b
test byte [r10 + 0x1c], 1
je 0x14002356b
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [r10 + 0x19]
cmp eax, edx
jl 0x14002356b
mov r8d, 0xf3c
lea rdx, [rbp + 0x28]
mov rcx, r15
call fcn.1400047ec
mov esi, 1
mov rcx, qword [rax]
lea edx, [rsi + 0x4f]
mov eax, dword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, edi
mov rcx, qword [0x1400d0018]
mov rcx, qword [rcx + 0x10]
call fcn.140020030
jmp 0x14002356f
mov esi, dword [rsp + 0x70]
test sil, 1
je 0x14002359a
mov rdx, qword [rbp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002359a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
test byte [0x1400d5680], 0x20
je 0x140023616
test rbx, rbx
je 0x1400235ac
mov eax, dword [rbx]
jmp 0x1400235af
or eax, 0xffffffff
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x30], edi
movzx eax, byte [rbp + 0x1c0]
mov dword [rbp - 0x40], eax
lea rax, [rbp - 0x40]
mov qword [rbp + 0xe0], rax
mov ecx, 4
mov qword [rbp + 0xe8], rcx
lea rax, [rbp - 0x38]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rcx
lea rax, [rbp - 0x30]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], rcx
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9d, ecx
lea rdx, [0x1400afd20]
call fcn.1400050c8
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14002362c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
lea rcx, [rbp - 8]
call fcn.140015e20
mov eax, edi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400a3a80
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140005068
int3
mov ecx, 0x80004005
call fcn.140005068
int3