Function at 0x44231e
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d50d
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, edx
xor edi, edi
cmp dword [esi + 0x14], 8
mov dword [esp + 0x10], edi
jb 0x442373
mov eax, dword [esi]
jmp 0x442375
mov eax, esi
lea edx, [esp + 0x10]
push edx
push dword [ebp + 0xc]
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x4424c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00403575
mov dword [esp + 0x148], edi
push esi
push ecx
lea eax, [esp + 0x1c]
push 0x4768dc
push eax
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
push 0xf
pop ebx
push 0x18
push str.path_manager::delete_reg
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], edi
mov byte [esp + 0xb4], 0
call fcn.00403e19
mov byte [esp + 0x148], 1
push 0x10
push str.path_manager.cpp
lea ecx, [esp + 0xec]
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], edi
mov byte [esp + 0xec], 0
call fcn.00403e19
mov byte [esp + 0x148], 2
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x18]
call fcn.00403624
mov byte [esp + 0x148], 3
push eax
lea eax, [esp + 0xb0]
push eax
push 0x25c
push 2
call fcn.00439dc3
lea ecx, [esp + 0xf4]
mov ebx, eax
call fcn.00439e02
mov byte [esp + 0x148], 2
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x108]
call fcn.00403eaf
mov byte [esp + 0x148], 1
push ebx
push esi
lea ecx, [esp + 0xec]
call fcn.00403eaf
mov byte [esp + 0x148], bl
push ebx
lea ecx, [esp + 0xb0]
push esi
call fcn.00403eaf
or dword [esp + 0x148], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.004035e1
lea ecx, [esp + 0x64]
call fcn.00402925
mov eax, esi
jmp 0x442870
cmp dword [ebx + 0x14], 8
jb 0x4424d1
mov ebx, dword [ebx]
push ebx
push dword [esp + 0x14]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp eax, edi
je 0x442864
lea eax, [esp + 0x14]
push eax
call fcn.00402ec2
mov dword [esp + 0x148], 4
lea eax, [esp + 0x14]
push str.delete_reg_the_sub_key:
push eax
call fcn.004064bf
push eax
mov ecx, esi
call fcn.0040632c
add esp, 0xc
push 0xf
pop ebx
push 0x18
push str.path_manager::delete_reg
lea ecx, [esp + 0xec]
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], edi
mov byte [esp + 0xec], 0
call fcn.00403e19
mov byte [esp + 0x148], 5
push 0x10
push str.path_manager.cpp
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], edi
mov byte [esp + 0xb4], 0
call fcn.00403e19
mov byte [esp + 0x148], 6
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x18]
call fcn.00402f86
mov byte [esp + 0x148], 7
push eax
lea eax, [esp + 0xe8]
push eax
push 0x260
lea eax, [esp + 0xb8]
push eax
push 1
push ecx
call fcn.00439dc3
pop ecx
push eax
call fcn.0043a160
mov byte [esp + 0x148], 6
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.004041e3
mov byte [esp + 0x148], 5
xor esi, esi
push esi
inc edi
push edi
lea ecx, [esp + 0xb4]
call fcn.00403eaf
mov byte [esp + 0x148], 4
push esi
push edi
lea ecx, [esp + 0xec]
call fcn.00403eaf
or dword [esp + 0x148], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.00402f43
lea ecx, [esp + 0x64]
call fcn.004029cc
lea eax, [esp + 0x14]
push eax
call fcn.00402ec2
mov dword [esp + 0x148], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [esp + 0x1c]
push str.delete_reg::SHDeleteKey_failed_and_last_error:
push eax
call fcn.004064bf
add esp, 0xc
push eax
call fcn.0042aa60
push 0x18
push str.path_manager::delete_reg
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], esi
mov byte [esp + 0xd0], 0
call fcn.00403e19
mov byte [esp + 0x148], 9
push 0x10
push str.path_manager.cpp
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xc4], esi
mov byte [esp + 0xb4], 0
call fcn.00403e19
mov byte [esp + 0x148], 0xa
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x18]
call fcn.00402f86
mov byte [esp + 0x148], 0xb
push eax
lea eax, [esp + 0xcc]
push eax
push 0x261
lea eax, [esp + 0xb8]
push eax
push edi
push ecx
call fcn.00439dc3
pop ecx
push eax
call fcn.0043a160
mov byte [esp + 0x148], 0xa
push edi
xor edi, edi
lea esi, [esp + 0x120]
call fcn.004041e3
mov byte [esp + 0x148], 9
xor esi, esi
push esi
push 1
lea ecx, [esp + 0xb4]
call fcn.00403eaf
mov byte [esp + 0x148], 8
push esi
push 1
lea ecx, [esp + 0xd0]
call fcn.00403eaf
or dword [esp + 0x148], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.00402f43
lea ecx, [esp + 0x64]
call fcn.004029cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00403575
mov dword [esp + 0x148], 0xc
push edi
push ecx
lea eax, [esp + 0x1c]
push 0x4768dc
push eax
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
mov dword [esp + 0x114], ebx
push 0x18
push str.path_manager::delete_reg
lea ecx, [esp + 0x108]
mov dword [esp + 0x118], esi
mov byte [esp + 0x108], 0
call fcn.00403e19
mov byte [esp + 0x148], 0xd
push 0x10
push str.path_manager.cpp
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], esi
mov byte [esp + 0xd0], 0
call fcn.00403e19
mov byte [esp + 0x148], 0xe
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x18]
call fcn.00403624
mov byte [esp + 0x148], bl
push eax
lea eax, [esp + 0x104]
push eax
push 0x262
push 2
call fcn.00439dc3
lea ecx, [esp + 0xd8]
mov ebx, eax
call fcn.00439e02
mov byte [esp + 0x148], 0xe
xor edi, edi
push edi
inc esi
push esi
lea ecx, [esp + 0x124]
call fcn.00403eaf
mov byte [esp + 0x148], 0xd
push edi
push esi
lea ecx, [esp + 0xd0]
call fcn.00403eaf
mov byte [esp + 0x148], 0xc
push edi
lea ecx, [esp + 0x104]
jmp 0x4424a2
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret 8