Function at 0x1000ba64
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031aaa
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x11c], eax
call fcn.1000d659
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x110], eax
mov ecx, edi
mov dword [ebp - 0x108], edi
mov ebx, edi
mov dword [ebp - 0x104], edi
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x114], 0xc8
test eax, eax
je 0x1000be70
lea ecx, [ebp - 0x108]
mov edx, eax
push ecx
push 0x20019
push ecx
mov ecx, 0x80000000
call fcn.1003054f
test eax, eax
jne 0x1000be4e
lea eax, [ebp - 0x104]
mov edx, str.CurVer
push eax
push 0x20019
push ecx
mov ecx, dword [ebp - 0x108]
call fcn.1003054f
test eax, eax
jne 0x1000be4e
movzx eax, byte [ebp - 0xdc]
xor ecx, ecx
cmp dword [ebp - 0x118], 1
cmove eax, ecx
mov byte [ebp - 0xdc], al
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x118]
push eax
push edi
push edi
push dword [ebp - 0x104]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000be4e
lea eax, [ebp - 0xf8]
push eax
push 0x20019
push ecx
lea edx, [ebp - 0xdc]
mov ecx, 0x80000000
call fcn.1003054f
test eax, eax
jne 0x1000be4e
lea eax, [ebp - 0x100]
mov edx, str.shellopen
push eax
push 0x20019
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.1003054f
test eax, eax
jne 0x1000be4e
lea eax, [ebp - 0xfc]
mov edx, str.shell_new
push eax
push 0x20019
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.1003054f
test eax, eax
setne bl
and dword [ebp - 0xf0], 0
and dword [ebp - 0xe8], 0
and dword [ebp - 0xe0], 0
and dword [ebp - 0xe4], 0
and dword [ebp - 0xec], 0
test edi, edi
je 0x1000bc0e
cmp dword [ebp - 0x11c], 4
je 0x1000bdd0
push 1
push edi
lea edx, [ebp - 0xf0]
mov ecx, 0x80000001
call fcn.1003054f
test eax, eax
je 0x1000bde1
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xe8]
mov edx, str.Default_Editor
push eax
sub esp, 0x14
call fcn.1003054f
test eax, eax
jne 0x1000bde1
mov ecx, dword [ebp - 0x110]
call fcn.1000d787
add eax, eax
push eax
push dword [ebp - 0x110]
push 1
push 0
push 0x10036a90
push dword [ebp - 0xe8]
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xe0]
mov edx, 0x10036e40
push eax
sub esp, 0x14
call fcn.1003054f
test eax, eax
jne 0x1000bde1
mov ecx, dword [ebp - 0xe0]
mov edx, 0x100364c0
call fcn.1000b7bc
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xe4]
mov edx, 0x100364c0
push eax
sub esp, 0x14
call fcn.1003054f
test eax, eax
jne 0x1000bde1
test bl, bl
je 0x1000bd1c
mov edx, dword [0x100373fc]
mov ecx, dword [ebp - 0xe0]
call fcn.1000b7bc
mov edx, dword [0x100373fc]
lea eax, [ebp - 0x10c]
mov ecx, dword [ebp - 0xe0]
push eax
lea eax, [ebp - 0xec]
push eax
sub esp, 0x14
call fcn.1003054f
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x100]
push 0
call fcn.1003054f
test bl, bl
je 0x1000bd46
mov edx, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xfc]
push 0
call fcn.1003054f
mov edx, dword [ebp - 0xe4]
mov ecx, 0x80000001
push edi
call fcn.10009b64
test eax, eax
je 0x1000bde1
cmp dword [ebp - 0xec], 0
je 0x1000bd70
push dword [ebp - 0xec]
call esi
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xe4], 0
je 0x1000bd88
push dword [ebp - 0xe4]
call esi
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe0], 0
je 0x1000bda0
push dword [ebp - 0xe0]
call esi
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe8], 0
je 0x1000bdb8
push dword [ebp - 0xe8]
call esi
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xf0], 0
je 0x1000bdd0
push dword [ebp - 0xf0]
call esi
inc edi
cmp edi, 1
jle 0x1000bbda
xor ebx, ebx
inc ebx
xor edi, edi
jmp 0x1000be4e
cmp dword [ebp - 0xec], 0
je 0x1000bdf2
push dword [ebp - 0xec]
call esi
xor edi, edi
mov dword [ebp - 0xec], edi
cmp dword [ebp - 0xe4], edi
je 0x1000be0a
push dword [ebp - 0xe4]
call esi
mov dword [ebp - 0xe4], edi
cmp dword [ebp - 0xe0], edi
je 0x1000be20
push dword [ebp - 0xe0]
call esi
mov dword [ebp - 0xe0], edi
cmp dword [ebp - 0xe8], edi
je 0x1000be36
push dword [ebp - 0xe8]
call esi
mov dword [ebp - 0xe8], edi
cmp dword [ebp - 0xf0], edi
je 0x1000be4c
push dword [ebp - 0xf0]
call esi
mov ebx, edi
mov ecx, dword [ebp - 0x110]
call fcn.100033fc
cmp dword [ebp - 0xfc], 0
je 0x1000be6a
push dword [ebp - 0xfc]
call esi
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0xfc], edi
test ecx, ecx
je 0x1000be7d
push ecx
call esi
cmp dword [ebp - 0xf8], 0
mov dword [ebp - 0x100], edi
je 0x1000be94
push dword [ebp - 0xf8]
call esi
cmp dword [ebp - 0x104], 0
mov dword [ebp - 0xf8], edi
je 0x1000beab
push dword [ebp - 0x104]
call esi
cmp dword [ebp - 0x108], 0
mov dword [ebp - 0x104], edi
je 0x1000bec2
push dword [ebp - 0x108]
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f764
leave
ret 4