Function at 0x100aa530
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 [0x101b8cac]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x168], eax
push 0x101846c8
push 0
push 0x101846d8
push 0x101846ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx], eax
push 0x101846f4
push 0
push 0x10184704
push 0x1018471c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push 0x10184724
push 0
push 0x10184734
push 0x10184748
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x10184750
push 0
push 0x10184760
push 0x10184774
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0x1018477c
push 0
push 0x1018478c
push 0x1018479c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
push 0x101847a4
push 0
push 0x101847b4
push 0x101847c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
push 0x101847cc
push 0
push 0x101847dc
push 0x101847f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0x101847f8
push 0
push 0x10184808
push 0x10184820
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push 0x10184828
push 1
push 0x10184838
push 0x10184844
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0x10184850
push 1
push str.MaxAnisotropy
push 0x10184870
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], eax
push 0x1018487c
push 1
push 0x1018488c
push 0x10184894
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
push 0x101848a0
push 0
push str.TronEffects
push 0x101848bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], eax
push 0x101848c8
push 1
push 0x101848d8
push 0x101848dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
push 0x101848e8
push 0
push 0x101848f8
push 0x10184904
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
push 0x1018490c
push 0
push 0x1018491c
push 0x10184930
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x10184938
push 0
push str.DisableMonstersHPBar
push 0x10184960
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
push 0x10184968
push 0
push 0x10184978
push 0x10184988
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push 0x10184990
push 0
push 0x101849a0
push 0x101849b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
push 0x101849c0
push 0
push 0x101849d0
push 0x101849e0
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 0x100aa7b9
push 0x50
push 0x5f886a
call fcn.101512f0
add esp, 8
push 0x50
push 0x5f8870
call fcn.101512f0
add esp, 8
jmp 0x100aa7d7
push 4
push 0x5f886a
call fcn.101512f0
add esp, 8
push 4
push 0x5f8870
call fcn.101512f0
add esp, 8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x30], 1
jne 0x100aa7f2
push 0xc3
push 0x54a270
call fcn.101512f0
add esp, 8
cmp dword [0x101b8b6c], 1
jne 0x100aa91f
push 0x90
push 0x57490f
call fcn.101512f0
add esp, 8
push 0xe9
push 0x574910
call fcn.101512f0
add esp, 8
push 0x90
push 0x574a7a
call fcn.101512f0
add esp, 8
push 0xe9
push 0x574a7b
call fcn.101512f0
add esp, 8
push 0x90
push 0x574be5
call fcn.101512f0
add esp, 8
push 0xe9
push 0x574be6
call fcn.101512f0
add esp, 8
push 0x90
push 0x574f23
call fcn.101512f0
add esp, 8
push 0xe9
push 0x574f24
call fcn.101512f0
add esp, 8
push 0x90
push 0x5751e0
call fcn.101512f0
add esp, 8
push 0xe9
push 0x5751e1
call fcn.101512f0
add esp, 8
push 0x90
push 0x575329
call fcn.101512f0
add esp, 8
push 0xe9
push 0x57532a
call fcn.101512f0
add esp, 8
push 0x90
push 0x575472
call fcn.101512f0
add esp, 8
push 0xe9
push 0x575473
call fcn.101512f0
add esp, 8
push 0x90
push 0x575621
call fcn.101512f0
add esp, 8
push 0xe9
push 0x575622
call fcn.101512f0
add esp, 8
push 0x101849e8
push 0
push 0x101849f8
push 0x10184a10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x10184a18
push 0
push 0x10184a28
push 0x10184a40
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], eax
push 0x10184a48
push 0
push 0x10184a58
push 0x10184a70
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
push 0x100aadb0
push 0x8428bd
push 0xe8
call fcn.101515d0
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 1
jne 0x100aa9aa
push 6
push 0x90
push 0x842863
call fcn.10151440
add esp, 0xc
push 0x10184a78
push 0
push 0x10184a88
push 0x10184a90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 4]
call fcn.100a9770
movzx edx, byte [0x1024bdef]
cmp edx, 1
jne 0x100aaa54
push 6
push 0x90
push 0x4d1360
call fcn.10151440
add esp, 0xc
mov al, byte [0x1024bdf0]
mov byte [ebp - 8], al
cmp byte [ebp - 8], 0
je 0x100aaa0b
cmp byte [ebp - 8], 1
je 0x100aaa24
cmp byte [ebp - 8], 2
je 0x100aaa3d
jmp 0x100aaa54
mov ecx, 0xe8c5c4
mov dx, word [0x10184a98]
mov word [ecx], dx
mov al, byte [0x10184a9a]
mov byte [ecx + 2], al
jmp 0x100aaa54
mov ecx, 0xe8c5c4
mov dx, word [0x10184a9c]
mov word [ecx], dx
mov al, byte [0x10184a9e]
mov byte [ecx + 2], al
jmp 0x100aaa54
mov ecx, 0xe8c5c4
mov dx, word [0x10184aa0]
mov word [ecx], dx
mov al, byte [0x10184aa2]
mov byte [ecx + 2], al
push 0xd
push 0x90
push 0x4d0e2f
call fcn.10151440
add esp, 0xc
push 0x100aad80
push 0x4d0e2f
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100a9600
push 0x40b154
push 0xe9
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x64a79a
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x64a85f
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x656e03
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x64ab3d
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x64ac02
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x63ddf2
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x63df89
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x63ea4c
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x64ca0c
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x77faf9
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x81071b
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100aae10
push 0x81079b
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x47fe31
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x59890d
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x59a399
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x59a93c
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x59b13b
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x5a4261
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x5a4d52
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x5b6117
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x65a6ce
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x727987
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x7861f1
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x7d32fa
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a9730
push 0x7d3b0d
push 0xff
call fcn.101515d0
add esp, 0xc
push 0x100a95d0
push 0x8317bd
push 0xe9
call fcn.101515d0
add esp, 0xc
push 0x100a9680
push 0x614aef
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100a9680
push 0x772460
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100a9570
push 0x4cf56c
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100a9570
push 0x4d04ba
push 0xe8
call fcn.101515d0
add esp, 0xc
push 0x100a9570
push 0x77255e
push 0xe8
call fcn.101515d0
add esp, 0xc
mov ecx, 0x101b8cfd
call fcn.1012b1d0
mov ecx, 0x101b8cac
call fcn.100ab7d0
mov esp, ebp
pop ebp
ret