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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101438e5
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x10177024]
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 0x10096e6e
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.100998f0
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 0x10096e75
push 1
call edx
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x10096e6e
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor al, al
jmp 0x100974b3
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
push edi
lea ecx, [esp + 0x38]
call fcn.10099bb0
add esp, 8
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
jmp 0x10096ec0
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x10096f82
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 0x10096f82
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 0x101520e4
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 3
call dword [0x1014c4e8]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x10096f38
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 0x10096f42
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 [0x1014c4e4]
lea eax, [esp + 0x58]
push eax
lea esi, [esp + 0x20]
call fcn.10003480
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 0x10096ec0
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 0x1009720d
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 0x10097211
mov eax, dword [esp + 0x18]
cmp dword [ecx + eax + 0x18], 8
jb 0x10096fd2
mov ecx, dword [ecx + eax + 4]
jmp 0x10096fd6
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 0x100971fe
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.100998f0
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 0x10097099
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 0x1009707e
mov edi, dword [esp + 0x60]
cmp esi, edi
je 0x10097073
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 0x10097060
mov esi, dword [esp + 0x5c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
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 0x10096f90
mov eax, dword [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.10099bb0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 8
push 1
mov ecx, ebx
call eax
xor edi, edi
mov dword [esp + 0x48], edi
lea esp, [esp]
mov esi, dword [esp + 0x5c]
test esi, esi
mov ebx, dword [esp + 0x60]
je 0x100971b8
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 0x100971b8
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10097116
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 0x10097120
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 0x101520e4
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 5
call dword [0x1014c4e8]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x1009716e
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 0x10097178
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 [0x1014c4e4]
lea edx, [esp + 0x74]
push edx
lea esi, [esp + 0x20]
call fcn.10003480
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 0x100970c0
test esi, esi
mov byte [esp + 0xa0], 2
je 0x100971ec
cmp esi, ebx
mov edi, ebx
je 0x100971e3
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 0x100971d0
mov esi, dword [esp + 0x5c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
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 0x10096f90
xor eax, eax
jmp 0x10097228
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 0x10097363
lea ebx, [eax*8]
sub ebx, eax
add ebx, ebx
add ebx, ebx
test ecx, ecx
je 0x10097264
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 0x1009726e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + ebx + 0x18], 8
jb 0x1009727b
mov ecx, dword [ecx + ebx + 4]
jmp 0x1009727f
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 0x100972c8
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 0x100972d2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 8
jb 0x100972df
mov esi, dword [esi + ebx + 4]
jmp 0x100972e3
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 0x1009731d
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 0x10097327
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 8
jb 0x10097334
mov esi, dword [esi + ebx + 4]
jmp 0x10097338
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 0x10097245
cmp byte [ebp + 0x10], 0
je 0x10097423
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 0x10097419
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esp + 0xa0], 1
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x100973c2
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x100973b9
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 0x100973a6
mov esi, dword [esp + 0x20]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
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 0x10097402
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x100973f9
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 0x100973e6
mov esi, dword [esp + 0x34]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
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 0x10096e62
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x10097425
xor ebx, ebx
cmp ecx, ebx
mov byte [esp + 0xa0], 1
je 0x10097453
cmp ecx, edi
mov esi, ecx
je 0x1009744a
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 0x10097437
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
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 0x10097493
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x1009748a
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 0x10097477
mov esi, dword [esp + 0x34]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
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 0x100974b1
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.10130e50
mov esp, ebp
pop ebp
ret 0xc