Function at 0x1001a200
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5f5b
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x828], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x848], eax
test ebx, ebx
je 0x1001a3c2
test edi, edi
je 0x1001a3c2
cmp dword [esi], 0
jne 0x1001a47d
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0
cmp dword [ebp + 0x1c], 0
lea eax, [ebp - 0x81c]
push eax
mov ecx, 0x110
mov dword [ebp - 4], 0
mov eax, 0x210
mov byte [ebp - 4], 1
cmovne eax, ecx
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001a49d
push 0x801
push eax
lea eax, [ebp - 0x818]
mov dword [ebp - 0x820], 0x800
push eax
mov dword [ebp - 0x83c], 3
call fcn.1009c2f0
add esp, 0xc
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x83c]
push eax
push dword [ebp - 0x828]
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001a34b
lea eax, [ebp - 0x834]
push eax
push dword [ebp - 0x820]
mov ecx, eax
call fcn.10019800
push dword [ebp - 0x820]
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 0x834]
call fcn.1009b7f0
add esp, 0xc
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x824], eax
test eax, eax
je 0x1001a4b8
push 1
push eax
push 4
push dword [ebp + 0x18]
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x1001a4d3
jmp 0x1001a3c9
lea ecx, [ebp - 0x834]
call fcn.10019910
xor al, al
jmp 0x1001a47f
mov eax, dword [ebp - 0x824]
lea ecx, [esi + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x81c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 4], 0
mov dword [esi + 8], ebx
mov dword [esi + 0x24], eax
call fcn.10018d10
push dword [ebp - 0x828]
lea ecx, [esi + 0x14]
call fcn.10018d10
lea eax, [ebp - 0x834]
push eax
lea ecx, [esi + 0x18]
call fcn.10019960
mov eax, dword [ebp + 0x1c]
push eax
push dword [ebp - 0x848]
mov dword [esi], 1
push dword [ebp - 0x828]
mov dword [esi + 0x28], eax
push edi
push ebx
call fcn.10019ec0
mov ecx, eax
call fcn.1001a810
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0x1001a3b7
push 0
push 0
push esi
push 0x1001a5c0
push 0
push 0
call fcn.1009f7d7
add esp, 0x18
mov dword [esi + 0x30], eax
lea ecx, [ebp - 0x834]
test eax, eax
je 0x1001a3bd
call fcn.10019910
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100751d1
mov esp, ebp
pop ebp
ret 0x18
push 0x100f4e68
lea eax, [ebp - 0x838]
mov dword [ebp - 0x838], 0xffffffff
push eax
call fcn.1009b779
push 0x100f4e68
lea eax, [ebp - 0x840]
mov dword [ebp - 0x840], 0xfffffffd
push eax
call fcn.1009b779
push 0x100f4e68
lea eax, [ebp - 0x844]
mov dword [ebp - 0x844], 0xfffffffc
push eax
call fcn.1009b779
int3