Function at 0x49dd90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b8
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x8a8], ecx
lea eax, [ebp - 0x10]
push eax
call fcn.004a05e0
add esp, 4
mov ecx, dword [ebp - 0x8a8]
cmp dword [ecx + 0x218], 0
je 0x49ddd0
mov dword [ebp - 0x8ac], 0x550738
jmp 0x49ddda
mov dword [ebp - 0x8ac], 0x550744
lea ecx, [ebp - 0x10]
call fcn.00406010
push eax
push 0x550734
mov edx, dword [ebp - 0x8ac]
push edx
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x210
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x8a8]
cmp dword [eax + 0x218], 0
je 0x49de22
mov dword [ebp - 0x8b0], 0x550754
jmp 0x49de2c
mov dword [ebp - 0x8b0], 0x550768
lea ecx, [ebp - 0x10]
call fcn.00406010
push eax
push 0x550750
mov ecx, dword [ebp - 0x8b0]
push ecx
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x210
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x8a8]
call fcn.0049e980
lea ecx, [ebp - 4]
call fcn.00406250
mov eax, dword [ebp - 0x8a8]
cmp dword [eax + 0x218], 0
je 0x49df0b
lea ecx, [ebp - 0x10]
call fcn.00406010
push eax
push 0x400
push 0x400
lea ecx, [ebp - 4]
call fcn.004058f0
push eax
push 0x550780
push 0x550784
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x210
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00406060
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00448a80
lea ecx, [ebp - 0x10]
call fcn.00406010
push eax
lea ecx, [ebp - 0x18]
call fcn.00406010
push eax
push 0x55078c
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x210
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x49df8e
lea ecx, [ebp - 0x10]
call fcn.00406010
push eax
push 0x400
push 0x400
lea ecx, [ebp - 4]
call fcn.004058f0
push eax
push 0x550794
push 0x550798
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x210
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00406060
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 0x18]
call fcn.00448a80
lea ecx, [ebp - 0x10]
call fcn.00406010
push eax
lea ecx, [ebp - 0x18]
call fcn.00406010
push eax
push 0x5507a0
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x210
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x8a8]
cmp dword [eax + 0x218], 0
je 0x49e2ac
lea ecx, [ebp - 0x28]
call fcn.004a52f0
mov ecx, dword [ebp - 0x8a8]
cmp dword [ecx + 0x1d0], 0
je 0x49e2ac
mov edx, dword [ebp - 0x8a8]
add edx, 0x1d0
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x1d8
call fcn.004a0d10
lea ecx, [ebp - 0x888]
push ecx
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x1d8
call fcn.004a0ac0
push eax
lea ecx, [ebp - 0x30]
call fcn.004a1230
movzx edx, al
test edx, edx
je 0x49e028
lea ecx, [ebp - 0x30]
call fcn.004a11c0
add eax, 0x14
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x40]
call fcn.004a52f0
push 0
lea eax, [ebp - 0x40]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x49e2ac
lea ecx, [ebp - 0x4c]
push ecx
call fcn.004a0660
add esp, 4
lea ecx, [ebp - 0x4c]
call fcn.00406010
push eax
push 0xc8
push str.checkptX
push 0x5507bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x4c]
call fcn.00406010
push eax
push 0x96
push str.checkptY
push 0x5507e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x48]
cmp dword [ebp - 0x20], edx
jl 0x49e0b0
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x44]
cmp dword [ebp - 0x1c], eax
jge 0x49e2a4
lea ecx, [ebp - 0x85c]
call fcn.00406250
xor ecx, ecx
mov word [ebp - 0x858], cx
push 0x7fe
push 0
lea edx, [ebp - 0x856]
push edx
call fcn.0050c770
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.004a53b0
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
call fcn.004a5390
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x28]
push eax
push 0x5507f0
lea eax, [ebp - 0x85c]
push eax
call fcn.00403850
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00406010
push eax
push 0x400
lea ecx, [ebp - 0x858]
push ecx
push 0
push 0x550800
push 0x55080c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x49e269
mov dword [ebp - 0x880], 0
lea ecx, [ebp - 0x87c]
call fcn.004a1370
lea edx, [ebp - 0x87c]
push edx
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x858]
push ecx
mov ecx, dword [ebp - 0x8a8]
call fcn.0049dc80
lea edx, [ebp - 0x864]
push edx
lea ecx, [ebp - 0x87c]
call fcn.004a13c0
jmp 0x49e19e
push 0
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x864]
call fcn.004a14c0
lea ecx, [ebp - 0x898]
push ecx
lea ecx, [ebp - 0x87c]
call fcn.004a13f0
push eax
lea ecx, [ebp - 0x864]
call fcn.004a1500
movzx edx, al
test edx, edx
je 0x49e211
lea ecx, [ebp - 0x864]
call fcn.004a14a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x8a0], ecx
mov dword [ebp - 0x89c], edx
mov eax, dword [ebp - 0x89c]
push eax
mov ecx, dword [ebp - 0x8a0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004a53d0
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x49e20c
mov dword [ebp - 0x880], 1
jmp 0x49e211
jmp 0x49e18a
cmp dword [ebp - 0x880], 0
jne 0x49e25c
lea edx, [ebp - 0x858]
push edx
lea ecx, [ebp - 0x85c]
call fcn.004059f0
lea ecx, [ebp - 0x10]
call fcn.00406010
push eax
lea ecx, [ebp - 0x85c]
call fcn.00406010
push eax
push 0x550820
push 0x55082c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x8a8]
call fcn.0049fb30
lea ecx, [ebp - 0x87c]
call fcn.004a13a0
jmp 0x49e299
lea ecx, [ebp - 0x10]
call fcn.00406010
push eax
lea ecx, [ebp - 0x85c]
call fcn.00406010
push eax
push str.point
push str.specialRB
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 0x8a8]
call fcn.0049fb30
lea ecx, [ebp - 0x85c]
call fcn.00406190
lea ecx, [ebp - 0x4c]
call fcn.00406190
mov ecx, dword [ebp - 0x8a8]
call fcn.0049fab0
push str.PopWndTrackerLogpop.log
lea eax, [ebp - 0x8a4]
push eax
call fcn.004a0620
add esp, 4
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00404ee0
add esp, 0xc
lea ecx, [ebp - 0x8a4]
call fcn.00406190
lea ecx, [ebp - 8]
call fcn.00406010
push eax
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x1cc
call fcn.00406010
push eax
push 0x550894
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x210
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x8a8]
cmp dword [edx + 0x218], 0
je 0x49e336
mov dword [ebp - 0x8b4], 0x5508a0
jmp 0x49e340
mov dword [ebp - 0x8b4], 0x5508b4
lea ecx, [ebp - 8]
call fcn.00406010
push eax
push 0
mov eax, dword [ebp - 0x8b4]
push eax
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x210
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
push 0x5508c8
lea ecx, [ebp - 0xc]
call fcn.00405520
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x5508cc
lea eax, [ebp - 0xc]
push eax
call fcn.00403850
add esp, 0xc
mov ecx, dword [ebp - 0x8a8]
cmp dword [ecx + 0x218], 0
je 0x49e3b3
mov dword [ebp - 0x8b8], 0x5508d4
jmp 0x49e3bd
mov dword [ebp - 0x8b8], str.mblocknum
lea ecx, [ebp - 8]
call fcn.00406010
push eax
lea ecx, [ebp - 0xc]
call fcn.00406010
push eax
mov edx, dword [ebp - 0x8b8]
push edx
mov ecx, dword [ebp - 0x8a8]
add ecx, 0x210
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xc]
call fcn.00406190
lea ecx, [ebp - 8]
call fcn.00406190
lea ecx, [ebp - 4]
call fcn.00406190
lea ecx, [ebp - 0x18]
call fcn.00406190
lea ecx, [ebp - 0x10]
call fcn.00406190
mov ecx, dword [ebp - 0x54]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret