Function at 0x45a870
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8368
mov eax, dword fs:[0]
push eax
mov eax, 0x20068
mov dword fs:[0], esp
call fcn.004b79a0
mov eax, dword [0x4e7210]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.00404c80
test al, al
je 0x45a8ca
push 0x10
push 0
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wcstoi64]
mov ebx, eax
mov esi, edx
add esp, 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], esi
jmp 0x45a8de
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebp + 0xc], edx
mov esi, edx
test esi, esi
jg 0x45a911
jl 0x45a8e9
cmp ebx, 1
jae 0x45a911
mov eax, dword [0x4e30f4]
mov ecx, edi
push 1
mov dword [eax + 0x30], 0x57
call fcn.00447710
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x50]
call fcn.00404d60
mov dword [ebp - 0x50], vtable.TextFile.0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
mov eax, dword [0x4e30f4]
mov eax, dword [eax + 0xfc]
and eax, 0x7fffffff
push eax
push 0x30c
push dword [ebp + 8]
call fcn.0049a1a0
test al, al
jne 0x45a969
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e30f4]
push 1
mov dword [ecx + 0x30], eax
jmp 0x45ab1e
mov eax, dword fs:[0x24]
xorps xmm0, xmm0
mov dword [ebp + 8], eax
movlpd qword [ebp - 0x58], xmm0
test esi, esi
jl 0x45aaa0
jg 0x45a98c
test ebx, ebx
je 0x45aaa0
mov ebx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
push 1
push 0xffff
lea eax, [ebp - 0x20074]
push eax
lea ecx, [ebp - 0x50]
call fcn.0049a330
mov esi, eax
test esi, esi
je 0x45aa1f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4e30f4]
sub eax, dword [0x4e868c]
cmp eax, dword [ecx + 0xd8]
jbe 0x45aa01
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x45a9f6
mov eax, dword [ebp + 8]
cmp dword [0x4e72e4], eax
jne 0x45a9f6
mov edx, 1
or ecx, 0xffffffff
call fcn.004019f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4e868c], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp + 0xc]
jl 0x45a992
jg 0x45aa17
cmp edi, dword [ebp - 0x10]
jb 0x45a992
mov edi, dword [ebp - 0x14]
jmp 0x45aaa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e30f4]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x45aa4f
cmp dword [ebp - 0x24], 0
jne 0x45aa4f
push eax
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
push dword [ebp - 0x20]
call dword [eax + 0x10]
mov dword [ebp - 0x48], 0
xor eax, eax
lea ecx, [ebp - 0x50]
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
call dword [eax + 8]
mov eax, dword [0x4e30f4]
test byte [eax + 0x100], 1
jne 0x45aa87
mov ecx, dword [0x4e59cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4d00fc
call fcn.004a0a20
jmp 0x45ab25
mov ecx, dword [ebp - 0x14]
push 0x4b9c40
push 0
push 0x4d00fc
call fcn.00447670
jmp 0x45ab25
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x45aac4
cmp dword [ebp - 0x24], 0
jne 0x45aac4
push eax
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
push dword [ebp - 0x20]
call dword [eax + 0x10]
mov dword [ebp - 0x48], 0
xor eax, eax
lea ecx, [ebp - 0x50]
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
call dword [eax + 8]
test esi, esi
je 0x45aaf8
cmp word [ebp + esi*2 - 0x20076], 0xa
lea eax, [esi - 1]
cmovne eax, esi
test eax, eax
je 0x45aaf8
push 1
push 0
push eax
lea eax, [ebp - 0x20074]
push eax
jmp 0x45ab00
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x18]
call fcn.004a0a20
test eax, eax
jne 0x45ab10
xor esi, esi
jmp 0x45ab27
mov eax, dword [0x4e30f4]
push 0
mov dword [eax + 0x30], 0
mov ecx, edi
call fcn.00447710
mov esi, eax
lea ecx, [ebp - 0x50]
call fcn.00404e60
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8