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

Disassembly:
push 0xffffffffffffffff
push 0x49acfb
mov eax, dword fs:[0]
push eax
mov eax, 0x20068
mov dword fs:[0], esp
call fcn.00495db0
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.0040cc10
test al, al
je 0x4417c9
push 0x10
xor ebx, ebx
push ebx
push esi
call fcn.0048c147
add esp, 0xc
jmp 0x4417d4
push esi
call fcn.0048ba21
add esp, 4
xor ebx, ebx
mov ebp, edx
mov dword [esp + 0x4c], eax
cmp ebp, ebx
jg 0x441830
jl 0x4417e5
cmp eax, 1
jae 0x441830
mov eax, dword [0x4c040c]
mov dword [eax + 0x30], 0x57
cmp byte [eax + 0x104], bl
jne 0x441814
mov ecx, dword [0x4c46ec]
push 1
push ebx
push 0xffffffffffffffff
push 0x4a12cc
push ecx
call fcn.004742b0
jmp 0x441b1b
mov ecx, dword [esp + 0x20088]
push 0x49e828
push ebx
push 0x4a12cc
call fcn.0042ec70
jmp 0x441b1b
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 0x441874
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x441874
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 [0x4a63a8]
test al, al
je 0x4418cd
mov eax, esi
mov ebx, 0x30c
lea ecx, [esp + 0x14]
call fcn.0046f390
xor ebx, ebx
test al, al
jne 0x441928
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c040c]
mov dword [ecx + 0x30], eax
cmp byte [ecx + 0x104], bl
jne 0x441905
mov edx, dword [0x4c46ec]
push 1
push ebx
push edi
push 0x4a12cc
push edx
call fcn.004742b0
mov dword [esp + 0x20080], edi
jmp 0x441b0e
mov ecx, dword [esp + 0x20088]
push 0x49e828
push ebx
push 0x4a12cc
call fcn.0042ec70
mov dword [esp + 0x20080], edi
jmp 0x441b0e
xor edi, edi
test ebp, ebp
jl 0x441a4f
jg 0x441940
cmp dword [esp + 0x4c], ebx
jbe 0x441a4f
mov edi, edi
push 1
push 0xffff
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0046f4c0
mov esi, eax
test esi, esi
je 0x4419bf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4c6b04]
mov edx, dword [0x4c040c]
cmp eax, dword [edx + 0xd4]
jbe 0x4419a4
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 0x441999
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 0x441940
jg 0x441a53
cmp ebx, dword [esp + 0x4c]
jb 0x441940
jmp 0x441a53
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 0x4419f8
cmp dword [esp + 0x40], 0
jne 0x4419f8
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 0x441a32
mov edx, dword [0x4c46ec]
push 1
push 0
push 0xffffffffffffffff
push 0x4a12cc
push edx
jmp 0x441afe
mov ecx, dword [esp + 0x20088]
push 0x49e828
push 0
push 0x4a12cc
call fcn.0042ec70
jmp 0x441b03
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x441a7d
cmp dword [esp + 0x40], 0
jne 0x441a7d
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 0x441aa2
cmp word [esp + esi*2 + 0x72], 0xa
jne 0x441a9e
dec esi
test esi, esi
jne 0x441ac7
mov ecx, dword [esp + 0x10]
call fcn.00412a60
test eax, eax
jne 0x441ae0
lea ecx, [esp + 0x14]
mov dword [esp + 0x20080], 0xffffffff
call fcn.00414600
xor eax, eax
jmp 0x441b1b
mov edx, dword [esp + 0x10]
push 1
push 0
push esi
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.004742b0
jmp 0x441aab
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.004742b0
mov dword [esp + 0x20080], 0xffffffff
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00414600
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