Function at 0x100184d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100461dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x24
mov eax, dword [0x10156054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov esi, esp
mov ecx, esi
push 0x20
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.1001ffd0
mov dword [esi + 0x10], 0x19
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.ZMenu_TrainerSettings.ini]
movups xmmword [eax], xmm0
movq xmm0, qword [0x10054fbc]
movq qword [eax + 0x10], xmm0
mov cl, byte [0x10054fc4]
mov byte [eax + 0x18], cl
lea ecx, [ebp - 0x2c]
mov byte [eax + 0x19], 0
mov dword [esi], eax
call fcn.10009260
add esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001871c
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x101569c0
mov ecx, str.Height
call fcn.10009780
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x101569d4
mov ecx, str.Width
call fcn.10009b10
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x10156ba0
mov ecx, str.XPos
call fcn.10009b10
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x101569d0
mov ecx, str.YPos
call fcn.10009b10
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x101569ba
mov ecx, str.Keybinds
call fcn.10009940
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x10156ba8
mov ecx, str.CustomKeybinds
call fcn.10009940
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x10156a08
mov ecx, str.TextSize
call fcn.10009b10
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x101569b8
mov ecx, str.CheckMenuKeysFocus
call fcn.10009940
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x10158281
mov ecx, str.TrainerAspectOverride
call fcn.10009940
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x101569bc
mov ecx, str.TrainerAspectValue
call fcn.10009b10
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x10156ba9
mov ecx, str.ControllerSupport
call fcn.10009940
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x10156df8
mov ecx, str.ScrollInterval
call fcn.10009ce0
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x101569bb
mov ecx, str.Hints
call fcn.10009940
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x101569b9
mov ecx, str.OnScreenKeyboard
call fcn.10009940
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1001ee90
mov edx, 0x101587b0
mov ecx, str.OnScreenKeyboardWithoutController
call fcn.10009940
add esp, 0x18
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1001874c
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018742
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018769
push edx
push ecx
call fcn.10024b33
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100244b6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10030a00
int3