Function at 0x41ec50
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x490f46
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2264
call fcn.0047f210
mov eax, dword [0x4b6798]
xor eax, esp
mov dword [esp + 0x2260], eax
push ebx
push esi
push edi
mov eax, dword [0x4b6798]
xor eax, esp
push eax
lea eax, [esp + 0x2278]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov edx, dword [ebp + 0x14]
mov eax, ebx
mov dword [esp + 0x2280], esi
mov dword [esp + 0x38], edx
call fcn.0041eae0
mov edi, eax
cmp edi, esi
jl 0x41f2bb
cmp word [ebx], 0x7d
je 0x41f2b9
lea ebx, [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [esp + 0x20], 1
call edi
neg eax
push str.ForceRemove
sbb esi, esi
push ebx
inc esi
call edi
test eax, eax
je 0x41ed0f
test esi, esi
je 0x41ee48
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0041eae0
mov edi, eax
test edi, edi
js 0x41f2aa
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x41ee48
movzx ecx, word [ebx]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov eax, ebx
cmp cx, dx
je 0x41ed66
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp cx, 0x5c
je 0x41ed5e
push eax
call edi
movzx ecx, word [eax]
test cx, cx
jne 0x41ed4b
jmp 0x41ed66
test eax, eax
jne 0x41f288
mov edi, 0x49d60c
jmp 0x41ed70
mov eax, dword [edi]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41edb1
add edi, 4
cmp edi, 0x49d63c
jl 0x41ed70
mov ecx, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x2c], ecx
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.0041e820
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
test esi, esi
je 0x41ee40
mov esi, dword [esp + 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0041eae0
mov edi, eax
test edi, edi
js 0x41f2a1
mov edi, ebx
mov ecx, esi
call fcn.0041e780
mov edi, eax
test edi, edi
js 0x41f2a1
mov dword [esp + 0x30], 0
cmp word [ebx], 0x7b
jne 0x41ee31
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41ee31
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.0041ec50
mov edi, eax
test edi, edi
js 0x41f2aa
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0041eae0
mov edi, eax
test edi, edi
js 0x41f2aa
cmp word [ebx], 0x7d
jne 0x41ece0
jmp 0x41f2aa
mov dword [esp + 0x30], 0
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41ee71
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.0041eae0
mov edi, eax
test edi, edi
js 0x41f2aa
push 0x49d470
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41ef9b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x26c]
call fcn.0041eae0
mov edi, eax
test edi, edi
js 0x41f2aa
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0041eae0
mov edi, eax
test edi, edi
js 0x41f2aa
cmp word [ebx], 0x3d
jne 0x41f291
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x41ef1a
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x2280], 1
push ebx
lea eax, [esp + 0x40]
mov dword [esp + 0x40], edx
push eax
lea edx, [esp + 0x274]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.0041e290
mov edi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp edi, esi
jl 0x41f2e1
mov byte [esp + 0x2280], 0
mov dword [esp + 0x40], esi
jmp 0x41edeb
cmp dword [ebp + 0x14], esi
jne 0x41ef81
cmp dword [esp + 0x18], esi
je 0x41ef81
push 0x20006
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.0040f3d0
cmp eax, esi
jne 0x41f2f5
mov edi, dword [esp + 0x54]
lea edx, [esp + 0x26c]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
je 0x41ef6e
cmp eax, 2
jne 0x41f2f5
cmp edi, esi
je 0x41ef7d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.0041e780
mov edi, eax
cmp edi, esi
jl 0x41f2aa
jmp 0x41ee31
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x41efc4
cmp cx, 0x5c
je 0x41efbc
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x41efa5
jmp 0x41efc4
test eax, eax
jne 0x41f291
cmp dword [ebp + 0x10], 0
je 0x41f0af
cmp dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
je 0x41effb
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
push 0x2001f
push ebx
push eax
lea edi, [esp + 0x24]
call fcn.0040f360
mov esi, dword [esp + 0x14]
jmp 0x41f013
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f03a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x41f026
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
test eax, eax
je 0x41f070
push 0x20019
lea eax, [esp + 0x20]
push eax
mov eax, ebx
mov ecx, esi
call fcn.0040f3d0
test eax, eax
je 0x41f070
push 0
push 0x2001f
lea ecx, [esp + 0x24]
push ecx
mov eax, ebx
mov ecx, esi
call fcn.0040f4c0
mov edi, eax
test edi, edi
jne 0x41f302
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0041eae0
mov edi, eax
test edi, edi
js 0x41f2aa
cmp word [ebx], 0x3d
jne 0x41edeb
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x20]
push edx
xor edx, edx
call fcn.0041e290
mov edi, eax
test edi, edi
js 0x41f2aa
jmp 0x41edeb
cmp dword [ebp + 0x14], 0
jne 0x41f107
mov ecx, dword [esp + 0x14]
push 0x20019
lea eax, [esp + 0x20]
push eax
mov eax, ebx
call fcn.0040f3d0
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x41f0db
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x6c]
push 0x104
push ecx
call fcn.00475d16
add esp, 0x10
cmp eax, 0x50
ja case.0x41f100.1
movzx edx, byte [eax + 0x41f36c]
jmp dword [edx*4 + 0x41f35c]
mov dword [esp + 0x28], 2
mov esi, dword [esp + 0x28]
jmp 0x41f0d4
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0041eae0
mov edi, eax
test edi, edi
js 0x41f2aa
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.0041e780
mov edi, eax
test edi, edi
js 0x41f2aa
cmp word [ebx], 0x7b
jne 0x41f18d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x41f18d
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push esi
push 0
push eax
push ebx
call fcn.0041ec50
mov edi, eax
test edi, edi
jns 0x41f174
test esi, esi
je 0x41f2aa
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0041eae0
mov edi, eax
test edi, edi
js 0x41f2aa
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x14], ecx
cmp esi, 2
je 0x41ee31
test esi, esi
je 0x41f1b7
test ecx, ecx
jne 0x41ee31
mov eax, esi
call fcn.0041eaa0
mov edi, eax
jmp 0x41f2aa
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x41f1fa
mov ecx, esi
call fcn.0041e970
test eax, eax
je 0x41f1fa
lea edx, [esp + 0x64]
push edx
call fcn.0041e7e0
test eax, eax
je 0x41ee31
cmp dword [esp + 0x18], 0
je 0x41ee31
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
call fcn.0041e820
jmp 0x41ee31
mov ecx, esi
call fcn.0041e970
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x28], eax
test esi, esi
je 0x41f222
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test eax, eax
jne 0x41f328
cmp dword [esp + 0x18], eax
je 0x41ee31
cmp dword [esp + 0x60], eax
jne 0x41ee31
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x48]
xor esi, esi
push edx
lea eax, [esp + 0x68]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.0041ea20
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp eax, esi
jne 0x41f33f
lea esi, [esp + 0x48]
call fcn.0040f580
jmp 0x41ee31
lea esi, [esp + 0x2c]
call fcn.0040f580
lea esi, [esp + 0x1c]
call fcn.0040f580
mov eax, 0x80020009
jmp 0x41f2bb
lea esi, [esp + 0x2c]
call fcn.0040f580
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41f2b9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x2278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2260]
xor ecx, esp
call fcn.004736db
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x3c]
call fcn.0040f580
lea esi, [esp + 0x1c]
call fcn.0040f580
jmp 0x41f2b9
call fcn.0041eaa0
mov edi, eax
lea esi, [esp + 0x54]
jmp 0x41f2a5
lea esi, [esp + 0x1c]
call fcn.0040f580
mov eax, edi
call fcn.0041eaa0
jmp 0x41f2bb
push 0x8007000e
call fcn.004189e0
push 0x80070057
call fcn.004189e0
lea esi, [esp + 0x1c]
call fcn.0040f580
mov eax, dword [esp + 0x28]
call fcn.0041eaa0
jmp 0x41f2bb
call fcn.0041eaa0
mov edi, eax
lea esi, [esp + 0x48]
jmp 0x41f2a5
push 0x80004005
call fcn.004189e0
lea ecx, [ecx]
adc eax, 0x140041f1
inc ecx
add byte [esi], bl
inc ecx
add byte [edi - 0xd], cl
inc ecx
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