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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013d845
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
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 0x10096bde
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.100997e0
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 0x10096be5
push 1
call edx
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x10096bde
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor al, al
jmp 0x10097223
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.10099a40
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 0x10096c30
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x10096cf2
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 0x10096cf2
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 0x1014bdb4
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 3
call dword [0x101464cc]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x10096ca8
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 0x10096cb2
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 [0x101464c8]
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 0x10096c30
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 0x10096f7d
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 0x10096f81
mov eax, dword [esp + 0x18]
cmp dword [ecx + eax + 0x18], 8
jb 0x10096d42
mov ecx, dword [ecx + eax + 4]
jmp 0x10096d46
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 0x10096f6e
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.100997e0
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 0x10096e09
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 0x10096dee
mov edi, dword [esp + 0x60]
cmp esi, edi
je 0x10096de3
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 0x10096dd0
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 0x10096d00
mov eax, dword [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.10099a40
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 0x10096f28
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 0x10096f28
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10096e86
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 0x10096e90
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 0x1014bdb4
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 5
call dword [0x101464cc]
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x10096ede
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 0x10096ee8
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 [0x101464c8]
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 0x10096e30
test esi, esi
mov byte [esp + 0xa0], 2
je 0x10096f5c
cmp esi, ebx
mov edi, ebx
je 0x10096f53
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 0x10096f40
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 0x10096d00
xor eax, eax
jmp 0x10096f98
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 0x100970d3
lea ebx, [eax*8]
sub ebx, eax
add ebx, ebx
add ebx, ebx
test ecx, ecx
je 0x10096fd4
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 0x10096fde
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + ebx + 0x18], 8
jb 0x10096feb
mov ecx, dword [ecx + ebx + 4]
jmp 0x10096fef
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 0x10097038
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 0x10097042
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 8
jb 0x1009704f
mov esi, dword [esi + ebx + 4]
jmp 0x10097053
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 0x1009708d
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 0x10097097
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 8
jb 0x100970a4
mov esi, dword [esi + ebx + 4]
jmp 0x100970a8
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 0x10096fb5
cmp byte [ebp + 0x10], 0
je 0x10097193
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 0x10097189
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esp + 0xa0], 1
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x10097132
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x10097129
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 0x10097116
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 0x10097172
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x10097169
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 0x10097156
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 0x10096bd2
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x10097195
xor ebx, ebx
cmp ecx, ebx
mov byte [esp + 0xa0], 1
je 0x100971c3
cmp ecx, edi
mov esi, ecx
je 0x100971ba
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 0x100971a7
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 0x10097203
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x100971fa
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 0x100971e7
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 0x10097221
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.1012d370
mov esp, ebp
pop ebp
ret 0xc