Function at 0x4062d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
mov eax, dword [0x4740f4]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push 0xf4240
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
call fcn.0044127e
push esi
push str.path_i
lea ecx, [esp + 0x20]
push 0x20
push ecx
mov dword [esp + 0x20], eax
mov dword [ebp], esi
call fcn.004400ee
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x14
push edi
push 0x104
lea eax, [ebp + 4]
push eax
push 0x463c85
lea edx, [esp + 0x24]
push edx
push str.target
call ebx
cmp byte [ebp + 4], 0
jne 0x406354
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043fd57
add esp, 0x30
ret
push esi
push str.launchpath_i
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
mov ecx, dword [esp + 0x20]
add esp, 0x10
push edi
push 0x104
add ecx, 0x51
push ecx
push 0x463c85
lea edx, [esp + 0x24]
push edx
push str.target
call ebx
push esi
push str.startfolder_i
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
mov ecx, dword [esp + 0x20]
add esp, 0x10
push edi
push 0x104
add ecx, 0x156
push ecx
push 0x463c85
lea edx, [esp + 0x24]
push edx
push str.target
call ebx
push esi
push str.title_i
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
mov ecx, dword [esp + 0x20]
add esp, 0x10
push edi
push 0x263
push ecx
push 0x463c85
lea edx, [esp + 0x24]
push edx
push str.target
call ebx
push esi
push str.module_i
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 0x3c
lea ecx, [ebp + 0x109]
push ecx
push 0x463c85
lea edx, [esp + 0x24]
push edx
push str.target
call ebx
push esi
push str.opengllib_i
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 0x14
lea ecx, [ebp + 0x146]
push ecx
push 0x463c85
lea edx, [esp + 0x24]
push edx
push str.target
call ebx
push esi
push str.notes_i
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push edi
push 0xf4240
push ecx
push 0x463c85
lea edx, [esp + 0x24]
push edx
push str.target
call ebx
mov eax, dword [esp + 0xc]
lea ebx, [esp + 8]
call fcn.00405430
mov ebx, dword [esp + 8]
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406497
sub eax, ecx
inc eax
push eax
call fcn.0044127e
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x25c], eax
add esp, 4
mov ecx, ebx
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4064b8
push esi
push str.registry_i
lea edx, [esp + 0x1c]
push 0x20
push edx
call fcn.004400ee
mov eax, dword [esp + 0x1c]
add esp, 0x10
push edi
push 0xf4240
push eax
push 0x463c85
lea ecx, [esp + 0x24]
push ecx
push str.target
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0xc]
lea ebx, [esp + 8]
call fcn.00405430
mov ebx, dword [esp + 8]
mov eax, ebx
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406510
sub eax, ecx
inc eax
push eax
call fcn.0044127e
mov edx, dword [esp + 0x14]
mov dword [edx + 0x260], eax
add esp, 4
mov ecx, ebx
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x406531
push esi
push str.ver_i
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0x10
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.target
call ebx
push esi
push str.monitorid_i
lea edx, [esp + 0x1c]
push 0x20
push edx
mov dword [ebp + 0x15c], eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push str.target
call ebx
push esi
push str.coord_i
lea ecx, [esp + 0x1c]
push 0x20
push ecx
mov dword [ebp + 0x18c], eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea edx, [esp + 0x1c]
push edx
push str.target
call ebx
push esi
push str.flag_i
mov dword [ebp + 0x160], eax
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.target
call ebx
push esi
push str.flagg_i
lea edx, [esp + 0x1c]
push 0x20
push edx
mov dword [ebp + 0x164], eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push str.target
call ebx
push esi
push str.flagh_i
lea ecx, [esp + 0x1c]
push 0x20
push ecx
mov dword [ebp + 0x168], eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea edx, [esp + 0x1c]
push edx
push str.target
call ebx
push esi
push str.flagi_i
mov dword [ebp + 0x16c], eax
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.target
call ebx
push esi
push str.flagj_i
lea edx, [esp + 0x1c]
push 0x20
push edx
mov dword [ebp + 0x170], eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push str.target
call ebx
push esi
push str.flagk_i
lea ecx, [esp + 0x1c]
push 0x20
push ecx
mov dword [ebp + 0x174], eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea edx, [esp + 0x1c]
push edx
push str.target
call ebx
push esi
push str.flagl_i
mov dword [ebp + 0x178], eax
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.target
call ebx
push esi
push str.flagm_i
lea edx, [esp + 0x1c]
push 0x20
push edx
mov dword [ebp + 0x17c], eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push str.target
call ebx
push esi
push str.tflag_i
lea ecx, [esp + 0x1c]
push 0x20
push ecx
mov dword [ebp + 0x180], eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea edx, [esp + 0x1c]
push edx
push str.target
call ebx
push esi
push str.dflag_i
mov dword [ebp + 0x184], eax
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.target
call ebx
push esi
push str.posx_i
lea edx, [esp + 0x1c]
push 0x20
push edx
mov dword [ebp + 0x188], eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push str.target
call ebx
push esi
push str.posy_i
lea ecx, [esp + 0x1c]
push 0x20
push ecx
mov word [ebp + 0x190], ax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea edx, [esp + 0x1c]
push edx
push str.target
call ebx
push esi
push str.sizx_i
mov word [ebp + 0x192], ax
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.target
call ebx
push esi
push str.sizy_i
lea edx, [esp + 0x1c]
push 0x20
push edx
mov word [ebp + 0x194], ax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push str.target
call ebx
push esi
push str.maxfps_i
mov word [ebp + 0x196], ax
push 0x20
lea ecx, [esp + 0x20]
push ecx
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea edx, [esp + 0x1c]
push edx
push str.target
call ebx
push esi
push str.initts_i
mov word [ebp + 0x19c], ax
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.target
call ebx
push esi
push str.swapeffect_i
lea edx, [esp + 0x1c]
push 0x20
push edx
mov word [ebp + 0x19e], ax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push str.target
call ebx
push esi
push str.winver_i
lea ecx, [esp + 0x1c]
push 0x20
push ecx
mov word [ebp + 0x1a4], ax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea edx, [esp + 0x1c]
push edx
push str.target
call ebx
push esi
push str.maxres_i
mov word [ebp + 0x1a0], ax
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.target
call ebx
push esi
push str.maxddinterface_i
lea edx, [esp + 0x1c]
push 0x20
push edx
mov word [ebp + 0x1a2], ax
call fcn.004400ee
add esp, 0x10
push edi
push 7
lea eax, [esp + 0x1c]
push eax
push str.target
call ebx
mov word [ebp + 0x1a6], ax
push esi
push str.slowratio_i
lea ecx, [esp + 0x1c]
push 0x20
push ecx
call fcn.004400ee
add esp, 0x10
push edi
push 1
lea edx, [esp + 0x1c]
push edx
push str.target
call ebx
push esi
push str.scanline_i
mov word [ebp + 0x1a8], ax
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.004400ee
add esp, 0x10
push edi
push 1
lea ecx, [esp + 0x1c]
push ecx
push str.target
call ebx
push esi
push str.initresw_i
lea edx, [esp + 0x1c]
push 0x20
push edx
mov word [ebp + 0x1aa], ax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea eax, [esp + 0x1c]
push eax
push str.target
call ebx
push esi
push str.initresh_i
lea ecx, [esp + 0x1c]
push 0x20
push ecx
mov word [ebp + 0x198], ax
call fcn.004400ee
add esp, 0x10
push edi
push 0
lea edx, [esp + 0x1c]
push edx
push str.target
call ebx
mov word [ebp + 0x19a], ax
cmp dword [0x4755a8], 0
jne 0x4069d0
and dword [ebp + 0x16c], 0x8e7fffff
mov eax, dword [esp + 8]
push eax
call fcn.00441348
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00441348
mov ecx, dword [esp + 0x3c]
add esp, 8
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0043fd57
add esp, 0x30
ret