Function at 0x41e110
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b72a6
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x41e15d
mov eax, dword [esi]
jmp 0x41e15f
mov eax, esi
push eax
mov eax, dword [ecx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 1
lea ecx, [esp + 0x18]
push 2
mov edi, eax
xor ebx, ebx
call fcn.00413cc0
cmp edi, ebx
je 0x41e32a
mov dword [esp + 0x110], ebx
push esi
push ecx
push str.._strSubKey:
push ecx
push edi
push ecx
lea ecx, [esp + 0x2c]
push str.RegDeleteKey_Failed._lStatus:
push ecx
call fcn.00416b90
add esp, 0xc
push eax
call fcn.0041efb0
add esp, 4
push eax
call fcn.00416b90
add esp, 0xc
push eax
call fcn.00416df0
add esp, 8
push 0x19
mov esi, 0xf
push str.CRegUtility::DeleteSubKey
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.0040ebe0
mov byte [esp + 0x110], 1
push 0xe
push str.RegUtility.cpp
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.0040ebe0
mov byte [esp + 0x110], 2
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x18]
call fcn.00413de0
mov byte [esp + 0x110], 3
push eax
lea eax, [esp + 0xb0]
push eax
push 0xea
lea ecx, [esp + 0xd4]
push ecx
push ebx
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [esp + 0x110], 2
cmp dword [esp + 0xf8], 8
jb 0x41e283
mov edx, dword [esp + 0xe4]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], ax
mov byte [esp + 0x110], 1
mov edi, 0x10
cmp dword [esp + 0xdc], edi
jb 0x41e2c5
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00490458
add esp, 4
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
mov byte [esp + 0x110], bl
cmp dword [esp + 0xc0], edi
jb 0x41e2fa
mov edx, dword [esp + 0xac]
push edx
call fcn.00490458
add esp, 4
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
mov dword [esp + 0x110], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00412cc0
xor al, al
jmp 0x41e4e2
mov dword [esp + 0x110], 4
mov eax, dword [ebp + 0xc]
push eax
push ecx
push str.._samDesired:
push ecx
push esi
push ecx
push str._strSubKey:
push ecx
lea ecx, [esp + 0x34]
push str.DeleteSubKey_OK.
push ecx
call fcn.00416b90
add esp, 0xc
push eax
call fcn.00416b90
add esp, 0xc
push eax
call fcn.00416df0
add esp, 0xc
push eax
call fcn.00416b90
add esp, 0xc
push eax
call fcn.004135f0
push 0x19
mov esi, 0xf
push str.CRegUtility::DeleteSubKey
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.0040ebe0
mov byte [esp + 0x110], 5
push 0xe
push str.RegUtility.cpp
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.0040ebe0
mov byte [esp + 0x110], 6
lea edx, [esp + 0xe4]
push edx
lea ecx, [esp + 0x18]
call fcn.00413de0
mov byte [esp + 0x110], 7
push eax
lea eax, [esp + 0xcc]
push eax
push 0xee
lea ecx, [esp + 0xb8]
push ecx
push 3
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [esp + 0x110], 6
cmp dword [esp + 0xf8], 8
jb 0x41e43f
mov edx, dword [esp + 0xe4]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], ax
mov byte [esp + 0x110], 5
mov edi, 0x10
cmp dword [esp + 0xc0], edi
jb 0x41e481
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00490458
add esp, 4
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
mov byte [esp + 0x110], 4
cmp dword [esp + 0xdc], edi
jb 0x41e4b7
mov edx, dword [esp + 0xc8]
push edx
call fcn.00490458
add esp, 4
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
mov dword [esp + 0x110], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00412cc0
mov al, 1
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret 8