Function at 0x1023967
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x102a0ec]
push esi
push edi
xor esi, esi
xor edi, edi
inc esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x4b0], edi
mov dword [ebp - 0x4bc], edi
mov dword [ebp - 0x4c0], esi
call fcn.0101dde5
lea eax, [ebp - 0x4bc]
push eax
push 0x2001f
push edi
push dword [0x102a0f4]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1023ecd
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x4c0]
push eax
push edi
push 0x1009798
push dword [ebp - 0x4bc]
mov dword [ebp - 0x4b8], edi
mov dword [ebp - 0x4b4], edi
mov dword [ebp - 0x4ac], 0x230
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1023eed
cmp dword [ebp - 0x4c0], esi
jne 0x1023eed
push ebx
lea eax, [ebp - 0x4a8]
push eax
call fcn.01016f8a
test eax, eax
mov esi, 0x103
mov ebx, 0x102be58
lea eax, [ebp - 0x4a8]
je 0x1023a3f
push 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp 0x1023a47
push eax
push esi
push ebx
call fcn.0100c535
push ebx
push 0x1006274
push esi
push 0x102c268
call fcn.0100d4d1
add esp, 0x10
push ebx
push esi
push 0x102c060
call fcn.0100c535
lea eax, [ebp - 0x4a8]
push eax
push 0x1006274
push esi
push ebx
call fcn.0100d4d1
add esp, 0x10
lea eax, [ebp - 0x4a8]
push eax
push esi
push 0x102c470
call fcn.0100c535
cmp dword [ebp + 8], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jne 0x1023c24
lea eax, [ebp - 0x4b0]
push eax
push 0x2001f
push edi
push 0x1007270
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1023c24
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
jmp 0x1023bfe
inc dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b4]
push eax
push 0x2001f
push edi
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1023be9
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x4c0]
push eax
push edi
push 0x100732c
push dword [ebp - 0x4b4]
mov dword [ebp - 0x4ac], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1023b48
cmp dword [ebp - 0x4c0], 1
je 0x1023b62
lea eax, [ebp - 0x68]
push eax
push 0x100731c
lea eax, [ebp - 0x1f8]
push 0x63
push eax
call fcn.0100d4d1
add esp, 0x10
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x4c0]
push eax
push edi
push 0x1009398
push dword [ebp - 0x4b4]
mov dword [ebp - 0x4ac], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1023ba9
cmp dword [ebp - 0x4c0], 1
jne 0x1023ba9
lea eax, [ebp - 0x278]
push eax
jmp 0x1023bae
push 0x1004490
push 0x102c060
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0101f74d
push 0x10077f0
push dword [ebp - 0x4b4]
call ebx
push 0x1007350
push dword [ebp - 0x4b4]
call ebx
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x4b8]
push dword [ebp - 0x4b0]
mov dword [ebp - 0x4ac], 0x32
call esi
test eax, eax
je 0x1023adf
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x4b0]
push eax
push 0x2001f
push edi
push 0x1007304
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1023d01
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x4b8], edi
push edi
jmp 0x1023cdb
inc dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b4]
push eax
push 0x2001f
push edi
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1023cc3
push 1
lea eax, [ebp - 0x130]
push eax
call fcn.01027b54
push 0x10077f0
push dword [ebp - 0x4b4]
call ebx
push 0x1007350
push dword [ebp - 0x4b4]
call ebx
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x4b8]
push dword [ebp - 0x4b0]
mov dword [ebp - 0x4ac], 0x64
call esi
test eax, eax
je 0x1023c65
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], edi
jne 0x1023ec0
lea eax, [ebp - 0x4b0]
push eax
push 0x2001f
push edi
push 0x100724c
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1023de5
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x4b8], edi
push edi
jmp 0x1023dbf
inc dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b4]
push eax
push 0x2001f
push edi
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1023da7
lea eax, [ebp - 0x130]
push eax
call fcn.0101bee9
push 0x10077f0
push dword [ebp - 0x4b4]
call ebx
push 0x1007350
push dword [ebp - 0x4b4]
call ebx
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x4b8]
push dword [ebp - 0x4b0]
mov dword [ebp - 0x4ac], 0x64
call esi
test eax, eax
je 0x1023d4b
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x4b0]
push eax
push 0x2001f
push edi
push 0x1007260
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1023ec0
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x4b8], edi
push edi
jmp 0x1023e9a
inc dword [ebp - 0x4b8]
lea eax, [ebp - 0x4b4]
push eax
push 0x2001f
push edi
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1023e82
lea eax, [ebp - 0x130]
push eax
call fcn.0101b763
push 0x10077f0
push dword [ebp - 0x4b4]
call ebx
push 0x1007350
push dword [ebp - 0x4b4]
call ebx
push dword [ebp - 0x4b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x4b8]
push dword [ebp - 0x4b0]
mov dword [ebp - 0x4ac], 0x64
call esi
test eax, eax
je 0x1023e26
push dword [ebp - 0x4b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
push edi
push edi
push 0x2000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0101672d
leave
ret 4
push dword [ebp - 0x4bc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1023edf