Function at 0x402e00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x45a040]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 0x44
push ebx
push esi
push edi
movlpd qword [ebp - 0xb0], xmm0
mov edi, str.ff7_de.exe
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
movups xmmword [ebp - 0x68], xmm0
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x402e70
sub esi, ecx
call fcn.00403c24
xorps xmm0, xmm0
mov dword [ebp - 0x54], eax
xor edx, edx
mov dword [ebp - 0xc], 0
mov ecx, 7
mov dword [ebp - 8], ecx
movups xmmword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], dx
test esi, esi
je 0x402eed
cmp esi, 0x7fffffff
ja 0x40303c
push edx
push edx
push esi
push edi
push eax
call fcn.00403c41
mov ebx, eax
test edx, edx
jne 0x403036
push edx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00402d50
cmp dword [ebp - 8], 7
lea eax, [ebp - 0x1c]
push ebx
cmova eax, dword [ebp - 0x1c]
push eax
push esi
push edi
push dword [ebp - 0x54]
call fcn.00403c41
test edx, edx
jne 0x403036
mov ecx, dword [ebp - 8]
push 0xffffffffffffffff
cmp ecx, 7
mov dword [ebp - 0x50], 0
push 3
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], 0xffff
lea eax, [ebp - 0x1c]
cmova eax, dword [ebp - 0x1c]
push ecx
push eax
call fcn.004041a6
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x48], eax
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402680
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0x45a008
test eax, eax
je 0x402f4d
cmp eax, 1
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x45a008
setne bl
jmp 0x402f57
xor bl, bl
test ecx, ecx
jne 0x403024
mov ecx, dword [ebp - 8]
cmp ecx, 7
jbe 0x402f91
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402f87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403043
push ecx
push edx
call fcn.00404a03
add esp, 8
test bl, bl
je 0x402fb9
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402ff8
add edi, 0x20
cmp edi, 0x44e370
jl 0x402e66
push 0xffffffffffffffff
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x64]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404a11
mov esp, ebp
pop ebp
ret 0x10
push 0x10
push str.Error
push str.Something_went_wrong_while_launching_the_game.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404a11
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
push eax
push str.exists
call fcn.00402730
push edx
call fcn.004027e0
push 0x16
call fcn.004027a0
call fcn.00410509
int3