Function at 0x402cf0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x454e60
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
mov eax, dword [0x46f650]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.AddrMode
xor esi, esi
call fcn.00402020
push ecx
mov dword [esp + 0x2c], esi
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Setting
call fcn.00402020
or ebp, 0xffffffff
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.LengthMode
mov dword [edi + 0x44c], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AddrBegin
mov dword [edi + 0x450], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AddrEnd
mov dword [edi + 0x454], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 3
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.LengthBegin
mov dword [edi + 0x458], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 4
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.LengthEnd
mov dword [edi + 0x45c], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 5
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.TimeBegin
mov dword [edi + 0x460], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 6
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.TimeEnd
mov dword [edi + 0x464], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 7
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.AllParTimes
mov dword [edi + 0x468], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.WaitTime
mov dword [edi + 0x46c], eax
mov esi, 0x4b0
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 9
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.PowerOffTime
mov dword [edi + 0x470], eax
xor esi, esi
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 0xa
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
mov byte [edi + 0x494], al
cmp al, 2
jae 0x402fb1
mov byte [edi + 0x494], 2
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.FillAll
xor esi, esi
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 0xb
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CKTime
mov dword [edi + 0x488], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CKReadOneSect
mov dword [edi + 0x48c], eax
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 0xd
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
lea esi, [esp + 0x10]
mov dword [edi + 0x490], eax
call fcn.00408980
push str.BinFilesconfig.ini
push eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x30], 0xe
call fcn.00407a80
mov eax, dword [eax]
add esp, 0xc
push eax
push 0x104
lea ecx, [edi + 0x2b4]
push ecx
push 0x460ef8
push 0x460efc
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4030cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4030ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x460f04
xor esi, esi
call fcn.00402020
push ecx
mov dword [esp + 0x2c], 0xf
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Setting
call fcn.00402020
mov ecx, esi
mov dword [esp + 0x2c], ebp
call fcn.0040a6e0
mov dword [edi + 0x498], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x1c
ret