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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14d, r9d
mov rdi, r8
mov r9, rdx
mov r15, rcx
xor eax, eax
mov dword [rsp + 0x70], eax
test byte [0x14010bb40], 2
je 0x140027413
movzx ebx, byte [rbp + 0xb0]
mov r8d, ebx
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea rdx, [0x1400dbf68]
call fcn.1400241ec
mov r9, qword [rbp + 0x98]
jmp 0x140027419
mov bl, byte [rbp + 0xb0]
lea rdx, [0x140106190]
mov eax, 5
mov r12, qword [rbp + 0xc8]
mov r13, qword [rbp + 0xb8]
mov rcx, qword [0x140106190]
cmp rcx, rdx
je 0x14002748b
test byte [rcx + 0x1c], 1
je 0x14002748b
cmp byte [rcx + 0x19], al
jb 0x14002748b
mov rdx, qword [r9 + 0x10]
movzx eax, bl
mov r8, qword [rbp + 0xd0]
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r9
mov r9, r15
mov rcx, qword [rcx + 0x10]
call fcn.140025218
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x6c], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
xor eax, eax
mov qword [rbp - 0x48], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0xa
mov dword [rsp + 0x64], eax
mov dword [rbp - 0x78], 0x32000
mov esi, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x60]
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]
mov ebx, eax
xor ecx, ecx
test eax, eax
jne 0x140027507
mov ebx, ecx
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x20], rax
mov r10, qword [0x140106190]
lea rdx, [0x140106190]
cmp r10, rdx
je 0x140027558
test byte [r10 + 0x1c], 2
je 0x140027558
mov edx, 2
test ebx, ebx
lea eax, [rdx + 3]
cmove edx, eax
movzx eax, byte [r10 + 0x19]
cmp eax, edx
jl 0x140027558
mov edx, 0x48
mov r9d, ebx
lea r8, [0x1400dddf8]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
mov r10, qword [0x140106190]
xor ecx, ecx
test ebx, ebx
jne 0x140027619
mov dword [rbp + 0xb8], ecx
mov dword [rbp - 0x68], 4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x64]
xor r8d, r8d
lea rdx, str.BrowseSearchSizeOverride
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400275ad
mov eax, dword [rbp - 0x64]
sub eax, 4
neg eax
sbb ebx, ebx
and ebx, 0xd
mov r10, qword [0x140106190]
lea rax, [0x140106190]
cmp r10, rax
je 0x1400275f7
test byte [r10 + 0x1c], 2
je 0x1400275f7
mov eax, 5
cmp byte [r10 + 0x19], al
jb 0x1400275f7
lea edx, [rax + 0x44]
mov dword [rsp + 0x20], ebx
mov r9d, dword [rbp + 0xb8]
lea r8, [0x1400dddf8]
mov rcx, qword [r10 + 0x10]
call fcn.1400054b8
mov r10, qword [0x140106190]
test ebx, ebx
jne 0x140027619
mov r15d, dword [rbp + 0xb8]
test r15d, r15d
mov eax, 0xffffffff
cmove r15d, eax
mov dword [rbp - 0x78], r15d
mov r15, qword [rbp + 0x90]
lea rax, [0x140106190]
cmp r10, rax
je 0x14002764f
test byte [r10 + 0x1c], 1
je 0x14002764f
mov edx, 0x25
lea r8, [0x1400de638]
mov rcx, qword [r10 + 0x10]
call fcn.140003574
mov r10, qword [0x140106190]
lea rax, [0x140106190]
mov bl, byte [r13 + 0xb0]
cmp r10, rax
je 0x14002768b
test byte [r10 + 0x1c], 1
je 0x14002768b
mov eax, 5
cmp byte [r10 + 0x19], al
jb 0x14002768b
movzx r9d, bl
lea edx, [rax + 0x21]
lea r8, [0x1400de638]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
mov r10, qword [0x140106190]
cmp bl, 1
jne 0x1400276fd
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp + 0xc0]
call fcn.140036520
mov esi, eax
mov r10, qword [0x140106190]
lea rax, [0x140106190]
cmp r10, rax
je 0x14002776e
test byte [r10 + 0x1c], 2
je 0x14002776e
movzx edx, byte [r10 + 0x19]
mov ecx, 2
test esi, esi
lea eax, [rcx + 3]
cmovns ecx, eax
cmp edx, ecx
jl 0x14002776e
lea edx, [rax + 0x45]
mov eax, dword [rbp - 0x48]
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x1400dddf8]
mov rcx, qword [r10 + 0x10]
call fcn.1400054b8
jmp 0x140027767
xor ecx, ecx
mov eax, ecx
mov rbx, qword [rbp + 0xc0]
test rbx, rbx
setne al
test eax, eax
jne 0x14002771d
mov ecx, 0x80004005
call fcn.14000507c
int3
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140027778
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbx + 0x10]
mov rbx, qword [rbx + 8]
mov r9, rcx
xor r8d, r8d
lea rcx, [rbp - 0x58]
call fcn.14002c660
mov rcx, rax
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x140027753
mov qword [rax + 8], rcx
jmp 0x140027757
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x58], rcx
test rbx, rbx
jne 0x14002772a
mov r14d, dword [rbp + 0xa8]
mov r10, qword [0x140106190]
xor ecx, ecx
test esi, esi
js 0x140027931
mov qword [rbp - 0x70], rcx
test rdi, rdi
je 0x1400277a6
mov rax, qword [rdi]
lea r8, [rbp - 0x70]
lea rdx, [0x1400dddc8]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14006e230.0]
mov rcx, qword [rbp - 0x70]
mov r10, qword [0x140106190]
xor edi, edi
test rcx, rcx
je 0x140027916
mov dword [rsp + 0x68], edi
lea rcx, str.IsRemoteConnection
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp], rax
xor esi, esi
test rax, rax
jne 0x1400277db
mov ecx, 0x8007000e
call fcn.14000507c
nop
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov rdx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
mov ebx, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x140027844
test byte [rcx + 0x1c], 2
je 0x140027844
movzx r8d, byte [rcx + 0x19]
mov edx, 2
test ebx, ebx
lea eax, [rdx + 3]
cmovns edx, eax
cmp r8d, edx
jl 0x140027844
lea edx, [rax + 0x46]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov r9d, ebx
lea r8, [0x1400dddf8]
mov rcx, qword [rcx + 0x10]
call fcn.1400054b8
test ebx, ebx
js 0x140027900
cmp dword [rsp + 0x68], esi
je 0x140027900
lea rcx, str.LocalPort
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 8], rax
test rax, rax
jne 0x14002787a
mov ecx, 0x8007000e
call fcn.14000507c
nop
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x64]
mov rdx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.0]
mov esi, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x1400278e3
test byte [rcx + 0x1c], 2
je 0x1400278e3
movzx r8d, byte [rcx + 0x19]
mov edx, 2
test esi, esi
lea eax, [rdx + 3]
cmovns edx, eax
cmp r8d, edx
jl 0x1400278e3
lea edx, [rax + 0x47]
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x1400dddf8]
mov rcx, qword [rcx + 0x10]
call fcn.1400054b8
mov eax, dword [rsp + 0x64]
xor r8d, r8d
test esi, esi
mov esi, r8d
cmovs eax, esi
mov dword [rsp + 0x64], eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x70]
mov r10, qword [0x140106190]
xor edi, edi
test rcx, rcx
je 0x140027933
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
mov r10, qword [0x140106190]
jmp 0x140027933
xor edi, edi
mov dword [rsp + 0x60], edi
test esi, esi
js 0x140027e79
mov rax, qword [r15]
lea rdx, [rsp + 0x60]
mov rcx, r15
mov rax, qword [rax + 0x40]
call qword [case.0x14006e230.0]
mov ebx, eax
mov r10, qword [0x140106190]
lea r15, [0x140106190]
cmp r10, r15
je 0x1400279ab
test byte [r10 + 0x1c], 2
je 0x1400279ab
movzx edx, byte [r10 + 0x19]
mov ecx, 2
test eax, eax
lea eax, [rcx + 3]
cmovns ecx, eax
cmp edx, ecx
jl 0x1400279ab
lea edx, [rax + 0x48]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, ebx
lea r8, [0x1400dddf8]
mov rcx, qword [r10 + 0x10]
call fcn.1400054b8
mov r10, qword [0x140106190]
test ebx, ebx
js 0x140027e80
mov eax, dword [rsp + 0x60]
test eax, eax
cmovs eax, edi
mov dword [rsp + 0x60], eax
mov r15d, edi
mov rcx, r12
call fcn.140004d3c
imul edx, dword [rsp + 0x60], 0x1770
add edx, 0xb1
mov rax, qword [r12]
mov esi, 1
mov ecx, esi
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edx
or eax, ecx
jge 0x1400279f8
mov rcx, r12
call fcn.140004ef4
mov r8d, ConnectToConnectionPoint
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
mov rcx, r12
call fcn.140004588
mov rax, qword [r13]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rcx, r13
mov rax, qword [rax]
call qword [case.0x14006e230.0]
test al, al
je 0x140027a3b
mov r8d, 0x39
lea rdx, str.xmlns:microsoft_urn:schemas_microsoft_com:WMPNSS_1_0___r_n
mov rcx, r12
call fcn.140004588
mov rax, qword [r13]
mov edx, 0x4a
mov rcx, r13
mov rax, qword [rax]
call qword [case.0x14006e230.0]
test al, al
jne 0x140027a6d
mov rax, qword [r13]
mov edx, 0x48
mov rcx, r13
mov rax, qword [rax]
call qword [case.0x14006e230.0]
test al, al
je 0x140027a82
mov r8d, 0x31
lea rdx, str.xmlns:dlna_urn:schemas_dlna_org:metadata_1_0___r_n
mov rcx, r12
call fcn.140004588
mov r8d, esi
lea rdx, [0x1400de104]
mov rcx, r12
call fcn.140004588
mov eax, dword [rsp + 0x60]
test eax, eax
jle 0x140027dbd
cmp eax, esi
jne 0x140027ab0
btr r14d, 0xc
mov dword [rbp + 0xa8], r14d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
sub r14d, dword [rsp + 0x6c]
mov rcx, r12
call fcn.140027314
mov esi, eax
xor eax, eax
cmp dword [rsp + 0x60], eax
jbe 0x140027d6f
mov qword [rbp - 0x80], rax
mov r9, qword [rbp + 0x90]
mov rcx, qword [r9]
mov rax, qword [rcx + 0x38]
lea r8, [rbp - 0x80]
mov edx, edi
mov rcx, r9
call qword [case.0x14006e230.0]
mov ebx, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x140027b4b
test byte [rcx + 0x1c], 2
je 0x140027b4b
movzx edx, byte [rcx + 0x19]
mov eax, 2
test ebx, ebx
lea r8d, [rax + 3]
cmovns eax, r8d
cmp edx, eax
jl 0x140027b4b
lea edx, [r8 + 0x49]
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9d, ebx
lea r8, [0x1400dddf8]
mov rcx, qword [rcx + 0x10]
call fcn.14000ac78
test ebx, ebx
js 0x140027d59
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.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 0x140027b96
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.140004ef4
test byte [0x14010bb40], 2
je 0x140027bae
mov r8d, edi
lea rdx, [0x1400dbf48]
call fcn.14002426c
lea rcx, [rbp + 0x10]
call fcn.14003c2cc
nop
mov qword [rsp + 0x38], r13
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov al, byte [rbp + 0xb0]
mov byte [rsp + 0x20], al
mov r9d, dword [rbp + 0xa8]
mov r8d, dword [rsp + 0x64]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x10]
call fcn.14003c4ac
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x10]
call fcn.1400c2ec0
test byte [0x14010bb40], 2
je 0x140027c1b
mov r8d, edi
lea rdx, [0x1400dbf38]
call fcn.14002426c
mov rdx, qword [rsp + 0x78]
xor eax, eax
cmp dword [rdx - 0x10], eax
je 0x140027c7c
test dword [rbp + 0xa8], 0x408
jne 0x140027c57
lea rcx, [rsp + 0x78]
call fcn.140027314
add eax, 2
add esi, eax
lea eax, [rsi + 0xc]
mov r8d, dword [rbp - 0x78]
cmp eax, r8d
ja 0x140027cd8
mov rdx, qword [rsp + 0x78]
inc r15d
mov r8d, dword [rdx - 0x10]
mov rcx, r12
call fcn.140004588
mov r8d, 2
lea rdx, [0x1400ddf9c]
mov rcx, r12
call fcn.140004588
nop
lea rcx, [rbp + 0x10]
call fcn.14003c3f8
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140027cad
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 0x80]
xor eax, eax
test rcx, rcx
je 0x140027cc7
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
xor eax, eax
inc edi
cmp edi, dword [rsp + 0x60]
jae 0x140027d6f
jmp 0x140027ad4
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x140027d28
test byte [rcx + 0x1c], 2
je 0x140027d28
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x140027d28
lea eax, [rsi + 0xc]
mov edx, 0x4f
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x1400dddf8]
mov rcx, qword [rcx + 0x10]
call fcn.140024b08
nop
lea rcx, [rbp + 0x10]
call fcn.14003c3f8
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140027d59
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140027d6f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [rsp + 0x6c]
sub eax, esi
mov rcx, qword [0x140106190]
lea rdx, [0x140106190]
mov r13d, 5
cmp rcx, rdx
je 0x140027dc7
test byte [rcx + 0x1c], 2
je 0x140027dc7
cmp byte [rcx + 0x19], r13b
jb 0x140027dc7
lea edx, [r13 + 0x4b]
mov dword [rsp + 0x20], eax
mov r9d, r14d
lea r8, [0x1400dddf8]
mov rcx, qword [rcx + 0x10]
call fcn.1400054b8
jmp 0x140027dc7
mov esi, dword [rsp + 0x6c]
mov r13d, 5
mov rdi, qword [rbp + 0xd0]
mov dword [rdi], r15d
mov r8d, SafeArrayDestroy
lea rdx, str.__DIDL_Lite_
mov rcx, r12
call fcn.140004588
mov rcx, qword [r12]
xor r14d, r14d
test rcx, rcx
jne 0x140027df7
mov eax, r14d
jmp 0x140027e09
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140027dfb
test eax, eax
js 0x140027e6e
cmp eax, dword [rcx - 0xc]
jg 0x140027e6e
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [r12]
mov word [rax + rcx*2], r14w
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
mov r10, qword [0x140106190]
lea r15, [0x140106190]
cmp r10, r15
je 0x140027e68
test byte [r10 + 0x1c], 2
je 0x140027e68
cmp byte [r10 + 0x19], r13b
jb 0x140027e68
mov edx, 0x51
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x1400dddf8]
mov rcx, qword [r10 + 0x10]
call fcn.1400054b8
mov r10, qword [0x140106190]
test ebx, ebx
jns 0x140027e8c
jmp 0x140027e87
mov ecx, 0x80070057
call fcn.14000507c
int3
lea r15, [0x140106190]
mov rdi, qword [rbp + 0xd0]
mov ebx, 0x80040365
cmp r10, r15
je 0x140027eeb
test byte [r10 + 0x1c], 1
je 0x140027eeb
movzx edx, byte [r10 + 0x19]
mov eax, 2
test ebx, ebx
lea ecx, [rax + 3]
cmovns eax, ecx
cmp edx, eax
jl 0x140027eeb
mov r8d, 0xf3c
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.140004820
mov esi, 1
mov rcx, qword [rax]
lea edx, [rsi + 0x51]
mov eax, dword [rdi]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov rcx, qword [0x140106190]
mov rcx, qword [rcx + 0x10]
call fcn.1400249f0
jmp 0x140027eef
mov esi, dword [rsp + 0x70]
test sil, 1
je 0x140027f1a
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140027f1a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
test byte [0x14010bb40], 2
je 0x140027f4b
test rdi, rdi
je 0x140027f2c
mov eax, dword [rdi]
jmp 0x140027f2f
or eax, 0xffffffff
movzx r8d, byte [rbp + 0xb0]
mov dword [rsp + 0x20], ebx
mov r9d, eax
lea rdx, [0x1400dbf58]
call fcn.1400241ec
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140027f5b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x58]
call fcn.140019dbc
mov eax, ebx
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret