Function at 0x4566bc
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ac76d
call fcn.004a80c4
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.004568fa
lea eax, [ebx + 0x38]
push eax
push ebx
call fcn.00456a02
lea eax, [ebp - 0x1c]
push eax
call fcn.00457280
push dword [ebp - 0x1c]
push 0x3e8
push str.TryNo
push 0x4be3a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405d7c
mov dword [ebx + 4], esi
call fcn.00456b0a
mov dword [ebx + 8], eax
call fcn.00456d13
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.00406315
test eax, eax
pop ecx
je 0x4567c1
push esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
call fcn.00409b29
lea ecx, [ebp - 0x38]
push ecx
call fcn.00409dce
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.00407174
add esp, 0x1c
lea edi, [ebx + 0x4c]
lea eax, [ebp - 0x1c]
call fcn.00405e52
call fcn.004562a5
push eax
push 0x4b9630
lea eax, [ebx + 0x50]
call fcn.00407174
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.0040963b
add esp, 0x10
test eax, eax
jne 0x4567fd
mov eax, esi
push eax
call fcn.00409963
pop ecx
cmp eax, 1
jne 0x456808
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x5c], eax
push 1
call fcn.00406ea7
mov esi, eax
call fcn.00407143
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x14]
call fcn.0040614e
lea esi, [ebp - 0x10]
call fcn.00405e12
mov eax, esi
push eax
push 0x4be600
lea ebx, [ebp - 0x14]
call fcn.004061e8
push dword [ebp - 0x10]
call fcn.0047bd3a
mov edi, dword [ebp + 8]
pop ecx
mov dword [edi + 0x10], eax
call fcn.00405e12
mov eax, esi
push eax
push 0x4be4bc
call fcn.004061e8
push dword [ebp - 0x10]
call fcn.0047bd3a
pop ecx
mov dword [edi + 0x14], eax
call fcn.00405e12
mov eax, esi
push eax
push 0x4be4c8
call fcn.004061e8
push dword [ebp - 0x10]
call fcn.0047bd3a
pop ecx
mov dword [edi + 0x18], eax
call fcn.00405e12
mov eax, esi
push eax
push 0x4be608
call fcn.004061e8
push dword [ebp - 0x10]
call fcn.0047bd3a
pop ecx
mov dword [edi + 0x1c], eax
call fcn.00405e12
mov eax, esi
push eax
push 0x4be614
call fcn.004061e8
mov esi, dword [ebp - 0x10]
push esi
call fcn.0047bd3a
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.00405d7c
lea eax, [esi - 0x10]
call fcn.00405d7c
cmp dword [ebp - 0x14], 0
je 0x4568e6
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