Function at 0x428200
Capabilities:
Check mutex on windows
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5347a2
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
mov eax, dword [0x58dd4c]
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 - 0x440], ebx
push 0x584464
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x428264
push 0x5844d4
call fcn.00426e00
add esp, 4
jmp 0x4286ad
push 0x208
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.00510f30
push 0
lea eax, [ebp - 0x430]
push eax
push 0
push 0
push ebx
call fcn.00517bc7
add esp, 0x20
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x17], 0
mov edx, 0xc
movq qword [ebp - 0x1f], xmm0
lea ecx, [ebp - 0x20]
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
call fcn.00428990
lea eax, [ebp - 0x5d8]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x5dc], eax
lea ecx, [ebp - 0x5dc]
push 3
lea eax, [ebp - 0x20]
push eax
call fcn.00423540
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
push dword [ebp - 0x5dc]
call fcn.00424890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5d8]
mov eax, dword [ebp - 0x5dc]
cmp eax, ecx
je 0x428313
push eax
call fcn.00512967
add esp, 4
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.00510f30
add esp, 0xc
lea eax, [ebp - 0x228]
push 1
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00424370
mov ecx, eax
test ecx, ecx
jne 0x428351
push 0x80004005
call fcn.00425150
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x430]
push dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x434]
push str._s_s__s.exe
push eax
call fcn.00423bb0
add esp, 0x14
call fcn.00424370
mov ecx, eax
test ecx, ecx
jne 0x4283a0
push 0x80004005
call fcn.00425150
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x43c]
push str._sxxserver.db
push eax
call fcn.00423bb0
mov edi, dword [ebp - 0x43c]
mov ebx, 1
mov ecx, ebx
add esp, 0xc
sub ecx, dword [edi - 4]
mov eax, dword [edi - 8]
or eax, ecx
jge 0x4283f7
push 0
lea ecx, [ebp - 0x43c]
call fcn.004251b0
mov edi, dword [ebp - 0x43c]
mov edx, dword [0x596710]
mov ecx, ebx
sub ecx, dword [edx - 4]
mov eax, dword [edx - 8]
or eax, ecx
jge 0x42841b
push 0
mov ecx, 0x596710
call fcn.004251b0
mov edx, dword [0x596710]
push edi
push edx
push 0x583c34
push str.main
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, dword [ebp - 0x434]
mov ecx, ebx
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x428452
push 0
lea ecx, [ebp - 0x434]
call fcn.004251b0
mov esi, dword [ebp - 0x434]
push 0
push esi
push dword [ebp - 0x440]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x42848b
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x428484
push 0
lea ecx, [ebp - 0x434]
call fcn.004251b0
mov esi, dword [ebp - 0x434]
mov ecx, esi
call fcn.00428af0
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x4284aa
push 0
lea ecx, [ebp - 0x434]
call fcn.004251b0
mov esi, dword [ebp - 0x434]
push ecx
mov ecx, esi
call fcn.00428d80
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
test al, al
je 0x4285a9
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x440], esp
jb 0x4284e0
mov eax, dword [ecx]
jmp 0x4284e2
mov eax, ecx
push 0
push 0x583fb0
mov byte [eax], 0
call fcn.00424ed0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x428512
mov eax, dword [ecx]
jmp 0x428514
mov eax, ecx
push 4
push str.inst
mov byte [eax], 0
call fcn.00424ed0
mov edx, 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4d8]
call fcn.00420ed0
add esp, 0x30
lea ecx, [ebp - 0x45c]
call fcn.00424950
lea ecx, [ebp - 0x474]
call fcn.00424950
lea ecx, [ebp - 0x48c]
call fcn.00424950
lea ecx, [ebp - 0x4a4]
call fcn.00424950
lea ecx, [ebp - 0x4bc]
call fcn.00424950
lea ecx, [ebp - 0x4d4]
call fcn.00424950
mov ecx, dword [ebp - 0x438]
sub ebx, dword [ecx - 4]
mov eax, dword [ecx - 8]
or eax, ebx
jge 0x42859f
push 0
lea ecx, [ebp - 0x438]
call fcn.004251b0
mov ecx, dword [ebp - 0x438]
call fcn.00426bb0
jmp 0x428652
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x444], esp
jb 0x4285b9
mov eax, dword [ecx]
jmp 0x4285bb
mov eax, ecx
push 0
push 0x583fb0
mov byte [eax], 0
call fcn.00424ed0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4285eb
mov eax, dword [ecx]
jmp 0x4285ed
mov eax, ecx
push 4
push str.inst
mov byte [eax], 0
call fcn.00424ed0
xor edx, edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4d8]
call fcn.00420ed0
add esp, 0x30
lea ecx, [ebp - 0x45c]
call fcn.00424950
lea ecx, [ebp - 0x474]
call fcn.00424950
lea ecx, [ebp - 0x48c]
call fcn.00424950
lea ecx, [ebp - 0x4a4]
call fcn.00424950
lea ecx, [ebp - 0x4bc]
call fcn.00424950
lea ecx, [ebp - 0x4d4]
call fcn.00424950
lea edx, [edi - 0x10]
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428670
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42868b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x438]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4286ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0050e1f3
mov esp, ebp
pop ebp
ret