Function at 0x407440
Capabilities:
Allocate or change rwx memory
Check mutex and terminate process on windows
Check mutex on windows
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413388
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x41b014]
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 edi, ecx
mov dword [ebp - 0x130], edi
jmp 0x407488
call dword [sym.imp.mfc140u.dll_CDialog::OnInitDialog]
push str.GPXHMAIN.exe
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
cmp eax, 0xb7
jne 0x4074b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.mfc140u.dll_CMenu::FromHandle]
mov ebx, eax
test ebx, ebx
je 0x40752b
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x65
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov eax, dword [ebp - 0x118]
cmp dword [eax - 0xc], 0
je 0x407518
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
push dword [ebx + 4]
call esi
push dword [ebp - 0x118]
push 0x10
push 0
push dword [ebx + 4]
call esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [edi + 0xd0]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x80
push dword [edi + 0x20]
call esi
push dword [edi + 0xd0]
push 0
push 0x80
push dword [edi + 0x20]
call esi
push str.JQ.1.18
mov ecx, edi
call dword [sym.imp.mfc140u.dll_CWnd::SetWindowTextW]
mov eax, dword [edi + 0x6dc]
lea ebx, [edi + 0x6dc]
push 0xe801
push 0x50008200
push 0
push edi
mov ecx, ebx
call dword [eax + 0x1b0]
lea eax, [ebp - 0x12c]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x120]
mov ecx, ebx
push 1
push 0x19
push dword [ebp - 0x124]
add eax, 0xffffffe2
push eax
push 0
call dword [sym.imp.mfc140u.dll_CWnd::MoveWindow]
push 3
push 0x41b62c
mov ecx, ebx
call dword [sym.imp.mfc140u.dll_CStatusBar::SetIndicators]
mov edi, dword [sym.imp.mfc140u.dll_CWnd::GetDlgCtrlID]
mov ecx, ebx
push 0x96
push 0x8000000
call edi
mov esi, dword [sym.imp.mfc140u.dll_CStatusBar::SetPaneInfo]
mov ecx, ebx
push eax
push 0
call esi
push 0x12c
push 0x8000000
mov ecx, ebx
call edi
push eax
push 1
mov ecx, ebx
call esi
push 0x1e
push 0x8000000
mov ecx, ebx
call edi
push eax
push 2
mov ecx, ebx
call esi
mov edi, dword [ebp - 0x130]
mov ecx, edi
push 1
push 0
push 0
push 0
push 0
push 0xe8ff
push 0xe800
call dword [sym.imp.mfc140u.dll_CWnd::RepositionBars]
mov esi, dword [sym.imp.mfc140u.dll_CWnd::ShowWindow]
mov ecx, ebx
push 1
call esi
mov dword [0x41bc98], ebx
push 0
lea ecx, [edi + 0xc2c]
call esi
push 0
lea ecx, [edi + 0xcac]
call esi
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push 0x40
push 0x563
push dword [0x41b070]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.KartMap_Shared_gsppsl
lea eax, [ebp - 0x114]
push 0x415ca0
push eax
call fcn.00403970
add esp, 0x18
lea eax, [ebp - 0x114]
push eax
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
test esi, esi
je 0x4076d9
push 0x1000
push 0
push 0
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.00407950
call fcn.00406d20
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 3
mov dword [ebp - 4], 1
call dword [sym.imp.plfl32.dll_P_GetDataValue]
push eax
lea eax, [ebp - 0x118]
push 0x415d68
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
push dword [ebp - 0x118]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoll]
add esp, 0x10
mov dword [0x41c6d0], eax
test eax, eax
je 0x407737
push ecx
mov ecx, dword [edi + 0x20]
call fcn.00401d40
add esp, 4
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x407753
mov eax, 1
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.00411c65
mov esp, ebp
pop ebp
ret