Function at 0x10001a90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
push edi
mov edi, ecx
push dword [0x100167cc]
push dword [0x100167c8]
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10016398], eax
test eax, eax
jne 0x10001ad2
test edi, edi
je 0x10001ad2
push 0x1f4
call esi
inc ebx
cmp ebx, 0xa
jl 0x10001aa1
mov eax, dword [0x10016398]
mov ebp, dword [sym.imp.USER32.dll_FindWindowExW]
xor ebx, ebx
nop word [eax + eax]
push 0
push dword [0x100167d0]
push 0
push eax
call ebp
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10001b0d
test edi, edi
je 0x10001b3f
push 0x1f4
call esi
inc ebx
cmp ebx, 0xa
jge 0x10001b3f
mov eax, dword [0x10016398]
jmp 0x10001ae0
xor ebx, ebx
nop
push dword [0x100167d4]
push dword [0x100167a8]
push 0
push eax
call ebp
mov dword [0x1001639c], eax
test eax, eax
jne 0x10001b3f
test edi, edi
je 0x10001b3f
push 0x1f4
call esi
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, 0xa
jl 0x10001b10
mov dword [0x100163b4], 0
xor ebx, ebx
nop dword [eax + eax]
push 0
push dword [0x100167ac]
call dword [0x1001659c]
mov dword [0x100163b4], eax
test eax, eax
jne 0x10001b7a
test edi, edi
je 0x10001b86
push 0x1f4
call esi
inc ebx
cmp ebx, 0xa
jl 0x10001b50
jmp 0x10001b86
push 0x100163a4
push eax
call dword [0x10016588]
xor ebx, ebx
nop dword [eax + eax]
push 0
push dword [0x100167d8]
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x10001bdc
push 0
push dword [0x100167dc]
push 0
push eax
call ebp
test eax, eax
je 0x10001bdc
push 0
push dword [0x100167e0]
push 0
push eax
call ebp
test eax, eax
je 0x10001bdc
push 0
push dword [0x100167e4]
push 0
push eax
call ebp
mov dword [0x100163a0], eax
test eax, eax
jne 0x10001bf7
jmp 0x10001be6
mov dword [0x100163a0], 0
test edi, edi
je 0x10001bf7
push 0x1f4
call esi
inc ebx
cmp ebx, 0xa
jl 0x10001b90
mov eax, dword [0x10016398]
test eax, eax
je 0x10001c11
push dword [0x10016b10]
push 0
push 0x1a
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp byte [0x10017730], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x10001c7d
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push dword [0x10016b7c]
push 0x80000001
call dword [0x10016598]
test eax, eax
jne 0x10001c7d
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x14
push eax
push 0x10017730
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push 0
push dword [0x10016b84]
push 1
push 0
push dword [esp + 0x20]
call ebx
push dword [esp + 0x10]
call edi
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push dword [0x10016b80]
push 0x80000001
call dword [0x10016598]
test eax, eax
jne 0x10001d1e
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea eax, [esp + 0x18]
push 0x64
push eax
xor esi, esi
push esi
push dword [esp + 0x1c]
call ebp
test eax, eax
jne 0x10001d18
nop dword [eax]
push dword [0x10016b88]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x20]
call dword [0x10016598]
test eax, eax
jne 0x10001d05
push eax
push 0x1000f2da
push 1
push eax
push dword [esp + 0x24]
call ebx
push dword [esp + 0x14]
call edi
push 0x64
lea eax, [esp + 0x1c]
inc esi
push eax
push esi
push dword [esp + 0x1c]
call ebp
test eax, eax
je 0x10001cc0
push dword [esp + 0x10]
call edi
pop edi
xor eax, eax
cmp dword [0x10016398], eax
pop esi
pop ebp
setne al
pop ebx
add esp, 0x6c
ret