Function at 0x520430
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6b8c
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x268], ebx
xor eax, eax
push eax
push ebx
push 0x104
push 0x73
mov word [ebx], ax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x5206bd
lea eax, [ebp - 0x24c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edi, [ebp - 0x24c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x5204a0
mov ecx, 0xa
lea eax, [ebp - 0x24c]
mov esi, str.Aeroadmin_black.bmp
rep movsd dword es:[edi], dword [esi]
push 0x5f3754
push eax
movsw word es:[edi], word [esi]
call fcn.0059a65c
mov esi, eax
add esp, 8
test esi, esi
je 0x5206bd
push esi
push 0x3a
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x3a4d42
push 1
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x360000
mov dword [ebp - 0x40], 0x280000
mov dword [ebp - 0x3c], 0x10000
mov dword [ebp - 0x38], 0x10000
mov dword [ebp - 0x34], 0x10000
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], 0x40000
mov dword [ebp - 0x28], 0xb130000
mov dword [ebp - 0x24], 0xb130000
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
call fcn.00599289
push esi
call fcn.005995d3
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x24c]
add esp, 0x14
push 2
push eax
push 0
push 0x14
call esi
sub esp, 8
lea ecx, [ebp - 0x320]
test eax, eax
je 0x520628
call fcn.00443510
mov edx, str.Wallpapers_have_been_removed_successfully
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x310]
call fcn.00449a40
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x320]
call fcn.004433d0
push 0x40
mov edx, str.videocodec.cpp
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.004c2da0
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x250]
cmp edx, 0x10
jb 0x5205fe
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5205f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5207c8
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x320]
mov dword [ebp - 4], 0xffffffff
call fcn.0043aef0
push 0
push 0
push 0x1a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x5206c3
call fcn.00443510
mov edx, str.Cant_remove_wallpapers
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x310]
call fcn.00449a40
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x320]
call fcn.004433d0
push 0x43
mov edx, str.videocodec.cpp
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004c2da0
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x250]
cmp edx, 0x10
jb 0x5206a9
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52069f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5207cd
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x320]
mov dword [ebp - 4], 0xffffffff
call fcn.0043aef0
jmp 0x5206c3
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
lea eax, [ebx + 0x208]
mov dword [eax], 8
push eax
push 8
push 0x48
call esi
test eax, eax
je 0x520708
cmp dword [ebx + 0x20c], 0
je 0x520708
push 2
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 8
push eax
push 0
push 0x49
mov dword [ebp - 0x26c], 0
call esi
push 0
mov dword [ebx + 0x210], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 0x76
push ebx
call esi
push 8
push ebx
mov edi, eax
call esi
push ebx
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, edi
jne 0x5207a4
push 0x5f2328
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x5207a4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DwmIsCompositionEnabled
push edi
call esi
push str.DwmEnableComposition
push edi
mov ebx, eax
call esi
mov esi, dword [ebp - 0x268]
mov dword [esi + 0x210], eax
test ebx, ebx
je 0x5207aa
test eax, eax
je 0x5207aa
lea eax, [ebp - 0x268]
push eax
call ebx
cmp dword [ebp - 0x268], 0
je 0x520798
mov eax, dword [esi + 0x210]
push 0
call eax
jmp 0x5207aa
mov dword [esi + 0x210], 0
jmp 0x5207aa
mov esi, dword [ebp - 0x268]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
call fcn.00591dc6
int3