Function at 0x101a1c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1033bde
call fcn.01027604
sub esp, 0x280
mov eax, dword [0x10360ac]
push ebx
push esi
push edi
xor edi, edi
mov esi, edx
xor ebx, ebx
inc edi
cmp esi, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x274], ebx
je 0x101a205
mov dword [esi], ebx
cmp dword [0x103721c], ebx
je 0x101a248
cmp dword [ebp + 0x10], edi
jne 0x101a22c
cmp dword [ebp + 0xc], 0x2bc
je 0x101a45c
cmp dword [ebp + 0xc], 0x2bd
je 0x101a45c
call fcn.010278ab
xor edx, edx
div dword [0x1036098]
test edx, edx
jne 0x101a45c
xor edi, edi
jmp 0x101a45c
lea ecx, [ebp - 0x274]
push ecx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101a45c
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x28c]
push eax
push ebx
push dword [ebp - 0x284]
mov dword [ebp - 0x28c], ebx
push dword [ebp - 0x274]
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x288], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x101a450
cmp esi, ebx
mov eax, dword [ebp - 0x278]
je 0x101a2bb
mov dword [esi], eax
cmp dword [ebp + 0x10], eax
jb 0x101a450
cmp dword [0x1037208], ebx
je 0x101a2dc
cmp dword [0x1036094], ebx
je 0x101a2dc
xor edi, edi
inc edi
jmp 0x101a450
cmp dword [0x1036050], ebx
jne 0x101a2eb
xor edi, edi
jmp 0x101a450
mov eax, dword [0x1036f70]
cmp eax, ebx
je 0x101a353
cmp dword [0x1036fb8], ebx
je 0x101a353
cmp dword [ebp + 0x14], ebx
jne 0x101a353
mov ecx, dword [ebp + 0xc]
push ebx
push ebx
push 0x8003
push eax
mov dword [0x1036fc0], ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x1036fbc]
mov dword [ebp - 0x280], eax
mov eax, dword [0x1036fb8]
push 0xffffffffffffffff
mov dword [ebp - 0x27c], eax
push ebx
lea eax, [ebp - 0x280]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, dword [0x1036fc4]
jmp 0x101a450
lea ecx, [ebp - 0x1d8]
call fcn.0100ca41
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], ebx
call fcn.0100ca41
lea ecx, [ebp - 0x270]
call fcn.0100ca41
lea ecx, [ebp - 0xa8]
call fcn.0100ca41
mov esi, 0x104
push esi
lea eax, [ebp - 0x1d8]
push eax
push 0x64
push ebx
mov byte [ebp - 4], 3
call fcn.0101f429
push esi
lea eax, [ebp - 0x270]
push eax
push 0x258
push ebx
call fcn.0101f429
push esi
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0101f429
push dword [ebp - 0x9c]
lea eax, [ebp - 0x140]
push dword [ebp - 0x9c]
push dword [ebp - 0x264]
push eax
call fcn.01016e85
add esp, 0x40
push 4
push dword [ebp - 0x1cc]
push dword [ebp - 0x134]
push dword [0x1036f70]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x101a401
xor edi, edi
mov esi, 0x1001c4c
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
call fcn.0100b71f
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], esi
call fcn.0100b71f
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x140], esi
call fcn.0100b71f
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], esi
call fcn.0100b71f
mov esi, dword [ebp - 0x27c]
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x101a466
cmp edi, ebx
je 0x101a466
mov dword [esi], ebx
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0102699e
leave
ret