Function at 0x416800
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x415c]
mov eax, 0x415c
call fcn.004adde0
push 0xffffffffffffffff
push 0x4d932a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5021c0]
xor eax, ebp
mov dword [ebp + 0x4158], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 0
jne 0x41684c
xor al, al
jmp 0x416ea5
mov ecx, dword [edi + 0x38]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x34]
imul ecx
mov eax, dword [edi + 0x40]
sar edx, 2
inc eax
mov ecx, edx
mov dword [ebp - 0x18], eax
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
jge 0x416871
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x416ac0
mov dword [ebp - 0x10], 0
jmp 0x416890
push 0x2000
lea eax, [ebp + 0x158]
push 0
push eax
call fcn.004affe0
add esp, 0xc
cmp dword [edi + 0x44], 0
je 0x41690a
cmp dword [edi + 0x30], 7
lea eax, [edi + 0x1c]
jbe 0x4168b8
mov eax, dword [edi + 0x1c]
push dword [ebp - 0x14]
push eax
push str._s_d
lea eax, [ebp + 0x158]
push 0x1000
push eax
call fcn.00418e70
mov eax, dword [edi + 0x34]
add esp, 0x14
add eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 7
jbe 0x4168e3
mov eax, dword [eax]
cmp dword [edi + 0x18], 7
lea ecx, [edi + 4]
jbe 0x4168ef
mov ecx, dword [edi + 4]
push 1
push ecx
push 0
push eax
lea eax, [ebp + 0x158]
push eax
push ecx
mov ecx, dword [edi + 0x44]
call fcn.004173a0
jmp 0x416a8f
cmp dword [edi + 0x30], 7
lea ecx, [edi + 0x1c]
jbe 0x416916
mov ecx, dword [edi + 0x1c]
cmp dword [edi + 0x18], 7
lea eax, [edi + 4]
jbe 0x416922
mov eax, dword [edi + 4]
push dword [ebp - 0x14]
push ecx
push eax
push str._s_s_d
lea eax, [ebp + 0x158]
push 0x1000
push eax
call fcn.00418e70
xor eax, eax
lea ecx, [ebp + 0x128]
add esp, 0x18
mov dword [ebp + 0x128], eax
mov dword [ebp + 0x12c], eax
mov dword [ebp + 0x130], eax
mov dword [ebp + 0x134], eax
push eax
push 0x4eb5ac
mov dword [ebp + 0x138], eax
mov dword [ebp + 0x13c], eax
call fcn.00403450
xor eax, eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x158]
mov dword [ebp + 0x140], eax
mov dword [ebp + 0x144], eax
lea edx, [ecx + 2]
mov dword [ebp + 0x148], eax
mov dword [ebp + 0x14c], eax
mov dword [ebp + 0x150], eax
mov dword [ebp + 0x154], eax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4169b0
sub ecx, edx
lea eax, [ebp + 0x158]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x140]
call fcn.00403450
sub esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp + 0x140]
lea ecx, [ebp]
push eax
call fcn.00418ec0
lea eax, [ebp + 0x128]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 0x44]
mov dword [ebp], vtable.CRegTypedBase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_CRegStdBase_.0
call fcn.004024d0
lea eax, [ebp + 0x128]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0x5c]
call fcn.004024d0
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x7c], 0
mov dword [ebp + 0x80], 0xffffffff
mov dword [ebp + 0x84], 0
mov dword [ebp], vtable.CRegStringCommon_class_CRegStdBase_.0
lea ecx, [ebp + 0x140]
call fcn.004027a0
lea ecx, [ebp + 0x128]
mov byte [ebp - 4], 6
call fcn.004027a0
mov eax, dword [edi + 0x34]
lea ecx, [ebp]
add eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp]
call dword [eax + 0x18]
lea ecx, [ebp + 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.004027a0
lea ecx, [ebp + 0x44]
call fcn.004027a0
lea ecx, [ebp + 0x20]
call fcn.004027a0
lea ecx, [ebp + 8]
call fcn.004027a0
mov ecx, dword [edi + 0x38]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x34]
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x14], eax
jl 0x416890
jmp 0x416ac0
push 0x2000
lea eax, [ebp + 0x2158]
push 0
push eax
call fcn.004affe0
add esp, 0xc
cmp dword [edi + 0x44], 0
je 0x416bf9
cmp dword [edi + 0x30], 7
lea eax, [edi + 0x1c]
jbe 0x416aec
mov eax, dword [edi + 0x1c]
cmp dword [edi + 0x18], 7
lea esi, [edi + 4]
mov ecx, esi
jbe 0x416af9
mov ecx, dword [esi]
push dword [ebp - 0x18]
push eax
push ecx
push str._s_s_d
lea eax, [ebp + 0x2158]
push 0x1000
push eax
call fcn.00418e70
mov eax, dword [edi + 0x44]
add esp, 0x18
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x14], eax
jbe 0x416b25
mov esi, dword [esi]
test esi, esi
je 0x416b96
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
push ecx
lea ecx, [ebp + 0x134]
mov dword [ebp - 0x20], 0
push ecx
lea ecx, [eax + 0x10]
mov dword [ebp - 0x1c], 0
call fcn.00418210
mov esi, dword [ebp + 0x13c]
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.004182a0
test al, al
je 0x416b96
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax + 0x10]
je 0x416b96
lea eax, [ebp + 0x2158]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], eax
lea ecx, [esi + 0x1c]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], 0
push eax
call fcn.00417f90
cmp eax, dword [esi + 0x1c]
je 0x416b96
mov eax, dword [eax + 0x1c]
jmp 0x416b9b
mov eax, 0x4eb5ac
mov ecx, 0x4eb5ac
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x416bc6
test dx, dx
je 0x416bc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x416bc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x416ba0
xor eax, eax
jmp 0x416bcb
sbb eax, eax
or eax, 1
test eax, eax
je 0x416ea3
cmp dword [edi + 0x18], 7
lea eax, [edi + 4]
jbe 0x416bde
mov eax, dword [eax]
push 0
push ecx
lea ecx, [ebp + 0x2158]
push ecx
mov ecx, dword [edi + 0x44]
push eax
call fcn.00417af0
inc dword [ebp - 0x18]
jmp 0x416ac0
cmp dword [edi + 0x30], 7
lea ecx, [edi + 0x1c]
jbe 0x416c05
mov ecx, dword [edi + 0x1c]
cmp dword [edi + 0x18], 7
lea eax, [edi + 4]
jbe 0x416c10
mov eax, dword [eax]
push dword [ebp - 0x18]
push ecx
push eax
push str._s_s_d
lea eax, [ebp + 0x2158]
push 0x1000
push eax
call fcn.00418e70
xor eax, eax
lea ecx, [ebp + 0x140]
add esp, 0x18
mov dword [ebp + 0x140], eax
mov dword [ebp + 0x144], eax
mov dword [ebp + 0x148], eax
mov dword [ebp + 0x14c], eax
push eax
push 0x4eb5ac
mov dword [ebp + 0x150], eax
mov dword [ebp + 0x154], eax
call fcn.00403450
xor eax, eax
mov dword [ebp - 4], 7
lea ecx, [ebp + 0x2158]
mov dword [ebp + 0x110], eax
mov dword [ebp + 0x114], eax
lea edx, [ecx + 2]
mov dword [ebp + 0x118], eax
mov dword [ebp + 0x11c], eax
mov dword [ebp + 0x120], eax
mov dword [ebp + 0x124], eax
jmp 0x416ca0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416ca0
sub ecx, edx
lea eax, [ebp + 0x2158]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x110]
call fcn.00403450
sub esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp + 0x110]
lea ecx, [ebp + 0x88]
push eax
call fcn.00418ec0
lea eax, [ebp + 0x140]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0xcc]
mov dword [ebp + 0x88], vtable.CRegTypedBase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_CRegStdBase_.0
call fcn.004024d0
lea eax, [ebp + 0x140]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp + 0xe4]
call fcn.004024d0
mov dword [ebp + 0x100], 0
mov dword [ebp + 0x104], 0
mov dword [ebp + 0x108], 0xffffffff
mov dword [ebp + 0x10c], 0
mov dword [ebp + 0x88], vtable.CRegStringCommon_class_CRegStdBase_.0
lea ecx, [ebp + 0x110]
call fcn.004027a0
lea ecx, [ebp + 0x140]
mov byte [ebp - 4], 0xd
call fcn.004027a0
lea ecx, [ebp + 0x88]
call fcn.004178e0
push eax
lea ecx, [ebp + 0x140]
call fcn.004024d0
lea ecx, [ebp + 0x140]
mov esi, dword [eax + 0x10]
call fcn.004027a0
test esi, esi
je 0x416e77
mov eax, dword [ebp + 0x88]
mov esi, dword [ebp + 0xc4]
or esi, 0x20006
mov byte [ebp + 0xca], 0
mov byte [ebp + 0xc8], 1
mov eax, dword [eax]
mov dword [ebp - 0x10], 0
cmp eax, method.CRegTypedBase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_CRegStdBase_.virtual_0
jne 0x416dd1
cmp dword [ebp + 0xbc], 7
lea eax, [ebp + 0xa8]
jbe 0x416de0
mov eax, dword [ebp + 0xa8]
jmp 0x416de0
lea ecx, [ebp + 0xa8]
push ecx
lea ecx, [ebp + 0x88]
call eax
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0
push eax
push dword [ebp + 0x8c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp + 0x88]
mov eax, dword [eax]
cmp eax, method.CRegTypedBase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_CRegStdBase_.virtual_0
jne 0x416e1a
cmp dword [ebp + 0xa4], 7
lea eax, [ebp + 0x90]
jbe 0x416e29
mov eax, dword [ebp + 0x90]
jmp 0x416e29
lea ecx, [ebp + 0x90]
push ecx
lea ecx, [ebp + 0x88]
call eax
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xe4]
mov dword [ebp - 4], 0xffffffff
call fcn.004027a0
lea ecx, [ebp + 0xcc]
call fcn.004027a0
lea ecx, [ebp + 0xa8]
call fcn.004027a0
lea ecx, [ebp + 0x90]
call fcn.004027a0
inc dword [ebp - 0x18]
jmp 0x416ac0
lea ecx, [ebp + 0xe4]
call fcn.004027a0
lea ecx, [ebp + 0xcc]
call fcn.004027a0
lea ecx, [ebp + 0xa8]
call fcn.004027a0
lea ecx, [ebp + 0x90]
call fcn.004027a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4158]
xor ecx, ebp
call fcn.004accbf
lea esp, [ebp + 0x415c]
pop ebp
ret