Function at 0x449490
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6956
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, ebx
mov dword [esp + 0x444], esi
call fcn.00449340
mov edi, eax
cmp edi, esi
jl 0x449aeb
cmp word [ebx], 0x7d
je 0x449ae9
lea ebx, [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x4e3178
push ebx
mov dword [esp + 0x18], 1
call edi
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push ebx
add esi, 1
call edi
test eax, eax
je 0x449523
test esi, esi
je 0x449633
mov ecx, dword [esp + 0x1c]
mov eax, ebx
call fcn.00449340
mov edi, eax
test edi, edi
jl 0x449ada
cmp dword [ebp + 0x10], 0
je 0x449633
movzx ecx, word [ebx]
test cx, cx
mov dword [esp + 0x18], 0
mov eax, ebx
je 0x449576
movzx ecx, cx
cmp cx, 0x5c
je 0x44956e
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x449557
jmp 0x449576
test eax, eax
jne 0x449a32
mov edi, 0x4e31e4
jmp 0x449580
mov ecx, dword [edi]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4495b2
add edi, 4
cmp edi, 0x4e3214
jl 0x449580
mov edx, dword [ebp + 0xc]
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
call fcn.0044a140
mov dword [esp + 0x18], 0
test esi, esi
je 0x449633
mov esi, dword [esp + 0x1c]
mov eax, ebx
mov ecx, esi
call fcn.00449340
mov edi, eax
test edi, edi
jl 0x449a60
mov edi, ebx
mov ecx, esi
call fcn.0044a0b0
mov edi, eax
test edi, edi
jl 0x449a60
cmp word [ebx], 0x7b
jne 0x4499c1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4499c1
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push 0
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00449490
mov edi, eax
test edi, edi
jl 0x449ada
mov eax, ebx
mov ecx, esi
call fcn.00449340
mov edi, eax
test edi, edi
jl 0x449ada
jmp 0x4499c1
push 0x4e3188
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44965c
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, ebx
call fcn.00449340
mov edi, eax
test edi, edi
jl 0x449ada
push 0x4e31b4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44976c
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x230]
call fcn.00449340
mov edi, eax
test edi, edi
jl 0x449ada
mov ecx, dword [esp + 0x1c]
mov eax, ebx
call fcn.00449340
mov edi, eax
test edi, edi
jl 0x449ada
cmp word [ebx], 0x3d
jne 0x449a3b
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4496f2
mov eax, dword [ebp + 0xc]
push ebx
lea ecx, [esp + 0x234]
push ecx
mov byte [esp + 0x44c], 1
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.00449b10
mov edi, eax
cmp edi, esi
mov dword [esp + 0x10], esi
jl 0x449a66
mov byte [esp + 0x444], 0
jmp 0x4495e0
cmp dword [ebp + 0x14], esi
jne 0x449752
cmp dword [esp + 0x10], esi
je 0x449752
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push 0x20006
push esi
push esi
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x449aca
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x230]
push eax
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x449747
cmp eax, 2
jne 0x449aca
test esi, esi
je 0x449752
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
mov edi, ebx
call fcn.0044a0b0
mov edi, eax
test edi, edi
jl 0x449ada
jmp 0x4499c1
movzx ecx, word [ebx]
test cx, cx
mov eax, ebx
je 0x44979f
movzx ecx, cx
lea esp, [esp]
cmp cx, 0x5c
je 0x449797
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x449780
jmp 0x44979f
test eax, eax
jne 0x449a3b
cmp dword [ebp + 0x10], 0
je 0x449878
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
push ebx
push esi
mov dword [esp + 0x24], 0
call edi
test eax, eax
jne 0x4497e9
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4497dd
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
je 0x44983a
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ebx
push esi
mov dword [esp + 0x24], 0
call edi
test eax, eax
jne 0x449820
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x449814
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
je 0x44983a
push ebx
push esi
mov edx, 0x2001f
lea esi, [esp + 0x1c]
call fcn.00448300
mov edi, eax
test edi, edi
jne 0x449a7a
mov esi, dword [esp + 0x1c]
mov eax, ebx
mov ecx, esi
call fcn.00449340
mov edi, eax
test edi, edi
jl 0x449ada
cmp word [ebx], 0x3d
jne 0x4495e0
push ebx
push 0
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.00449b10
mov edi, eax
test edi, edi
jl 0x449ada
jmp 0x4495e0
cmp dword [ebp + 0x14], 0
jne 0x44997e
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push ebx
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4498bc
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4498b4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
test eax, eax
mov dword [esp + 0x18], eax
je 0x4498cb
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.004a3638
push eax
call fcn.00401060
mov esi, dword [esp + 0x30]
add esp, 0x14
mov eax, ebx
mov ecx, esi
call fcn.00449340
mov edi, eax
test edi, edi
jl 0x449ada
mov edi, ebx
mov ecx, esi
call fcn.0044a0b0
mov edi, eax
test edi, edi
jl 0x449ada
cmp word [ebx], 0x7b
jne 0x449958
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x449958
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
push ecx
push 0
push edx
push ebx
mov ecx, esi
call fcn.00449490
mov edi, eax
test edi, edi
jge 0x449945
cmp dword [ebp + 0x14], 0
je 0x449ada
mov eax, ebx
mov ecx, esi
call fcn.00449340
mov edi, eax
test edi, edi
jl 0x449ada
mov ecx, dword [esp + 0x18]
cmp ecx, 2
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x14], eax
je 0x4499c1
test ecx, ecx
je 0x44998b
test eax, eax
jne 0x4499c1
mov eax, ecx
call fcn.0044a2d0
mov edi, eax
jmp 0x449ada
mov dword [esp + 0x18], 2
jmp 0x4498c4
test eax, eax
mov esi, dword [esp + 0x14]
je 0x4499d0
mov ecx, esi
call fcn.0044a290
test eax, eax
je 0x4499d0
lea ebx, [esp + 0x28]
call fcn.0044a100
test eax, eax
je 0x4499be
cmp dword [esp + 0x10], 0
je 0x4499be
mov eax, ebx
push eax
lea ecx, [esp + 0x18]
call fcn.0044a140
mov ebx, dword [ebp + 8]
cmp word [ebx], 0x7d
jne 0x4494f0
jmp 0x449ada
mov ecx, esi
call fcn.0044a290
test esi, esi
mov dword [esp + 0x18], eax
je 0x4499fa
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
jne 0x449aa1
cmp dword [esp + 0x10], 0
je 0x4499c1
cmp dword [esp + 0x18], 0
jne 0x4499c1
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
mov dword [esp + 0x10], 0
jne 0x449aca
lea esi, [esp + 0x10]
call fcn.0040ff10
jmp 0x4499c1
lea esi, [esp + 0x18]
call fcn.0040ff10
lea esi, [esp + 0x14]
call fcn.0040ff10
mov eax, 0x80020009
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x18]
jmp 0x449ad5
lea esi, [esp + 0x10]
call fcn.0040ff10
lea esi, [esp + 0x14]
call fcn.0040ff10
jmp 0x449ae9
lea esi, [esp + 0x14]
call fcn.0040ff10
mov eax, edi
call fcn.0044a2d0
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea esi, [esp + 0x14]
call fcn.0040ff10
mov eax, dword [esp + 0x24]
call fcn.0044a2d0
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.0044a2d0
mov edi, eax
lea esi, [esp + 0x10]
call fcn.0040ff10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x449ae9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10