Function at 0x101f151
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x10350f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x810], esi
cmp eax, esi
jne 0x101f19b
push 0x1006770
push esi
push 0x10
push 0x1035128
call fcn.0102ca9a
add esp, 0x10
mov eax, 0x80070057
jmp 0x101f753
push ebx
push eax
call dword [sym.imp.msvcrt.dll__wcsdup]
mov ebx, eax
pop ecx
mov dword [ebp - 0x808], ebx
cmp ebx, esi
jne 0x101f1cf
push 0x1006710
push esi
push 0x10
push 0x1035128
call fcn.0102ca9a
add esp, 0x10
mov eax, 0x8007000e
jmp 0x101f752
push edi
push esi
push ebx
call dword [sym.imp.msvcrt.dll__wcslwr_l]
mov esi, dword [sym.imp.msvcrt.dll_wcsstr]
push 0x1006704
push ebx
call esi
add esp, 0x10
mov edi, 0x1035128
test eax, eax
jne 0x101f6e5
push 0x10066f8
push ebx
call esi
pop ecx
pop ecx
test eax, eax
jne 0x101f6e5
push 0x10066f0
push ebx
call esi
xor ebx, ebx
pop ecx
inc ebx
pop ecx
test eax, eax
je 0x101f224
mov dword [0x1035120], ebx
call fcn.0101d712
push 0x10066d4
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f23d
mov dword [0x1035124], ebx
push 0x10066c4
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f259
and dword [0x1035010], 0
jmp 0x101f272
push 0x10066b0
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f272
mov dword [0x1035010], ebx
push 0x10066a0
push dword [ebp - 0x808]
call esi
mov ebx, dword [sym.imp.msvcrt.dll_wcstol]
pop ecx
pop ecx
test eax, eax
je 0x101f2b9
push 0xa
add eax, 0xc
push 0
push eax
call ebx
add esp, 0xc
test eax, eax
jg 0x101f2a1
xor eax, eax
inc eax
jmp 0x101f2ac
mov ecx, 0xe10
cmp eax, ecx
jle 0x101f2ac
mov eax, ecx
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1006694
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f2df
push 0xa
add eax, 0xa
push 0
push eax
call ebx
add esp, 0xc
mov dword [ebp - 0x810], eax
push dword [ebp + 0x14]
push 0x1006648
push 5
push 2
pop ebx
push ebx
push edi
call fcn.0102ca9a
push dword [ebp - 0x80c]
push 0x1006620
push 5
push ebx
push edi
call fcn.0102ca9a
push 0x1006610
push dword [ebp - 0x80c]
call esi
and dword [ebp - 0x818], 0
add esp, 0x30
test eax, eax
je 0x101f354
push 0x12
add eax, 0xe
push 0x10065e8
push eax
mov dword [ebp - 0x814], eax
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x101f354
push dword [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x818], eax
push 0x10065c4
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f39d
push 0x100659c
push 5
push ebx
push edi
call fcn.0102ca9a
push 0x10065c4
push dword [ebp - 0x808]
call esi
add esp, 0x18
add eax, 0x20
jmp 0x101f38c
add eax, ebx
cmp word [eax], 0x20
je 0x101f38a
push eax
call fcn.0101e2ef
jmp 0x101f6e1
push 0x1006580
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f3cb
push 0x100655c
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.0101caf3
jmp 0x101f6e1
push 0x100653c
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x101f69c
push 0x100651c
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x101f69c
push 0x1006508
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f427
push 0x10064ec
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.0101e262
jmp 0x101f6e1
push 0x10064c4
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f455
push 0x1006498
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.01024446
jmp 0x101f6e1
push 0x1006478
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f483
push 0x1006450
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.0101ca31
jmp 0x101f6e1
push 0x1006410
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f4b1
push 0x10063c8
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.01025dc2
jmp 0x101f6e1
push 0x10063a4
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f4f2
push 0x1006390
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x101f505
push 0x1006368
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.010271c3
jmp 0x101f6e1
push 0x1006340
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f520
push 0x1006314
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.010272d1
jmp 0x101f6e1
push 0x10062f0
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f5e8
lea eax, [ebp - 0x80c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x1006240
push 0x80000002
mov dword [ebp - 0x824], 0x10061f0
mov dword [ebp - 0x820], 0x10061a0
mov dword [ebp - 0x80c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101f5d1
push 4
pop esi
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x814]
push eax
push ebx
push 0x1006174
push dword [ebp - 0x80c]
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x81c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101f5c5
cmp dword [ebp - 0x814], esi
jne 0x101f5c5
cmp dword [ebp - 0x810], eax
setne bl
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + ebx*4 - 0x824]
push dword [ebp - 0x808]
call fcn.010299b0
jmp 0x101f6e1
push 0x1006148
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f616
push 0x1006118
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.01026d48
jmp 0x101f6e1
push 0x10060e4
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f644
push 0x10060ac
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.010273ae
jmp 0x101f6e1
push dword [ebp - 0x80c]
push 0x100607c
push 5
push 0x10
push edi
call fcn.0102ca9a
add esp, 0x14
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0xc9
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x101f695
push dword [ebp - 0x80c]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.msvcrt.dll_wprintf_s]
pop ecx
pop ecx
mov esi, 0x80070057
jmp 0x101f6e8
push 0x1006478
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f6c5
push 0x1006450
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
call fcn.0101ca31
push 0x1006054
push 5
push ebx
push edi
call fcn.0102ca9a
add esp, 0x10
push dword [ebp - 0x810]
call fcn.0101eedf
mov esi, eax
jmp 0x101f71a
xor esi, esi
inc esi
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0xc8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x101f71a
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.msvcrt.dll_wprintf_s]
pop ecx
cmp dword [ebp - 0x818], 0
je 0x101f73b
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp - 0x818]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x808]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov ecx, edi
call fcn.0102bccb
mov eax, esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0102b1ee
leave
ret 0x10