Function at 0x1001d3e9
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x100572c0]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x58
mov eax, 0x10042fed
call fcn.1002b113
mov eax, dword [ebp + 0x20c]
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.1001a60e
mov edi, str.JustUtil::RemoveKey
test eax, eax
je 0x1001d473
sub esp, 0x1c
lea eax, [ebp + 0x210]
mov esi, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.10002160
push 0x75
push edi
mov byte [ebp - 4], 1
call fcn.1001a60e
push eax
mov ecx, 0x10049808
lea ebx, [ebp - 0x60]
call fcn.1001ac41
mov byte [ebp - 4], 2
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1001abe7
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.1001a66c
xor ebx, ebx
cmp dword [ebp + 0x228], 8
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x18], ebx
jae 0x1001d48b
lea eax, [ebp + 0x214]
lea ecx, [ebp - 0x18]
push ecx
push 0xf003f
push ebx
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], ebx
jne 0x1001d523
call fcn.1001a60e
test eax, eax
je 0x1001d6c8
sub esp, 0x1c
lea eax, [ebp + 0x210]
mov esi, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.10002160
push 0x79
push edi
mov byte [ebp - 4], 4
call fcn.1001a60e
push eax
mov ecx, 0x10049924
lea ebx, [ebp - 0x60]
call fcn.1001ac41
push 3
pop edi
mov esi, eax
mov byte [ebp - 4], 5
call fcn.1001aa80
mov ecx, eax
push dword [ebp - 0x10]
mov eax, str.Cant_open_key:
call fcn.1001ab2c
mov ecx, eax
call fcn.1001a914
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1001abe7
mov ecx, ebx
mov byte [ebp - 4], 0
call fcn.1001a66c
xor ebx, ebx
jmp 0x1001d6c8
lea eax, [ebp - 0x34]
push eax
call fcn.10010c28
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], ebx
push ebx
jmp 0x1001d5b7
call fcn.1001a60e
test eax, eax
je 0x1001d57e
push 0x84
push edi
call fcn.1001a60e
push eax
mov ecx, 0x10049808
lea ebx, [ebp - 0x60]
call fcn.1001ac41
push eax
lea eax, [ebp]
mov byte [ebp - 4], 8
call fcn.1001abbb
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.1001a66c
xor ebx, ebx
lea eax, [ebp]
push eax
lea esi, [ebp - 0x50]
call fcn.10002136
mov eax, esi
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.1001e16b
push ebx
push 1
mov byte [ebp - 4], 7
call fcn.10002d0f
inc dword [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1001d542
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x14], ebx
test eax, eax
jbe 0x1001d64f
push 0x1004a4b8
lea eax, [ebp + 0x210]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100088e8
add esp, 0xc
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xa
push dword [ebp - 0x14]
lea esi, [ebp - 0x34]
call fcn.1001b324
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
push dword [ebp - 0x10]
push ecx
call fcn.1000a50f
add esp, 0xc
push dword [ebp - 0x1c]
call fcn.1001d3e9
add esp, 0x20
push ebx
push 1
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.10002d0f
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jb 0x1001d5e2
push 0x100498ac
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x1001d6b7
call fcn.1001a60e
test eax, eax
je 0x1001d6b7
push 0x8e
push edi
call fcn.1001a60e
push eax
mov ecx, 0x10049924
lea ebx, [ebp - 0x60]
call fcn.1001ac41
push 3
pop edi
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.1001aa80
push dword [ebp - 0x10]
mov ecx, eax
mov eax, str.Cant_delete_key.
call fcn.1001ab2c
mov ecx, eax
call fcn.1001a914
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.1001a66c
xor ebx, ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x34]
call fcn.10010c61
push ebx
push 1
lea esi, [ebp + 0x210]
call fcn.10002d0f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.10026081
add ebp, 0x204
leave
ret