Function at 0x100118c0
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edi, [esi + 4]
push ebx
mov ecx, edi
mov dword [esi + 0x28f8], eax
mov byte [esi + 0x27e8], bl
call fcn.10014550
push ebx
lea ecx, [esi + 8]
call fcn.10014550
lea eax, [esi + 0x187f]
push eax
mov ecx, edi
call fcn.100159f0
lea ecx, [esi + 0x1983]
push ecx
mov ecx, edi
call fcn.10015a30
lea edx, [esi + 0x1e97]
push edx
mov ecx, edi
call fcn.10015a70
lea ebp, [esi + 0x325c]
push ebp
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esi + 0x23ab]
push eax
mov ecx, edi
call fcn.10015a90
lea ecx, [esi + 0x22a7]
push ecx
mov ecx, edi
call fcn.10015a10
lea edx, [esi + 0x24af]
push edx
mov ecx, edi
call fcn.10015ab0
mov ecx, esi
call fcn.10011250
lea eax, [esi + 0x25b3]
push eax
mov ecx, edi
call fcn.10015a50
mov byte [esi + 0x26b8], bl
mov ecx, dword [str.EA_Game]
lea edi, [esi + 0x72c]
mov dword [edi], ecx
mov edx, dword [0x1003bff4]
push edi
lea eax, [esi + 0x2c3e]
push eax
mov ecx, esi
mov dword [edi + 4], edx
call fcn.100117a0
push edi
lea ecx, [esi + 0x2d42]
push ecx
mov ecx, esi
call fcn.100117a0
mov edx, dword [str.EA_Game]
mov dword [esi + 0xa3c], edx
mov eax, dword [0x1003bff4]
lea edx, [esi + 0x830]
mov dword [esi + 0xa40], eax
mov eax, dword [esp + 0x14]
mov edi, edx
sub edi, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
cmp cl, bl
jne 0x100119d0
mov byte [esi + 0x26b7], bl
mov eax, dword [str.Electronic_Arts]
lea ecx, [esi + 0x1363]
mov dword [ecx], eax
mov eax, dword [0x1003a2b4]
mov dword [ecx + 4], eax
mov eax, dword [0x1003a2b8]
mov dword [ecx + 8], eax
mov eax, dword [0x1003a2bc]
mov dword [ecx + 0xc], eax
mov eax, dword [str.Electronic_Arts]
lea ecx, [esi + 0x41c]
mov dword [ecx], eax
mov eax, dword [0x1003a2b4]
mov dword [ecx + 4], eax
mov eax, dword [0x1003a2b8]
mov dword [ecx + 8], eax
mov eax, dword [0x1003a2bc]
mov dword [ecx + 0xc], eax
mov byte [esi + 0x1159], bl
mov byte [esi + 0x2b39], bl
mov byte [esi + 0x3b91], bl
mov byte [esi + 0x2929], bl
mov byte [esi + 0x3b92], bl
mov byte [esi + 0x368d], bl
mov byte [esi + 0xb40], bl
mov byte [esi + 0xc44], bl
mov byte [esi + 0xd48], bl
mov dword [esi + 0x115a], 0x302e31
mov byte [esi + 0x1a87], bl
mov byte [esi + 0x1467], bl
mov byte [esi + 0x1b8b], bl
mov byte [esi + 0xe4d], bl
xor ecx, ecx
mov al, 1
mov byte [esi + 0x625], al
mov byte [esi + 0xa3a], al
mov byte [esi + 0x2928], al
mov dword [esi + 0x3368], ecx
mov dword [esi + 0x336c], ecx
mov dword [esi + 0x3370], ecx
mov dword [esi + 0x3374], ecx
mov dword [esi + 0x3378], ecx
mov dword [esi + 0x337c], ecx
mov byte [esi + 0x3380], cl
push edx
mov byte [esi + 0xe4c], bl
call fcn.1000eca0
mov eax, ebp
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10011ad6
sub eax, edx
cmp byte [eax + esi + 0x325b], 0x5c
jne 0x10011b00
mov eax, ebp
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10011af0
sub eax, edx
mov byte [eax + esi + 0x325b], bl
push ebp
lea edx, [esi + 0x1f9b]
push str._sAutoRun
push edx
call fcn.1001b3f7
push ebp
lea eax, [esi + 0x125f]
push str._sSupport
push eax
call fcn.1001b3f7
push ebp
push str._sDirectX
add esi, 0x209f
push esi
call fcn.1001b3f7
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
ret 4