Function at 0x4296f6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57249a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7b8
mov dword [ebp - 0x7b4], ecx
mov ecx, dword [ebp - 0x7b4]
call fcn.00426df4
mov dword [ebp - 0x7a8], eax
cmp dword [ebp - 0x7a8], 0
jne 0x429739
jmp 0x4299af
push 0
push str.Script_Files__.scp_.ScpAll_Files_._.
push 0x221000
push 0x5dfff8
push 0
push 1
lea ecx, [ebp - 0x204]
call fcn.0055f87c
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x204]
call fcn.0055f9de
cmp eax, 1
je 0x429787
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.004048d0
jmp 0x4299af
lea eax, [ebp - 0x7b0]
push eax
lea ecx, [ebp - 0x204]
call fcn.0055fab9
mov dword [ebp - 0x7b8], eax
mov ecx, dword [ebp - 0x7b8]
mov dword [ebp - 0x7bc], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x7bc]
call fcn.005287a0
push eax
lea edx, [ebp - 0x308]
push edx
call fcn.0054be90
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7b0]
call fcn.0056206c
lea eax, [ebp - 0x308]
push eax
push 0
push str.TOTALCnt
push 0x59f784
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x7a0], 0
jmp 0x429813
mov ecx, dword [ebp - 0x7a0]
add ecx, 1
mov dword [ebp - 0x7a0], ecx
mov edx, dword [ebp - 0x7a0]
cmp edx, dword [ebp - 0x38c]
jge 0x429992
mov eax, dword [ebp - 0x7a0]
push eax
push 0x59f78c
lea ecx, [ebp - 0x388]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x308]
push edx
push 0x400
lea eax, [ebp - 0x79c]
push eax
push 0x5dfffc
lea ecx, [ebp - 0x388]
push ecx
push 0x59f798
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x39c]
push edx
lea eax, [ebp - 0x79c]
push eax
call fcn.0042965f
add esp, 8
mov cl, byte [ebp - 0x39c]
mov byte [ebp - 0x7c0], cl
cmp byte [ebp - 0x7c0], 0xf1
je 0x42989a
jmp 0x42998d
mov dl, byte [ebp - 0x39b]
mov byte [ebp - 0x7c4], dl
cmp byte [ebp - 0x7c4], 0xb
je 0x4298b4
jmp 0x42998d
mov eax, dword [ebp - 0x391]
and eax, 0xff
shl eax, 9
mov dword [ebp - 0x7a4], eax
mov ecx, dword [ebp - 0x393]
and ecx, 0xff
and ecx, 4
test ecx, ecx
je 0x4298ed
mov edx, dword [ebp - 0x7a4]
add edx, 0x200
mov dword [ebp - 0x7a4], edx
mov eax, dword [ebp - 0x7a4]
push eax
call fcn.0054cfd4
add esp, 4
mov dword [ebp - 0x7ac], eax
mov ecx, dword [ebp - 0x7a4]
push ecx
push 0
mov edx, dword [ebp - 0x7ac]
push edx
call fcn.0054bf90
add esp, 0xc
push 0
lea eax, [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x7a4]
push ecx
mov edx, dword [ebp - 0x7ac]
push edx
mov eax, dword [ebp - 0x7b4]
mov ecx, dword [eax + 0x6c]
push ecx
mov edx, dword [ebp - 0x7b4]
mov al, byte [edx + 0x65]
push eax
mov ecx, dword [ebp - 0x7b4]
mov dl, byte [ecx + 0x64]
push edx
mov eax, dword [ebp - 0x7b4]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [ebp - 0x7b4]
mov eax, dword [edx + 0x78]
push eax
mov ecx, dword [ebp - 0x7b4]
mov edx, dword [ecx + 0x74]
push edx
mov eax, dword [ebp - 0x7b4]
mov ecx, dword [eax + 0x5c]
push ecx
call fcn.004c0bfd
add esp, 0x2c
mov edx, dword [ebp - 0x7a8]
and edx, eax
mov dword [ebp - 0x7a8], edx
jmp 0x429804
mov ecx, dword [ebp - 0x7b4]
call fcn.00427253
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.004048d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret