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

Disassembly:
push 0xffffffffffffffff
push 0x49b98b
mov eax, dword fs:[0]
push eax
mov eax, 0x20068
mov dword fs:[0], esp
call fcn.00496a40
mov eax, dword [0x4c3e88]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push edi
mov eax, esi
call fcn.0040ccb0
test al, al
je 0x442009
push 0x10
xor ebx, ebx
push ebx
push esi
call fcn.0048cdd7
add esp, 0xc
jmp 0x442014
push esi
call fcn.0048c6b1
add esp, 4
xor ebx, ebx
mov ebp, edx
mov dword [esp + 0x4c], eax
cmp ebp, ebx
jg 0x442070
jl 0x442025
cmp eax, 1
jae 0x442070
mov eax, dword [0x4c040c]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0x104], bl
jne 0x442054
mov ecx, dword [0x4c46ec]
push 1
push ebx
push 0xffffffffffffffff
push 0x4a12dc
push ecx
call fcn.00474e60
jmp 0x44235b
mov ecx, dword [esp + 0x20088]
push 0x49e828
push ebx
push 0x4a12dc
call fcn.0042f0f0
jmp 0x44235b
mov eax, dword [0x4c6eac]
or edi, 0xffffffff
mov dword [esp + 0x14], vtable.TextStream.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
cmp eax, edi
je 0x4420b4
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x4420b4
mov byte [esp + 0x2e], bl
mov dword [esp + 0x14], vtable.TextFile.0
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x2008c]
mov dword [esp + 0x20080], ebx
mov eax, dword [0x4c040c]
mov esi, dword [eax + 0xf8]
push 0x30c
push ecx
lea ecx, [esp + 0x1c]
and esi, 0x7fffffff
mov dword [esp + 0x24], ebx
call dword [0x4a64a0]
test al, al
je 0x44210d
mov eax, esi
mov ebx, 0x30c
lea ecx, [esp + 0x14]
call fcn.0046fe90
xor ebx, ebx
test al, al
jne 0x442168
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c040c]
mov dword [ecx + 0x30], eax
cmp byte [ecx + 0x104], bl
jne 0x442145
mov edx, dword [0x4c46ec]
push 1
push ebx
push edi
push 0x4a12dc
push edx
call fcn.00474e60
mov dword [esp + 0x20080], edi
jmp 0x44234e
mov ecx, dword [esp + 0x20088]
push 0x49e828
push ebx
push 0x4a12dc
call fcn.0042f0f0
mov dword [esp + 0x20080], edi
jmp 0x44234e
xor edi, edi
test ebp, ebp
jl 0x44228f
jg 0x442180
cmp dword [esp + 0x4c], ebx
jbe 0x44228f
mov edi, edi
push 1
push 0xffff
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0046ffc0
mov esi, eax
test esi, esi
je 0x4421ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c6b04]
mov edx, dword [0x4c040c]
cmp eax, dword [edx + 0xd4]
jbe 0x4421e4
push 0
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4421d9
push 1
push 0xffffffffffffffff
call fcn.00401290
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4c6b04], eax
add ebx, 1
adc edi, 0
cmp edi, ebp
jl 0x442180
jg 0x442293
cmp ebx, dword [esp + 0x4c]
jb 0x442180
jmp 0x442293
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c040c]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x442238
cmp dword [esp + 0x40], 0
jne 0x442238
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x1c]
call edx
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x14]
xor eax, eax
mov word [esp + 0x3c], ax
mov eax, dword [edx + 8]
lea ecx, [esp + 0x14]
call eax
mov ecx, dword [0x4c040c]
cmp byte [ecx + 0x104], 0
jne 0x442272
mov edx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12dc
push edx
jmp 0x44233e
mov ecx, dword [esp + 0x20088]
push 0x49e828
push 0
push 0x4a12dc
call fcn.0042f0f0
jmp 0x442343
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4422bd
cmp dword [esp + 0x40], 0
jne 0x4422bd
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [edx + 0x10]
lea ecx, [esp + 0x1c]
call eax
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
xor ecx, ecx
mov word [esp + 0x3c], cx
lea ecx, [esp + 0x14]
call eax
test esi, esi
je 0x4422e2
cmp word [esp + esi*2 + 0x72], 0xa
jne 0x4422de
dec esi
test esi, esi
jne 0x442307
mov ecx, dword [esp + 0x10]
call fcn.00412b10
test eax, eax
jne 0x442320
lea ecx, [esp + 0x14]
mov dword [esp + 0x20080], 0xffffffff
call fcn.004146b0
xor eax, eax
jmp 0x44235b
mov edx, dword [esp + 0x10]
push 1
push 0
push esi
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.00474e60
jmp 0x4422eb
mov eax, dword [0x4c040c]
mov ecx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x49e8dc
mov dword [eax + 0x30], 0
push ecx
call fcn.00474e60
mov dword [esp + 0x20080], 0xffffffff
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004146b0
mov eax, esi
mov ecx, dword [esp + 0x20078]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20074
ret 8