Function at 0x45f0c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4c7b
mov eax, dword fs:[0]
push eax
mov eax, 0x2244
call fcn.004a4d60
mov eax, dword [0x517ba0]
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 dword [ebp - 0x2224], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x2230], 0
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
push ebx
mov dword [ebp - 4], 0
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fad6
cmp word [ebx], 0x7d
je 0x45fac3
nop dword [eax]
nop word [eax + eax]
push 0x4e82a0
push ebx
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4ea180
sbb edi, edi
push ebx
inc edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45f183
test edi, edi
je 0x45f28f
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fac3
cmp dword [ebp + 0x10], 0
je 0x45f28f
movzx eax, word [ebx]
mov edx, ebx
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x2238], 0
test ax, ax
je 0x45f1e4
cmp ax, 0x5c
je 0x45f1dc
push edx
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, eax
movzx ecx, word [edx]
mov eax, ecx
test cx, cx
jne 0x45f1c1
jmp 0x45f1e4
test edx, edx
jne 0x45fab1
mov esi, 0x4ea1ac
nop dword [eax]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45f248
add esi, 4
cmp esi, 0x4ea1dc
jl 0x45f1f0
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2240]
push ebx
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], 0
mov dword [ebp - 0x2238], 0
call fcn.0045eb30
mov dword [ebp - 0x2240], 0
mov dword [ebp - 0x2238], 0
test edi, edi
je 0x45f285
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fac3
push ebx
mov ecx, edi
call fcn.0045fcd0
mov esi, eax
test esi, esi
js 0x45fac3
mov dword [ebp - 0x223c], 0
jmp 0x45f6ef
mov dword [ebp - 0x223c], 0
push 0x4ea198
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45f2bf
mov ecx, dword [ebp - 0x2224]
xor edi, edi
push ebx
mov dword [ebp - 0x2234], edi
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fac3
jmp 0x45f2c5
mov edi, dword [ebp - 0x2234]
push 0x4ea178
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45f419
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
push eax
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fac3
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fac3
cmp word [ebx], 0x3d
jne 0x45fab1
cmp dword [ebp + 0x10], 0
je 0x45f396
mov eax, dword [ebp - 0x2220]
mov edi, dword [ebp - 0x2224]
mov ecx, edi
mov dword [ebp - 0x2250], eax
lea eax, [ebp - 0x2218]
push ebx
push eax
lea eax, [ebp - 0x2250]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
call fcn.00455b70
mov esi, eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
mov dword [ebp - 0x2248], 0
test esi, esi
js 0x45fac3
mov byte [ebp - 4], 0
mov dword [ebp - 0x224c], 0
jmp 0x45f6ef
cmp dword [ebp + 0x14], 0
jne 0x45f3fe
test edi, edi
je 0x45f3fe
xor edi, edi
lea eax, [ebp - 0x2234]
mov dword [ebp - 0x2234], edi
push eax
push 0x20006
push edi
push edi
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45f3cc
mov edi, dword [ebp - 0x2234]
mov byte [ebp - 4], 0
test eax, eax
jne 0x45fa99
lea eax, [ebp - 0x2218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x45f3f3
cmp eax, 2
jne 0x45fa99
test edi, edi
je 0x45f3fe
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.0045fcd0
mov esi, eax
test esi, esi
js 0x45fac3
jmp 0x45fa8d
movzx ecx, word [ebx]
mov eax, ebx
test cx, cx
je 0x45f446
mov edx, ecx
cmp dx, 0x5c
je 0x45f43e
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x45f425
jmp 0x45f446
test eax, eax
jne 0x45fab1
cmp dword [ebp + 0x10], 0
je 0x45f74c
mov esi, dword [ebp - 0x2228]
mov byte [ebp - 4], 3
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x45f511
cmp dword [esi], 0
je 0x45f504
push 0x4ea068
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45f4d7
mov eax, 1
mov edi, dword [ebp - 0x2230]
mov byte [ebp - 4], 0
test eax, eax
je 0x45f6b6
mov byte [ebp - 4], 4
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x45f59a
cmp dword [esi], 0
je 0x45f58d
push 0x4ea068
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45f560
mov eax, 1
jmp 0x45f5da
push 0x4ea084
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f50a
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x45f52c
cmp dword [esi + 4], 0
jne 0x45f511
mov eax, 1
jmp 0x45f52c
lea eax, [ebp - 0x221c]
push eax
push 0x2001f
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45f489
mov ecx, dword [ebp - 0x2230]
test ecx, ecx
je 0x45f545
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
jmp 0x45f48f
push 0x4ea084
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f593
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x45f5b5
cmp dword [esi + 4], 0
jne 0x45f59a
mov eax, 1
jmp 0x45f5b5
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45f5da
test edi, edi
je 0x45f5c4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], edi
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 0
test eax, eax
je 0x45f6b6
mov byte [ebp - 4], 5
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x45f65d
cmp dword [esi], 0
je 0x45f650
push 0x4ea068
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45f616
mov eax, 1
jmp 0x45f6aa
push 0x4ea09c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f656
push 0
push dword [esi]
lea ecx, [ebp - 0x2244]
push ecx
lea ecx, [ebp - 0x221c]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x45f685
cmp dword [esi + 4], 0
jne 0x45f65d
mov eax, 1
jmp 0x45f685
lea eax, [ebp - 0x2244]
push eax
lea eax, [ebp - 0x221c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45f6aa
test edi, edi
je 0x45f694
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 0
test eax, eax
jne 0x45fab8
mov edi, dword [ebp - 0x2224]
mov ecx, edi
push ebx
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fac3
cmp word [ebx], 0x3d
jne 0x45f6ef
push ebx
push 0
lea eax, [ebp - 0x2230]
mov ecx, edi
push eax
call fcn.00455b70
mov esi, eax
test esi, esi
js 0x45fac3
cmp word [ebx], 0x7b
jne 0x45fa8d
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f700
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x45fa8d
push 0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0x2230]
push ebx
call fcn.0045f0c0
mov esi, eax
test esi, esi
js 0x45fac3
push ebx
mov ecx, edi
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fac3
jmp 0x45fa8d
cmp dword [ebp + 0x14], 0
jne 0x45f817
mov esi, dword [ebp - 0x2228]
mov byte [ebp - 4], 6
mov dword [ebp - 0x221c], 0
test esi, esi
je 0x45f7c7
cmp dword [esi], 0
je 0x45f7ba
push 0x4ea068
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x45f78d
lea edi, [eax + 1]
mov byte [ebp - 4], al
jmp 0x45f81c
push 0x4ea084
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f7c0
push 0
push dword [esi]
lea ecx, [ebp - 0x221c]
push ecx
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call eax
jmp 0x45f7e2
cmp dword [esi + 4], 0
jne 0x45f7c7
mov edi, 1
jmp 0x45f7e4
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x45f811
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x45f7fb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x221c]
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], 0
mov byte [ebp - 4], 0
jmp 0x45f81c
mov edi, 2
test edi, edi
mov eax, 1
push 0xffffffffffffffff
cmove eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x221c], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004abc4e
push eax
call fcn.0043aef0
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
push ebx
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fac3
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.0045fcd0
mov esi, eax
test esi, esi
js 0x45fac3
cmp word [ebx], 0x7b
jne 0x45f8d8
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f881
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x45f8d8
push dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
push 0
push dword [ebp - 0x2230]
push ebx
call fcn.0045f0c0
mov esi, eax
test esi, esi
jns 0x45f8c2
cmp dword [ebp - 0x221c], 0
je 0x45fac3
mov ecx, dword [ebp - 0x2224]
push ebx
call fcn.00457e10
mov esi, eax
test esi, esi
js 0x45fac3
cmp edi, 2
je 0x45fa8d
test edi, edi
je 0x45f8f5
cmp dword [ebp + 0x14], 0
jne 0x45fa8d
push edi
jmp 0x45fab9
cmp dword [ebp + 0x14], 0
je 0x45f98b
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2230]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x45f98b
cmp eax, dword [ebp - 0x221c]
sbb eax, eax
neg eax
je 0x45f98b
mov edi, 0x4ea1ac
push dword [edi]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45fa8d
add edi, 4
cmp edi, 0x4ea1dc
jl 0x45f945
cmp dword [ebp - 0x2234], 0
je 0x45fa8d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0045eb30
jmp 0x45fa8d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x221c]
mov dword [ebp - 0x221c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x2230]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x45f9c4
xor edi, edi
jmp 0x45f9d0
xor eax, eax
cmp eax, dword [ebp - 0x221c]
sbb edi, edi
neg edi
mov ecx, dword [ebp - 0x2230]
xor eax, eax
test ecx, ecx
je 0x45f9eb
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], 0
test eax, eax
jne 0x45fab8
cmp dword [ebp - 0x2234], eax
je 0x45fa8d
test edi, edi
jne 0x45fa8d
mov byte [ebp - 4], 7
cmp byte [0x51c404], al
jne 0x45fa54
push 0x4ea068
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45fa46
push 0x4ea114
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x51c400], eax
mov byte [0x51c404], 1
jmp 0x45fa59
mov eax, dword [0x51c400]
mov byte [0x51c404], 1
jmp 0x45fa59
mov eax, dword [0x51c400]
test eax, eax
je 0x45fa72
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0x2220]
call eax
jmp 0x45fa85
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x2220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 4], 0
test eax, eax
jne 0x45fab8
cmp word [ebx], 0x7d
jne 0x45f150
jmp 0x45fac3
push eax
call fcn.00456160
add esp, 4
mov esi, eax
test edi, edi
je 0x45fac3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45fac3
mov esi, 0x80020009
jmp 0x45fac3
push eax
call fcn.00456160
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2230]
test eax, eax
je 0x45fad4
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.004a4433
mov esp, ebp
pop ebp
ret 0x10