Function at 0x45b110
Capabilities:
Delete registry key
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4709e5
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx]
xor esi, esi
push esi
push 1
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], ecx
push eax
mov eax, dword [edx + 4]
mov ecx, ebx
mov dword [esp + 0x50], ebx
call eax
test al, al
je 0x45b1de
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], vtable.MemoryControl.0
mov dword [esp + 0x50], esi
mov dword [esp + 0xa0], esi
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x14]
push eax
push esi
mov ecx, ebx
call edx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.0045d5d0
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov edi, eax
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, ebx
call edx
test al, al
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
jne 0x45b1e5
push 1
call edx
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x45b1de
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor al, al
jmp 0x45b823
push esi
call edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x14]
push eax
lea edx, [esp + 0x34]
mov ecx, edi
call fcn.00460bd0
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0xa0], 2
xor edi, edi
mov dword [esp + 0x18], esi
lea esp, [esp]
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x45b2f2
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x45b2f2
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x478908
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 3
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x45b2a8
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x45b2b2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
add esi, edx
push esi
lea ecx, [esp + 0x5c]
call dword [0x47477c]
lea eax, [esp + 0x58]
push eax
lea esi, [esp + 0x20]
call fcn.0045cd90
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add dword [esp + 0x18], 0x1c
add edi, 1
xor esi, esi
jmp 0x45b230
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
lea ebx, [ebx]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov edi, dword [esp + 0x24]
je 0x45b57d
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jae 0x45b581
mov eax, dword [esp + 0x18]
cmp dword [ecx + eax + 0x18], 8
jb 0x45b342
mov ecx, dword [ecx + eax + 4]
jmp 0x45b346
lea ecx, [ecx + eax + 4]
mov edx, dword [ebx]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 4]
xor edi, edi
push edi
push 1
push ecx
push eax
mov ecx, ebx
call edx
test al, al
je 0x45b56e
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov byte [esp + 0xa0], 4
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call edx
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
call fcn.0045d5d0
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
mov ecx, ebx
call edx
test al, al
jne 0x45b409
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push 1
mov ecx, ebx
call edx
mov byte [esp + 0xa0], 2
mov esi, dword [esp + 0x5c]
cmp esi, edi
je 0x45b3ee
mov edi, dword [esp + 0x60]
cmp esi, edi
je 0x45b3e3
nop
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x45b3d0
mov esi, dword [esp + 0x5c]
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor edi, edi
add dword [esp + 0x10], 1
add dword [esp + 0x18], 0x1c
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
jmp 0x45b300
mov eax, dword [esp + 0x14]
push eax
lea edx, [esp + 0x5c]
mov ecx, esi
call fcn.00460bd0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push 1
mov ecx, ebx
call eax
xor edi, edi
mov dword [esp + 0x48], edi
lea ecx, [ecx]
mov esi, dword [esp + 0x5c]
test esi, esi
mov ebx, dword [esp + 0x60]
je 0x45b528
mov ecx, ebx
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x45b528
mov esi, dword [esp + 0x20]
test esi, esi
je 0x45b486
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x45b490
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [esi + ecx]
push eax
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x478908
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 5
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x45b4de
mov ecx, dword [esp + 0x60]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x45b4e8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x48]
add esi, ebx
push esi
lea ecx, [esp + 0x78]
call dword [0x47477c]
lea edx, [esp + 0x74]
push edx
lea esi, [esp + 0x20]
call fcn.0045cd90
lea ecx, [esp + 0x74]
mov byte [esp + 0xa0], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add edi, 1
add ebx, 0x1c
mov dword [esp + 0x48], ebx
jmp 0x45b430
test esi, esi
mov byte [esp + 0xa0], 2
je 0x45b55c
cmp esi, ebx
mov edi, ebx
je 0x45b553
lea ebx, [ebx]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x45b540
mov esi, dword [esp + 0x5c]
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov ebx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
add dword [esp + 0x10], 1
add dword [esp + 0x18], 0x1c
jmp 0x45b300
xor eax, eax
jmp 0x45b598
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, 0xffffffff
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x45b6d3
lea ebx, [eax*8]
sub ebx, eax
add ebx, ebx
add ebx, ebx
test ecx, ecx
je 0x45b5d4
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x45b5de
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + ebx + 0x18], 8
jb 0x45b5eb
mov ecx, dword [ecx + ebx + 4]
jmp 0x45b5ef
lea ecx, [ecx + ebx + 4]
mov edi, dword [esp + 0x40]
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 0
push 1
push ecx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 0
mov ecx, edi
call edx
mov esi, dword [esp + 0x20]
test esi, esi
je 0x45b638
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x45b642
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 8
jb 0x45b64f
mov esi, dword [esi + ebx + 4]
jmp 0x45b653
lea esi, [esi + ebx + 4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
push 0
push 1
push esi
push ecx
mov ecx, edi
call edx
mov esi, dword [esp + 0x20]
test esi, esi
je 0x45b68d
mov ecx, dword [esp + 0x24]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jb 0x45b697
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 8
jb 0x45b6a4
mov esi, dword [esi + ebx + 4]
jmp 0x45b6a8
lea esi, [esi + ebx + 4]
mov eax, dword [esp + 0x2c]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, 1
sub ebx, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x45b5b5
cmp byte [ebp + 0x10], 0
je 0x45b793
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ebx, ebx
cmp eax, ebx
je 0x45b789
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esp + 0xa0], 1
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x45b732
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x45b729
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x45b716
mov esi, dword [esp + 0x20]
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov byte [esp + 0xa0], 0
mov esi, dword [esp + 0x34]
cmp esi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x45b772
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x45b769
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x45b756
mov esi, dword [esp + 0x34]
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp eax, ebx
jmp 0x45b1d2
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x45b795
xor ebx, ebx
cmp ecx, ebx
mov byte [esp + 0xa0], 1
je 0x45b7c3
cmp ecx, edi
mov esi, ecx
je 0x45b7ba
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x45b7a7
mov ecx, dword [esp + 0x20]
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov byte [esp + 0xa0], 0
mov esi, dword [esp + 0x34]
cmp esi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x45b803
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x45b7fa
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, edi
jne 0x45b7e7
mov esi, dword [esp + 0x34]
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x45b821
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0046d6fd
mov esp, ebp
pop ebp
ret 0xc