Function at 0x101ec55
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 0x101ec9f
push 0x10064b0
push esi
push 0x10
push 0x1035128
call fcn.0102c6ab
add esp, 0x10
mov eax, 0x80070057
jmp 0x101f257
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 0x101ecd3
push 0x1006450
push esi
push 0x10
push 0x1035128
call fcn.0102c6ab
add esp, 0x10
mov eax, 0x8007000e
jmp 0x101f256
push edi
push esi
push ebx
call dword [sym.imp.msvcrt.dll__wcslwr_l]
mov esi, dword [sym.imp.msvcrt.dll_wcsstr]
push 0x1006444
push ebx
call esi
add esp, 0x10
mov edi, 0x1035128
test eax, eax
jne 0x101f1e9
push 0x1006438
push ebx
call esi
pop ecx
pop ecx
test eax, eax
jne 0x101f1e9
push 0x1006430
push ebx
call esi
xor ebx, ebx
pop ecx
inc ebx
pop ecx
test eax, eax
je 0x101ed28
mov dword [0x1035120], ebx
call fcn.0101d39e
push 0x1006414
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101ed41
mov dword [0x1035124], ebx
push 0x1006404
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101ed5d
and dword [0x1035010], 0
jmp 0x101ed76
push 0x10063f0
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101ed76
mov dword [0x1035010], ebx
push 0x10063e0
push dword [ebp - 0x808]
call esi
mov ebx, dword [sym.imp.msvcrt.dll_wcstol]
pop ecx
pop ecx
test eax, eax
je 0x101edbd
push 0xa
add eax, 0xc
push 0
push eax
call ebx
add esp, 0xc
test eax, eax
jg 0x101eda5
xor eax, eax
inc eax
jmp 0x101edb0
mov ecx, 0xe10
cmp eax, ecx
jle 0x101edb0
mov eax, ecx
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10063d4
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101ede3
push 0xa
add eax, 0xa
push 0
push eax
call ebx
add esp, 0xc
mov dword [ebp - 0x810], eax
push dword [ebp + 0x14]
push 0x1006388
push 5
push 2
pop ebx
push ebx
push edi
call fcn.0102c6ab
push dword [ebp - 0x80c]
push 0x1006360
push 5
push ebx
push edi
call fcn.0102c6ab
push 0x1006350
push dword [ebp - 0x80c]
call esi
and dword [ebp - 0x818], 0
add esp, 0x30
test eax, eax
je 0x101ee58
push 0x12
add eax, 0xe
push 0x1006328
push eax
mov dword [ebp - 0x814], eax
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x101ee58
push dword [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x818], eax
push 0x1006304
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101eea1
push 0x10062dc
push 5
push ebx
push edi
call fcn.0102c6ab
push 0x1006304
push dword [ebp - 0x808]
call esi
add esp, 0x18
add eax, 0x20
jmp 0x101ee90
add eax, ebx
cmp word [eax], 0x20
je 0x101ee8e
push eax
call fcn.0101de32
jmp 0x101f1e5
push 0x10062c0
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101eecf
push 0x100629c
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.0101c800
jmp 0x101f1e5
push 0x100627c
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x101f1a0
push 0x100625c
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x101f1a0
push 0x1006248
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101ef2b
push 0x100622c
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.0101dda5
jmp 0x101f1e5
push 0x1006204
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101ef59
push 0x10061d8
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.010240db
jmp 0x101f1e5
push 0x10061b8
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101ef87
push 0x1006190
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.0101c73e
jmp 0x101f1e5
push 0x1006150
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101efb5
push 0x1006108
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.0102598d
jmp 0x101f1e5
push 0x10060e4
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101eff6
push 0x10060d0
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x101f009
push 0x10060a8
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.01026d8d
jmp 0x101f1e5
push 0x1006080
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f024
push 0x1006054
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.01026e9b
jmp 0x101f1e5
push 0x1006030
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f0ec
lea eax, [ebp - 0x80c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x1005f80
push 0x80000002
mov dword [ebp - 0x824], 0x1005f30
mov dword [ebp - 0x820], 0x1005ee0
mov dword [ebp - 0x80c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101f0d5
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 0x1005eb4
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 0x101f0c9
cmp dword [ebp - 0x814], esi
jne 0x101f0c9
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.010294e3
jmp 0x101f1e5
push 0x1005e88
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f11a
push 0x1005e58
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.01026913
jmp 0x101f1e5
push 0x1005e24
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f148
push 0x1005dec
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.01026f78
jmp 0x101f1e5
push dword [ebp - 0x80c]
push 0x1005dbc
push 5
push 0x10
push edi
call fcn.0102c6ab
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 0x101f199
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 0x101f1ec
push 0x10061b8
push dword [ebp - 0x808]
call esi
pop ecx
pop ecx
test eax, eax
je 0x101f1c9
push 0x1006190
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
call fcn.0101c73e
push 0x1005d94
push 5
push ebx
push edi
call fcn.0102c6ab
add esp, 0x10
push dword [ebp - 0x810]
call fcn.0101e9e3
mov esi, eax
jmp 0x101f21e
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 0x101f21e
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.msvcrt.dll_wprintf_s]
pop ecx
cmp dword [ebp - 0x818], 0
je 0x101f23f
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.0102b882
mov eax, esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0102ad14
leave
ret 0x10