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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x103f058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xe0]
push eax
xor esi, esi
mov ebx, 0x2001f
push ebx
push esi
push dword [0x103f06c]
mov dword [ebp - 0xd0], esi
push 0x80000002
mov dword [ebp - 0xe0], esi
call edi
test eax, eax
jne 0x1037ff5
lea eax, [ebp - 0xd0]
push eax
push ebx
push esi
push 0x1008d3c
push dword [ebp - 0xe0]
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xdc], esi
call edi
test eax, eax
jne 0x1037e5c
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xd8], esi
push esi
jmp 0x1037e36
inc dword [ebp - 0xd8]
lea eax, [ebp - 0xdc]
push eax
push ebx
push esi
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd0]
call edi
test eax, eax
jne 0x1037e1e
lea eax, [ebp - 0xcc]
push eax
call fcn.0103cc2d
push 0x100669c
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd8]
push dword [ebp - 0xd0]
mov dword [ebp - 0xd4], 0x64
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1037dd3
push dword [ebp - 0xd0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], esi
jne 0x1037fe9
lea eax, [ebp - 0xd0]
push eax
push ebx
push esi
push 0x1008d28
push dword [ebp - 0xe0]
call edi
test eax, eax
jne 0x1037f27
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xd8], esi
push esi
jmp 0x1037f01
inc dword [ebp - 0xd8]
lea eax, [ebp - 0xdc]
push eax
push ebx
push esi
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd0]
call edi
test eax, eax
jne 0x1037ee9
lea eax, [ebp - 0xcc]
push eax
call fcn.01032be7
push 0x100669c
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd8]
push dword [ebp - 0xd0]
mov dword [ebp - 0xd4], 0x64
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1037e9e
push dword [ebp - 0xd0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xd0]
push eax
push ebx
push esi
push 0x1008d18
push dword [ebp - 0xe0]
call edi
test eax, eax
jne 0x1037fe9
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xd8], esi
push esi
jmp 0x1037fc3
inc dword [ebp - 0xd8]
lea eax, [ebp - 0xdc]
push eax
push ebx
push esi
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd0]
call edi
test eax, eax
jne 0x1037fab
lea eax, [ebp - 0xcc]
push eax
call fcn.010317b8
push 0x100669c
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xd8]
push dword [ebp - 0xd0]
mov dword [ebp - 0xd4], 0x64
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1037f60
push dword [ebp - 0xd0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xe0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1008cc8
push 0x80000001
call fcn.0102f8ce
push esi
push esi
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102df7d
leave
ret 4