Function at 0x4568ba
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ac933
call fcn.004a8254
sub esp, 0x3c
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4da2a0]
mov edi, 0x4da2a0
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x24]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.00456af8
lea eax, [ebx + 0x38]
push eax
push ebx
call fcn.00456c00
lea eax, [ebp - 0x1c]
push eax
call fcn.0045747e
push dword [ebp - 0x1c]
push 0x3e8
push str.TryNo
push 0x4be4cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd2
mov dword [ebx + 4], esi
call fcn.00456d08
mov dword [ebx + 8], eax
call fcn.00456f11
mov dword [ebx + 0xc], eax
mov eax, dword [0x4da2a0]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
xor esi, esi
push eax
mov dword [ebp - 0x20], esi
call fcn.00406275
test eax, eax
pop ecx
je 0x4569bf
push esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
call fcn.00409968
lea ecx, [ebp - 0x38]
push ecx
call fcn.00409c0d
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x36]
push eax
movzx eax, word [ebp - 0x38]
push eax
push str._d__d__d__d:_d:_d
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x48], vtable.KTime.0
call fcn.00407037
add esp, 0x1c
lea edi, [ebx + 0x4c]
lea eax, [ebp - 0x1c]
call fcn.00405db2
call fcn.004564a3
push eax
push 0x4b9630
lea eax, [ebx + 0x50]
call fcn.00407037
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
push eax
lea esi, [ebp - 0x18]
call fcn.0040947a
add esp, 0x10
test eax, eax
jne 0x4569fb
mov eax, esi
push eax
call fcn.004097a2
pop ecx
cmp eax, 1
jne 0x456a06
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x5c], eax
push 1
call fcn.00406d6a
mov esi, eax
call fcn.00407006
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x14]
call fcn.004060ae
lea esi, [ebp - 0x10]
call fcn.00405d72
mov eax, esi
push eax
push 0x4be728
lea ebx, [ebp - 0x14]
call fcn.00406148
push dword [ebp - 0x10]
call fcn.0047be33
mov edi, dword [ebp + 8]
pop ecx
mov dword [edi + 0x10], eax
call fcn.00405d72
mov eax, esi
push eax
push 0x4be5e4
call fcn.00406148
push dword [ebp - 0x10]
call fcn.0047be33
pop ecx
mov dword [edi + 0x14], eax
call fcn.00405d72
mov eax, esi
push eax
push 0x4be5f0
call fcn.00406148
push dword [ebp - 0x10]
call fcn.0047be33
pop ecx
mov dword [edi + 0x18], eax
call fcn.00405d72
mov eax, esi
push eax
push 0x4be730
call fcn.00406148
push dword [ebp - 0x10]
call fcn.0047be33
pop ecx
mov dword [edi + 0x1c], eax
call fcn.00405d72
mov eax, esi
push eax
push 0x4be73c
call fcn.00406148
mov esi, dword [ebp - 0x10]
push esi
call fcn.0047be33
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.00405cd2
lea eax, [esi - 0x10]
call fcn.00405cd2
cmp dword [ebp - 0x14], 0
je 0x456ae4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
leave
ret 4