Function at 0x408b00
Capabilities:
Create directory
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf88
mov eax, dword [0x412014]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0xf84], edx
mov edi, ecx
jmp 0x408b30
push 0x400
lea eax, [ebp - 0x724]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x724]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edx, [ebp - 0x724]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x408b64
sub edx, ecx
mov ecx, 0x40ecfc
lea edx, [ebp + edx - 0x724]
sub edx, ecx
nop dword [eax + eax]
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x408b80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
lea eax, [ebp - 0x324]
push esi
push str.RunSpeedGameEvent__u
push eax
call fcn.00408f80
add esp, 0xc
push 0x1f0003
push 0x40ecf8
call fcn.00408750
push 0x104
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0xf7c]
push 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf7c], 0x44
xor eax, eax
mov dword [ebp - 0xf50], 1
mov word [ebp - 0xf4c], ax
push 0x400
push eax
lea eax, [ebp - 0xf24]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf80], 0
lea eax, [ebp - 0xf80]
push eax
lea eax, [ebp - 0xf24]
push eax
push ecx
call fcn.004089f0
add esp, 0xc
lea eax, [ebp - 0xf24]
push eax
push 0x40ed20
call fcn.00408750
add esp, 8
cmp dword [ebp - 0xf80], 0
je 0x408e4c
push esi
push str.Releasephysx27GameApp.exe
lea eax, [ebp - 0xf24]
push eax
lea eax, [ebp - 0x21c]
push str.__s_s___u
push eax
call fcn.00408f80
add esp, 0x14
lea eax, [ebp - 0x114]
push 0x104
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push esi
push str.KartMap_Shared__u
push eax
call fcn.00408f80
add esp, 0xc
lea eax, [ebp - 0xb24]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x724]
push edi
push eax
lea eax, [ebp - 0xb24]
push str._s_u
push eax
call fcn.004085b0
add esp, 0x10
lea eax, [ebp - 0xb24]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x324]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0xf80], eax
test eax, eax
je 0x408e4c
lea eax, [ebp - 0x114]
push eax
push 0x613
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x408e4c
push 0x613
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x408e4c
mov eax, dword [ebp - 0xf84]
lea ecx, [ebp - 0xb24]
mov dword [ebx + 0x34], eax
lea edx, [ebx + 0x38]
mov eax, ecx
mov dword [ebx], 0
mov dword [ebx + 8], edi
sub edx, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x408d60
mov eax, dword [ebp + 0xc]
lea edi, [ebx + 0x1d4]
mov esi, dword [ebp + 8]
lea edx, [ebx + 0x2d9]
mov ecx, 0x1e
movups xmm0, xmmword [eax]
mov dword [ebx + 0x1d0], 0x78
movups xmmword [ebx + 0x1c0], xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 0x258]
mov ecx, 0x1c
mov dword [ebx + 0x254], 0x70
rep movsd dword es:[edi], dword [esi]
mov ecx, str.testApp
mov byte [ebx + 0x2d8], 8
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x408dc2
push 0
mov byte [ebx + 0x2f9], 1
mov dword [ebx + 0x2fa], 0
mov dword [ebx + 0x2fe], 1
mov dword [ebx + 0x302], 0x1600
mov byte [ebx + 0x407], 1
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebx + 0x60b], eax
lea eax, [ebp - 0xf34]
mov byte [ebx + 0x613], 2
push eax
lea eax, [ebp - 0xf7c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0xf80]
test eax, eax
jne 0x408e5f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040a775
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xf2c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040a775
mov esp, ebp
pop ebp
ret