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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49867b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x20064
call fcn.004936b0
mov eax, dword [0x4c1e48]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
push edi
mov eax, esi
call fcn.0040c8e0
test al, al
je 0x44043f
push 0x10
xor ebx, ebx
push ebx
push esi
call fcn.00489b67
add esp, 0xc
jmp 0x44044a
push esi
call fcn.00489441
add esp, 4
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
cmp edx, ebx
jg 0x4404c6
jl 0x44045d
cmp eax, 1
jae 0x4404c6
mov eax, dword [0x4be3fc]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0x100], bl
jne 0x44049c
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.0042ea30
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 0x440506
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x440506
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 0x44055b
mov eax, esi
mov ebx, 0x30c
lea ecx, [esp + 0x20]
call fcn.0046cd90
xor ebx, ebx
test al, al
jne 0x4405b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4be3fc]
mov dword [ecx + 0x30], eax
cmp byte [ecx + 0x100], bl
jne 0x440591
mov edx, dword [0x4c26a8]
push edx
mov eax, edi
mov ecx, 0x49e334
call fcn.00401200
mov dword [esp + 0x2007c], edi
jmp 0x4407a2
mov ecx, dword [ebp + 8]
push 0x4a59a4
push ebx
push 0x49e334
call fcn.0042ea30
mov dword [esp + 0x2007c], edi
jmp 0x4407a2
xor edi, edi
cmp dword [esp + 0x14], ebx
jl 0x4406d6
jg 0x4405d0
cmp dword [esp + 0x10], ebx
jbe 0x4406d6
jmp 0x4405d0
push 1
push 0xffff
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
call fcn.0046cec0
mov esi, eax
test esi, esi
je 0x440650
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c4abc]
mov ecx, dword [0x4be3fc]
cmp eax, dword [ecx + 0xd0]
jbe 0x440633
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 0x440628
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 0x4405d0
jg 0x4406da
cmp edi, dword [esp + 0x10]
jb 0x4405d0
jmp 0x4406da
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 0x440689
cmp dword [esp + 0x48], 0
jne 0x440689
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 0x4406bd
mov edx, dword [0x4c26a8]
push edx
mov ecx, 0x49e334
jmp 0x44078f
mov ecx, dword [ebp + 8]
push 0x4a59a4
push 0
push 0x49e334
call fcn.0042ea30
jmp 0x440797
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x440704
cmp dword [esp + 0x48], 0
jne 0x440704
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 0x440729
cmp word [esp + esi*2 + 0x6e], 0xa
jne 0x440725
dec esi
test esi, esi
jne 0x44076b
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [esp + 0x2c]
call fcn.00471c00
test eax, eax
jne 0x440777
lea ecx, [esp + 0x20]
mov dword [esp + 0x2007c], 0xffffffff
call fcn.004145f0
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 0x440731
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.004145f0
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