Function at 0x40e513
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
push 0
push 1
call fcn.00407c03
add esp, 8
mov dword [0x42d7e8], eax
push 0
push 0
call fcn.00407c03
add esp, 8
mov dword [0x42d7ec], eax
call fcn.00405e90
mov dword [0x42d9b0], eax
push 0x100
lea eax, [ebp - 0x308]
push eax
push 0x152
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x100
lea edx, [ebp - 0x100]
push edx
push 0x153
mov eax, dword [0x4304fc]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0x508]
push edx
lea eax, [ebp - 0x308]
push eax
call fcn.0040ed9c
add esp, 0xc
push 0x10
push str.FontSubstitutes
push 0x154
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x20
push str.Helv
push 0x155
mov edx, dword [0x4304fc]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp dword [0x42e160], 0
je 0x40e5f7
push 0x20
push str.Helv
push 0x42e164
push str.Helv
push str.FontSubstitutes
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
push 0x100
lea eax, [ebp - 0x308]
push eax
push 0x156
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push str.Helv
push 0x42d800
lea edx, [ebp - 0x308]
push edx
call fcn.0040ed9c
add esp, 0xc
push 0x100
lea eax, [ebp - 0x308]
push eax
push 0x157
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x100
lea edx, [ebp - 0x100]
push edx
push 0x158
mov eax, dword [0x4304fc]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.0040a1fb
add esp, 8
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x508]
push ecx
lea edx, [ebp - 0x308]
push edx
call fcn.0040ed9c
add esp, 0xc
push 0x100
lea eax, [ebp - 0x408]
push eax
push 0x159
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x100
lea edx, [ebp - 0x208]
push edx
push 0x15a
mov eax, dword [0x4304fc]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp - 0x108]
push edx
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x4302cc], eax
push 0x100
lea edx, [ebp - 0x308]
push edx
push 0x15b
mov eax, dword [0x4304fc]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push str.Helv
push 0x42d8c8
lea ecx, [ebp - 0x308]
push ecx
call fcn.0040ed9c
add esp, 0xc
push 0x100
lea edx, [ebp - 0x308]
push edx
push 0x15c
mov eax, dword [0x4304fc]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push 0x158
mov edx, dword [0x4304fc]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.0040a1fb
add esp, 8
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x508]
push eax
lea ecx, [ebp - 0x308]
push ecx
call fcn.0040ed9c
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 0x108]
push eax
lea ecx, [ebp - 0x308]
push ecx
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x4304f0], eax
push 0x100
lea eax, [ebp - 0x308]
push eax
push 0x180
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x100
lea edx, [ebp - 0x100]
push edx
push 0x182
mov eax, dword [0x4304fc]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x100]
push ecx
push 0x42df28
lea edx, [ebp - 0x308]
push edx
call fcn.0040ed9c
add esp, 0xc
push 0x100
lea eax, [ebp - 0x308]
push eax
push 0x181
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x100
lea edx, [ebp - 0x100]
push edx
push 0x158
mov eax, dword [0x4304fc]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.0040a1fb
add esp, 8
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x508]
push ecx
lea edx, [ebp - 0x308]
push edx
call fcn.0040ed9c
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
lea edx, [ebp - 0x308]
push edx
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x42f934], eax
push 0x430d68
call fcn.00403bc5
add esp, 4
mov dword [0x42e7bc], 0
push 0x42df28
call fcn.00403a42
add esp, 4
mov dword [0x430210], eax
mov ecx, dword [0x430210]
mov dword [0x42e7c8], ecx
mov dword [0x43020c], 2
mov edx, dword [0x43020c]
mov dword [0x42f930], edx
mov dword [0x42e7c0], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
push eax
call fcn.00407862
add esp, 4
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x40e95d
push 0x5a
mov ecx, dword [ebp - 0x50c]
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x42d9c8], eax
mov edx, dword [ebp - 0x50c]
push edx
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x40e967
mov dword [0x42d9c8], 0x60
push 0
call fcn.00408e7f
add esp, 4
mov dword [0x42d9a4], eax
call fcn.00414710
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x430d4c], eax
push 0x7f01
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x430d50], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x42d9ac], eax
push 0x7f03
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x430d58], eax
push str.MYOBhand
mov ecx, dword [0x4304fc]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x430d54], eax
push str.MYOBGlas
mov edx, dword [0x4304fc]
push edx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x430d5c], eax
push 8
mov eax, dword [0x42c1f0]
push eax
push 0x42c29c
call fcn.00408618
add esp, 0xc
push 8
mov ecx, dword [0x42c1f4]
push ecx
push 0x42c2a8
call fcn.00408618
add esp, 0xc
push 8
mov edx, dword [0x42c1f8]
push edx
push 0x42c2b4
call fcn.00408618
add esp, 0xc
push 8
mov eax, dword [0x42c1fc]
push eax
push 0x42e168
call fcn.00408618
add esp, 0xc
push 0x808080
call fcn.00407b75
add esp, 4
mov dword [0x42d9c4], eax
push 0
call fcn.00407b75
add esp, 4
mov dword [0x42e008], eax
push 0xffffff
call fcn.00407b75
add esp, 4
mov dword [0x42d9d4], eax
push 0x808080
call fcn.00407b75
add esp, 4
mov dword [0x42d9a0], eax
call fcn.0040ea9f
push 0
call fcn.0040cf3b
add esp, 4
mov esp, ebp
pop ebp
ret