Function at 0x42488e
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x226c
call fcn.004fd000
mov eax, dword [0x500144]
xor eax, esp
mov dword [esp + 0x2268], eax
push ebx
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x10], ecx
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov ecx, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
call fcn.00424740
mov esi, eax
test esi, esi
js 0x4249ba
push 0x7d
pop eax
cmp word [edi], ax
je 0x4249ab
push 0x406fb4
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x406f88
sbb esi, esi
inc esi
push edi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x424928
test esi, esi
je 0x4249d3
mov ecx, dword [esp + 0xc]
push edi
call fcn.00424740
mov esi, eax
test esi, esi
js 0x4249ab
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4249d5
push 0x5c
pop edx
mov ecx, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.00423f5b
test eax, eax
jne 0x424e26
push edi
call fcn.004244f0
test eax, eax
je 0x424981
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push edi
mov dword [esp + 0x40], eax
call fcn.0042456f
mov dword [esp + 0x3c], esi
cmp dword [esp + 0x18], esi
je 0x4249d5
mov ecx, dword [esp + 0xc]
push edi
call fcn.00424740
mov esi, eax
test esi, esi
js 0x4249ab
mov ecx, dword [esp + 0xc]
push edi
call fcn.00424483
mov esi, eax
test esi, esi
jns 0x424bd6
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4249ba
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2274]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004fb5e0
mov esp, ebp
pop ebp
ret 0x10
xor esi, esi
push 0x406fa0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4249f9
mov ecx, dword [esp + 0xc]
push edi
mov dword [esp + 0x14], esi
call fcn.00424740
mov esi, eax
test esi, esi
js 0x4249ab
push 0x406f80
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x424b06
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x270]
push eax
call fcn.00424740
mov esi, eax
test esi, esi
js 0x4249ab
mov ecx, dword [esp + 0xc]
push edi
call fcn.00424740
mov esi, eax
test esi, esi
js 0x4249ab
push 0x3d
pop eax
cmp word [edi], ax
jne 0x424e26
cmp dword [ebp + 0x10], 0
je 0x424a88
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x270]
push edi
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0042408e
mov esi, eax
xor eax, eax
mov dword [esp + 0x48], eax
test esi, esi
js 0x4249af
jmp 0x424bd6
cmp dword [ebp + 0x14], 0
jne 0x424aed
cmp dword [esp + 0x10], 0
je 0x424aed
xor esi, esi
lea ecx, [esp + 0x30]
push 0x20006
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call fcn.00424527
test eax, eax
jne 0x424dfe
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x270]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x424ade
cmp eax, 2
jne 0x424de1
test ebx, ebx
je 0x424aed
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0xc]
push edi
call fcn.00424483
mov esi, eax
test esi, esi
js 0x4249ab
jmp 0x424dcc
push 0x5c
pop edx
mov ecx, edi
call fcn.00423f5b
test eax, eax
jne 0x424e26
cmp dword [ebp + 0x10], eax
je 0x424c2b
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0x2001f
push edi
push ebx
call fcn.00424527
test eax, eax
je 0x424b9a
push 0x20019
push edi
push ebx
lea ecx, [esp + 0x28]
call fcn.00424527
test eax, eax
je 0x424b9a
lea eax, [esp + 0x60]
xor esi, esi
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x424b8e
mov eax, esi
cmp dword [esp + 0x1c], eax
je 0x424b84
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
jmp 0x424b92
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x424e18
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push edi
call fcn.00424740
mov esi, eax
test esi, esi
js 0x4249ab
push 0x3d
pop eax
cmp word [edi], ax
jne 0x424bd2
push edi
xor eax, eax
mov ecx, ebx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0042408e
mov esi, eax
test esi, esi
js 0x4249ab
mov ebx, dword [esp + 0x1c]
push 0x7b
pop eax
cmp word [edi], ax
jne 0x424dcc
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x28]
jne 0x424be7
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x424dcc
xor eax, eax
push eax
push dword [ebp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push edi
call fcn.0042488e
mov esi, eax
test esi, esi
js 0x4249ab
push edi
mov ecx, ebx
call fcn.00424740
jmp 0x424af7
cmp dword [ebp + 0x14], 0
jne 0x424c55
push 0x20019
push edi
push dword [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.00424527
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebx
test eax, eax
jne 0x424c5d
jmp 0x424c64
mov dword [esp + 0x18], 2
xor ebx, ebx
inc ebx
mov dword [esp + 0x2c], ebx
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x70]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy_s]
add esp, 0x10
mov ecx, eax
call fcn.0042444a
mov ecx, dword [esp + 0xc]
push edi
call fcn.00424740
mov esi, eax
test esi, esi
js 0x4249ab
mov ecx, dword [esp + 0xc]
push edi
call fcn.00424483
mov esi, eax
test esi, esi
js 0x4249ab
push 0x7b
pop eax
cmp word [edi], ax
jne 0x424d06
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x28]
jne 0x424cb6
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x424d06
mov ecx, dword [esp + 0xc]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x20]
push eax
push ebx
push edi
call fcn.0042488e
mov esi, eax
test esi, esi
jns 0x424cf0
cmp dword [esp + 0x2c], 0
je 0x4249ab
mov ecx, dword [esp + 0xc]
push edi
call fcn.00424740
mov esi, eax
test esi, esi
js 0x4249ab
jmp 0x424d0a
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, 2
je 0x424dcc
test eax, eax
je 0x424d33
cmp dword [ebp + 0x14], 0
jne 0x424dcc
mov ecx, eax
call fcn.0042472a
mov esi, eax
jmp 0x4249ab
cmp dword [ebp + 0x14], 0
je 0x424d68
push ebx
call fcn.00424652
test eax, eax
je 0x424d68
lea eax, [esp + 0x68]
push eax
call fcn.004244f0
test eax, eax
je 0x424dcc
cmp dword [esp + 0x10], 0
je 0x424dcc
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x20]
call fcn.0042456f
jmp 0x424dcc
push ebx
call fcn.00424652
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x424d93
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov ebx, ecx
mov dword [esp + 0x1c], ebx
test eax, eax
jne 0x424e18
mov eax, dword [esp + 0x18]
jmp 0x424d95
xor ecx, ecx
cmp dword [esp + 0x10], 0
je 0x424dcc
test eax, eax
jne 0x424dcc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x54]
push eax
call fcn.0042468f
xor ecx, ecx
mov dword [esp + 0x54], ecx
test eax, eax
jne 0x424d25
push 0x7d
pop eax
cmp word [edi], ax
je 0x4249ab
mov ebx, dword [esp + 0x1c]
jmp 0x4248f3
mov ecx, eax
call fcn.0042472a
mov esi, eax
test ebx, ebx
je 0x4249ab
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4249ab
mov ecx, eax
call fcn.0042472a
cmp dword [esp + 0x30], 0
mov esi, eax
je 0x4249ab
push dword [esp + 0x30]
jmp 0x424df3
mov ecx, eax
call fcn.0042472a
mov esi, eax
jmp 0x4249af
mov esi, 0x80020009
jmp 0x4249af