Function at 0x45626c
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ab7af
call fcn.004a7044
sub esp, 0x3c
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov eax, dword [0x4d92a0]
mov edi, 0x4d92a0
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.004564aa
lea eax, [ebx + 0x38]
push eax
push ebx
call fcn.004565b2
lea eax, [ebp - 0x1c]
push eax
call fcn.00456e30
push dword [ebp - 0x1c]
push 0x3e8
push str.TryNo
push 0x4bd47c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405cd9
mov dword [ebx + 4], esi
call fcn.004566ba
mov dword [ebx + 8], eax
call fcn.004568c3
mov dword [ebx + 0xc], eax
mov eax, dword [0x4d92a0]
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.004062c0
test eax, eax
pop ecx
je 0x456371
push esi
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
call fcn.004099e0
lea ecx, [ebp - 0x38]
push ecx
call fcn.00409c85
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.004070b5
add esp, 0x1c
lea edi, [ebx + 0x4c]
lea eax, [ebp - 0x1c]
call fcn.00405daf
call fcn.00455ebc
push eax
push 0x4b8630
lea eax, [ebx + 0x50]
call fcn.004070b5
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.004094f2
add esp, 0x10
test eax, eax
jne 0x4563ad
mov eax, esi
push eax
call fcn.0040981a
pop ecx
cmp eax, 1
jne 0x4563b8
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x5c], eax
push 1
call fcn.00406de8
mov esi, eax
call fcn.00407084
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x14]
call fcn.004060f9
lea esi, [ebp - 0x10]
call fcn.00405d6f
mov eax, esi
push eax
push 0x4bd6c0
lea ebx, [ebp - 0x14]
call fcn.00406193
push dword [ebp - 0x10]
call fcn.0047acda
mov edi, dword [ebp + 8]
pop ecx
mov dword [edi + 0x10], eax
call fcn.00405d6f
mov eax, esi
push eax
push 0x4bd6c8
call fcn.00406193
push dword [ebp - 0x10]
call fcn.0047acda
pop ecx
mov dword [edi + 0x14], eax
call fcn.00405d6f
mov eax, esi
push eax
push 0x4bd6d4
call fcn.00406193
push dword [ebp - 0x10]
call fcn.0047acda
pop ecx
mov dword [edi + 0x18], eax
call fcn.00405d6f
mov eax, esi
push eax
push 0x4bd6e0
call fcn.00406193
push dword [ebp - 0x10]
call fcn.0047acda
pop ecx
mov dword [edi + 0x1c], eax
call fcn.00405d6f
mov eax, esi
push eax
push 0x4bd6ec
call fcn.00406193
mov esi, dword [ebp - 0x10]
push esi
call fcn.0047acda
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x1c]
pop ecx
add eax, 0xfffffff0
call fcn.00405cd9
lea eax, [esi - 0x10]
call fcn.00405cd9
cmp dword [ebp - 0x14], 0
je 0x456496
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