Function at 0x4014d3
Capabilities:
Delete directory
Delete file
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2460
call fcn.00401f50
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
push edi
je 0x401b61
cmp word [ebx], si
je 0x401b61
lea eax, [ebp - 0x628]
push 0x404770
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x628]
push 0x4045ec
push eax
call edi
lea eax, [ebp - 0x628]
push ebx
push eax
call edi
lea eax, [ebp - 0x628]
push 0x2001f
push eax
push 0x80000002
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.00401eee
test eax, eax
je 0x401554
lea eax, [ebp - 0x628]
push 0x10
push eax
jmp 0x4015aa
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x404760
mov dword [ebp - 0xc], 0x208
push dword [ebp - 4]
call ebx
cmp eax, esi
jne 0x4015a3
cmp dword [ebp - 8], 1
jne 0x4015a3
xor eax, eax
cmp eax, esi
je 0x4015cc
push 0x10
push 0x404078
push dword [0x404810]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 4], esi
je 0x4015c5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x401cbb
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa36]
mov word [ebp - 0xa38], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x40474c
xor edi, edi
push dword [ebp - 4]
call ebx
cmp eax, esi
jne 0x401667
cmp dword [ebp - 8], 1
jne 0x401667
mov edi, dword [ebp - 0xc]
xor eax, eax
shr edi, 1
cmp eax, esi
jne 0x401667
cmp edi, esi
je 0x401667
mov ecx, 0x108
lea edi, [ebp - 0x1882]
mov word [ebp - 0x1884], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1884]
push 0x4045fc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x1884]
push 0xa
push eax
call fcn.00401cc0
add esp, 0x18
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xe46]
mov word [ebp - 0xe48], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x404738
push dword [ebp - 4]
call ebx
cmp dword [ebp - 4], esi
je 0x4016b1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
push 0x2001f
push 0x404770
push 0x80000002
lea ecx, [ebp - 4]
call fcn.00401eee
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4016eb
push dword [ebp + 8]
push dword [ebp - 4]
call ebx
cmp dword [ebp - 4], esi
je 0x4016eb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa38]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov edi, eax
pop ecx
cmp edi, esi
pop ecx
je 0x40174e
push 0x2001f
push 0x4046d0
push 0x80000002
lea ecx, [ebp - 4]
mov word [edi], si
call fcn.00401eee
test eax, eax
jne 0x40174e
add edi, 2
push edi
push dword [ebp - 4]
call ebx
cmp dword [ebp - 4], esi
je 0x40174e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
mov ebx, 0x4046c0
lea eax, [ebp - 0x218]
push ebx
push dword [0x4048a4]
push esi
push eax
call fcn.00401330
add esp, 0x10
test eax, eax
je 0x40177b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea eax, [ebp - 0x218]
push dword [0x4048a4]
push 2
push eax
call fcn.00401330
add esp, 0x10
test eax, eax
je 0x4017a4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4046b4
lea eax, [ebp - 0x218]
push dword [0x4048b0]
push esi
push eax
call fcn.00401330
add esp, 0x10
test eax, eax
je 0x4017d0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x15
mov esi, 0x404660
pop ecx
lea edi, [ebp - 0x420]
rep movsd dword es:[edi], dword [esi]
push 0x6d
xor eax, eax
pop ecx
lea edi, [ebp - 0x3cc]
push dword [0x4048a4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x420]
push ebx
push eax
lea eax, [ebp - 0x218]
push 0x1a
push eax
call fcn.00401330
add esp, 0x10
test eax, eax
je 0x40182a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and word [ebp - 0xc40], 0
mov edx, 0x81
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0xc3e]
and word [ebp - 0x1460], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x145e]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x4000000
lea eax, [ebp - 0xc40]
push esi
push eax
push dword [0x4048a4]
call edi
pop ecx
inc eax
push eax
push dword [0x4048a4]
call fcn.00401120
lea eax, [ebp - 0xc40]
push ebx
push eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00401330
add esp, 0x24
test eax, eax
je 0x4018b3
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc40]
push ebx
push eax
lea eax, [ebp - 0x218]
push 2
push eax
call fcn.00401330
add esp, 0x10
test eax, eax
je 0x4018dd
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4000000
lea eax, [ebp - 0x1460]
push esi
push eax
push dword [0x4048b4]
call edi
pop ecx
inc eax
push eax
push dword [0x4048b4]
call fcn.00401120
lea eax, [ebp - 0x1460]
push 0x4046b4
push eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00401330
add esp, 0x24
test eax, eax
je 0x40192e
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x15
mov esi, 0x404660
pop ecx
lea edi, [ebp - 0x1050]
rep movsd dword es:[edi], dword [esi]
push 0x6d
xor eax, eax
pop ecx
lea edi, [ebp - 0xffc]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x1050]
push eax
call edi
lea eax, [ebp - 0x1050]
push ebx
push eax
lea eax, [ebp - 0x218]
push 0x1a
push eax
call fcn.00401330
add esp, 0x10
test eax, eax
je 0x40198b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push 0x4045ec
push eax
call edi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x420]
xor ebx, ebx
mov dword [ebp + 8], eax
push dword [ebx + 0x404298]
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x420]
push eax
call fcn.0040117e
add ebx, 4
pop ecx
cmp ebx, 0x28
jb 0x4019c8
xor ebx, ebx
push dword [ebx + 0x404280]
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x420]
push eax
call fcn.00401241
add ebx, 4
pop ecx
cmp ebx, 0x18
jb 0x4019ea
push dword [0x4048a4]
lea eax, [ebp - 0x2460]
push dword [0x4048a8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x2460]
xor ebx, ebx
push 0x24
push 0x404078
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x401a71
push 0x404650
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x420]
push eax
call fcn.00401241
mov dword [esp], 0x404644
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x420]
push eax
call fcn.00401241
pop ecx
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp word [ebp - 0xe48], bx
je 0x401b4b
lea eax, [ebp - 0x628]
push 0x404770
push eax
call esi
lea eax, [ebp - 0x628]
push 0x4045ec
push eax
call edi
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0x628]
push eax
call edi
lea eax, [ebp - 0x628]
push 0x2001f
push eax
push 0x80000002
lea ecx, [ebp - 4]
call fcn.00401eee
test eax, eax
jne 0x401b4b
mov ecx, 0x81
lea edi, [ebp - 0x82e]
mov word [ebp - 0x830], bx
mov dword [ebp + 8], 0x208
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 8]
xor esi, esi
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x404624
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x401b3a
cmp dword [ebp - 8], 1
jne 0x401b3a
mov esi, dword [ebp + 8]
xor eax, eax
shr esi, 1
cmp eax, ebx
jne 0x401b3a
cmp esi, ebx
je 0x401b3a
lea eax, [ebp - 0x830]
push 0xa
push eax
call fcn.00401cc0
pop ecx
pop ecx
cmp dword [ebp - 4], ebx
je 0x401b59
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x401b59
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x401cbb
mov edi, dword [0x404074]
lea eax, [ebp - 0x1258]
push 0x404770
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x1258]
push 0x4045ec
push eax
call ebx
lea eax, [ebp - 0x1258]
push edi
push eax
call ebx
lea eax, [ebp - 0x1258]
push 0x2001f
push eax
push 0x80000002
lea ecx, [ebp + 8]
mov dword [ebp + 8], esi
call fcn.00401eee
test eax, eax
je 0x401bdf
push 0x10
push 0x404078
push dword [0x404810]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp + 8], esi
je 0x4015c5
push dword [ebp + 8]
jmp 0x4015bf
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x82e]
mov word [ebp - 0x830], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x40460c
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
mov edi, 0x404078
jne 0x401c8c
cmp dword [ebp - 0xc], 1
jne 0x401c8c
xor eax, eax
cmp eax, esi
jne 0x401c8c
lea eax, [ebp - 0x830]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [0x404808]
push edi
call ebx
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x1c60]
push dword [0x404814]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x1c60]
push 0x34
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x401c8c
cmp dword [ebp + 8], esi
je 0x401b59
push dword [ebp + 8]
jmp 0x401b53
push dword [ebp - 0x10]
call fcn.0040136d
mov ebx, eax
pop ecx
cmp ebx, esi
jne 0x401cab
push 0x10
push edi
push dword [0x404810]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp + 8], esi
je 0x401cb9
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret