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

Disassembly:
push 0xffffffffffffffff
push 0x49febb
mov eax, dword fs:[0]
push eax
mov eax, 0x20068
mov dword fs:[0], esp
call fcn.0049af60
mov eax, dword [0x4ca4b0]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push edi
mov eax, esi
call fcn.0040eb00
test al, al
je 0x442b5f
push 0x10
xor edi, edi
push edi
push esi
call fcn.00491483
mov esi, eax
add esp, 0xc
mov dword [esp + 0x4c], esi
jmp 0x442b70
push esi
call fcn.00490a61
add esp, 4
mov dword [esp + 0x4c], eax
xor edi, edi
mov esi, eax
mov ebx, edx
cmp ebx, edi
jg 0x442bc9
jl 0x442b7d
cmp esi, 1
jae 0x442bc9
mov eax, dword [0x4c6a44]
test byte [eax + 0x100], 1
mov dword [eax + 0x30], 0x57
jne 0x442bad
mov ecx, dword [0x4cad68]
push 1
push edi
push 0xffffffffffffffff
push 0x4a6284
push ecx
call fcn.00478f30
jmp 0x442e7a
mov ecx, dword [esp + 0x20088]
push 0x4a3920
push edi
push 0x4a6284
call fcn.0042fc50
jmp 0x442e7a
mov eax, dword [0x4cc1e4]
or ebp, 0xffffffff
mov dword [esp + 0x14], vtable.TextStream.0
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
cmp eax, ebp
je 0x442c0d
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x442c0d
mov byte [esp + 0x2e], al
mov dword [esp + 0x14], vtable.TextFile.0
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 0x2008c]
mov dword [esp + 0x20080], edi
mov eax, dword [0x4c6a44]
mov eax, dword [eax + 0xfc]
and eax, 0x7fffffff
push 0x30c
lea ecx, [esp + 0x18]
call fcn.00473970
test al, al
jne 0x442c8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c6a44]
test byte [ecx + 0x100], 1
mov dword [ecx + 0x30], eax
jne 0x442c6f
push 1
push edi
push ebp
push 0x4a6284
jmp 0x442e56
mov ecx, dword [esp + 0x20088]
push 0x4a3920
push edi
push 0x4a6284
call fcn.0042fc50
jmp 0x442e62
xor ebp, ebp
test ebx, ebx
jl 0x442dae
jg 0x442c9f
test esi, esi
je 0x442dae
push 1
push 0xffff
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00473ad0
mov esi, eax
test esi, esi
je 0x442d1e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x4cc01c]
mov ecx, dword [0x4c6a44]
cmp eax, dword [ecx + 0xd8]
jbe 0x442d03
push 0
push 0
push 0
push 0
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x442cf8
push 1
push 0xffffffffffffffff
call fcn.004013d0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4cc01c], eax
add ebp, 1
adc edi, 0
cmp edi, ebx
jl 0x442c9f
jg 0x442db2
cmp ebp, dword [esp + 0x4c]
jb 0x442c9f
jmp 0x442db2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c6a44]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x442d57
cmp dword [esp + 0x40], 0
jne 0x442d57
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 [0x4c6a44]
test byte [ecx + 0x100], 1
jne 0x442d91
mov edx, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a6284
push edx
jmp 0x442e5d
mov ecx, dword [esp + 0x20088]
push 0x4a3920
push 0
push 0x4a6284
call fcn.0042fc50
jmp 0x442e62
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x442ddc
cmp dword [esp + 0x40], 0
jne 0x442ddc
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 0x442e01
cmp word [esp + esi*2 + 0x72], 0xa
jne 0x442dfd
dec esi
test esi, esi
jne 0x442e26
mov ecx, dword [esp + 0x10]
call fcn.00414bf0
test eax, eax
jne 0x442e3f
lea ecx, [esp + 0x14]
mov dword [esp + 0x20080], 0xffffffff
call fcn.00416760
xor eax, eax
jmp 0x442e7a
mov edx, dword [esp + 0x10]
push 1
push 0
push esi
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.00478f30
jmp 0x442e0a
mov eax, dword [0x4c6a44]
push 1
push 0
push 0xffffffffffffffff
mov dword [eax + 0x30], 0
push 0x4a3930
mov ecx, dword [0x4cad68]
push ecx
call fcn.00478f30
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x20080], 0xffffffff
call fcn.00416760
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