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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10110fa5
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
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 0x10092dbe
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.100947f0
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 0x10092dc5
push 1
call edx
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x10092dbe
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor al, al
jmp 0x10093403
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.10094a80
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 0x10092e10
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x10092ed2
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 0x10092ed2
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 0x1011da4c
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 0x10092e88
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 0x10092e92
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 [0x10119408]
lea eax, [esp + 0x58]
push eax
lea esi, [esp + 0x20]
call fcn.10003370
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 0x10092e10
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 0x1009315d
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 0x10093161
mov eax, dword [esp + 0x18]
cmp dword [ecx + eax + 0x18], 8
jb 0x10092f22
mov ecx, dword [ecx + eax + 4]
jmp 0x10092f26
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 0x1009314e
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.100947f0
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 0x10092fe9
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 0x10092fce
mov edi, dword [esp + 0x60]
cmp esi, edi
je 0x10092fc3
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 0x10092fb0
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 0x10092ee0
mov eax, dword [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.10094a80
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 0x10093108
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 0x10093108
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10093066
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 0x10093070
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 0x1011da4c
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 0x100930be
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 0x100930c8
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 [0x10119408]
lea edx, [esp + 0x74]
push edx
lea esi, [esp + 0x20]
call fcn.10003370
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 0x10093010
test esi, esi
mov byte [esp + 0xa0], 2
je 0x1009313c
cmp esi, ebx
mov edi, ebx
je 0x10093133
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 0x10093120
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 0x10092ee0
xor eax, eax
jmp 0x10093178
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 0x100932b3
lea ebx, [eax*8]
sub ebx, eax
add ebx, ebx
add ebx, ebx
test ecx, ecx
je 0x100931b4
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 0x100931be
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
cmp dword [ecx + ebx + 0x18], 8
jb 0x100931cb
mov ecx, dword [ecx + ebx + 4]
jmp 0x100931cf
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 0x10093218
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 0x10093222
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 8
jb 0x1009322f
mov esi, dword [esi + ebx + 4]
jmp 0x10093233
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 0x1009326d
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 0x10093277
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x20]
cmp dword [esi + ebx + 0x18], 8
jb 0x10093284
mov esi, dword [esi + ebx + 4]
jmp 0x10093288
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 0x10093195
cmp byte [ebp + 0x10], 0
je 0x10093373
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 0x10093369
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esp + 0xa0], 1
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x10093312
mov edi, dword [esp + 0x24]
cmp esi, edi
je 0x10093309
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 0x100932f6
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 0x10093352
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x10093349
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 0x10093336
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 0x10092db2
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x10093375
xor ebx, ebx
cmp ecx, ebx
mov byte [esp + 0xa0], 1
je 0x100933a3
cmp ecx, edi
mov esi, ecx
je 0x1009339a
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 0x10093387
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 0x100933e3
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x100933da
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 0x100933c7
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 0x10093401
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.1010dc50
mov esp, ebp
pop ebp
ret 0xc