Function at 0x41c220
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431786
mov eax, dword fs:[0]
push eax
mov eax, 0x115c
call fcn.00422c00
mov eax, dword [0x43fb24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x1118], ecx
mov dword [ebp - 0x112c], eax
mov dword [ebp - 0x1124], ebx
mov dword [ebp - 0x1120], ebx
mov dword [ebp - 0x111c], ebx
mov edx, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1140], edx
call fcn.0041aec0
mov esi, eax
cmp esi, ebx
jl 0x41c8ca
cmp byte [edi], 0x7d
je 0x41c8c8
lea ecx, [ecx]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push edi
mov dword [ebp - 0x113c], 1
call esi
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x41c2d1
test ebx, ebx
je 0x41c417
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0041aec0
mov esi, eax
test esi, esi
js 0x41c8b7
xor eax, eax
cmp dword [ebp + 0x10], eax
je 0x41c417
mov cl, byte [edi]
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1134], eax
mov dword [ebp - 0x1130], eax
mov eax, edi
test cl, cl
je 0x41c32a
mov esi, dword [sym.imp.USER32.dll_CharNextA]
cmp cl, 0x5c
je 0x41c322
push eax
call esi
mov cl, byte [eax]
test cl, cl
jne 0x41c312
jmp 0x41c32a
test eax, eax
jne 0x41c88f
mov esi, 0x4325fc
nop
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x41c381
add esi, 4
cmp esi, 0x43262c
jl 0x41c330
mov ecx, dword [ebp - 0x112c]
xor esi, esi
mov dword [ebp - 0x1138], ecx
push edi
lea ecx, [ebp - 0x1138]
mov dword [ebp - 0x1134], esi
mov dword [ebp - 0x1130], esi
call fcn.0041b160
mov dword [ebp - 0x1138], esi
mov dword [ebp - 0x1134], esi
mov dword [ebp - 0x1130], esi
test ebx, ebx
je 0x41c40d
mov ebx, dword [ebp - 0x1118]
push edi
mov ecx, ebx
call fcn.0041aec0
mov esi, eax
test esi, esi
js 0x41c8ac
push edi
mov ecx, ebx
call fcn.0041b090
mov esi, eax
test esi, esi
js 0x41c8ac
mov dword [ebp - 0x1134], 0
cmp byte [edi], 0x7b
jne 0x41c3ff
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x41c3ff
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1124]
push 0
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0041c220
mov esi, eax
test esi, esi
js 0x41c8b7
push edi
mov ecx, ebx
call fcn.0041aec0
mov esi, eax
test esi, esi
js 0x41c8b7
cmp byte [edi], 0x7d
jne 0x41c2a0
jmp 0x41c8b7
mov dword [ebp - 0x1134], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41c443
mov ecx, dword [ebp - 0x1118]
push edi
mov dword [ebp - 0x113c], eax
call fcn.0041aec0
mov esi, eax
test esi, esi
js 0x41c8b7
push 0x4325c8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41c591
mov ecx, dword [ebp - 0x1118]
lea edx, [ebp - 0x1114]
push edx
call fcn.0041aec0
mov esi, eax
test esi, esi
js 0x41c8b7
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0041aec0
mov esi, eax
test esi, esi
js 0x41c8b7
cmp byte [edi], 0x3d
jne 0x41c89a
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x41c4ff
mov eax, dword [ebp - 0x112c]
push edi
lea ecx, [ebp - 0x1114]
push ecx
mov ecx, dword [ebp - 0x1118]
lea edx, [ebp - 0x114c]
push edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x114c], eax
mov dword [ebp - 0x1148], ebx
mov dword [ebp - 0x1144], ebx
call fcn.0041be00
mov esi, eax
mov dword [ebp - 0x114c], ebx
mov dword [ebp - 0x1148], ebx
mov dword [ebp - 0x1144], ebx
cmp esi, ebx
jl 0x41c8e8
mov byte [ebp - 4], bl
mov dword [ebp - 0x1148], ebx
mov ebx, dword [ebp - 0x1118]
jmp 0x41c3bd
cmp dword [ebp + 0x14], ebx
jne 0x41c576
cmp dword [ebp - 0x113c], ebx
je 0x41c576
mov eax, dword [ebp - 0x112c]
push 0x20006
push ebx
push eax
lea ecx, [ebp - 0x1158]
mov dword [ebp - 0x1158], ebx
mov dword [ebp - 0x1154], ebx
mov dword [ebp - 0x1150], ebx
call fcn.0041aac0
cmp eax, ebx
jne 0x41c900
mov esi, dword [ebp - 0x1158]
lea ecx, [ebp - 0x1114]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x41c55f
cmp eax, 2
jne 0x41c900
cmp esi, ebx
je 0x41c570
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1158], ebx
mov dword [ebp - 0x1154], ebx
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0041b090
mov esi, eax
cmp esi, ebx
jl 0x41c8b7
jmp 0x41c3ff
mov cl, byte [edi]
mov eax, edi
test cl, cl
je 0x41c5bc
lea esp, [esp]
cmp cl, 0x5c
je 0x41c5b4
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
test cl, cl
jne 0x41c5a0
jmp 0x41c5bc
test eax, eax
jne 0x41c89a
cmp dword [ebp + 0x10], 0
je 0x41c65d
mov esi, dword [ebp - 0x112c]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x1124]
call fcn.0041aac0
test eax, eax
je 0x41c61c
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x1124]
call fcn.0041aac0
test eax, eax
je 0x41c61c
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x1124]
call fcn.0041aa20
mov esi, eax
test esi, esi
jne 0x41c913
mov ebx, dword [ebp - 0x1118]
push edi
mov ecx, ebx
call fcn.0041aec0
mov esi, eax
test esi, esi
js 0x41c8b7
cmp byte [edi], 0x3d
jne 0x41c3bd
push edi
push 0
lea edx, [ebp - 0x1124]
push edx
mov ecx, ebx
call fcn.0041be00
mov esi, eax
test esi, esi
js 0x41c8b7
jmp 0x41c3bd
cmp dword [ebp + 0x14], 0
jne 0x41c6bc
mov eax, dword [ebp - 0x112c]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x1124]
call fcn.0041aac0
mov ebx, eax
mov dword [ebp - 0x1128], ebx
test ebx, ebx
je 0x41c68e
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x114]
push 0x104
push ecx
call fcn.00422bde
add esp, 0x10
cmp eax, 0x50
ja case.0x41c6b5.1
movzx edx, byte [eax + 0x41c988]
jmp dword [edx*4 + 0x41c978]
mov dword [ebp - 0x1128], 2
mov ebx, dword [ebp - 0x1128]
jmp 0x41c687
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0041aec0
mov esi, eax
test esi, esi
js 0x41c8b7
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0041b090
mov esi, eax
test esi, esi
js 0x41c8b7
cmp byte [edi], 0x7b
jne 0x41c74e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x41c74e
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x1124]
mov ecx, dword [ebp - 0x1118]
push ebx
push 0
push eax
push edi
call fcn.0041c220
mov esi, eax
test esi, esi
jns 0x41c732
test ebx, ebx
je 0x41c8b7
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0041aec0
mov esi, eax
test esi, esi
js 0x41c8b7
mov ebx, dword [ebp - 0x1128]
mov ecx, dword [ebp - 0x1140]
mov dword [ebp + 0x14], ecx
cmp ebx, 2
je 0x41c3ff
test ebx, ebx
je 0x41c77c
test ecx, ecx
jne 0x41c3ff
push ebx
call fcn.0041a7f0
add esp, 4
mov esi, eax
jmp 0x41c8b7
mov ebx, dword [ebp - 0x1124]
test ecx, ecx
je 0x41c7d4
mov ecx, dword [ebp - 0x1118]
push ebx
call fcn.0041b040
test eax, eax
je 0x41c7d4
mov ecx, dword [ebp - 0x1118]
lea edx, [ebp - 0x114]
push edx
call fcn.0041b000
test eax, eax
je 0x41c3ff
cmp dword [ebp - 0x113c], 0
je 0x41c3ff
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x1124]
call fcn.0041b160
jmp 0x41c3ff
mov ecx, dword [ebp - 0x1118]
push ebx
call fcn.0041b040
mov dword [ebp - 0x1168], eax
mov dword [ebp - 0x1128], 0
test ebx, ebx
je 0x41c80b
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1128], eax
mov dword [ebp - 0x1124], 0
mov ebx, dword [ebp - 0x1128]
mov dword [ebp - 0x1120], 0
test ebx, ebx
jne 0x41c93d
cmp dword [ebp - 0x113c], ebx
je 0x41c3ff
cmp dword [ebp - 0x1168], ebx
jne 0x41c3ff
mov ecx, dword [ebp - 0x112c]
lea edx, [ebp - 0x114]
mov dword [ebp - 0x1164], ecx
push edx
lea ecx, [ebp - 0x1164]
mov dword [ebp - 0x1160], ebx
mov dword [ebp - 0x115c], ebx
call fcn.0041a9f0
mov dword [ebp - 0x1164], ebx
mov dword [ebp - 0x1160], ebx
mov dword [ebp - 0x115c], ebx
cmp eax, ebx
jne 0x41c956
lea ecx, [ebp - 0x1164]
call fcn.0041b140
jmp 0x41c3ff
lea ecx, [ebp - 0x1138]
call fcn.0041b140
lea ecx, [ebp - 0x1124]
call fcn.0041b140
mov eax, 0x80020009
jmp 0x41c8ca
lea ecx, [ebp - 0x1138]
call fcn.0041b140
mov eax, dword [ebp - 0x1124]
test eax, eax
je 0x41c8c8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041fef9
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x114c]
call fcn.0041b140
lea ecx, [ebp - 0x1124]
call fcn.0041b140
jmp 0x41c8c8
push eax
call fcn.0041a7f0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x1158]
jmp 0x41c8b2
lea ecx, [ebp - 0x1124]
call fcn.0041b140
push esi
call fcn.0041a7f0
add esp, 4
jmp 0x41c8ca
push 0x8007000e
call fcn.00401010
push 0x80070057
call fcn.00401010
lea ecx, [ebp - 0x1124]
call fcn.0041b140
push ebx
call fcn.0041a7f0
add esp, 4
jmp 0x41c8ca
push eax
call fcn.0041a7f0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x1164]
jmp 0x41c8b2
push 0x80004005
call fcn.00401010
mov edi, edi
into
mov byte [ecx], 41
leave
inc ecx
add byte [ebx], dh
leave
inc ecx
add byte [ecx + ecx*8 + 0x41], ch
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3