Function at 0x4063c0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Read file on windows
Terminate process

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
xor esi, esi
push str.Synchronization
push esi
mov ebx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
jne 0x4063e4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.Share_Memory
push 0x542e
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, esi
mov dword [ebx + 0x49b0], eax
jne 0x40640e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406438
mov eax, dword [ebx + 0x49b0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x49b0], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, dword [ebx + 0x49b0]
push 0x542e
push esi
push esi
push 0xf001f
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
mov dword [ebx + 0x49ac], edi
jne 0x406467
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, 0x150b
xor eax, eax
mov ebp, dword [sym.imp.MSVCRT.dll_calloc]
push 1
rep stosd dword es:[edi], eax
push 0x24
stosw word es:[edi], ax
call ebp
add esp, 8
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x406493
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov dword [eax], 0x542e
mov dword [eax + 4], 0x24
mov dword [eax + 8], 0x108
mov dword [eax + 0xc], 0x12c
mov dword [eax + 0x10], 0x4e20
mov dword [eax + 0x14], 0x4f4c
mov dword [eax + 0x18], 0x4e2
mov dword [eax + 0x1c], 0x542e
mov dword [eax + 0x20], esi
mov edi, dword [ebx + 0x49ac]
mov ecx, 9
mov esi, eax
push 1
push 0x104
rep movsd dword es:[edi], dword [esi]
call ebp
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x406500
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebx + 0x49b8]
push 0x41614c
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
push 0
jne 0x406534
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov edx, dword [ebx + 0x1b94]
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push edx
push esi
call edi
push esi
push 4
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov ecx, ebx
push ebp
call fcn.00403b10
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x49ac]
mov edx, dword [ecx + 4]
mov cx, word [ebx + 0x1bb0]
mov word [eax + edx], cx
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x49ac]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
mov word [edx + ecx + 2], ax
jle 0x406647
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x1c], eax
jmp 0x4065b1
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x1b94]
add edx, eax
push 0
push edx
push esi
call edi
push esi
push 4
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
mov ecx, ebx
push ebp
call fcn.00403b10
push 0
push eax
push esi
call edi
push esi
push 0x20
push 1
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov ecx, 8
mov esi, ebp
lea edi, [ebx + 0x1b44]
add esp, 0x1c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x49ac]
mov edx, dword [edx + 4]
add ecx, eax
add eax, 0x20
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
lea edi, [ecx + edx + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, 8
lea esi, [ebx + 0x1b44]
add edx, 4
dec eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
jne 0x4065ab
push ebp
call dword [sym.imp.MSVCRT.dll_free]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret