Function at 0x10012eff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ecb61
mov eax, dword fs:[0]
push eax
sub esp, 0x5b8
mov eax, dword [0x1012c510]
xor eax, esp
mov dword [esp + 0x5b0], eax
push ebx
push esi
push edi
mov eax, dword [0x1012c510]
xor eax, esp
push eax
lea eax, [esp + 0x5c8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp ecx, 0x13
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], 1
jg 0x10012dff
je 0x10012d63
cmp ecx, 0xe
jg 0x10012c2d
je 0x10012c18
sub ecx, 3
je 0x10012c09
dec ecx
je 0x100134d7
sub ecx, 6
je 0x10012ba9
sub ecx, 3
jne case.default.0x10012e0b
add edi, 0x70
push edi
call fcn.1001ae44
jmp 0x100134d7
mov eax, dword [edi]
push esi
lea ecx, [esp + 0xd8]
push ecx
mov ecx, edi
call dword [eax + 4]
and dword [esp + 0x5d0], 0
push 0xffffffffffffffff
add edi, 0x554
push edi
xor ebx, ebx
call fcn.1000165f
or dword [esp + 0x5d0], 0xffffffff
push ebx
push 1
lea esi, [esp + 0xdc]
call fcn.100016e6
cmp dword [edi + 0x18], 8
jb 0x10012bf3
mov edi, dword [edi + 4]
jmp 0x10012bf6
add edi, 4
mov eax, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
call fcn.100109da
jmp 0x100134d7
mov edi, 0x101364f0
call fcn.1004a02a
jmp 0x100134d7
push ebx
push ebx
push 2
push dword [0x10136528]
push ebx
call fcn.1004893a
jmp 0x100134d7
sub ecx, 0x10
je 0x10012d5a
dec ecx
je 0x10012ccc
dec ecx
jne case.default.0x10012e0b
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov dword [esp + 0x5f0], 3
mov eax, esp
mov dword [esp + 0x40], esp
push esi
call fcn.10008945
mov ecx, 0x10107ce4
call fcn.1002cf94
add esp, 0x20
xor esi, esi
cmp dword [esp + 0x28], ebx
jbe 0x10012ca9
cmp esi, dword [esp + 0x28]
jae 0x10012cc2
mov eax, dword [esp + 0x24]
push dword [eax + esi*4]
mov ecx, 0x101364f0
push dword [edi + 0x74]
call fcn.1004b325
inc esi
cmp esi, dword [esp + 0x28]
jb 0x10012c8e
cmp dword [esp + 0x24], ebx
je 0x100134d7
push dword [esp + 0x24]
call fcn.100c14fa
pop ecx
jmp 0x100134d7
push 0x80070057
call fcn.100078e4
cmp word [esi], bx
je 0x10012ce3
mov eax, dword [edi]
push esi
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call dword [eax + 4]
xor ecx, ecx
inc ecx
jmp 0x10012cf9
add edi, 0xa0
lea ecx, [esp + 0x48]
call fcn.1003537a
mov edi, dword [esp + 0x1c]
push 2
pop ecx
mov dword [esp + 0x5d0], ecx
cmp dword [eax + 0x18], 8
mov dword [esp + 0x14], ecx
jb 0x10012d0f
mov eax, dword [eax + 4]
jmp 0x10012d12
add eax, 4
push eax
xor eax, eax
cmp dword [edi + 0x360], ebx
sete al
push eax
push edi
call fcn.100135d0
test byte [esp + 0x14], 2
je 0x10012d3d
and dword [esp + 0x14], 0xfffffffd
push ebx
push 1
lea esi, [esp + 0x50]
call fcn.100016e6
test byte [esp + 0x14], 1
je 0x100134d7
lea esi, [esp + 0x64]
push 0
push 1
call fcn.100016e6
jmp 0x100134d7
push ebx
push ebx
push 1
jmp 0x10012c1c
push 0x44
lea eax, [esp + 0x110]
push ebx
push eax
call fcn.100c1480
add esp, 0xc
push 0x10
lea eax, [esp + 0x3c]
push ebx
push eax
mov dword [esp + 0x118], 0x44
call fcn.100c1480
mov eax, dword [edi]
add esp, 0xc
push esi
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call dword [eax + 4]
cmp dword [eax + 0x18], 8
jb 0x10012dac
mov eax, dword [eax + 4]
jmp 0x10012daf
add eax, 4
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x110]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push ebx
push 1
lea esi, [esp + 0x88]
mov edi, eax
call fcn.100016e6
cmp edi, ebx
je 0x10012df6
push dword [esp + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x3c]
call esi
jmp 0x100134d7
mov dword [esp + 0x34], ebx
jmp 0x100134d7
add ecx, 0xffffffec
cmp ecx, 7
ja case.default.0x10012e0b
jmp dword [ecx*4 + 0x10013506]
push esi
call fcn.100c25e7
pop ecx
jmp 0x10012b9b
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x38]
push eax
sub esp, 0x1c
mov dword [esp + 0x5f0], 4
mov eax, dword [edi]
mov ecx, esp
mov dword [esp + 0x40], esp
push esi
push ecx
mov ecx, edi
call dword [eax + 4]
mov ecx, 0x10107cec
call fcn.1002cf09
mov esi, dword [esp + 0x5c]
add esp, 0x20
cmp esi, 2
jl 0x10012eed
cmp esi, 4
mov eax, dword [esp + 0x38]
jl 0x10012e8c
cmp esi, 3
jbe 0x10012cc2
cmp dword [eax + 0x6c], 8
jb 0x10012e87
mov edi, dword [eax + 0x58]
jmp 0x10012e8e
lea edi, [eax + 0x58]
jmp 0x10012e8e
xor edi, edi
cmp esi, 3
jl 0x10012eac
cmp esi, 2
jbe 0x10012cc2
cmp dword [eax + 0x50], 8
jb 0x10012ea7
mov edx, dword [eax + 0x3c]
jmp 0x10012eae
lea edx, [eax + 0x3c]
jmp 0x10012eae
xor edx, edx
cmp esi, 1
jbe 0x10012cc2
cmp dword [eax + 0x34], 8
jb 0x10012ec2
mov ecx, dword [eax + 0x20]
jmp 0x10012ec5
lea ecx, [eax + 0x20]
cmp esi, ebx
jbe 0x10012cc2
cmp dword [eax + 0x18], 8
jb 0x10012ed8
mov eax, dword [eax + 4]
jmp 0x10012edb
add eax, 4
push 1
push edi
push edx
push ecx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x10012ef1
mov dword [esp + 0x34], ebx
lea edi, [esp + 0x38]
call fcn.10015ef6
jmp 0x100134d7
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov dword [esp + 0x5f0], 5
mov eax, esp
mov dword [esp + 0x40], esp
push esi
mov edi, 0x10107cec
call fcn.10008945
mov ecx, edi
call fcn.1002cf09
mov eax, dword [esp + 0x48]
add esp, 0x20
cmp eax, 1
mov dword [esp + 0x18], eax
jl 0x100132a9
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x5d0], 6
mov edi, 0x10107ca8
push ecx
cmp eax, ebx
jbe 0x10012cc2
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x18], 8
jb 0x10012f8b
mov ecx, dword [eax + 4]
jmp 0x10012f8e
lea ecx, [eax + 4]
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push ecx
call fcn.10008945
mov ecx, edi
call fcn.1002cf09
add esp, 0x20
cmp dword [esp + 0x3c], ebx
je 0x100132a0
jbe 0x10012cc2
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x18], 8
jb 0x10012fc6
mov eax, dword [eax + 4]
jmp 0x10012fc9
add eax, 4
push 8
push eax
mov edi, 0x10107648
call fcn.10010aaa
mov esi, eax
cmp esi, ebx
je 0x100132a0
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x28], ebx
jbe 0x10012cc2
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 8
jb 0x10012ffd
mov edi, dword [eax + 4]
jmp 0x10013000
lea edi, [eax + 4]
cmp dword [esp + 0x3c], ebx
jbe 0x10012cc2
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x18], 8
jb 0x10013019
mov eax, dword [eax + 4]
jmp 0x1001301c
add eax, 4
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [edi + eax*2 + 2]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [esp + 0x14], ebx
je 0x100132a0
push 7
pop eax
xor ecx, ecx
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1a4], ebx
mov word [esp + 0x194], cx
mov dword [esp + 0x16c], eax
xor eax, eax
mov dword [esp + 0x168], ebx
mov word [esp + 0x158], ax
mov byte [esp + 0x5d0], 8
cmp dword [esp + 0x18], 2
jl 0x10013194
cmp dword [esp + 0x28], 1
jbe 0x10012cc2
mov eax, dword [esp + 0x24]
push ebx
add eax, 0x1c
push 0x101089b4
push eax
call fcn.1000896f
mov edi, eax
cmp edi, 0xffffffff
je 0x10013153
cmp dword [esp + 0x28], 1
jbe 0x10012cc2
mov eax, dword [esp + 0x24]
add eax, 0x1c
push edi
push eax
xor ebx, ebx
lea esi, [esp + 0xc0]
call fcn.10014ca6
push 0xffffffffffffffff
lea ecx, [esp + 0x194]
push ecx
mov byte [esp + 0x5d8], 9
call fcn.1000165f
push ebx
push 1
mov byte [esp + 0x5d8], 8
call fcn.100016e6
cmp dword [esp + 0x28], 1
jbe 0x10012cc2
mov eax, dword [esp + 0x24]
add eax, 0x1c
push 0xffffffffffffffff
lea ebx, [edi + 2]
push eax
lea esi, [esp + 0xf8]
call fcn.10014ca6
push 0xffffffffffffffff
lea ecx, [esp + 0x158]
push ecx
xor ebx, ebx
mov byte [esp + 0x5d8], 0xa
call fcn.1000165f
push ebx
push 1
mov byte [esp + 0x5d8], 8
call fcn.100016e6
jmp 0x10013176
cmp dword [esp + 0x28], 1
jbe 0x10012cc2
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
lea ecx, [esp + 0x194]
add eax, 0x1c
push ecx
xor ebx, ebx
call fcn.1000165f
xor edi, edi
cmp dword [esp + 0x1a8], 8
jb 0x1001318b
mov ebx, dword [esp + 0x194]
jmp 0x10013196
lea ebx, [esp + 0x194]
jmp 0x10013196
xor edi, edi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1b0]
push eax
push edi
push edi
push ebx
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10013278
mov dword [esp + 0x18c], 7
mov dword [esp + 0x188], edi
mov word [esp + 0x178], ax
mov esi, 0x101089bc
push esi
mov byte [esp + 0x5d4], 0xb
call fcn.100bfd09
pop ecx
mov ecx, esi
lea esi, [esp + 0x174]
call fcn.1000181a
lea eax, [esp + 0x1ac]
push eax
mov eax, esi
push eax
call fcn.10014c04
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x15c]
call fcn.1000be6b
cmp dword [esp + 0x18], 3
jl 0x10013241
push 0x10107cec
mov eax, esi
push eax
call fcn.10014c04
cmp dword [esp + 0x28], 2
jbe 0x10012cc2
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push edi
add eax, 0x38
call fcn.1000be6b
cmp dword [esp + 0x18c], 8
mov eax, dword [esp + 0x178]
jae 0x10013259
lea eax, [esp + 0x178]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
push edi
push eax
push 0x14
call dword [edx]
push edi
push 1
lea esi, [esp + 0x17c]
mov dword [esp + 0x3c], eax
call fcn.100016e6
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 1
lea esi, [esp + 0x15c]
call fcn.100016e6
push edi
push 1
lea esi, [esp + 0x198]
call fcn.100016e6
lea edi, [esp + 0x38]
call fcn.10015ef6
lea edi, [esp + 0x24]
jmp 0x10012ef5
mov eax, dword [edi]
push esi
lea ecx, [esp + 0xa0]
push ecx
mov ecx, edi
call dword [eax + 4]
mov dword [esp + 0x5d0], 0xc
cmp dword [eax + 0x18], 8
jb 0x100132d8
mov eax, dword [eax + 4]
jmp 0x100132db
add eax, 4
push eax
lea ebx, [edi + 0x70]
call fcn.1001ab59
lea esi, [esp + 0x9c]
jmp 0x10012d4c
and dword [esp + 0x18], ebx
lea eax, [esp + 0x18]
push eax
push esi
call fcn.100c25e7
pop ecx
lea ecx, [edi + 0x22c]
mov esi, eax
call fcn.1000bd4f
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x100134d7
cmp dword [ebx + 0x2c], 6
jne 0x100134d7
push 0x20
pop esi
push esi
lea eax, [esp + 0x158]
push 0
push eax
call fcn.100c1480
add esp, 0xc
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0x158], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x15c], 0x4f
push dword [ebx + 0x28]
push 0x43f
push dword [edi + 0x74]
call esi
and byte [esp + 0x165], 0xef
cmp dword [ebp + 8], 0x18
jne 0x1001338b
mov byte [ebx + 0xd1], 1
mov ax, word [ebx + 0x30]
mov word [esp + 0x166], ax
push 5
jmp 0x100133e8
cmp dword [ebp + 8], 0x19
jne 0x100133f4
mov byte [ebx + 0xd1], 0
or byte [esp + 0x165], 0x10
xor eax, eax
test byte [esp + 0x165], 0x40
mov word [esp + 0x166], ax
je 0x100133d3
cmp dword [0x10136608], eax
je 0x100133d3
cmp dword [ebx + 0x70], 8
jb 0x100133c7
mov eax, dword [ebx + 0x5c]
jmp 0x100133ca
lea eax, [ebx + 0x5c]
mov dword [esp + 0x16c], eax
jmp 0x100133e6
mov ax, word [ebx + 0x30]
sub ax, word [ebx + 0x10c]
mov word [esp + 0x166], ax
push 0
push dword [ebx + 0x118]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x154]
push eax
push dword [ebx + 0x28]
push 0x440
push dword [edi + 0x74]
call esi
lea esi, [edi + 0x70]
call fcn.1001fde5
push 0
push 0
mov eax, esi
call fcn.100197df
cmp dword [ebx + 0xb0], 0
je 0x100134d7
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
and dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
test eax, eax
jle 0x100134d7
push dword [esp + 0x1c]
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_GetMenuItemID]
mov esi, eax
test esi, esi
jbe 0x100134ae
and dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0x25c]
call fcn.1000bd4f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100134ae
mov eax, dword [eax]
cmp eax, 0x19
jne 0x1001348f
cmp dword [ebp + 8], 0x18
je 0x1001349f
cmp dword [ebp + 8], eax
jne 0x100134ae
push 8
jmp 0x100134a1
cmp eax, 0x18
jne 0x100134ae
cmp dword [ebp + 8], eax
je 0x1001348b
cmp dword [ebp + 8], 0x19
jne 0x100134ae
push 0
push esi
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_CheckMenuItem]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
jl 0x10013446
jmp 0x100134d7
cmp eax, ebx
je 0x100134c4
mov ebx, dword [eax]
push 0
push esi
call fcn.10013ad4
jmp 0x100134d7
push esi
lea ecx, [edi + 0x70]
call fcn.1001abea
mov eax, dword [esp + 0x34]
jmp 0x100134df
xor eax, eax
mov ecx, dword [esp + 0x5c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5b0]
xor ecx, esp
call fcn.100bfae1
mov esp, ebp
pop ebp
ret 0xc