Function at 0x41d520
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x452682
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663d8]
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.00402440
lea ecx, [esp + 0xe4]
push ecx
push esi
mov ecx, 0x458ac8
mov byte [esp + 0x168], 1
call fcn.00412530
lea edx, [esp + 0x100]
push edx
push esi
mov ecx, 0x458ad4
mov byte [esp + 0x168], 2
call fcn.00412530
lea eax, [esp + 0xc8]
push eax
push esi
mov ecx, str.path
mov byte [esp + 0x168], 3
call fcn.00412530
lea ecx, [esp + 0x138]
push ecx
push esi
mov ecx, 0x458af8
mov byte [esp + 0x168], 4
call fcn.00412530
lea edx, [esp + 0x11c]
push edx
push esi
mov ecx, 0x458884
mov byte [esp + 0x168], 5
call fcn.00412530
mov byte [esp + 0x160], 6
mov eax, dword [esp + 0x14c]
push 0x456ecc
lea edi, [ebx + 2]
lea ecx, [esp + 0x13c]
call fcn.00405220
mov esi, dword [esi + 4]
push esi
mov ebp, eax
push str.Registry
neg ebp
sbb ebp, ebp
push str.__s____d_
push 0x4676b8
xor eax, eax
add ebp, 1
call fcn.0042dae0
add dword [0x4676d8], 1
add esp, 0x10
lea eax, [esp + 0x100]
push eax
push ecx
push 0x456b2c
push ecx
lea ecx, [esp + 0xd8]
push ecx
push ecx
push 0x456b2c
push ecx
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.00404cf0
add esp, 0xc
push eax
call fcn.00404f70
add esp, 0xc
push eax
call fcn.00404cf0
add esp, 0xc
push eax
call fcn.00404f70
add esp, 0xc
push eax
call fcn.00404cf0
add esp, 8
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402580
mov esi, 8
mov byte [esp + 0x160], 7
cmp dword [eax + 0x18], esi
jb 0x41d6c6
mov eax, dword [eax + 4]
jmp 0x41d6c9
add eax, 4
push eax
push str.Deleting___s_
push 0x4676b8
xor eax, eax
call fcn.0042dae0
add esp, 0xc
mov byte [esp + 0x160], 6
cmp dword [esp + 0x38], esi
jb 0x41d6f9
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00439935
add esp, 4
mov eax, dword [esp + 0xf8]
push str.HKLM
mov edi, 4
lea ecx, [esp + 0xe8]
call fcn.00405220
test eax, eax
jne 0x41d724
mov dword [esp + 0x1c], 0x80000002
jmp 0x41d772
mov eax, dword [esp + 0xf8]
push str.HKCU
lea ecx, [esp + 0xe8]
call fcn.00405220
test eax, eax
jne 0x41d74a
mov dword [esp + 0x1c], 0x80000001
jmp 0x41d772
mov eax, dword [esp + 0xf8]
push str.HKCR
lea ecx, [esp + 0xe8]
call fcn.00405220
test eax, eax
jne 0x41da30
mov dword [esp + 0x1c], 0x80000000
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402580
mov byte [esp + 0x160], 8
cmp dword [eax + 0x18], esi
jb 0x41d791
mov eax, dword [eax + 4]
jmp 0x41d794
add eax, 4
mov ebx, eax
mov ecx, 0xbbf
call fcn.00434cc0
mov esi, 8
mov byte [esp + 0x160], 6
cmp dword [esp + 0x38], esi
jb 0x41d7c0
mov edx, dword [esp + 0x24]
push edx
call fcn.00439935
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x114], ebx
jne 0x41d820
mov eax, dword [esp + 0x130]
push 0x458c0c
lea edi, [ebx + 3]
lea ecx, [esp + 0x120]
call fcn.00405220
mov ecx, dword [esp + 0xcc]
test eax, eax
sete al
cmp dword [esp + 0xe0], esi
jae 0x41d802
lea ecx, [esp + 0xcc]
mov edx, dword [esp + 0x1c]
movzx eax, al
push eax
mov eax, ebp
call fcn.0042e120
add esp, 4
mov esi, eax
mov edi, 8
jmp 0x41d8e7
cmp dword [esp + 0xe0], esi
mov esi, dword [esp + 0xcc]
jae 0x41d837
lea esi, [esp + 0xcc]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41d846
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 0x41d86d
sub ebp, 1
jne 0x41d885
call fcn.00431d40
test al, al
je 0x41d89f
mov eax, 0x100
mov dword [esp + 0x18], eax
jmp 0x41d885
call fcn.00431d40
test al, al
je 0x41d881
mov eax, 0x200
mov dword [esp + 0x18], eax
jmp 0x41d885
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 0x41d8a4
mov eax, 3
cmp eax, ebx
mov esi, eax
mov edi, 8
jne 0x41d8eb
cmp dword [esp + 0x118], edi
mov eax, dword [esp + 0x104]
jae 0x41d8c6
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 0x41d8e3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x41d943
cmp esi, 2
je 0x41d943
cmp esi, 3
je 0x41d943
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402580
mov byte [esp + 0x160], 9
cmp dword [eax + 0x18], edi
jb 0x41d914
mov eax, dword [eax + 4]
jmp 0x41d917
add eax, 4
push eax
push esi
push str.Error_0x_X_deleting__s
push 0x4676b8
mov eax, 2
call fcn.0042dae0
add esp, 0x10
cmp dword [esp + 0x38], edi
jb 0x41d943
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00439935
add esp, 4
sub dword [0x4676d8], 1
cmp dword [esp + 0x134], edi
jb 0x41d963
mov edx, dword [esp + 0x120]
push edx
call fcn.00439935
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 0x41d997
mov eax, dword [esp + 0x13c]
push eax
call fcn.00439935
add esp, 4
cmp dword [esp + 0xe0], edi
mov dword [esp + 0x150], esi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
jb 0x41d9c6
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.00439935
add esp, 4
cmp dword [esp + 0x118], edi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
jb 0x41d9f5
mov edx, dword [esp + 0x104]
push edx
call fcn.00439935
add esp, 4
cmp dword [esp + 0xfc], edi
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x41da24
mov eax, dword [esp + 0xe8]
push eax
call fcn.00439935
add esp, 4
mov dword [esp + 0xfc], esi
jmp 0x41db2f
push str.Uninstall_key_format_error
push 0x4676b8
mov eax, 2
call fcn.0042dae0
sub dword [0x4676d8], 1
add esp, 8
cmp dword [esp + 0x134], esi
jb 0x41da67
mov edx, dword [esp + 0x120]
push edx
call fcn.00439935
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 0x41da9b
mov eax, dword [esp + 0x13c]
push eax
call fcn.00439935
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
jb 0x41daca
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.00439935
add esp, 4
cmp dword [esp + 0x118], esi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
jb 0x41daf9
mov edx, dword [esp + 0x104]
push edx
call fcn.00439935
add esp, 4
cmp dword [esp + 0xfc], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x41db28
mov eax, dword [esp + 0xe8]
push eax
call fcn.00439935
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.004024e0
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.004375db
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebx
je 0x41db7b
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.00437ffa
add esp, 0x150
ret