Function at 0x1014b720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x98
push 0xffffffffffffffff
push 0x101fb4dd
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x10252964]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xa4]
mov edi, dword [ebp + 0xa0]
push pe_nt_image_headers32
mov dword [ebp - 0x14], eax
call fcn.101c1354
mov ebx, eax
add esp, 4
mov esi, ebx
mov dword [ebp - 0x18], esi
add edi, 4
mov dword [ebp - 4], 0
mov dword [ebp + 0x90], 0
mov eax, edi
mov dword [ebp], pe_nt_image_headers32
cmp dword [edi + 0x14], 0x10
jb 0x1014b7a7
mov eax, dword [edi]
lea ecx, [ebp]
push ecx
push ebx
lea ecx, [ebp + 0x90]
push ecx
push 0
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0xea
jne 0x1014b80d
mov eax, dword [ebp]
inc eax
push eax
call fcn.101c1354
add esp, 4
mov esi, eax
mov dword [ebp - 0x18], esi
test ebx, ebx
je 0x1014b7e8
push ebx
call fcn.101c135d
add esp, 4
cmp dword [edi + 0x14], 0x10
jb 0x1014b7f0
mov edi, dword [edi]
lea eax, [ebp]
push eax
push esi
lea eax, [ebp + 0x90]
push eax
mov eax, dword [ebp - 0x10]
push 0
push edi
push dword [eax + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, esi
cmp eax, 2
je 0x1014b976
mov eax, dword [ebp + 0x90]
cmp eax, 1
jne 0x1014b8cc
call fcn.100d6e10
mov edi, dword [ebp - 0x14]
mov ecx, edi
push eax
call fcn.100d5dc0
mov al, byte [esi]
test al, al
je 0x1014b8f2
nop
movsx ecx, al
mov edx, 0xf
movzx eax, cl
shl cx, 8
or cx, ax
mov word [ebp - 0x30], 0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 1
mov byte [ebp - 0x30], cl
mov dword [ebp - 0x34], 0x10044c38
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push 1
push eax
lea ecx, [edi + 4]
call fcn.1007e640
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1014b8be
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x1014b8b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014b9a9
push edx
push ecx
call fcn.101c1346
add esp, 8
mov byte [ebp - 4], 0
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x1014b840
jmp 0x1014b8f2
cmp eax, 4
jne 0x1014b920
mov edi, dword [ebp - 0x14]
lea eax, [edi + 4]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x1014b8e6
mov eax, dword [eax]
mov byte [eax], 0
mov ecx, edi
push dword [esi]
call fcn.1009d3e0
push esi
call fcn.101c135d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.101c1860
lea esp, [ebp + 0x98]
pop ebp
ret 8
push 0x8c
lea ecx, [ebp + 4]
call fcn.1007e350
call fcn.100d6e10
push eax
call fcn.100d6e10
push eax
call fcn.100d6e10
push eax
call fcn.100d6e10
push eax
push 0x47a
lea ecx, [ebp + 4]
call fcn.100dd2d0
lea eax, [ebp + 4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xc0]
call fcn.100dd1c0
push 0x10234538
lea eax, [ebp - 0xc0]
push eax
call fcn.101d78f7
call fcn.100d6e10
push eax
call fcn.100d6e10
push eax
call fcn.100d6e10
push eax
call fcn.100d6e10
push eax
push 0x47b
lea ecx, [ebp + 4]
call fcn.100dd2d0
push 0x10234538
lea eax, [ebp + 4]
push eax
call fcn.101d78f7
call fcn.100f24b4
int3