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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9028
mov eax, dword fs:[0]
push eax
mov eax, 0x1006c
mov dword fs:[0], esp
call fcn.004c78a0
mov eax, dword [0x4e90f8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
call fcn.00404660
mov esi, edx
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
test esi, esi
jg 0x458b37
jl 0x458b0f
cmp ebx, 1
jae 0x458b37
mov eax, dword [0x4e498c]
mov ecx, edi
push 1
mov dword [eax + 0x30], 0x57
call fcn.004469f0
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 - 0x54]
call fcn.00404710
mov dword [ebp - 0x54], vtable.TextFile.0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
mov eax, dword [0x4e498c]
mov eax, dword [eax + 0xdc]
and eax, 0x7fffffff
push eax
push 0x30c
push dword [ebp + 8]
call fcn.00497ff0
test al, al
jne 0x458b8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e498c]
push 1
mov dword [ecx + 0x30], eax
jmp 0x458d47
mov eax, dword fs:[0x24]
xorps xmm0, xmm0
mov dword [ebp + 0xc], eax
movlpd qword [ebp - 0x5c], xmm0
test esi, esi
jl 0x458ccc
jg 0x458bb2
test ebx, ebx
je 0x458ccc
mov ebx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x5c]
nop dword [eax + eax]
push 1
push 0xffff
lea eax, [ebp - 0x10078]
push eax
lea ecx, [ebp - 0x54]
call fcn.00498180
mov esi, eax
test esi, esi
je 0x458c4d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4e498c]
sub eax, dword [0x4ea0c4]
cmp eax, dword [ecx + 0xb8]
jbe 0x458c2f
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x458c24
mov eax, dword [ebp + 0xc]
cmp dword [0x4e9a38], eax
jne 0x458c24
mov edx, 1
or ecx, 0xffffffff
call fcn.00401a30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4ea0c4], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp - 0x18]
jl 0x458bc0
jg 0x458c45
cmp edi, dword [ebp - 0x1c]
jb 0x458bc0
mov edi, dword [ebp - 0x10]
jmp 0x458ccf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e498c]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x458c7d
cmp dword [ebp - 0x28], 0
jne 0x458c7d
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
push dword [ebp - 0x24]
call dword [eax + 0x10]
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x2c], 0
call dword [eax + 8]
mov eax, dword [0x4e498c]
test byte [eax + 0xe0], 1
jne 0x458cb3
mov ecx, dword [0x4e7934]
push 1
push 0
push 0xffffffffffffffff
push 0x4d07c0
call fcn.0049e6b0
jmp 0x458d4e
mov ecx, dword [ebp - 0x10]
push 0x4d0335
push 0
push 0x4d07c0
call fcn.00446950
jmp 0x458d4e
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x458cf0
cmp dword [ebp - 0x28], 0
jne 0x458cf0
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
push dword [ebp - 0x24]
call dword [eax + 0x10]
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x2c], 0
call dword [eax + 8]
test esi, esi
je 0x458d21
cmp byte [ebp + esi - 0x10079], 0xa
lea eax, [esi - 1]
cmovne eax, esi
test eax, eax
je 0x458d21
push 1
push 0
push eax
lea eax, [ebp - 0x10078]
push eax
jmp 0x458d29
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0049e6b0
test eax, eax
jne 0x458d39
xor esi, esi
jmp 0x458d50
mov eax, dword [0x4e498c]
push 0
mov dword [eax + 0x30], 0
mov ecx, edi
call fcn.004469f0
mov esi, eax
lea ecx, [ebp - 0x54]
call fcn.00404810
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