Function at 0x10003b50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1084
call fcn.10028550
mov eax, dword [0x10054670]
xor eax, ebp
mov dword [ebp - 8], eax
mov al, byte [0x1004ea9a]
mov byte [ebp - 0x808], al
push 0x7ff
push 0
lea ecx, [ebp - 0x807]
push ecx
call fcn.10018960
add esp, 0xc
mov dword [ebp - 0x100c], 0
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x808]
push edx
push 0x800
push str.PlaySetting.ini
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x10003d82
lea eax, [ebp - 0x808]
push eax
push 0
push str.unlockfps
push str.settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x100c], eax
lea ecx, [ebp - 0x808]
push ecx
push 0
push str.fullscreen
push str.settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x10003d3b
push 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov dword [ebp - 0x1024], eax
mov dword [ebp - 0x1078], 0x48
lea edx, [ebp - 0x1078]
push edx
mov eax, dword [ebp - 0x1024]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ecx, dword [ebp - 0x106c]
sub ecx, dword [ebp - 0x1074]
mov dword [ebp - 0x107c], ecx
mov edx, dword [ebp - 0x1068]
sub edx, dword [ebp - 0x1070]
mov dword [ebp - 0x1010], edx
push 0xa
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x107c]
push ecx
call fcn.100399c0
add esp, 0xc
push str.ini_GameSetup.ini
lea edx, [ebp - 0x1030]
push edx
push str.ScrWidth
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0xa
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 0x1010]
push ecx
call fcn.100399c0
add esp, 0xc
push str.ini_GameSetup.ini
lea edx, [ebp - 0x1020]
push edx
push str.ScrHeight
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x1014], 1
cmp dword [ebp - 0x1014], 0
je 0x10003d07
push str.ini_GameSetup.ini
push 0x1004ed90
push str.FullScrType
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.ini_GameSetup.ini
push 0x1004eda0
push str.ScreenModeRecord
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x10003d3b
push str.ini_GameSetup.ini
push 0x1004ed90
push str.FullScrType
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.ini_GameSetup.ini
push 0x1004edb8
push str.ScreenModeRecord
push str.ScreenMode
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0x100c], 0
jle 0x10003d82
mov byte [ebp - 0x1084], 0xeb
mov byte [ebp - 0x1083], 0xe
push str.xxxxxxxx
push 0x1004edc8
call fcn.100039e0
add esp, 8
mov dword [ebp - 0x1080], eax
push 2
lea eax, [ebp - 0x1084]
push eax
mov ecx, dword [ebp - 0x1080]
push ecx
call fcn.10003af0
add esp, 0xc
mov dl, byte [0x1004ea9a]
mov byte [ebp - 0x1008], dl
push 0x7ff
push 0
lea eax, [ebp - 0x1007]
push eax
call fcn.10018960
add esp, 0xc
push 0
lea ecx, [ebp - 0x1008]
push ecx
push 0x800
push str.Flash.ini
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x10003ddf
lea edx, [ebp - 0x1008]
push edx
push 0
push str.flashstop
push str.settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x10056ea0], eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100106c0
mov esp, ebp
pop ebp
ret