Function at 0x41e360
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x451d02
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4663e0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663e0]
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.00402450
lea ecx, [esp + 0xe4]
push ecx
push esi
mov ecx, 0x458c08
mov byte [esp + 0x168], 1
call fcn.00412330
lea edx, [esp + 0x100]
push edx
push esi
mov ecx, 0x458c14
mov byte [esp + 0x168], 2
call fcn.00412330
lea eax, [esp + 0xc8]
push eax
push esi
mov ecx, str.path
mov byte [esp + 0x168], 3
call fcn.00412330
lea ecx, [esp + 0x138]
push ecx
push esi
mov ecx, 0x458c38
mov byte [esp + 0x168], 4
call fcn.00412330
lea edx, [esp + 0x11c]
push edx
push esi
mov ecx, 0x45897c
mov byte [esp + 0x168], 5
call fcn.00412330
mov byte [esp + 0x160], 6
mov eax, dword [esp + 0x14c]
push 0x456ebc
mov edi, 2
lea ecx, [esp + 0x13c]
call fcn.004052b0
mov esi, dword [esi + 4]
push esi
mov ebp, eax
push str.Registry
neg ebp
sbb ebp, ebp
push str.__s____d_
push 0x4676a0
xor eax, eax
add ebp, 1
call fcn.0042cad0
add dword [0x4676c0], 1
add esp, 0x10
lea eax, [esp + 0x100]
push eax
push ecx
push 0x456b1c
push ecx
lea ecx, [esp + 0xd8]
push ecx
push ecx
push 0x456b1c
push ecx
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.00404d90
add esp, 0xc
push eax
call fcn.00405010
add esp, 0xc
push eax
call fcn.00404d90
add esp, 0xc
push eax
call fcn.00405010
add esp, 0xc
push eax
call fcn.00404d90
add esp, 8
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402590
mov esi, 8
mov byte [esp + 0x160], 7
cmp dword [eax + 0x18], esi
jb 0x41e508
mov eax, dword [eax + 4]
jmp 0x41e50b
add eax, 4
push eax
push str.Deleting___s_
push 0x4676a0
xor eax, eax
call fcn.0042cad0
add esp, 0xc
mov byte [esp + 0x160], 6
cmp dword [esp + 0x38], esi
jb 0x41e53b
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00439059
add esp, 4
mov eax, dword [esp + 0xf8]
push str.HKLM
mov edi, 4
lea ecx, [esp + 0xe8]
call fcn.004052b0
test eax, eax
jne 0x41e566
mov dword [esp + 0x1c], 0x80000002
jmp 0x41e5b4
mov eax, dword [esp + 0xf8]
push str.HKCU
lea ecx, [esp + 0xe8]
call fcn.004052b0
test eax, eax
jne 0x41e58c
mov dword [esp + 0x1c], 0x80000001
jmp 0x41e5b4
mov eax, dword [esp + 0xf8]
push str.HKCR
lea ecx, [esp + 0xe8]
call fcn.004052b0
test eax, eax
jne 0x41e874
mov dword [esp + 0x1c], 0x80000000
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402590
mov byte [esp + 0x160], 8
cmp dword [eax + 0x18], esi
jb 0x41e5d3
mov eax, dword [eax + 4]
jmp 0x41e5d6
add eax, 4
mov ebx, eax
mov ecx, 0xbbf
call fcn.00434620
mov esi, 8
mov byte [esp + 0x160], 6
cmp dword [esp + 0x38], esi
jb 0x41e602
mov edx, dword [esp + 0x24]
push edx
call fcn.00439059
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x114], ebx
jne 0x41e664
mov eax, dword [esp + 0x130]
push 0x458d3c
mov edi, 3
lea ecx, [esp + 0x120]
call fcn.004052b0
mov ecx, dword [esp + 0xcc]
test eax, eax
sete al
cmp dword [esp + 0xe0], esi
jae 0x41e646
lea ecx, [esp + 0xcc]
mov edx, dword [esp + 0x1c]
movzx eax, al
push eax
mov eax, ebp
call fcn.0042d060
add esp, 4
mov esi, eax
mov edi, 8
jmp 0x41e72b
cmp dword [esp + 0xe0], esi
mov esi, dword [esp + 0xcc]
jae 0x41e67b
lea esi, [esp + 0xcc]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41e68a
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 0x41e6b1
sub ebp, 1
jne 0x41e6c9
call fcn.00431070
test al, al
je 0x41e6e3
mov eax, 0x100
mov dword [esp + 0x18], eax
jmp 0x41e6c9
call fcn.00431070
test al, al
je 0x41e6c5
mov eax, 0x200
mov dword [esp + 0x18], eax
jmp 0x41e6c9
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 0x41e6e8
mov eax, 3
cmp eax, ebx
mov esi, eax
mov edi, 8
jne 0x41e72f
cmp dword [esp + 0x118], edi
mov eax, dword [esp + 0x104]
jae 0x41e70a
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 0x41e727
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x41e787
cmp esi, 2
je 0x41e787
cmp esi, 3
je 0x41e787
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402590
mov byte [esp + 0x160], 9
cmp dword [eax + 0x18], edi
jb 0x41e758
mov eax, dword [eax + 4]
jmp 0x41e75b
add eax, 4
push eax
push esi
push str.Error_0x_X_deleting__s
push 0x4676a0
mov eax, 2
call fcn.0042cad0
add esp, 0x10
cmp dword [esp + 0x38], edi
jb 0x41e787
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00439059
add esp, 4
sub dword [0x4676c0], 1
cmp dword [esp + 0x134], edi
jb 0x41e7a7
mov edx, dword [esp + 0x120]
push edx
call fcn.00439059
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 0x41e7db
mov eax, dword [esp + 0x13c]
push eax
call fcn.00439059
add esp, 4
cmp dword [esp + 0xe0], edi
mov dword [esp + 0x150], esi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
jb 0x41e80a
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.00439059
add esp, 4
cmp dword [esp + 0x118], edi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
jb 0x41e839
mov edx, dword [esp + 0x104]
push edx
call fcn.00439059
add esp, 4
cmp dword [esp + 0xfc], edi
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x41e868
mov eax, dword [esp + 0xe8]
push eax
call fcn.00439059
add esp, 4
mov dword [esp + 0xfc], esi
jmp 0x41e973
push str.Uninstall_key_format_error
push 0x4676a0
mov eax, 2
call fcn.0042cad0
sub dword [0x4676c0], 1
add esp, 8
cmp dword [esp + 0x134], esi
jb 0x41e8ab
mov edx, dword [esp + 0x120]
push edx
call fcn.00439059
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 0x41e8df
mov eax, dword [esp + 0x13c]
push eax
call fcn.00439059
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
jb 0x41e90e
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.00439059
add esp, 4
cmp dword [esp + 0x118], esi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
jb 0x41e93d
mov edx, dword [esp + 0x104]
push edx
call fcn.00439059
add esp, 4
cmp dword [esp + 0xfc], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x41e96c
mov eax, dword [esp + 0xe8]
push eax
call fcn.00439059
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.004024f0
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.00436cf8
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebx
je 0x41e9bf
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.0043782a
add esp, 0x150
ret