Function at 0x463980
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x565908
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4645d7
mov ecx, 0x565908
call fcn.00465d50
cmp dword [0x56d214], 0
jne 0x4639fb
test edi, edi
jne 0x4639fb
push edi
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x565908
push eax
push 0x40a898
push 0x40a744
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push dword [0x56d214]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a898
mov ecx, esi
call fcn.00454830
push dword [0x56e6dc]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a8b4
mov ecx, esi
call fcn.00454830
push dword [0x56df0c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a8d4
mov ecx, esi
call fcn.00454830
push dword [0x567054]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a8f4
mov ecx, esi
call fcn.00454830
add esp, 0x40
lea eax, [ebp - 0x44]
push dword [0x567058]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a908
mov ecx, esi
call fcn.00454830
push dword [0x56705c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a924
mov ecx, esi
call fcn.00454830
add esp, 0x20
lea edx, [ebp - 0x38c]
push dword [0x5674b4]
push ecx
push 0
push ecx
mov ecx, 0x56e700
call fcn.00455d30
lea eax, [ebp - 0x38c]
push eax
mov edx, 0x40a93c
mov ecx, esi
call fcn.00454830
add esp, 0x14
lea edx, [ebp - 0x38c]
push dword [0x5674b4]
push ecx
push 0
push ecx
mov ecx, 0x56e4c0
call fcn.00455d30
lea eax, [ebp - 0x38c]
push eax
mov edx, 0x40a954
mov ecx, esi
call fcn.00454830
push dword [0x56a878]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a968
mov ecx, esi
call fcn.00454830
push dword [0x56e198]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a988
mov ecx, esi
call fcn.00454830
push dword [0x56e92c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a99c
mov ecx, esi
call fcn.00454830
push dword [0x56e238]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a9b8
mov ecx, esi
call fcn.00454830
push dword [0x56e90c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a9d8
mov ecx, esi
call fcn.00454830
push dword [0x56e6c8]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40a9f8
mov ecx, esi
call fcn.00454830
push dword [0x56a9a8]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aa20
mov ecx, esi
call fcn.00454830
push dword [0x56dce0]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aa38
mov ecx, esi
call fcn.00454830
push dword [0x56d1f0]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aa54
mov ecx, esi
call fcn.00454830
push dword [0x56d218]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aa80
mov ecx, esi
call fcn.00454830
push dword [0x56d1e8]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aa98
mov ecx, esi
call fcn.00454830
push dword [0x56a9c0]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aabc
mov ecx, esi
call fcn.00454830
push dword [0x56e184]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aae0
mov ecx, esi
call fcn.00454830
push dword [0x56e18c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aafc
mov ecx, esi
call fcn.00454830
push dword [0x56e920]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ab14
mov ecx, esi
call fcn.00454830
push dword [0x56e1a0]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ab3c
mov ecx, esi
call fcn.00454830
push dword [0x56e180]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ab50
mov ecx, esi
call fcn.00454830
push dword [0x56daac]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ab68
mov ecx, esi
call fcn.00454830
push dword [0x56e190]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ab84
mov ecx, esi
call fcn.00454830
push dword [0x56e944]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aba4
mov ecx, esi
call fcn.00454830
push dword [0x56a834]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40abc0
mov ecx, esi
call fcn.00454830
push dword [0x56d20c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40abe8
mov ecx, esi
call fcn.00454830
push dword [0x56daa0]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ac08
mov ecx, esi
call fcn.00454830
push dword [0x56d460]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ac28
mov ecx, esi
call fcn.00454830
push dword [0x56a83c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ac48
mov ecx, esi
call fcn.00454830
push dword [0x56e174]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ac7c
mov ecx, esi
call fcn.00454830
push dword [0x56a9bc]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40acbc
mov ecx, esi
call fcn.00454830
push dword [0x56a9b0]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40acdc
mov ecx, esi
call fcn.00454830
xor ecx, ecx
call fcn.00447a90
push eax
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40acf0
mov ecx, esi
call fcn.00454830
push dword [0x56e6d8]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ad10
mov ecx, esi
call fcn.00454830
push dword [0x56e22c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ad3c
mov ecx, esi
call fcn.00454830
push dword [0x56e91c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ad5c
mov ecx, esi
call fcn.00454830
push dword [0x56e930]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ad78
mov ecx, esi
call fcn.00454830
push dword [0x56e178]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ad98
mov ecx, esi
call fcn.00454830
push dword [0x56e908]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40adb8
mov ecx, esi
call fcn.00454830
push dword [0x56e6d0]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40add8
mov ecx, esi
call fcn.00454830
push dword [0x56d688]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40adfc
mov ecx, esi
call fcn.00454830
push dword [0x56a840]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ae14
mov ecx, esi
call fcn.00454830
push dword [0x56a9b8]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ae2c
mov ecx, esi
call fcn.00454830
mov eax, dword [0x56d220]
add eax, 0xa
push eax
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ae4c
mov ecx, esi
call fcn.00454830
push dword [0x56dcd0]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ae60
mov ecx, esi
call fcn.00454830
push dword [0x56dcd4]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40ae80
mov ecx, esi
call fcn.00454830
push dword [0x56dcd8]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aea0
mov ecx, esi
call fcn.00454830
push dword [0x56dcdc]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aec4
mov ecx, esi
call fcn.00454830
push dword [0x56a900]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aee8
mov ecx, esi
call fcn.00454830
push dword [0x56e240]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40af18
mov ecx, esi
call fcn.00454830
push dword [0x56e914]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40af3c
mov ecx, esi
call fcn.00454830
push dword [0x56d204]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40af60
mov ecx, esi
call fcn.00454830
push dword [0x56d1e4]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40af78
mov ecx, esi
call fcn.00454830
push dword [0x56daa4]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40af90
mov ecx, esi
call fcn.00454830
push dword [0x56a874]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40afb0
mov ecx, esi
call fcn.00454830
push ecx
call fcn.00455970
push 0x56d6a0
mov edx, 0x40afd0
mov ecx, esi
call fcn.00454830
push dword [0x56a844]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40aff0
mov ecx, esi
call fcn.00454830
push dword [0x56daa8]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b008
mov ecx, esi
call fcn.00454830
push dword [0x56e93c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b024
mov ecx, esi
call fcn.00454830
push dword [0x56e228]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x48
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b048
mov ecx, esi
call fcn.00454830
push dword [0x56e910]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b06c
mov ecx, esi
call fcn.00454830
push dword [0x56e230]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b08c
mov ecx, esi
call fcn.00454830
push dword [0x56e23c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b0ac
mov ecx, esi
call fcn.00454830
push dword [0x56e940]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b0cc
mov ecx, esi
call fcn.00454830
push dword [0x56e934]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b0ec
mov ecx, esi
call fcn.00454830
push dword [0x56e6e4]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b110
mov ecx, esi
call fcn.00454830
push dword [0x56e6d4]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b134
mov ecx, esi
call fcn.00454830
push dword [0x56e924]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b158
mov ecx, esi
call fcn.00454830
push dword [0x56e188]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b17c
mov ecx, esi
call fcn.00454830
push dword [0x56e1a8]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
lea eax, [ebp - 0x44]
push eax
mov edx, 0x40b1a4
mov ecx, esi
call fcn.00454830
add esp, 0x24
push 0x565908
push esi
push 0x40a744
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x464470
lea eax, [ebp - 0x30]
push eax
push dword [0x56e928]
mov dword [ebp - 0x30], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push dword [0x56e928]
sub eax, ecx
mov dword [0x56a868], eax
mov eax, dword [ebp - 8]
sub eax, edx
mov dword [0x56a860], ecx
mov dword [0x56a864], edx
mov dword [0x56a86c], eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x464466
test byte [ebp - 0x2c], 2
mov dword [0x56a870], eax
je 0x464470
mov dword [0x56a870], 1
push 0x565908
push 0
push 0x40a284
push 0x408a0c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4645d0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
call esi
push 1
mov edi, eax
call esi
mov esi, eax
push esi
push edi
lea eax, [ebp - 0x184]
push 0x40a678
push eax
call ebx
push esi
push edi
lea eax, [ebp - 0x104]
push 0x40a690
push eax
call ebx
push esi
push edi
lea eax, [ebp - 0x84]
push 0x40a6a8
push eax
call ebx
push esi
push edi
lea eax, [ebp - 0xc4]
push 0x40a6c0
push eax
call ebx
add esp, 0x40
lea eax, [ebp - 0x144]
push esi
push edi
push 0x40a6d8
push eax
call ebx
push dword [0x56a860]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x1c
lea eax, [ebp - 0x44]
push 0x565908
push eax
lea eax, [ebp - 0x184]
push eax
push 0x40a6f8
call esi
push dword [0x56a864]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x565908
push eax
lea eax, [ebp - 0x104]
push eax
push 0x40a6f8
call esi
push dword [0x56a868]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x565908
push eax
lea eax, [ebp - 0x84]
push eax
push 0x40a6f8
call esi
push dword [0x56a86c]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x565908
push eax
lea eax, [ebp - 0xc4]
push eax
push 0x40a6f8
call esi
push dword [0x56a870]
lea eax, [ebp - 0x44]
push 0x407d14
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x565908
push eax
lea eax, [ebp - 0x144]
push eax
push 0x40a6f8
call esi
call fcn.00469d40
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret