Function at 0x1014f7e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x280
mov eax, 0x103300a
call fcn.0101fa3a
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, edx
xor ebx, ebx
inc edi
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x274], ebx
cmp esi, ebx
je 0x1014faf
mov dword [esi], ebx
cmp dword [0x1037838], ebx
je 0x1014ff2
cmp dword [ebp + 0x10], edi
jne 0x1014fd6
cmp dword [ebp + 0xc], 0x2bc
je 0x1015209
cmp dword [ebp + 0xc], 0x2bd
je 0x1015209
call fcn.0101ff73
xor edx, edx
div dword [0x10360c4]
test edx, edx
jne 0x1015209
xor edi, edi
jmp 0x1015209
lea ecx, [ebp - 0x274]
push ecx
push edi
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1015209
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 0x10151fd
mov eax, dword [ebp - 0x278]
cmp esi, ebx
je 0x1015061
mov dword [esi], eax
cmp dword [ebp + 0x10], eax
jb 0x10151fd
cmp dword [0x1037824], ebx
je 0x101507a
cmp dword [0x10360c0], ebx
jne 0x1015082
cmp dword [0x1037578], ebx
je 0x101508a
xor edi, edi
inc edi
jmp 0x10151fd
cmp dword [0x103607c], ebx
jne 0x1015099
xor edi, edi
jmp 0x10151fd
mov eax, dword [0x1037580]
cmp eax, ebx
je 0x1015101
cmp dword [0x10375c0], ebx
je 0x1015101
cmp dword [ebp + 0x14], ebx
jne 0x1015101
mov ecx, dword [ebp + 0xc]
push ebx
push ebx
push 0x8003
push eax
mov dword [0x10375c8], ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x10375c4]
mov dword [ebp - 0x280], eax
mov eax, dword [0x10375c0]
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 [0x10375cc]
jmp 0x10151fd
lea ecx, [ebp - 0x1d8]
call fcn.0100c141
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], ebx
call fcn.0100c141
lea ecx, [ebp - 0x270]
call fcn.0100c141
lea ecx, [ebp - 0xa8]
call fcn.0100c141
mov esi, 0x104
push esi
lea eax, [ebp - 0x1d8]
push eax
push 0x64
push ebx
mov byte [ebp - 4], 3
call fcn.010184ff
push esi
lea eax, [ebp - 0x270]
push eax
push 0x258
push ebx
call fcn.010184ff
push esi
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.010184ff
push dword [ebp - 0x9c]
lea eax, [ebp - 0x140]
push dword [ebp - 0x9c]
push dword [ebp - 0x264]
push eax
call fcn.0101362e
add esp, 0x40
push esi
push dword [ebp - 0x1cc]
push dword [ebp - 0x134]
push dword [0x1037580]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x10151ae
xor edi, edi
mov esi, 0x1004b94
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
call fcn.0101889f
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], esi
call fcn.0101889f
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x140], esi
call fcn.0101889f
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], esi
call fcn.0101889f
mov esi, dword [ebp - 0x27c]
push dword [ebp - 0x274]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x1015213
cmp edi, ebx
je 0x1015213
mov dword [esi], ebx
mov eax, edi
call fcn.0101fa8e
ret