Function at 0x10091690
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x74], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x75], 0
push 0x10
push 0x20
push 0x20
push 1
push str.DataCustomMain.ico
mov edx, dword [0x10198c6c]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x168], eax
push 0x101663bc
push 0
push 0x101663cc
push 0x101663e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx], eax
push 0x101663e8
push 0
push 0x101663f8
push 0x10166410
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x10166418
push 0
push 0x10166428
push 0x1016643c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x10166444
push 0
push 0x10166454
push 0x10166468
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0x10166470
push 0
push 0x10166480
push 0x10166490
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
push 0x10166498
push 0
push 0x101664a8
push 0x101664b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
push 0x101664c0
push 0
push 0x101664d0
push 0x101664e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0x101664ec
push 0
push 0x101664fc
push 0x10166514
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push 0x1016651c
push 1
push 0x1016652c
push 0x10166538
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0x10166544
push 1
push str.MaxAnisotropy
push 0x10166564
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], eax
push 0x10166570
push 1
push 0x10166580
push 0x10166588
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
push 0x10166594
push 0
push str.TronEffects
push 0x101665b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], eax
push 0x101665bc
push 1
push 0x101665cc
push 0x101665d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
push 0x101665dc
push 0
push 0x101665ec
push 0x101665f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
push 0x10166600
push 0
push 0x10166610
push 0x10166624
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x1016662c
push 0
push str.DisableMonstersHPBar
push 0x10166654
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
push 0x1016665c
push 0
push 0x1016666c
push 0x1016667c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push 0x10166684
push 0
push 0x10166694
push 0x101666ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
push 0x101666b4
push 0
push 0x101666c4
push 0x101666d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
jne 0x10091919
push 0x50
push 0x5f886a
call fcn.10135620
add esp, 8
push 0x50
push 0x5f8870
call fcn.10135620
add esp, 8
jmp 0x10091937
push 4
push 0x5f886a
call fcn.10135620
add esp, 8
push 4
push 0x5f8870
call fcn.10135620
add esp, 8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x30], 1
jne 0x10091952
push 0xc3
push 0x54a270
call fcn.10135620
add esp, 8
cmp dword [0x10198b2c], 1
jne 0x10091a7f
push 0x90
push 0x57490f
call fcn.10135620
add esp, 8
push 0xe9
push 0x574910
call fcn.10135620
add esp, 8
push 0x90
push 0x574a7a
call fcn.10135620
add esp, 8
push 0xe9
push 0x574a7b
call fcn.10135620
add esp, 8
push 0x90
push 0x574be5
call fcn.10135620
add esp, 8
push 0xe9
push 0x574be6
call fcn.10135620
add esp, 8
push 0x90
push 0x574f23
call fcn.10135620
add esp, 8
push 0xe9
push 0x574f24
call fcn.10135620
add esp, 8
push 0x90
push 0x5751e0
call fcn.10135620
add esp, 8
push 0xe9
push 0x5751e1
call fcn.10135620
add esp, 8
push 0x90
push 0x575329
call fcn.10135620
add esp, 8
push 0xe9
push 0x57532a
call fcn.10135620
add esp, 8
push 0x90
push 0x575472
call fcn.10135620
add esp, 8
push 0xe9
push 0x575473
call fcn.10135620
add esp, 8
push 0x90
push 0x575621
call fcn.10135620
add esp, 8
push 0xe9
push 0x575622
call fcn.10135620
add esp, 8
push 0x101666dc
push 0
push 0x101666ec
push 0x10166704
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x1016670c
push 0
push 0x1016671c
push 0x10166734
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], eax
push 0x1016673c
push 0
push 0x1016674c
push 0x10166764
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
push 0x10091f10
push 0x8428bd
push 0xe8
call fcn.10135900
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 1
jne 0x10091b0a
push 6
push 0x90
push 0x842863
call fcn.10135770
add esp, 0xc
push 0x1016676c
push 0
push 0x1016677c
push 0x10166784
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 4]
call fcn.100908d0
movzx edx, byte [0x10530083]
cmp edx, 1
jne 0x10091bb4
push 6
push 0x90
push 0x4d1360
call fcn.10135770
add esp, 0xc
mov al, byte [0x10530084]
mov byte [ebp - 8], al
cmp byte [ebp - 8], 0
je 0x10091b6b
cmp byte [ebp - 8], 1
je 0x10091b84
cmp byte [ebp - 8], 2
je 0x10091b9d
jmp 0x10091bb4
mov ecx, 0xe8c5c4
mov dx, word [0x1016678c]
mov word [ecx], dx
mov al, byte [0x1016678e]
mov byte [ecx + 2], al
jmp 0x10091bb4
mov ecx, 0xe8c5c4
mov dx, word [0x10166790]
mov word [ecx], dx
mov al, byte [0x10166792]
mov byte [ecx + 2], al
jmp 0x10091bb4
mov ecx, 0xe8c5c4
mov dx, word [0x10166794]
mov word [ecx], dx
mov al, byte [0x10166796]
mov byte [ecx + 2], al
push 0xd
push 0x90
push 0x4d0e2f
call fcn.10135770
add esp, 0xc
push 0x10091ee0
push 0x4d0e2f
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10090760
push 0x40b154
push 0xe9
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x64a79a
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x64a85f
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x656e03
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x64ab3d
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x64ac02
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x63ddf2
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x63df89
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x63ea4c
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x64ca0c
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x77faf9
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x81071b
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10091f50
push 0x81079b
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x47fe31
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x59890d
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x59a399
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x59a93c
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x59b13b
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x5a4261
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x5a4d52
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x5b6117
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x65a6ce
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x727987
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x7861f1
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x7d32fa
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090890
push 0x7d3b0d
push 0xff
call fcn.10135900
add esp, 0xc
push 0x10090730
push 0x8317bd
push 0xe9
call fcn.10135900
add esp, 0xc
push 0x100907e0
push 0x614aef
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x100907e0
push 0x772460
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x100906d0
push 0x4cf56c
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x100906d0
push 0x4d04ba
push 0xe8
call fcn.10135900
add esp, 0xc
push 0x100906d0
push 0x77255e
push 0xe8
call fcn.10135900
add esp, 0xc
mov ecx, 0x10198c8e
call fcn.1010d910
mov ecx, 0x10198c6c
call fcn.100928b0
mov esp, ebp
pop ebp
ret