Function at 0x404480
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Read file via mapping
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push str.LocalEPSUI_b2ac31370f242152
push 0
mov ebx, ecx
push 0x100000
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x4048d1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x4044c3
push str.LocalEPSUI_b2ac31370f242152
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push 0x430aa8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [0x430ac4], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x404555
push str.GlobalEPSDLP_74827543285
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x404552
push 0x10000
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x430ac4], eax
test eax, eax
jne 0x404513
push ebx
call edi
jmp 0x404552
push 0x430aa8
mov dword [0x430ac0], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x430ac4]
push 0x3018
add eax, 0x4000
push eax
push 0x430ac8
call fcn.0040eed0
add esp, 0xc
push 0x430aa8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [0x430a9d], 1
mov ebx, dword [ebp - 8]
push 0
push 0
push 0
push 0x408070
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x404571
push eax
call edi
push 0xc
mov dword [0x4309d0], ebx
call fcn.0040c08e
mov ebx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 8], ebx
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov byte [ebx], 0
call fcn.004029d0
mov dword [0x4309d4], ebx
call fcn.004049a0
push 0
push 0x402ee0
push 0
push 0x65
push dword [0x4309d0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [ebx + 4], eax
test eax, eax
je 0x4048e0
mov ecx, ebx
mov dword [0x430a50], eax
call fcn.00404f10
push 8
call fcn.0040c08e
add esp, 4
mov dword [ebp - 8], eax
xorps xmm0, xmm0
movq qword [eax], xmm0
mov byte [eax], 0
call fcn.004029d0
mov eax, dword [ebp - 8]
push 0
mov dword [0x4309ec], eax
mov eax, dword [0x4309d4]
push 0x402ee0
push dword [eax + 4]
push 0x77
push dword [0x4309d0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
test eax, eax
je 0x4048e9
push 0
push 0
push ecx
push 0x403260
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40463f
push eax
call edi
mov eax, dword [ebp - 8]
push 1
push 0x1d6
push 0x2da
push 0
push 0xc6
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x90
call fcn.0040c08e
push 0x90
push 0
push eax
mov dword [ebp - 4], eax
call fcn.0040da60
mov eax, dword [ebp - 4]
add esp, 0x10
mov byte [eax], 0
call fcn.004029d0
mov eax, dword [ebp - 4]
push 0
push 0
push 0
push 0
mov dword [0x430a00], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
push 0
push 0
push ecx
push 0x407f70
push 0
push 0
mov dword [ecx + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4046c0
push eax
call edi
mov eax, dword [0x4309d4]
push 0
push 0x402ee0
push dword [eax + 4]
push 0x73
push dword [0x4309d0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
test eax, eax
je 0x4048f2
call fcn.00406610
push 0xc
call fcn.0040c08e
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov byte [eax], 0
call fcn.004029d0
mov eax, dword [ebp - 4]
push 0
push 0
push 0
push 0
mov dword [0x430a0c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
push 0
push 0
push ecx
push 0x4065d0
push 0
push 0
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40474a
push eax
call edi
mov eax, dword [0x4309d4]
push 0
push 0x402ee0
push dword [eax + 4]
push 0x74
push dword [0x4309d0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
test eax, eax
je 0x4048fb
call fcn.00405de0
push 0x134
call fcn.0040c08e
push 0x134
push 0
push eax
mov dword [ebp - 4], eax
call fcn.0040da60
mov ecx, dword [ebp - 4]
add esp, 0x10
mov byte [ecx], 0
call fcn.004029d0
mov eax, dword [ebp - 4]
push 0x80
mov dword [0x4309d8], eax
push 0
mov dword [eax + 0x30], 0
add eax, 0x34
push eax
call fcn.0040da60
mov ecx, dword [ebp - 4]
add esp, 0xc
push 0
push 0
push ecx
push 0x4024d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4047e2
push eax
call edi
mov eax, dword [0x4309d4]
push 0
push 0x402ee0
push dword [eax + 4]
push 0x75
push dword [0x4309d0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
test eax, eax
je 0x404904
call fcn.004010a0
mov ecx, dword [ebp - 4]
call fcn.00401890
push 0x14
call fcn.0040c08e
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov byte [eax], 0
call fcn.004029d0
mov eax, dword [ebp - 4]
push 0
push 0
push 0
push 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [0x430a5c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
push 0
push 0
push ecx
push 0x40c050
push 0
push 0
mov dword [ecx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x404881
push eax
call edi
mov eax, dword [0x4309d4]
push 0
push 0x402ee0
push dword [eax + 4]
push 0x76
push dword [0x4309d0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx + 4], eax
test eax, eax
je 0x40490d
call fcn.0040a450
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 4]
mov byte [ebx], 1
call esi
mov eax, dword [ebp - 8]
push 5
push dword [eax + 4]
mov byte [eax], 1
call esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call esi
mov edx, eax
call fcn.00404440
call esi
mov edx, eax
call fcn.00404440
call esi
mov edx, eax
call fcn.00404440
call esi
mov edx, eax
call fcn.00404440
call esi
mov edx, eax
call fcn.00404440
call esi
mov edx, eax
call fcn.00404440
int3