Function at 0x18812328
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Move file
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12dc
call fcn.18827b70
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0xc78], ax
xor ebx, ebx
lea eax, [ebp - 0xc76]
push ebx
push eax
call fcn.18819090
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x868], ax
lea eax, [ebp - 0x866]
push ebx
push eax
call fcn.18819090
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0xa70], ax
lea eax, [ebp - 0xa6e]
push ebx
push eax
call fcn.18819090
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x660], ax
lea eax, [ebp - 0x65e]
push ebx
push eax
call fcn.18819090
add esp, 0xc
cmp byte [ebp + 0x14], bl
je 0x1881262f
lea eax, [ebp - 4]
push eax
push 1
push ebx
push str.SoftwareRealtime_SoftUltraMonShortcuts
push 0x80000001
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edi, [esi + 2]
test eax, eax
jne 0x18812416
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc78]
push eax
push ebx
push ebx
push str.Profile_Directory
push dword [ebp - 4]
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x868]
push eax
push ebx
push ebx
push str.Shortcut_Directory
push dword [ebp - 4]
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 1
push ebx
push str.SoftwareRealtime_SoftUltraMonWallpaper
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18812458
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa70]
push eax
push ebx
push ebx
push str.Wallpaper_Directory
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 1
push ebx
push str.SoftwareRealtime_SoftUltraMonWallpaper
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1881249f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x660]
push eax
push ebx
push ebx
push str.All_Users_Wallpaper_Directory
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1881258d
xor eax, eax
push esi
mov word [ebp - 0x458], ax
lea eax, [ebp - 0x456]
push ebx
push eax
call fcn.18819090
add esp, 0xc
push ebx
push 0x2e
lea eax, [ebp - 0x458]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x458], bx
je 0x1881258d
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x45a], 0x5c
je 0x18812503
push 0x18833484
mov eax, edi
lea ebx, [ebp - 0x458]
call fcn.188014dd
xor ebx, ebx
mov dword [ebp - 0x1c], str.Shared_Wallpapers
mov dword [ebp - 0x18], str.Gemeinsame_Desktophintergr
mov dword [ebp - 0x14], str.qQ_tg
mov dword [ebp - 8], ebx
xor eax, eax
push esi
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x24e]
push ebx
push eax
call fcn.18819090
add esp, 0xc
lea eax, [ebp - 0x458]
push eax
mov eax, edi
lea ecx, [ebp - 0x250]
call fcn.188014a8
mov eax, dword [ebp - 8]
push dword [ebp + eax*4 - 0x1c]
mov eax, edi
lea ebx, [ebp - 0x250]
call fcn.188014dd
mov eax, ebx
push eax
call fcn.1880b48d
pop ecx
test al, al
jne 0x18812577
inc dword [ebp - 8]
xor ebx, ebx
cmp dword [ebp - 8], 3
jb 0x1881251b
jmp 0x1881258d
lea eax, [ebp - 0x250]
push eax
mov eax, edi
lea ecx, [ebp - 0x660]
call fcn.188014a8
xor ebx, ebx
lea eax, [ebp - 0xc78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp - 0xc78], bx
je 0x188125b5
lea eax, [ebp + eax*2 - 0xc7a]
cmp word [eax], 0x5c
jne 0x188125b5
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x868]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp - 0x868], bx
je 0x188125dd
lea eax, [ebp + eax*2 - 0x86a]
cmp word [eax], 0x5c
jne 0x188125dd
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xa70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp - 0xa70], bx
je 0x18812605
lea eax, [ebp + eax*2 - 0xa72]
cmp word [eax], 0x5c
jne 0x18812605
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp - 0x660], bx
je 0x18812634
lea eax, [ebp + eax*2 - 0x662]
cmp word [eax], 0x5c
jne 0x18812634
xor ecx, ecx
mov word [eax], cx
jmp 0x18812634
mov edi, 0x208
xor eax, eax
push esi
mov word [ebp - 0x10d0], ax
lea eax, [ebp - 0x10ce]
push ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
call fcn.18819090
add esp, 0xc
push dword [ebp + 8]
mov eax, edi
lea ecx, [ebp - 0x10d0]
call fcn.188014a8
lea eax, [ebp - 0x10d0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x10d2], 0x5c
je 0x18812695
push 0x18833484
mov eax, edi
lea ebx, [ebp - 0x10d0]
call fcn.188014dd
push 0x18833944
mov eax, edi
lea ebx, [ebp - 0x10d0]
call fcn.188014dd
and dword [ebp - 0xec8], 0
push 0x24c
lea eax, [ebp - 0xec4]
push 0
push eax
call fcn.18819090
add esp, 0xc
lea eax, [ebp - 0xec8]
push eax
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x188128b2
xor eax, eax
push esi
push eax
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x24e]
push eax
call fcn.18819090
add esp, 0xc
push dword [ebp + 8]
mov eax, edi
lea ecx, [ebp - 0x250]
call fcn.188014a8
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x252], 0x5c
je 0x18812734
push 0x18833484
mov eax, edi
lea ebx, [ebp - 0x250]
call fcn.188014dd
lea eax, [ebp - 0xe9c]
push eax
mov eax, edi
lea ebx, [ebp - 0x250]
call fcn.188014dd
push dword [ebp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0xe9c]
push eax
call ebx
test eax, eax
je 0x18812845
push str.Default
lea eax, [ebp - 0xe9c]
push eax
call ebx
test eax, eax
je 0x18812845
lea eax, [ebp - 0xc78]
push eax
lea eax, [ebp - 0x250]
push eax
call ebx
test eax, eax
je 0x18812845
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x250]
push eax
call ebx
test eax, eax
je 0x18812845
lea eax, [ebp - 0xa70]
push eax
lea eax, [ebp - 0x250]
push eax
call ebx
test eax, eax
je 0x18812845
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x250]
push eax
call ebx
test eax, eax
je 0x18812845
push 0x18833948
lea eax, [ebp - 0xe9c]
push eax
call ebx
test eax, eax
je 0x18812845
push 0x1883394c
lea eax, [ebp - 0xe9c]
push eax
call ebx
test eax, eax
je 0x18812845
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + 1]
add dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
add eax, eax
push eax
push dword [ebp - 8]
call fcn.1881b348
pop ecx
pop ecx
test eax, eax
je 0x18812a24
mov edx, dword [ebp - 0x10]
lea ecx, [eax + edx*2]
mov dword [ebp - 8], eax
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x250]
push eax
mov eax, dword [ebp - 4]
sub eax, edx
call fcn.1880b4fd
add dword [ebp - 0x10], ebx
lea eax, [ebp - 0xec8]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x188126e0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 8]
test eax, eax
je 0x188128b2
mov edx, dword [ebp - 4]
xor ecx, ecx
and dword [ebp - 0x44], ecx
mov word [eax + edx*2 - 2], cx
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp - 8]
mov eax, 0x614
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
call fcn.1881b0ff
pop ecx
mov edi, 0x208
xor eax, eax
xor ecx, ecx
push esi
push eax
cmp byte [ebp + 0x14], al
je 0x18812a65
lea eax, [ebp - 0x456]
push eax
mov word [ebp - 0x458], cx
call fcn.18819090
add esp, 0xc
push dword [ebp + 0xc]
mov eax, edi
lea ecx, [ebp - 0x458]
call fcn.188014a8
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x45a], 0x5c
je 0x18812911
push 0x18833484
mov eax, edi
lea ebx, [ebp - 0x458]
call fcn.188014dd
xor eax, eax
push esi
push eax
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x24e]
push eax
call fcn.18819090
add esp, 0xc
lea eax, [ebp - 0x458]
push eax
mov eax, edi
lea ecx, [ebp - 0x250]
call fcn.188014a8
push str.Profiles
mov eax, edi
lea ebx, [ebp - 0x250]
call fcn.188014dd
push 0
push 1
mov eax, ebx
push 0
push eax
lea eax, [ebp - 0xc78]
call fcn.1880b344
add esp, 0x10
lea eax, [ebp - 0x458]
push eax
mov eax, edi
mov ecx, ebx
call fcn.188014a8
push str.Shortcuts
mov eax, edi
call fcn.188014dd
push 0
push 1
mov eax, ebx
push 0
push eax
lea eax, [ebp - 0x868]
call fcn.1880b344
add esp, 0x10
lea eax, [ebp - 0x458]
push eax
mov eax, edi
mov ecx, ebx
call fcn.188014a8
push str.Wallpapers
mov eax, edi
call fcn.188014dd
push 0x204
lea eax, [ebp - 0x12d4]
push 0
push eax
mov dword [ebp - 0x12d8], 0x2a
call fcn.18819090
add esp, 0xc
push str..wallpaper
mov eax, edi
lea ebx, [ebp - 0x12d8]
call fcn.188014dd
xor esi, esi
push esi
push esi
mov eax, ebx
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0xa70]
call fcn.1880b344
push 2
push esi
mov eax, ebx
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x660]
call fcn.1880b344
add esp, 0x20
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp - 8]
call fcn.1881b0ff
and dword [ebp - 0x24], 0
pop ecx
mov dword [ebp - 0x20], str...UMSettings.cpp
mov dword [ebp - 0x1c], 0xa7b
and dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
mov dword [ebp - 0x14], eax
push 0x18836bec
lea eax, [ebp - 0x3c]
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x3c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.1881d33f
lea eax, [ebp - 0x24e]
push eax
mov word [ebp - 0x250], cx
call fcn.18819090
add esp, 0xc
push dword [ebp + 8]
mov eax, edi
lea ecx, [ebp - 0x250]
call fcn.188014a8
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x252], 0x5c
je 0x18812ab5
push 0x18833484
mov eax, edi
lea ebx, [ebp - 0x250]
call fcn.188014dd
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x18812af1
push eax
mov eax, edi
lea ebx, [ebp - 0x250]
call fcn.188014dd
mov eax, ebx
push eax
call fcn.1880b48d
pop ecx
test al, al
je 0x18812af1
push 0
push 1
push 0
push dword [ebp + 0xc]
mov eax, ebx
call fcn.1880b344
add esp, 0x10
jmp 0x18812a1d
push str.Default
mov eax, edi
lea ebx, [ebp - 0x250]
call fcn.188014dd
mov eax, ebx
push eax
call fcn.1880b48d
pop ecx
test al, al
je 0x18812a1d
push dword [ebp + 0xc]
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x18812a1d
and dword [ebp - 0x24], eax
mov dword [ebp - 0x20], str...UMSettings.cpp
mov dword [ebp - 0x1c], 0xad9
jmp 0x18812a3f