Function at 0x421120
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2260
call fcn.0042e8a0
mov eax, dword [0x453d00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x2210], ecx
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x221c], ebx
mov dword [ebp - 0x2218], ebx
mov dword [ebp - 0x2214], ebx
mov dword [ebp - 0x2238], edx
call fcn.0041fb00
mov esi, eax
cmp esi, ebx
jl 0x4217c0
cmp word [edi], 0x7d
je 0x4217be
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x2234], 1
call esi
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x4211b4
test ebx, ebx
je 0x421300
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0041fb00
mov esi, eax
test esi, esi
js 0x4217ad
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x421300
movzx ecx, word [edi]
mov dword [ebp - 0x2230], edx
mov dword [ebp - 0x222c], edx
mov dword [ebp - 0x2228], edx
mov eax, edi
cmp cx, dx
je 0x421212
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x42120a
push eax
call esi
movzx ecx, word [eax]
test cx, cx
jne 0x4211f7
jmp 0x421212
test eax, eax
jne 0x421774
mov esi, 0x4484bc
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x421268
add esi, 4
cmp esi, 0x4484ec
jl 0x421217
mov ecx, dword [ebp - 0x2224]
xor esi, esi
mov dword [ebp - 0x2230], ecx
push edi
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
call fcn.0041fdd0
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
test ebx, ebx
je 0x4212f6
mov ebx, dword [ebp - 0x2210]
push edi
mov ecx, ebx
call fcn.0041fb00
mov esi, eax
test esi, esi
js 0x4217a2
push edi
mov ecx, ebx
call fcn.0041fd00
mov esi, eax
test esi, esi
js 0x4217a2
mov dword [ebp - 0x222c], 0
cmp word [edi], 0x7b
jne 0x4212e7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4212e7
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x221c]
push 0
push eax
push ecx
push edi
mov ecx, ebx
call fcn.00421120
mov esi, eax
test esi, esi
js 0x4217ad
push edi
mov ecx, ebx
call fcn.0041fb00
mov esi, eax
test esi, esi
js 0x4217ad
cmp word [edi], 0x7d
jne 0x421183
jmp 0x4217ad
mov dword [ebp - 0x222c], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42132c
mov ecx, dword [ebp - 0x2210]
push edi
mov dword [ebp - 0x2234], eax
call fcn.0041fb00
mov esi, eax
test esi, esi
js 0x4217ad
push 0x448484
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x421474
mov ecx, dword [ebp - 0x2210]
lea edx, [ebp - 0x220c]
push edx
call fcn.0041fb00
mov esi, eax
test esi, esi
js 0x4217ad
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0041fb00
mov esi, eax
test esi, esi
js 0x4217ad
cmp word [edi], 0x3d
jne 0x42177f
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x4213e2
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x220c]
push ecx
mov ecx, dword [ebp - 0x2210]
lea edx, [ebp - 0x2244]
push edx
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
call fcn.00420dd0
mov esi, eax
mov dword [ebp - 0x2244], ebx
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
cmp esi, ebx
jl 0x4217d3
mov dword [ebp - 0x2240], ebx
mov ebx, dword [ebp - 0x2210]
jmp 0x4212a4
cmp dword [ebp + 0x14], ebx
jne 0x421459
cmp dword [ebp - 0x2234], ebx
je 0x421459
mov eax, dword [ebp - 0x2224]
push 0x20006
push ebx
push eax
lea ecx, [ebp - 0x2250]
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
call fcn.0041f6c0
cmp eax, ebx
jne 0x4217eb
mov esi, dword [ebp - 0x2250]
lea ecx, [ebp - 0x220c]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x421442
cmp eax, 2
jne 0x4217eb
cmp esi, ebx
je 0x421453
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2250], ebx
mov dword [ebp - 0x224c], ebx
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0041fd00
mov esi, eax
cmp esi, ebx
jl 0x4217ad
jmp 0x4212e7
movzx ecx, word [edi]
mov eax, edi
test cx, cx
je 0x42149f
mov edi, edi
cmp cx, 0x5c
je 0x421497
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x421480
jmp 0x42149f
test eax, eax
jne 0x42177f
cmp dword [ebp + 0x10], 0
je 0x421541
mov esi, dword [ebp - 0x2224]
push 0x2001f
push edi
push esi
lea ecx, [ebp - 0x221c]
call fcn.0041f6c0
test eax, eax
je 0x4214ff
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x221c]
call fcn.0041f6c0
test eax, eax
je 0x4214ff
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x221c]
call fcn.0041f620
mov esi, eax
test esi, esi
jne 0x4217fe
mov ebx, dword [ebp - 0x2210]
push edi
mov ecx, ebx
call fcn.0041fb00
mov esi, eax
test esi, esi
js 0x4217ad
cmp word [edi], 0x3d
jne 0x4212a4
push edi
push 0
lea edx, [ebp - 0x221c]
push edx
mov ecx, ebx
call fcn.00420dd0
mov esi, eax
test esi, esi
js 0x4217ad
jmp 0x4212a4
cmp dword [ebp + 0x14], 0
jne 0x4215a0
mov eax, dword [ebp - 0x2224]
push 0x20019
push edi
push eax
lea ecx, [ebp - 0x221c]
call fcn.0041f6c0
mov ebx, eax
mov dword [ebp - 0x2220], ebx
test ebx, ebx
je 0x421572
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0042efe2
add esp, 0x10
cmp eax, 0x50
ja case.0x421599.1
movzx edx, byte [eax + 0x421890]
jmp dword [edx*4 + 0x421880]
mov dword [ebp - 0x2220], 2
mov ebx, dword [ebp - 0x2220]
jmp 0x42156b
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0041fb00
mov esi, eax
test esi, esi
js 0x4217ad
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0041fd00
mov esi, eax
test esi, esi
js 0x4217ad
cmp word [edi], 0x7b
jne 0x421633
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x421633
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2210]
push ebx
push 0
push eax
push edi
call fcn.00421120
mov esi, eax
test esi, esi
jns 0x421617
test ebx, ebx
je 0x4217ad
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0041fb00
mov esi, eax
test esi, esi
js 0x4217ad
mov ebx, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x2238]
mov dword [ebp + 0x14], ecx
cmp ebx, 2
je 0x4212e7
test ebx, ebx
je 0x421661
test ecx, ecx
jne 0x4212e7
push ebx
call fcn.0041f3f0
add esp, 4
mov esi, eax
jmp 0x4217ad
mov ebx, dword [ebp - 0x221c]
test ecx, ecx
je 0x4216b9
mov ecx, dword [ebp - 0x2210]
push ebx
call fcn.0041fcb0
test eax, eax
je 0x4216b9
mov ecx, dword [ebp - 0x2210]
lea edx, [ebp - 0x20c]
push edx
call fcn.0041fc70
test eax, eax
je 0x4212e7
cmp dword [ebp - 0x2234], 0
je 0x4212e7
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x221c]
call fcn.0041fdd0
jmp 0x4212e7
mov ecx, dword [ebp - 0x2210]
push ebx
call fcn.0041fcb0
mov dword [ebp - 0x2260], eax
mov dword [ebp - 0x2220], 0
test ebx, ebx
je 0x4216f0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x221c], 0
mov ebx, dword [ebp - 0x2220]
mov dword [ebp - 0x2218], 0
test ebx, ebx
jne 0x421839
cmp dword [ebp - 0x2234], ebx
je 0x4212e7
cmp dword [ebp - 0x2260], ebx
jne 0x4212e7
mov ecx, dword [ebp - 0x2224]
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x225c], ecx
push edx
lea ecx, [ebp - 0x225c]
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
call fcn.0041f5f0
mov dword [ebp - 0x225c], ebx
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
cmp eax, ebx
jne 0x421860
lea ecx, [ebp - 0x225c]
call fcn.0041fdb0
jmp 0x4212e7
lea ecx, [ebp - 0x2230]
call fcn.0041fdb0
lea ecx, [ebp - 0x221c]
call fcn.0041fdb0
pop edi
pop esi
mov eax, 0x80020009
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d3b1
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x2230]
call fcn.0041fdb0
mov eax, dword [ebp - 0x221c]
test eax, eax
je 0x4217be
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d3b1
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x2244]
call fcn.0041fdb0
lea ecx, [ebp - 0x221c]
call fcn.0041fdb0
jmp 0x4217be
push eax
call fcn.0041f3f0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x2250]
jmp 0x4217a8
lea ecx, [ebp - 0x221c]
call fcn.0041fdb0
push esi
call fcn.0041f3f0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042d3b1
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401240
push 0x80070057
call fcn.00401240
lea ecx, [ebp - 0x221c]
call fcn.0041fdb0
push ebx
call fcn.0041f3f0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3b1
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.0041f3f0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x225c]
jmp 0x4217a8
push 0x80004005
call fcn.00401240
mov dl, 0x15
inc edx
add byte [0x2f004218], ah
sbb byte [edx], al
jbe 0x4218a6
inc edx
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
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [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 [ebx]
add ah, cl
int3