Function at 0x414070
Capabilities:
Check if file exists
Copy file
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d2ad
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x870], 0
mov dword [ebp - 0x86c], 7
mov word [ebp - 0x880], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], 7
mov word [ebp - 0x850], ax
xor edi, edi
mov dword [ebp - 0x85c], edi
mov dword [ebp - 0x858], edi
mov dword [ebp - 0x854], edi
push 1
push str.Control_PanelDesktop
push SysReAllocString
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 2
call fcn.00409fd0
mov esi, dword [ebp - 0x85c]
test eax, eax
jne 0x4141bc
push 0x61a
lea eax, [ebp - 0x838]
push edi
push eax
call fcn.00424870
add esp, 0xc
mov dword [ebp - 0x88c], 0x618
lea eax, [ebp - 0x88c]
push eax
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x888]
push eax
push edi
push 0x4764f4
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4141bc
mov eax, dword [ebp - 0x888]
cmp eax, 1
je 0x414166
cmp eax, 2
jne 0x4141bc
mov eax, dword [ebp - 0x88c]
test eax, eax
je 0x414183
test al, 1
jne 0x4141bc
shr eax, 1
cmp word [ebp + eax*2 - 0x83a], 0
je 0x41418c
jmp 0x4141bc
xor eax, eax
mov word [ebp - 0x838], ax
lea ecx, [ebp - 0x838]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414195
sub ecx, edx
lea eax, [ebp - 0x838]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x850]
call fcn.00407590
mov edi, 1
mov byte [ebp - 4], 1
test esi, esi
je 0x4141cb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4143c6
cmp dword [ebp - 0x83c], 8
lea eax, [ebp - 0x850]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x850]
push eax
call edi
test eax, eax
je 0x4143c6
lea ecx, [ebp - 0x868]
call fcn.0041b3f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x850]
cmp dword [ebp - 0x83c], 8
lea ecx, [ebp - 0x888]
cmovae eax, dword [ebp - 0x850]
push eax
call fcn.004092a0
lea ecx, [ebp - 0x888]
mov byte [ebp - 4], 4
call fcn.00414d20
cmp dword [ebp - 0x854], 8
lea eax, [ebp - 0x868]
lea ecx, [ebp - 0x88c]
cmovae eax, dword [ebp - 0x868]
push eax
call fcn.004092a0
lea ecx, [ebp - 0x88c]
mov byte [ebp - 4], 5
call fcn.00414d20
mov eax, dword [ebp - 0x88c]
or esi, 0xffffffff
test eax, eax
je 0x414350
mov ecx, dword [ebp - 0x888]
cmp dword [ecx - 0xc], 0
jl 0x414350
push eax
push ecx
call fcn.00423c86
add esp, 8
test eax, eax
je 0x41434a
sub eax, dword [ebp - 0x888]
sar eax, 1
js 0x41434a
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x884]
call fcn.004092a0
push 0x19
push str.MicrosoftWindowsThemes
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 6
call fcn.00409c30
push dword [ebp - 0x884]
call edi
test eax, eax
je 0x414329
push 0xb
push str.DeskGo.jpg
lea ecx, [ebp - 0x884]
call fcn.00409c30
push 0
push dword [ebp - 0x884]
push dword [ebp - 0x888]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x414329
push 1
push dword [ebp - 0x884]
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov byte [ebp - 4], 5
mov eax, esi
mov edx, dword [ebp - 0x884]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41434a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x88c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 4
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41436b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x888]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41438a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x4143c6
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4143bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41441d
push edx
push ecx
call fcn.0042297a
add esp, 8
mov edx, dword [ebp - 0x83c]
cmp edx, 8
jb 0x414402
mov ecx, dword [ebp - 0x850]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4143f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414422
push edx
push ecx
call fcn.0042297a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
call fcn.004309e5
call fcn.004309e5
int3