Function at 0x43fff0
Capabilities:
Change the wallpaper
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a8176
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54c
mov eax, dword [str._none_]
mov cx, word [0x4c0290]
mov dl, byte [0x4c0292]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x120], eax
mov word [esp + 0x124], cx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x127]
mov byte [esp + 0x126], dl
mov ebx, 1
rep stosd dword es:[edi], eax
push 0x7f02
push 0
mov dword [esp + 0x20], ebx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esp + 0x56c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x570]
push 0x1f4
push str.Set_wallpaper
push eax
push ecx
call fcn.0043ff40
mov esi, eax
mov eax, dword [esp + 0x588]
add esp, 0x10
test eax, eax
je 0x440652
push eax
lea ecx, [esp + 0x5c]
call fcn.00443dd0
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x402
push 0x82
push esi
mov dword [esp + 0x578], 0
call edi
push 0x27100000
push 0
push 0x401
push 0x82
push esi
call edi
mov eax, dword [0x4c0158]
mov cx, word [0x4c015c]
mov edx, dword [str.Decoding]
mov dword [esp + 0x334], eax
mov word [esp + 0x338], cx
mov ecx, 0x46
xor eax, eax
lea edi, [esp + 0x33a]
mov dword [esp + 0x330], edx
lea edx, [esp + 0x330]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call edi
mov ecx, 0x122
lea edx, [esp + 0x330]
sub ecx, eax
push ecx
push edx
call edi
lea eax, [esp + eax + 0x334]
lea ecx, [esp + 0x5c]
push eax
call fcn.00445190
push eax
call sub.comdlg32.dll_GetFileTitleA
lea ecx, [esp + 0x330]
push ecx
push 0x71
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea ecx, [esp + 0xb4]
call fcn.00443d90
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push ebx
mov dword [esp + 0xb8], eax
call edi
mov ebp, dword [esp + 0x588]
mov dword [esp + 0xb8], eax
test ebp, ebp
je 0x4401e3
mov edx, dword [ebp + 8]
mov edi, dword [ebp]
sub edx, edi
lea ecx, [esp + 0x58]
inc edx
push edx
push 0xffffffffffffffff
call fcn.00444cb0
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
mov eax, dword [esp + 0xbc]
push eax
call edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xb4], eax
sub ecx, dword [ebp + 4]
inc ecx
push ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x60]
call fcn.00444d30
mov edx, dword [esp + 0xb8]
push eax
push edx
call edi
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x584]
mov eax, dword [esp + 0x580]
lea edx, [esp + 0xb4]
mov dword [esp + 0xc8], ecx
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0xc0], 4
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], ebx
call fcn.00444320
lea ecx, [esp + 0x58]
call fcn.004450c0
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x44032c
mov eax, dword [0x4cb0dc]
test eax, eax
jne 0x44032c
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
call fcn.00444d30
mov ecx, eax
mov eax, 0x51eb851f
add ecx, 0x32
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jge 0x44027a
mov edx, 1
jmp 0x44029b
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
call fcn.00444d30
mov ecx, eax
mov eax, 0x51eb851f
add ecx, 0x32
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push 0
push 0
push edx
lea ecx, [esp + 0x64]
call fcn.00444730
test eax, eax
je 0x44032c
push 0
lea ecx, [esp + 0x5c]
call fcn.004451e0
push eax
push 0x402
push 0x82
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x48]
push esi
push edx
call ebx
test eax, eax
je 0x440314
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x440302
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x48]
push esi
push eax
call ebx
test eax, eax
jne 0x4402dc
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x58]
call fcn.004450c0
test eax, eax
je 0x440240
lea ecx, [esp + 0x58]
call fcn.004450c0
test eax, eax
jne 0x440381
mov eax, dword [0x4cb0dc]
test eax, eax
jne 0x44035f
mov ecx, dword [esp + 0x574]
mov edx, dword [esp + 0x570]
push 0
push ecx
push str.Could_not_read_image.
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [esp + 0x58]
mov dword [esp + 0x564], 0xffffffff
call fcn.00443ff0
xor eax, eax
jmp 0x44091e
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
call fcn.00444fc0
test ebp, ebp
mov edi, eax
je 0x440459
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
call fcn.00444db0
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x60]
call fcn.00444cb0
push eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
mov dword [ebp], eax
call fcn.00444e10
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x60]
call fcn.00444d30
mov ecx, dword [ebp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
mov dword [ebp + 4], eax
call fcn.00444db0
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x60]
call fcn.00444cb0
mov edx, dword [ebp + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
mov dword [ebp + 8], eax
call fcn.00444e10
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x60]
call fcn.00444d30
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [ebp + 0xc], eax
sub eax, ecx
inc eax
push eax
mov eax, dword [ebp + 8]
sub eax, edx
inc eax
push eax
push ecx
push edx
push edi
call fcn.0043c650
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x440459
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
call fcn.00444fc0
mov edi, eax
lea ecx, [esp + 0x454]
push 0x105
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x4c0260
lea edx, [esp + 0x22c]
push str._s_Wallpaper.bmp
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x228]
lea ecx, [esp + 0x454]
lea edx, [esp + 0x120]
push eax
push ecx
push edx
call fcn.0043c6e0
add esp, 0xc
push str.Writing_BMP
push 0x71
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ebp, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x402
push 0x82
push esi
call ebp
lea ecx, [esp + 0xec]
mov dword [esp + 0x18], 0
call fcn.0044cf70
lea eax, [esp + 0x120]
lea ecx, [esp + 0xec]
push eax
mov byte [esp + 0x568], 1
call fcn.0044cb70
push edi
lea ecx, [esp + 0xf0]
call fcn.0044ccb0
lea ecx, [esp + 0xec]
call fcn.0044cde0
test eax, eax
mov edi, 0x2710
jl 0x440628
cmp dword [esp + 0x110], edi
jge 0x440610
mov eax, dword [0x4cb0dc]
test eax, eax
jne 0x440610
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
call fcn.00444d30
mov ecx, eax
mov eax, 0x51eb851f
add ecx, 0x32
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
jge 0x440569
mov edx, 1
jmp 0x44058a
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
call fcn.00444d30
mov ecx, eax
mov eax, 0x51eb851f
add ecx, 0x32
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
lea ecx, [esp + 0xf0]
call fcn.0044ce00
test eax, eax
jl 0x440610
mov ecx, dword [esp + 0x110]
push 0
push ecx
push 0x402
push 0x82
push esi
call ebp
push 1
push 0
push 0
lea edx, [esp + 0x48]
push esi
push edx
call ebx
test eax, eax
je 0x4405fc
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x4405ea
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea eax, [esp + 0x48]
push esi
push eax
call ebx
test eax, eax
jne 0x4405c4
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esp + 0x110], edi
jl 0x44052f
lea ecx, [esp + 0xec]
call fcn.0044ce10
test eax, eax
jl 0x440628
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xec]
mov byte [esp + 0x564], 0
call fcn.0044cb40
lea ecx, [esp + 0x58]
mov dword [esp + 0x564], 0xffffffff
call fcn.00443ff0
jmp 0x440657
mov edi, 0x2710
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4408eb
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 2
push esi
call ebp
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push str.Setting_Wallpaper
push 0x71
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push 0
push 0x402
push 0x82
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea ecx, [esp + 0x10]
push ecx
push str.Control_Paneldesktop
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4408a3
mov al, byte [0x4caf4c]
xor edx, edx
mov dword [esp + 0x21], edx
xor ecx, ecx
mov dword [esp + 0x25], edx
mov dword [esp + 0x2d], ecx
mov byte [esp + 0x29], dl
mov edx, dword [esp + 0x57c]
mov dword [esp + 0x31], ecx
mov byte [esp + 0x2c], al
mov byte [esp + 0x228], al
mov byte [esp + 0x35], cl
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x229]
mov byte [esp + 0x21], al
test edx, edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x578]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
setne dl
add edx, 0x30
test eax, eax
mov byte [esp + 0x20], dl
je 0x4407f4
lea eax, [esp + 0x14]
lea ecx, [esp + 0x228]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push str.Wallpaper
push eax
mov dword [esp + 0x2c], 0x105
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push str.TileWallpaper
push ecx
mov dword [esp + 0x2c], 0xa
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x120]
lea eax, [esp + 0x228]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x440849
lea ecx, [esp + 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
lea edx, [esp + 0x228]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push str.PrevWallpaper
push eax
call edi
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
lea edx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push str.PrevTileWallpaper
push eax
call edi
jmp 0x440849
lea ecx, [esp + 0x14]
lea edx, [esp + 0x120]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push str.PrevWallpaper
push ecx
mov dword [esp + 0x2c], 0x105
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.PrevTileWallpaper
push edx
mov dword [esp + 0x2c], 0xa
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [esp + 0x120]
push eax
push ecx
push 1
push 0
push str.Wallpaper
push edx
call edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [esp + 0x20]
push eax
push ecx
push 1
push 0
push str.TileWallpaper
push edx
call edi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x2710
lea ecx, [esp + 0x120]
push 3
push ecx
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
push edi
push 0x402
push 0x82
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 1
push 2
push esi
call ebp
push eax
call ebx
jmp 0x440908
mov edx, dword [esp + 0x574]
mov eax, dword [esp + 0x570]
push 0
push edx
push str.Could_not_write_bitmap.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x55c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x558
ret