Function at 0x40a040
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46798b
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x487bb0]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
push edi
mov eax, dword [0x487bb0]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42e]
push ecx
mov word [esp + 0x430], ax
call fcn.0044fe60
mov eax, dword [0x486e90]
mov esi, 8
add esp, 0xc
cmp dword [0x486ea4], esi
jae 0x40a0b0
mov eax, 0x486e90
push 0x46c914
push eax
lea edx, [esp + 0x42c]
push 0x46c8b4
push edx
call fcn.00401040
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x236]
push ecx
mov word [esp + 0x238], ax
call fcn.0044fe60
mov eax, dword [0x486e90]
add esp, 0x1c
cmp dword [0x486ea4], esi
jae 0x40a0fa
mov eax, 0x486e90
push str.setup.ini
push eax
lea edx, [esp + 0x224]
push 0x46c8b4
push edx
call fcn.00401040
add esp, 0x10
cmp dword [0x4890b8], 0
jne 0x40a3a8
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.0044fe60
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea edx, [esp + 0x21c]
push edx
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0x46e008
push str.auto_start
push str.gereral
call esi
lea ecx, [esp + 0x14]
push ecx
call fcn.00450fe3
add esp, 4
cmp eax, 0xffffffff
je 0x40a1ce
lea edx, [esp + 0x14]
push edx
call fcn.00450fe3
add esp, 4
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.AutoStart
call fcn.00404430
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x46ccb0
mov dword [esp + 0x678], 0
call fcn.00404430
push SysReAllocString
mov dword [esp + 0x678], 0xffffffff
call fcn.00402da0
add esp, 0x40
lea eax, [esp + 0x21c]
push eax
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push 0x46e008
push str.autoclear
push str.gereral
call esi
lea edx, [esp + 0x14]
push edx
call fcn.00450fe3
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 4
cmp eax, 0xffffffff
je 0x40a222
lea eax, [esp + 0x424]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.autoclear
push str.gereral
call edi
lea edx, [esp + 0x21c]
push edx
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0x46e008
push str.enable_64bit
push str.gereral
call esi
lea ecx, [esp + 0x14]
push ecx
call fcn.00450fe3
add esp, 4
cmp eax, 0xffffffff
je 0x40a270
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x18]
push eax
push str.enable_64bit
push str.gereral
call edi
lea ecx, [esp + 0x21c]
push ecx
push 0x104
lea edx, [esp + 0x1c]
push edx
push 0x46e008
push str.popupengine
push str.gereral
call esi
lea eax, [esp + 0x14]
push eax
call fcn.00450fe3
add esp, 4
cmp eax, 0xffffffff
je 0x40a2be
lea ecx, [esp + 0x424]
push ecx
lea edx, [esp + 0x18]
push edx
push str.popupengine
push str.gereral
call edi
lea eax, [esp + 0x21c]
push eax
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push 0x46e008
push str.open_proxy
push str.gereral
call esi
lea edx, [esp + 0x14]
push edx
call fcn.00450fe3
add esp, 4
cmp eax, 0xffffffff
je 0x40a30c
lea eax, [esp + 0x424]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.open_proxy
push str.gereral
call edi
lea edx, [esp + 0x21c]
push edx
push 0x104
lea eax, [esp + 0x1c]
push eax
push 0x46e008
push str.keep_newest_ver
push str.gereral
call esi
lea ecx, [esp + 0x14]
push ecx
call fcn.00450fe3
add esp, 4
cmp eax, 0xffffffff
je 0x40a35a
lea edx, [esp + 0x424]
push edx
lea eax, [esp + 0x18]
push eax
push str.keep_newest_ver
push str.gereral
call edi
lea ecx, [esp + 0x21c]
push ecx
push 0x104
lea edx, [esp + 0x1c]
push edx
push 0x46e008
push str.join_feeling_plan
push str.gereral
call esi
lea eax, [esp + 0x14]
push eax
call fcn.00450fe3
add esp, 4
cmp eax, 0xffffffff
je 0x40a3a8
lea ecx, [esp + 0x424]
push ecx
lea edx, [esp + 0x18]
push edx
push str.join_feeling_plan
push str.gereral
call edi
lea eax, [esp + 0x21c]
push eax
call fcn.00423030
add esp, 4
test eax, eax
je 0x40a3cc
lea ecx, [esp + 0x21c]
push ecx
call fcn.00423220
add esp, 4
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0044ffb3
add esp, 0x630
ret