Function at 0x100a99c0
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 [0x101b7cac]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x168], eax
push 0x101836b0
push 0
push 0x101836c0
push 0x101836d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx], eax
push 0x101836dc
push 0
push 0x101836ec
push 0x10183704
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x1018370c
push 0
push 0x1018371c
push 0x10183730
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x10183738
push 0
push 0x10183748
push 0x1018375c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0x10183764
push 0
push 0x10183774
push 0x10183784
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
push 0x1018378c
push 0
push 0x1018379c
push 0x101837ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
push 0x101837b4
push 0
push 0x101837c4
push 0x101837d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0x101837e0
push 0
push 0x101837f0
push 0x10183808
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push 0x10183810
push 1
push 0x10183820
push 0x1018382c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0x10183838
push 1
push str.MaxAnisotropy
push 0x10183858
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], eax
push 0x10183864
push 1
push 0x10183874
push 0x1018387c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
push 0x10183888
push 0
push str.TronEffects
push 0x101838a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], eax
push 0x101838b0
push 1
push 0x101838c0
push 0x101838c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
push 0x101838d0
push 0
push 0x101838e0
push 0x101838ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
push 0x101838f4
push 0
push 0x10183904
push 0x10183918
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x10183920
push 0
push str.DisableMonstersHPBar
push 0x10183948
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
push 0x10183950
push 0
push 0x10183960
push 0x10183970
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push 0x10183978
push 0
push 0x10183988
push 0x101839a0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
push 0x101839a8
push 0
push 0x101839b8
push 0x101839c8
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 0x100a9c49
push 0x50
push 0x5f886a
call fcn.101504d0
add esp, 8
push 0x50
push 0x5f8870
call fcn.101504d0
add esp, 8
jmp 0x100a9c67
push 4
push 0x5f886a
call fcn.101504d0
add esp, 8
push 4
push 0x5f8870
call fcn.101504d0
add esp, 8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x30], 1
jne 0x100a9c82
push 0xc3
push 0x54a270
call fcn.101504d0
add esp, 8
cmp dword [0x101b7b6c], 1
jne 0x100a9daf
push 0x90
push 0x57490f
call fcn.101504d0
add esp, 8
push 0xe9
push 0x574910
call fcn.101504d0
add esp, 8
push 0x90
push 0x574a7a
call fcn.101504d0
add esp, 8
push 0xe9
push 0x574a7b
call fcn.101504d0
add esp, 8
push 0x90
push 0x574be5
call fcn.101504d0
add esp, 8
push 0xe9
push 0x574be6
call fcn.101504d0
add esp, 8
push 0x90
push 0x574f23
call fcn.101504d0
add esp, 8
push 0xe9
push 0x574f24
call fcn.101504d0
add esp, 8
push 0x90
push 0x5751e0
call fcn.101504d0
add esp, 8
push 0xe9
push 0x5751e1
call fcn.101504d0
add esp, 8
push 0x90
push 0x575329
call fcn.101504d0
add esp, 8
push 0xe9
push 0x57532a
call fcn.101504d0
add esp, 8
push 0x90
push 0x575472
call fcn.101504d0
add esp, 8
push 0xe9
push 0x575473
call fcn.101504d0
add esp, 8
push 0x90
push 0x575621
call fcn.101504d0
add esp, 8
push 0xe9
push 0x575622
call fcn.101504d0
add esp, 8
push 0x101839d0
push 0
push 0x101839e0
push 0x101839f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x10183a00
push 0
push 0x10183a10
push 0x10183a28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], eax
push 0x10183a30
push 0
push 0x10183a40
push 0x10183a58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
push 0x100aa240
push 0x8428bd
push 0xe8
call fcn.101507b0
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 1
jne 0x100a9e3a
push 6
push 0x90
push 0x842863
call fcn.10150620
add esp, 0xc
push 0x10183a60
push 0
push 0x10183a70
push 0x10183a78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 4]
call fcn.100a8c00
movzx edx, byte [0x1024ce16]
cmp edx, 1
jne 0x100a9ee4
push 6
push 0x90
push 0x4d1360
call fcn.10150620
add esp, 0xc
mov al, byte [0x1024ce17]
mov byte [ebp - 8], al
cmp byte [ebp - 8], 0
je 0x100a9e9b
cmp byte [ebp - 8], 1
je 0x100a9eb4
cmp byte [ebp - 8], 2
je 0x100a9ecd
jmp 0x100a9ee4
mov ecx, 0xe8c5c4
mov dx, word [0x10183a80]
mov word [ecx], dx
mov al, byte [0x10183a82]
mov byte [ecx + 2], al
jmp 0x100a9ee4
mov ecx, 0xe8c5c4
mov dx, word [0x10183a84]
mov word [ecx], dx
mov al, byte [0x10183a86]
mov byte [ecx + 2], al
jmp 0x100a9ee4
mov ecx, 0xe8c5c4
mov dx, word [0x10183a88]
mov word [ecx], dx
mov al, byte [0x10183a8a]
mov byte [ecx + 2], al
push 0xd
push 0x90
push 0x4d0e2f
call fcn.10150620
add esp, 0xc
push 0x100aa210
push 0x4d0e2f
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100a8a90
push 0x40b154
push 0xe9
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x64a79a
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x64a85f
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x656e03
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x64ab3d
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x64ac02
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x63ddf2
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x63df89
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x63ea4c
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x64ca0c
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x77faf9
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x81071b
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100aa2a0
push 0x81079b
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x47fe31
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x59890d
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x59a399
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x59a93c
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x59b13b
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x5a4261
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x5a4d52
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x5b6117
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x65a6ce
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x727987
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x7861f1
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x7d32fa
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8bc0
push 0x7d3b0d
push 0xff
call fcn.101507b0
add esp, 0xc
push 0x100a8a60
push 0x8317bd
push 0xe9
call fcn.101507b0
add esp, 0xc
push 0x100a8b10
push 0x614aef
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100a8b10
push 0x772460
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100a8a00
push 0x4cf56c
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100a8a00
push 0x4d04ba
push 0xe8
call fcn.101507b0
add esp, 0xc
push 0x100a8a00
push 0x77255e
push 0xe8
call fcn.101507b0
add esp, 0xc
mov ecx, 0x101b7cfd
call fcn.1012a320
mov ecx, 0x101b7cac
call fcn.100aac10
mov esp, ebp
pop ebp
ret