Function at 0x100c4650
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 [0x101de844]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x168], eax
push 0x101a77b8
push 0
push 0x101a77c8
push 0x101a77dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx], eax
push 0x101a77e4
push 0
push 0x101a77f4
push 0x101a780c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x101a7814
push 0
push 0x101a7824
push 0x101a7838
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x101a7840
push 0
push 0x101a7850
push 0x101a7864
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0x101a786c
push 0
push 0x101a787c
push 0x101a788c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
push 0x101a7894
push 0
push 0x101a78a4
push 0x101a78b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
push 0x101a78bc
push 0
push 0x101a78cc
push 0x101a78e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0x101a78e8
push 0
push 0x101a78f8
push 0x101a7910
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push 0x101a7918
push 1
push 0x101a7928
push 0x101a7934
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0x101a7940
push 1
push str.MaxAnisotropy
push 0x101a7960
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], eax
push 0x101a796c
push 1
push 0x101a797c
push 0x101a7984
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
push 0x101a7990
push 0
push str.TronEffects
push 0x101a79ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], eax
push 0x101a79b8
push 1
push 0x101a79c8
push 0x101a79cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
push 0x101a79d8
push 0
push 0x101a79e8
push 0x101a79f4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
push 0x101a79fc
push 0
push 0x101a7a0c
push 0x101a7a20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x101a7a28
push 0
push str.DisableMonstersHPBar
push 0x101a7a50
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
push 0x101a7a58
push 0
push 0x101a7a68
push 0x101a7a78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push 0x101a7a80
push 0
push 0x101a7a90
push 0x101a7aa8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
push 0x101a7ab0
push 0
push 0x101a7ac0
push 0x101a7ad0
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 0x100c48d9
push 0x50
push 0x5f886a
call fcn.10170090
add esp, 8
push 0x50
push 0x5f8870
call fcn.10170090
add esp, 8
jmp 0x100c48f7
push 4
push 0x5f886a
call fcn.10170090
add esp, 8
push 4
push 0x5f8870
call fcn.10170090
add esp, 8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x30], 1
jne 0x100c4912
push 0xc3
push 0x54a270
call fcn.10170090
add esp, 8
cmp dword [0x101de704], 1
jne 0x100c4a3f
push 0x90
push 0x57490f
call fcn.10170090
add esp, 8
push 0xe9
push 0x574910
call fcn.10170090
add esp, 8
push 0x90
push 0x574a7a
call fcn.10170090
add esp, 8
push 0xe9
push 0x574a7b
call fcn.10170090
add esp, 8
push 0x90
push 0x574be5
call fcn.10170090
add esp, 8
push 0xe9
push 0x574be6
call fcn.10170090
add esp, 8
push 0x90
push 0x574f23
call fcn.10170090
add esp, 8
push 0xe9
push 0x574f24
call fcn.10170090
add esp, 8
push 0x90
push 0x5751e0
call fcn.10170090
add esp, 8
push 0xe9
push 0x5751e1
call fcn.10170090
add esp, 8
push 0x90
push 0x575329
call fcn.10170090
add esp, 8
push 0xe9
push 0x57532a
call fcn.10170090
add esp, 8
push 0x90
push 0x575472
call fcn.10170090
add esp, 8
push 0xe9
push 0x575473
call fcn.10170090
add esp, 8
push 0x90
push 0x575621
call fcn.10170090
add esp, 8
push 0xe9
push 0x575622
call fcn.10170090
add esp, 8
push 0x101a7ad8
push 0
push 0x101a7ae8
push 0x101a7b00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x101a7b08
push 0
push 0x101a7b18
push 0x101a7b30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], eax
push 0x101a7b38
push 0
push 0x101a7b48
push 0x101a7b60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
push 0x100c4ed0
push 0x8428bd
push 0xe8
call fcn.10170370
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 1
jne 0x100c4aca
push 6
push 0x90
push 0x842863
call fcn.101701e0
add esp, 0xc
push 0x101a7b68
push 0
push 0x101a7b78
push 0x101a7b80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 4]
call fcn.100c3740
movzx edx, byte [0x10272357]
cmp edx, 1
jne 0x100c4b74
push 6
push 0x90
push 0x4d1360
call fcn.101701e0
add esp, 0xc
mov al, byte [0x10272358]
mov byte [ebp - 8], al
cmp byte [ebp - 8], 0
je 0x100c4b2b
cmp byte [ebp - 8], 1
je 0x100c4b44
cmp byte [ebp - 8], 2
je 0x100c4b5d
jmp 0x100c4b74
mov ecx, 0xe8c5c4
mov dx, word [0x101a7b88]
mov word [ecx], dx
mov al, byte [0x101a7b8a]
mov byte [ecx + 2], al
jmp 0x100c4b74
mov ecx, 0xe8c5c4
mov dx, word [0x101a7b8c]
mov word [ecx], dx
mov al, byte [0x101a7b8e]
mov byte [ecx + 2], al
jmp 0x100c4b74
mov ecx, 0xe8c5c4
mov dx, word [0x101a7b90]
mov word [ecx], dx
mov al, byte [0x101a7b92]
mov byte [ecx + 2], al
push 0xd
push 0x90
push 0x4d0e2f
call fcn.101701e0
add esp, 0xc
push 0x100c4ea0
push 0x4d0e2f
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c35d0
push 0x40b154
push 0xe9
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x64a79a
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x64a85f
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x656e03
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x64ab3d
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x64ac02
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x63ddf2
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x63df89
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x63ea4c
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x64ca0c
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x77faf9
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x81071b
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c4f30
push 0x81079b
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x47fe31
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x59890d
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x59a399
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x59a93c
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x59b13b
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x5a4261
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x5a4d52
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x5b6117
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x65a6ce
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x727987
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x7861f1
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x7d32fa
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c3700
push 0x7d3b0d
push 0xff
call fcn.10170370
add esp, 0xc
push 0x100c35a0
push 0x8317bd
push 0xe9
call fcn.10170370
add esp, 0xc
push 0x100c3650
push 0x614aef
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c3650
push 0x772460
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c3540
push 0x4cf56c
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c3540
push 0x4d04ba
push 0xe8
call fcn.10170370
add esp, 0xc
push 0x100c3540
push 0x77255e
push 0xe8
call fcn.10170370
add esp, 0xc
mov ecx, 0x101def24
call fcn.10147220
mov ecx, 0x101de844
call fcn.100c5470
mov esp, ebp
pop ebp
ret