Function at 0x41ebc0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x457bc2
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x164], ebx
call fcn.004024c0
lea ecx, [esp + 0xe4]
push ecx
push esi
mov ecx, 0x45eca8
mov byte [esp + 0x168], 1
call fcn.00412d30
lea edx, [esp + 0x100]
push edx
push esi
mov ecx, 0x45ecb4
mov byte [esp + 0x168], 2
call fcn.00412d30
lea eax, [esp + 0xc8]
push eax
push esi
mov ecx, str.path
mov byte [esp + 0x168], 3
call fcn.00412d30
lea ecx, [esp + 0x138]
push ecx
push esi
mov ecx, 0x45ecd8
mov byte [esp + 0x168], 4
call fcn.00412d30
lea edx, [esp + 0x11c]
push edx
push esi
mov ecx, 0x45ea1c
mov byte [esp + 0x168], 5
call fcn.00412d30
mov byte [esp + 0x160], 6
mov eax, dword [esp + 0x14c]
push 0x45cf7c
lea edi, [ebx + 2]
lea ecx, [esp + 0x13c]
call fcn.004052d0
mov esi, dword [esi + 4]
push esi
mov ebp, eax
push str.Registry
neg ebp
sbb ebp, ebp
push str.__s____d_
push 0x46fa40
xor eax, eax
add ebp, 1
call fcn.00431730
add dword [0x46fa60], 1
add esp, 0x10
lea eax, [esp + 0x100]
push eax
push ecx
push 0x45cbdc
push ecx
lea ecx, [esp + 0xd8]
push ecx
push ecx
push 0x45cbdc
push ecx
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.00404da0
add esp, 0xc
push eax
call fcn.00405020
add esp, 0xc
push eax
call fcn.00404da0
add esp, 0xc
push eax
call fcn.00405020
add esp, 0xc
push eax
call fcn.00404da0
add esp, 8
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402600
mov esi, 8
mov byte [esp + 0x160], 7
cmp dword [eax + 0x18], esi
jb 0x41ed66
mov eax, dword [eax + 4]
jmp 0x41ed69
add eax, 4
push eax
push str.Deleting___s_
push 0x46fa40
xor eax, eax
call fcn.00431730
add esp, 0xc
mov byte [esp + 0x160], 6
cmp dword [esp + 0x38], esi
jb 0x41ed99
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043e965
add esp, 4
mov eax, dword [esp + 0xf8]
push str.HKLM
mov edi, 4
lea ecx, [esp + 0xe8]
call fcn.004052d0
test eax, eax
jne 0x41edc4
mov dword [esp + 0x1c], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x41ee12
mov eax, dword [esp + 0xf8]
push str.HKCU
lea ecx, [esp + 0xe8]
call fcn.004052d0
test eax, eax
jne 0x41edea
mov dword [esp + 0x1c], SysReAllocString
jmp 0x41ee12
mov eax, dword [esp + 0xf8]
push str.HKCR
lea ecx, [esp + 0xe8]
call fcn.004052d0
test eax, eax
jne 0x41f0d0
mov dword [esp + 0x1c], SysReAllocString
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402600
mov byte [esp + 0x160], 8
cmp dword [eax + 0x18], esi
jb 0x41ee31
mov eax, dword [eax + 4]
jmp 0x41ee34
add eax, 4
mov ebx, eax
mov ecx, 0xbbf
call fcn.00439d60
mov esi, 8
mov byte [esp + 0x160], 6
cmp dword [esp + 0x38], esi
jb 0x41ee60
mov edx, dword [esp + 0x24]
push edx
call fcn.0043e965
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x114], ebx
jne 0x41eec0
mov eax, dword [esp + 0x130]
push 0x45eddc
lea edi, [ebx + 3]
lea ecx, [esp + 0x120]
call fcn.004052d0
mov ecx, dword [esp + 0xcc]
test eax, eax
sete al
cmp dword [esp + 0xe0], esi
jae 0x41eea2
lea ecx, [esp + 0xcc]
mov edx, dword [esp + 0x1c]
movzx eax, al
push eax
mov eax, ebp
call fcn.00431da0
add esp, 4
mov esi, eax
mov edi, 8
jmp 0x41ef87
cmp dword [esp + 0xe0], esi
mov esi, dword [esp + 0xcc]
jae 0x41eed7
lea esi, [esp + 0xcc]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41eee6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
sub ebp, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
je 0x41ef0d
sub ebp, 1
jne 0x41ef25
call fcn.00435e20
test al, al
je 0x41ef3f
mov eax, 0x100
mov dword [esp + 0x18], eax
jmp 0x41ef25
call fcn.00435e20
test al, al
je 0x41ef21
mov eax, 0x200
mov dword [esp + 0x18], eax
jmp 0x41ef25
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
or eax, 0xf003f
push eax
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x41ef44
mov eax, 3
cmp eax, ebx
mov esi, eax
mov edi, 8
jne 0x41ef8b
cmp dword [esp + 0x118], edi
mov eax, dword [esp + 0x104]
jae 0x41ef66
lea eax, [esp + 0x104]
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41ef83
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x41efe3
cmp esi, 2
je 0x41efe3
cmp esi, 3
je 0x41efe3
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402600
mov byte [esp + 0x160], 9
cmp dword [eax + 0x18], edi
jb 0x41efb4
mov eax, dword [eax + 4]
jmp 0x41efb7
add eax, 4
push eax
push esi
push str.Error_0x_X_deleting__s
push 0x46fa40
mov eax, 2
call fcn.00431730
add esp, 0x10
cmp dword [esp + 0x38], edi
jb 0x41efe3
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043e965
add esp, 4
sub dword [0x46fa60], 1
cmp dword [esp + 0x134], edi
jb 0x41f003
mov edx, dword [esp + 0x120]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x150], edi
mov esi, 7
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
jb 0x41f037
mov eax, dword [esp + 0x13c]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xe0], edi
mov dword [esp + 0x150], esi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
jb 0x41f066
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x118], edi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
jb 0x41f095
mov edx, dword [esp + 0x104]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xfc], edi
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x41f0c4
mov eax, dword [esp + 0xe8]
push eax
call fcn.0043e965
add esp, 4
mov dword [esp + 0xfc], esi
jmp 0x41f1cf
push str.Uninstall_key_format_error
push 0x46fa40
mov eax, 2
call fcn.00431730
sub dword [0x46fa60], 1
add esp, 8
cmp dword [esp + 0x134], esi
jb 0x41f107
mov edx, dword [esp + 0x120]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x150], esi
mov edi, 7
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
jb 0x41f13b
mov eax, dword [esp + 0x13c]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
jb 0x41f16a
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x118], esi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
jb 0x41f199
mov edx, dword [esp + 0x104]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xfc], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x41f1c8
mov eax, dword [esp + 0xe8]
push eax
call fcn.0043e965
add esp, 4
mov dword [esp + 0xfc], edi
lea ecx, [esp + 0x90]
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], bx
mov byte [esp + 0x160], bl
call fcn.00402560
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.0043c576
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebx
je 0x41f21b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0043d02a
add esp, 0x150
ret