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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48aaf4
mov eax, dword fs:[0]
push eax
mov eax, 0x2760
call fcn.00467480
mov eax, dword [0x4c4754]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x276c], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404982
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x450], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004052e0
mov eax, dword [ebp - 0x450]
jmp 0x405236
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x7d
je 0x405218
mov dword [ebp - 0x10], 1
mov edx, dword [0x48d450]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x230], eax
mov ecx, dword [0x48d424]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4049d8
cmp dword [ebp - 0x230], 0
je 0x404bd2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4049f5
jmp 0x405218
cmp dword [ebp + 0x10], 0
je 0x404bd2
mov dword [ebp - 0x234], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4ac], ecx
mov dword [ebp - 0x4a8], 0
cmp dword [ebp - 0x4ac], 0
jne 0x404a35
mov dword [ebp - 0x4b0], 0
jmp 0x404a7f
mov edx, dword [ebp - 0x4ac]
movzx eax, word [edx]
test eax, eax
je 0x404a73
mov ecx, dword [ebp - 0x4ac]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x404a5e
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x4a8], eax
jmp 0x404a73
mov ecx, dword [ebp - 0x4ac]
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov dword [ebp - 0x4ac], eax
jmp 0x404a35
mov edx, dword [ebp - 0x4a8]
mov dword [ebp - 0x4b0], edx
cmp dword [ebp - 0x4b0], 0
je 0x404abb
mov dword [ebp - 0x454], 0x80020009
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004052e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004052e0
mov eax, dword [ebp - 0x454]
jmp 0x405236
mov dword [ebp - 0x4b4], 0
jmp 0x404ad6
mov eax, dword [ebp - 0x4b4]
add eax, 1
mov dword [ebp - 0x4b4], eax
cmp dword [ebp - 0x4b4], 0xc
jge 0x404b09
mov ecx, dword [ebp - 0x4b4]
mov edx, dword [ecx*4 + 0x48dfc8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404b07
mov dword [ebp - 0x4b8], 0
jmp 0x404b13
jmp 0x404ac7
mov dword [ebp - 0x4b8], 1
cmp dword [ebp - 0x4b8], 0
je 0x404b4e
xor ecx, ecx
jne 0x404b1c
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x234]
call fcn.00405420
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x6e0], ecx
mov dword [ebp - 0x234], 0
cmp dword [ebp - 0x230], 0
je 0x404bc3
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404b83
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004052e0
jmp 0x405218
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x276c]
call fcn.00405fc0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404baf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004052e0
jmp 0x405218
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004052e0
jmp 0x4051b5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004052e0
mov ecx, dword [0x48d43c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404c0b
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404c0b
jmp 0x405218
mov ecx, dword [0x48d408]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404e1d
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404c44
jmp 0x405218
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404c61
jmp 0x405218
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x3d
je 0x404c90
mov dword [ebp - 0x458], 0x80020009
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004052e0
mov eax, dword [ebp - 0x458]
jmp 0x405236
cmp dword [ebp + 0x10], 0
je 0x404d3c
mov dword [ebp - 0x440], 0
mov byte [ebp - 4], 2
xor ecx, ecx
jne 0x404ca8
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x440]
push edx
mov ecx, dword [ebp - 0x276c]
call fcn.004056b0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x275c], eax
mov dword [ebp - 0x440], 0
cmp dword [ebp - 0x20], 0
jge 0x404d23
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x45c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.004052e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004052e0
mov eax, dword [ebp - 0x45c]
jmp 0x405236
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.004052e0
jmp 0x4051b5
cmp dword [ebp + 0x14], 0
jne 0x404dfb
cmp dword [ebp - 0x10], 0
je 0x404dfb
mov dword [ebp - 0x444], 0
mov byte [ebp - 4], 3
push 0x20006
push 0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x444]
call fcn.004053b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x404dc9
xor eax, eax
jne 0x404d7d
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x404dc7
cmp dword [ebp - 0x18], 2
je 0x404dc7
mov eax, dword [ebp - 0x18]
push eax
call fcn.00405260
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.004052e0
jmp 0x405218
jmp 0x404dec
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00405260
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.004052e0
jmp 0x405218
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.004052e0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x276c]
call fcn.00405fc0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404e18
jmp 0x405218
jmp 0x404982
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.00405660
add esp, 8
test eax, eax
je 0x404e53
mov dword [ebp - 0x460], 0x80020009
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004052e0
mov eax, dword [ebp - 0x460]
jmp 0x405236
cmp dword [ebp + 0x10], 0
je 0x404f3b
push 0x2001f
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.004053b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x404eeb
push 0x20019
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004053b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x404eeb
push 0
push 0
push 0x2001f
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405320
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x404eeb
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00405260
add esp, 4
mov dword [ebp - 0x464], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004052e0
mov eax, dword [ebp - 0x464]
jmp 0x405236
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404f08
jmp 0x405218
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x3d
jne 0x404f36
mov edx, dword [ebp + 8]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x276c]
call fcn.004056b0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404f36
jmp 0x405218
jmp 0x4051b5
cmp dword [ebp + 0x14], 0
jne 0x404f5b
push 0x20019
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x14]
call fcn.004053b0
mov dword [ebp - 0x18], eax
jmp 0x404f62
mov dword [ebp - 0x18], 2
cmp dword [ebp - 0x18], 0
je 0x404f6f
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0x104
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004674ab
add esp, 0x10
push eax
call fcn.004036b0
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404faf
jmp 0x405218
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x276c]
call fcn.00405fc0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x404fcc
jmp 0x405218
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
cmp edx, 0x7b
jne 0x405032
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x405032
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x276c]
call fcn.004048f0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x405015
cmp dword [ebp + 0x14], 0
jne 0x405015
jmp 0x405218
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x405032
jmp 0x405218
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x14], eax
cmp dword [ebp - 0x18], 2
jne 0x405043
jmp 0x404982
cmp dword [ebp - 0x18], 0
je 0x40506a
cmp dword [ebp + 0x14], 0
je 0x405056
jmp 0x404982
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00405260
add esp, 4
mov dword [ebp - 0x20], eax
jmp 0x405218
cmp dword [ebp + 0x14], 0
je 0x4050bf
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2760], edx
mov eax, dword [ebp - 0x2760]
push eax
mov ecx, dword [ebp - 0x276c]
call fcn.00405f70
test eax, eax
je 0x4050bf
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x276c]
call fcn.00405f20
test eax, eax
je 0x4050ba
cmp dword [ebp - 0x10], 0
je 0x4050ba
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00405420
jmp 0x404982
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2764], eax
mov ecx, dword [ebp - 0x2764]
push ecx
mov ecx, dword [ebp - 0x276c]
call fcn.00405f70
mov dword [ebp - 0x448], eax
lea ecx, [ebp - 0x14]
call fcn.004052e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40511d
mov edx, dword [ebp - 0x18]
push edx
call fcn.00405260
add esp, 4
mov dword [ebp - 0x468], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004052e0
mov eax, dword [ebp - 0x468]
jmp 0x405236
cmp dword [ebp - 0x10], 0
je 0x4051b5
cmp dword [ebp - 0x448], 0
jne 0x4051b5
mov dword [ebp - 0x44c], 0
mov byte [ebp - 4], 4
xor eax, eax
jne 0x405142
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44c], ecx
xor edx, edx
jne 0x40514f
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x44c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x2768], edx
mov dword [ebp - 0x44c], 0
cmp dword [ebp - 0x18], 0
je 0x4051a6
mov eax, dword [ebp - 0x18]
push eax
call fcn.00405260
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44c]
call fcn.004052e0
jmp 0x405218
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44c]
call fcn.004052e0
cmp dword [ebp + 0x10], 0
je 0x405213
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
cmp edx, 0x7b
jne 0x405213
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x405213
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x276c]
call fcn.004048f0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x4051f9
jmp 0x405218
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x276c]
call fcn.00403f00
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x405213
jmp 0x405218
jmp 0x404982
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x46c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004052e0
mov eax, dword [ebp - 0x46c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00466b32
mov esp, ebp
pop ebp
ret 0x10