Function at 0x4565ba
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4abffb
call fcn.004a7794
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.004567f8
lea eax, [ebx + 0x38]
push eax
push ebx
call fcn.00456900
lea eax, [ebp - 0x1c]
push eax
call fcn.0045717e
push dword [ebp - 0x1c]
push 0x3e8
push str.TryNo
push 0x4be47c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd1
mov dword [ebx + 4], esi
call fcn.00456a08
mov dword [ebx + 8], eax
call fcn.00456c11
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.004062c9
test eax, eax
pop ecx
je 0x4566bf
push esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
call fcn.00409965
lea ecx, [ebp - 0x38]
push ecx
call fcn.00409c0a
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.00407054
add esp, 0x1c
lea edi, [ebx + 0x4c]
lea eax, [ebp - 0x1c]
call fcn.00405da7
call fcn.0045621b
push eax
push 0x4b962c
lea eax, [ebx + 0x50]
call fcn.00407054
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.00409477
add esp, 0x10
test eax, eax
jne 0x4566fb
mov eax, esi
push eax
call fcn.0040979f
pop ecx
cmp eax, 1
jne 0x456706
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x5c], eax
push 1
call fcn.00406d87
mov esi, eax
call fcn.00407023
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x14]
call fcn.00406102
lea esi, [ebp - 0x10]
call fcn.00405d67
mov eax, esi
push eax
push 0x4be6c0
lea ebx, [ebp - 0x14]
call fcn.0040619c
push dword [ebp - 0x10]
call fcn.0047b41a
mov edi, dword [ebp + 8]
pop ecx
mov dword [edi + 0x10], eax
call fcn.00405d67
mov eax, esi
push eax
push 0x4be6c8
call fcn.0040619c
push dword [ebp - 0x10]
call fcn.0047b41a
pop ecx
mov dword [edi + 0x14], eax
call fcn.00405d67
mov eax, esi
push eax
push 0x4be6d4
call fcn.0040619c
push dword [ebp - 0x10]
call fcn.0047b41a
pop ecx
mov dword [edi + 0x18], eax
call fcn.00405d67
mov eax, esi
push eax
push 0x4be6e0
call fcn.0040619c
push dword [ebp - 0x10]
call fcn.0047b41a
pop ecx
mov dword [edi + 0x1c], eax
call fcn.00405d67
mov eax, esi
push eax
push 0x4be6ec
call fcn.0040619c
mov esi, dword [ebp - 0x10]
push esi
call fcn.0047b41a
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.00405cd1
lea eax, [esi - 0x10]
call fcn.00405cd1
cmp dword [ebp - 0x14], 0
je 0x4567e4
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