Function at 0x403db3
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1194
call fcn.004192e0
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push 0xc
push str.Num_Els___d_n
push 2
push dword [0xf5c984]
mov dword [ebp - 0x18], eax
xor esi, esi
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x50], str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VC_atlmfcinclude_statreg.h
mov dword [ebp - 0x4c], 0x577
call fcn.004017c1
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, edi
call fcn.004032a5
mov ebx, eax
cmp ebx, esi
jl 0x404297
cmp byte [edi], 0x7d
je 0x404295
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push edi
mov dword [ebp - 0x14], 1
call ebx
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x4c], esi
call ebx
test eax, eax
je 0x403e51
test esi, esi
je 0x403ef1
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.004032a5
mov ebx, eax
test ebx, ebx
js 0x404286
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x403ef3
push 0x5c
mov eax, edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0040325a
pop ecx
test eax, eax
jne 0x404406
push edi
call fcn.0040381c
test eax, eax
je 0x403eb6
push dword [ebp + 0xc]
lea esi, [ebp - 0x24]
call fcn.0040219e
push edi
mov ecx, esi
call fcn.00402510
mov esi, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp esi, ebx
je 0x403eec
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.004032a5
mov ebx, eax
test ebx, ebx
js 0x404286
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004038c7
mov ebx, eax
test ebx, ebx
js 0x404286
and dword [ebp - 0x20], 0
jmp 0x4043af
mov dword [ebp - 0x20], ebx
jmp 0x403ef3
xor ebx, ebx
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x403f1c
and dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.004032a5
mov ebx, eax
test ebx, ebx
js 0x404286
xor ebx, ebx
push 0x433924
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404078
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x1190]
call fcn.004032a5
mov ebx, eax
xor esi, esi
cmp ebx, esi
jl 0x404286
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.004032a5
mov ebx, eax
cmp ebx, esi
jl 0x404286
cmp byte [edi], 0x3d
jne 0x40441e
cmp dword [ebp + 0x10], esi
je 0x403fb2
push dword [ebp + 0xc]
xor eax, eax
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call fcn.0040219e
push edi
lea eax, [ebp - 0x1190]
push eax
mov eax, esi
push eax
push dword [ebp - 4]
call fcn.004033c4
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
cmp ebx, eax
jl 0x404423
and dword [ebp - 0x38], eax
jmp 0x4043af
cmp dword [ebp + 0x14], esi
jne 0x404068
cmp dword [ebp - 0x14], esi
je 0x404068
lea eax, [ebp - 0x1190]
push eax
push str.Deleting__s_n
push 1
push dword [0xf5c984]
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VC_atlmfcinclude_statreg.h
mov dword [ebp - 0x64], 0x5c2
call fcn.004017c1
add esp, 0x14
push 0x20006
push esi
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call fcn.00402314
cmp eax, esi
jne 0x40443d
mov edi, dword [ebp - 0x30]
cmp edi, esi
jne 0x40403c
push str.m_hKey___0
push esi
push 0x164f
push 0x433f18
push 2
call fcn.00415b00
add esp, 0x14
cmp eax, 1
jne 0x40403c
int3
lea eax, [ebp - 0x1190]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, esi
je 0x404057
cmp eax, 2
jne 0x40442b
cmp edi, esi
je 0x404065
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004038c7
jmp 0x4043eb
push 0x5c
mov eax, edi
call fcn.0040325a
pop ecx
test eax, eax
jne 0x404406
cmp dword [ebp + 0x10], ebx
je 0x404137
push 0x2001f
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00402314
test eax, eax
je 0x4040fc
push 0x20019
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00402314
test eax, eax
je 0x4040fc
push edi
push str.Creating_key__s_n
push 2
push dword [0xf5c984]
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VC_atlmfcinclude_statreg.h
mov dword [ebp - 0x6c], 0x5e9
call fcn.004017c1
add esp, 0x14
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00402237
cmp eax, ebx
jne 0x40445b
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.004032a5
mov ebx, eax
test ebx, ebx
js 0x404286
cmp byte [edi], 0x3d
jne 0x4043af
push edi
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call fcn.004033c4
mov ebx, eax
test ebx, ebx
js 0x404286
jmp 0x4043af
cmp dword [ebp + 0x14], ebx
jne 0x404152
push 0x20019
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00402314
mov esi, eax
jmp 0x404155
push 2
pop esi
cmp esi, ebx
je 0x404160
mov dword [ebp + 0x14], 1
push edi
cmp dword [ebp + 0x14], ebx
jne 0x404189
push str.Opened_Key__s_n
mov dword [ebp - 0x88], str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VC_atlmfcinclude_statreg.h
mov dword [ebp - 0x84], 0x60c
push 1
lea eax, [ebp - 0x88]
jmp 0x4041a0
push str.Ignoring_Open_key_on__s_:_In_Recovery_mode_n
mov dword [ebp - 0x60], str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VC_atlmfcinclude_statreg.h
mov dword [ebp - 0x5c], 0x60e
push ebx
lea eax, [ebp - 0x60]
push dword [0xf5c984]
push eax
call fcn.004017c1
add esp, 0x14
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x190]
push 0x104
push eax
call fcn.004128c0
push eax
call fcn.00401895
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, edi
call fcn.004032a5
mov ebx, eax
test ebx, ebx
js 0x404286
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004038c7
mov ebx, eax
test ebx, ebx
js 0x404286
cmp byte [edi], 0x7b
jne 0x404233
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x404233
push dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
push 0
push dword [ebp - 0x10]
push edi
call fcn.00403db3
mov ebx, eax
test ebx, ebx
jns 0x404223
cmp dword [ebp + 0x14], 0
je 0x404286
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.004032a5
mov ebx, eax
test ebx, ebx
js 0x404286
mov edi, dword [ebp - 0x18]
cmp dword [ebp + 0x14], edi
je 0x404262
push str.Ending_Recovery_Mode_n
push 0
push dword [0xf5c984]
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VC_atlmfcinclude_statreg.h
mov dword [ebp - 0x54], 0x626
call fcn.004017c1
add esp, 0x10
mov dword [ebp + 0x14], edi
cmp esi, 2
je 0x4043f5
xor edi, edi
cmp esi, edi
je 0x40429e
cmp dword [ebp - 0x18], edi
jne 0x4043f5
mov eax, esi
call fcn.00401976
mov ebx, eax
cmp dword [ebp - 0x10], 0
je 0x404295
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp - 0x18], edi
je 0x40430e
push dword [ebp - 0x10]
call fcn.0040384b
test eax, eax
je 0x40430e
lea eax, [ebp - 0x190]
push eax
call fcn.0040381c
test eax, eax
je 0x4043f5
cmp dword [ebp - 0x14], edi
je 0x4043f5
lea eax, [ebp - 0x190]
push eax
push str.Deleting_non_empty_subkey__s_by_force_n
push 0
push dword [0xf5c984]
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VC_atlmfcinclude_statreg.h
mov dword [ebp - 0x74], 0x640
call fcn.004017c1
add esp, 0x14
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402510
jmp 0x4043f5
push dword [ebp - 0x10]
call fcn.0040384b
mov esi, eax
xor eax, eax
cmp dword [ebp - 0x10], edi
je 0x40432b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
cmp eax, edi
jne 0x404477
cmp dword [ebp - 0x14], edi
je 0x4043f5
test esi, esi
jne 0x4043f5
lea eax, [ebp - 0x190]
push eax
push str.Deleting_Key__s_n
push esi
push dword [0xf5c984]
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VC_atlmfcinclude_statreg.h
mov dword [ebp - 0x7c], 0x64e
call fcn.004017c1
add esp, 0x14
push dword [ebp + 0xc]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
lea esi, [ebp - 0x48]
call fcn.0040219e
lea eax, [ebp - 0x190]
push eax
mov edi, esi
call fcn.004021d8
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
cmp eax, ecx
jne 0x40427f
and dword [ebp - 0x44], ecx
mov edi, dword [ebp + 8]
cmp dword [ebp + 0x10], 0
je 0x4043f5
cmp byte [edi], 0x7b
jne 0x4043f5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x4043f5
mov ecx, dword [ebp - 4]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push edi
call fcn.00403db3
mov ebx, eax
test ebx, ebx
js 0x404286
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.004032a5
mov ebx, eax
test ebx, ebx
js 0x404286
mov edi, dword [ebp + 8]
cmp byte [edi], 0x7d
jne 0x403e20
jmp 0x404286
cmp dword [ebp - 0x10], ebx
je 0x404414
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x404297
cmp dword [ebp - 0x10], esi
jmp 0x404409
cmp dword [ebp - 0x10], eax
jmp 0x40428a
call fcn.00401976
mov ebx, eax
cmp edi, esi
je 0x404286
push edi
jmp 0x404450
call fcn.00401976
mov ebx, eax
cmp dword [ebp - 0x30], esi
je 0x404286
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404286
call fcn.00401976
cmp dword [ebp - 0x10], ebx
mov esi, eax
je 0x404470
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x404297
call fcn.00401976
cmp dword [ebp - 0x10], edi
jmp 0x404463