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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4987db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x20064
call fcn.00493810
mov eax, dword [0x4c1e48]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
push edi
mov eax, esi
call fcn.0040c910
test al, al
je 0x4404ef
push 0x10
xor ebx, ebx
push ebx
push esi
call fcn.00489cc7
add esp, 0xc
jmp 0x4404fa
push esi
call fcn.004895a1
add esp, 4
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
cmp edx, ebx
jg 0x440576
jl 0x44050d
cmp eax, 1
jae 0x440576
mov eax, dword [0x4be3fc]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0x100], bl
jne 0x44054c
mov ecx, dword [0x4c26a8]
push ecx
or eax, 0xffffffff
mov ecx, 0x49e334
call fcn.00401200
mov ecx, dword [esp + 0x20074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x4a59a4
push ebx
push 0x49e334
call fcn.0042eae0
mov ecx, dword [esp + 0x20074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4c4e64]
or edi, 0xffffffff
mov dword [esp + 0x20], vtable.TextStream.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp eax, edi
je 0x4405b6
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x4405b6
mov byte [esp + 0x36], bl
mov dword [esp + 0x20], vtable.TextFile.0
mov dword [esp + 0x50], edi
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2007c], ebx
mov eax, dword [0x4be3fc]
mov esi, dword [eax + 0xf4]
push 0x30c
push ecx
lea ecx, [esp + 0x28]
and esi, 0x7fffffff
mov dword [esp + 0x30], ebx
call dword [0x4a3498]
test al, al
je 0x44060b
mov eax, esi
mov ebx, 0x30c
lea ecx, [esp + 0x20]
call fcn.0046cea0
xor ebx, ebx
test al, al
jne 0x440660
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4be3fc]
mov dword [ecx + 0x30], eax
cmp byte [ecx + 0x100], bl
jne 0x440641
mov edx, dword [0x4c26a8]
push edx
mov eax, edi
mov ecx, 0x49e334
call fcn.00401200
mov dword [esp + 0x2007c], edi
jmp 0x440852
mov ecx, dword [ebp + 8]
push 0x4a59a4
push ebx
push 0x49e334
call fcn.0042eae0
mov dword [esp + 0x2007c], edi
jmp 0x440852
xor edi, edi
cmp dword [esp + 0x14], ebx
jl 0x440786
jg 0x440680
cmp dword [esp + 0x10], ebx
jbe 0x440786
jmp 0x440680
push 1
push 0xffff
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
call fcn.0046cfd0
mov esi, eax
test esi, esi
je 0x440700
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c4abc]
mov ecx, dword [0x4be3fc]
cmp eax, dword [ecx + 0xd0]
jbe 0x4406e3
push 0
push 0
push 0
push 0
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4406d8
push 1
push 0xffffffffffffffff
call fcn.004012b0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c4abc], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [esp + 0x14]
jl 0x440680
jg 0x44078a
cmp edi, dword [esp + 0x10]
jb 0x440680
jmp 0x44078a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4be3fc]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x440739
cmp dword [esp + 0x48], 0
jne 0x440739
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x28]
call edx
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x20]
xor eax, eax
mov word [esp + 0x44], ax
mov eax, dword [edx + 8]
lea ecx, [esp + 0x20]
call eax
mov ecx, dword [0x4be3fc]
cmp byte [ecx + 0x100], 0
jne 0x44076d
mov edx, dword [0x4c26a8]
push edx
mov ecx, 0x49e334
jmp 0x44083f
mov ecx, dword [ebp + 8]
push 0x4a59a4
push 0
push 0x49e334
call fcn.0042eae0
jmp 0x440847
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4407b4
cmp dword [esp + 0x48], 0
jne 0x4407b4
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [edx + 0x10]
lea ecx, [esp + 0x28]
call eax
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
xor ecx, ecx
mov word [esp + 0x44], cx
lea ecx, [esp + 0x20]
call eax
test esi, esi
je 0x4407d9
cmp word [esp + esi*2 + 0x6e], 0xa
jne 0x4407d5
dec esi
test esi, esi
jne 0x44081b
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [esp + 0x2c]
call fcn.00471d60
test eax, eax
jne 0x440827
lea ecx, [esp + 0x20]
mov dword [esp + 0x2007c], 0xffffffff
call fcn.004145d0
xor eax, eax
mov ecx, dword [esp + 0x20074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0
push esi
lea ecx, [esp + 0x7c]
push ecx
jmp 0x4407e1
mov edx, dword [0x4be3fc]
mov eax, dword [0x4c26a8]
mov dword [edx + 0x30], 0
push eax
mov ecx, 0x49b8c0
or eax, 0xffffffff
call fcn.00401200
mov dword [esp + 0x2007c], 0xffffffff
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.004145d0
mov ecx, dword [esp + 0x20074]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8