Function at 0x100116e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10043538
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1005a690]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x1005a690]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x3c], 8
lea esi, [edi + 0x28]
jb 0x10011729
mov eax, dword [esi]
jmp 0x1001172b
mov eax, esi
mov ebx, dword [sym.imp.MSVCR110.dll__wcsicmp]
push 0x100485c4
push eax
call ebx
add esp, 8
test eax, eax
jne 0x10011900
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], eax
mov word [esp + 0x60], ax
lea ecx, [edi + 0x40]
lea edx, [esp + 0x60]
mov dword [esp + 0x88], eax
call fcn.10014410
mov edi, eax
xor eax, eax
push eax
push 0x10048468
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
call fcn.1000aac0
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x64]
mov ecx, edi
call fcn.10014360
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x58], 8
mov bl, al
jb 0x100117bb
push dword [esp + 0x44]
call esi
add esp, 4
test bl, bl
je 0x100118e7
sub esp, 8
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x68], 0x5c
call fcn.10011b00
mov ebx, eax
push ebx
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.1000a1e0
cmp dword [eax + 0x14], 8
jb 0x10011807
mov eax, dword [eax]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov byte [esp + 0x4c], 0
test edi, edi
je 0x1001183f
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x48]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov byte [esp + 0x88], 1
cmp dword [esp + 0x28], 8
jb 0x10011857
push dword [esp + 0x14]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp dword [esp + 0x44], eax
je 0x100118c1
push 0xffffffffffffffff
lea eax, [ebx + 1]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x6c]
call fcn.1000a1e0
cmp dword [eax + 0x14], 8
jb 0x10011890
mov eax, dword [eax]
push eax
push dword [esp + 0x48]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [esp + 0x40], 8
mov edi, eax
jb 0x100118ad
push dword [esp + 0x2c]
call esi
add esp, 4
test edi, edi
je 0x100118c1
lea ecx, [esp + 0x44]
call fcn.1001dbb0
mov edi, 2
jmp 0x100118e9
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100118d8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100118e7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp dword [esp + 0x74], 8
jb 0x100118f9
push dword [esp + 0x60]
call esi
add esp, 4
mov eax, edi
jmp 0x100119d9
cmp dword [esi + 0x14], 8
jb 0x10011908
mov esi, dword [esi]
push str.Value
push esi
call ebx
add esp, 8
test eax, eax
jne 0x100119d4
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
lea ecx, [edi + 0x40]
lea edx, [esp + 0x44]
mov dword [esp + 0x88], 2
call fcn.10014410
mov ebx, eax
lea esi, [edi + 0x58]
push esi
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10014360
add esp, 4
test al, al
je 0x100119ba
cmp dword [esi + 0x14], 8
jb 0x10011965
mov eax, dword [esi]
jmp 0x10011967
mov eax, esi
cmp dword [esp + 0x58], 8
push ecx
lea edx, [esp + 0x48]
cmovae edx, dword [esp + 0x48]
push eax
mov ecx, ebx
call fcn.1001d490
add esp, 8
test al, al
jne 0x100119ba
call dword [sym.imp.isafepxy.dll_public:_static_class_elex::commumod::SCommuMod____cdecl_elex::commumod::SCommuMod::instance_void_]
cmp dword [esi + 0x14], 8
jb 0x10011993
mov esi, dword [esi]
cmp dword [esp + 0x58], 8
push 0xf003f
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push esi
push eax
push ebx
call dword [sym.imp.isafepxy.dll_public:_static_long_int___stdcall_elex::commumod::SCommuMod::iRegDeleteValue_struct_HKEY_____wchar_t_const___wchar_t_const___unsigned_long_int_]
test eax, eax
je 0x100119ba
mov esi, 2
jmp 0x100119bc
xor esi, esi
cmp dword [esp + 0x58], 8
jb 0x100119d0
push dword [esp + 0x44]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
jmp 0x100119d9
mov eax, 2
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1003e328
mov esp, ebp
pop ebp
ret