Function at 0x411560
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x440342
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x44f3d8]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f3d8]
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, 0x4453e0
mov byte [esp + 0x168], 1
call fcn.00406dd0
lea edx, [esp + 0x100]
push edx
push esi
mov ecx, 0x4453ec
mov byte [esp + 0x168], 2
call fcn.00406dd0
lea eax, [esp + 0xc8]
push eax
push esi
mov ecx, str.path
mov byte [esp + 0x168], 3
call fcn.00406dd0
lea ecx, [esp + 0x11c]
push ecx
push esi
mov ecx, 0x445410
mov byte [esp + 0x168], 4
call fcn.00406dd0
lea edx, [esp + 0x138]
push edx
push esi
mov ecx, 0x445174
mov byte [esp + 0x168], 5
call fcn.00406dd0
mov byte [esp + 0x160], 6
mov eax, dword [esp + 0x130]
push 0x44541c
lea edi, [ebx + 2]
lea ecx, [esp + 0x120]
call fcn.00405280
mov esi, dword [esi + 4]
push esi
mov ebp, eax
push str.Registry
neg ebp
sbb ebp, ebp
push str.__s____d_
push 0x450638
xor eax, eax
add ebp, 1
call fcn.0041ee40
add dword [0x450658], 1
add esp, 0x10
lea eax, [esp + 0x100]
push eax
push ecx
push 0x445424
push ecx
lea ecx, [esp + 0xd8]
push ecx
push ecx
push 0x445424
push ecx
lea edx, [esp + 0x104]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.00404d50
add esp, 0xc
push eax
call fcn.00404fd0
add esp, 0xc
push eax
call fcn.00404d50
add esp, 0xc
push eax
call fcn.00404fd0
add esp, 0xc
push eax
call fcn.00404d50
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 0x411706
mov eax, dword [eax + 4]
jmp 0x411709
add eax, 4
push eax
push str.Deleting___s_
push 0x450638
xor eax, eax
call fcn.0041ee40
add esp, 0xc
mov byte [esp + 0x160], 6
cmp dword [esp + 0x38], esi
jb 0x411739
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004286d5
add esp, 4
mov eax, dword [esp + 0xf8]
push 0x44542c
mov edi, 4
lea ecx, [esp + 0xe8]
call fcn.00405280
test eax, eax
jne 0x411764
mov dword [esp + 0x1c], 0x80000002
jmp 0x41178c
mov eax, dword [esp + 0xf8]
push str.HKCU
lea ecx, [esp + 0xe8]
call fcn.00405280
test eax, eax
jne 0x411a4a
mov dword [esp + 0x1c], 0x80000001
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402580
mov byte [esp + 0x160], 8
cmp dword [eax + 0x18], esi
jb 0x4117ab
mov eax, dword [eax + 4]
jmp 0x4117ae
add eax, 4
mov ebx, eax
mov ecx, 0xbbf
call fcn.00424950
mov esi, 8
mov byte [esp + 0x160], 6
cmp dword [esp + 0x38], esi
jb 0x4117da
mov edx, dword [esp + 0x24]
push edx
call fcn.004286d5
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x114], ebx
jne 0x41183a
mov eax, dword [esp + 0x14c]
push 0x445518
lea edi, [ebx + 3]
lea ecx, [esp + 0x13c]
call fcn.00405280
mov ecx, dword [esp + 0xcc]
test eax, eax
sete al
cmp dword [esp + 0xe0], esi
jae 0x41181c
lea ecx, [esp + 0xcc]
mov edx, dword [esp + 0x1c]
movzx eax, al
push eax
mov eax, ebp
call fcn.0041f380
add esp, 4
mov esi, eax
mov edi, 8
jmp 0x411901
cmp dword [esp + 0xe0], esi
mov esi, dword [esp + 0xcc]
jae 0x411851
lea esi, [esp + 0xcc]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x411860
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 0x411887
sub ebp, 1
jne 0x41189f
call fcn.00423030
test al, al
je 0x4118b9
mov eax, 0x100
mov dword [esp + 0x18], eax
jmp 0x41189f
call fcn.00423030
test al, al
je 0x41189b
mov eax, 0x200
mov dword [esp + 0x18], eax
jmp 0x41189f
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 0x4118be
mov eax, 3
cmp eax, ebx
mov esi, eax
mov edi, 8
jne 0x411905
cmp dword [esp + 0x118], edi
mov eax, dword [esp + 0x104]
jae 0x4118e0
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 0x4118fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp esi, ebx
je 0x41195d
cmp esi, 2
je 0x41195d
cmp esi, 3
je 0x41195d
lea ecx, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00402580
mov byte [esp + 0x160], 9
cmp dword [eax + 0x18], edi
jb 0x41192e
mov eax, dword [eax + 4]
jmp 0x411931
add eax, 4
push eax
push esi
push str.Error_0x_X_deleting__s
push 0x450638
mov eax, 2
call fcn.0041ee40
add esp, 0x10
cmp dword [esp + 0x38], edi
jb 0x41195d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004286d5
add esp, 4
sub dword [0x450658], 1
cmp dword [esp + 0x150], edi
jb 0x41197d
mov edx, dword [esp + 0x13c]
push edx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x134], edi
mov esi, 7
mov dword [esp + 0x150], esi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
jb 0x4119b1
mov eax, dword [esp + 0x120]
push eax
call fcn.004286d5
add esp, 4
cmp dword [esp + 0xe0], edi
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
jb 0x4119e0
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x118], edi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
jb 0x411a0f
mov edx, dword [esp + 0x104]
push edx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0xfc], edi
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x411a3e
mov eax, dword [esp + 0xe8]
push eax
call fcn.004286d5
add esp, 4
mov dword [esp + 0xfc], esi
jmp 0x411b49
push str.Uninstall_key_format_error
push 0x450638
mov eax, 2
call fcn.0041ee40
sub dword [0x450658], 1
add esp, 8
cmp dword [esp + 0x150], esi
jb 0x411a81
mov edx, dword [esp + 0x13c]
push edx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x134], esi
mov edi, 7
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], bx
jb 0x411ab5
mov eax, dword [esp + 0x120]
push eax
call fcn.004286d5
add esp, 4
cmp dword [esp + 0xe0], esi
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
jb 0x411ae4
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0x118], esi
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], bx
jb 0x411b13
mov edx, dword [esp + 0x104]
push edx
call fcn.004286d5
add esp, 4
cmp dword [esp + 0xfc], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], bx
jb 0x411b42
mov eax, dword [esp + 0xe8]
push eax
call fcn.004286d5
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.0042637b
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebx
je 0x411b95
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.00426d9a
add esp, 0x150
ret