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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ace7e
mov eax, dword fs:[0]
push eax
mov eax, 0x20068
mov dword fs:[0], esp
call fcn.004ab360
mov eax, dword [0x4ddf18]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
mov ecx, esi
mov dword [ebp - 0x50], edi
call fcn.00403e00
test al, al
je 0x447079
push 0x10
push 0
push esi
call fcn.00495b7d
mov ebx, eax
mov esi, edx
add esp, 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], esi
jmp 0x44708c
push esi
call fcn.00495cf4
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebp + 0xc], edx
mov esi, edx
test esi, esi
jg 0x4470fb
jl 0x447097
cmp ebx, 1
jae 0x4470fb
mov eax, dword [0x4d89c0]
test byte [eax + 0x100], 1
mov dword [eax + 0x30], 0x57
jne 0x4470d5
mov ecx, dword [0x4db768]
push 1
push 0
push 0xffffffffffffffff
push 0x4c8740
call fcn.0047b2f0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0x4c602c
push 0
push 0x4c8740
mov ecx, edi
call fcn.00434ec0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x4c]
call fcn.00403f80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
mov eax, dword [0x4d89c0]
mov eax, dword [eax + 0xfc]
and eax, 0x7fffffff
push eax
push 0x30c
push dword [ebp + 8]
call fcn.00476110
test al, al
jne 0x44716f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4d89c0]
test byte [ecx + 0x100], 1
mov dword [ecx + 0x30], eax
jne 0x447157
push 1
push 0
push 0xffffffffffffffff
push 0x4c8740
jmp 0x447306
push 0x4c602c
push 0
push 0x4c8740
mov ecx, edi
call fcn.00434ec0
jmp 0x447311
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
test esi, esi
jl 0x447282
jg 0x447189
test ebx, ebx
je 0x447282
mov ebx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
nop
push 1
push 0xffff
lea eax, [ebp - 0x20074]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004762a0
mov esi, eax
test esi, esi
je 0x44720c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4d89c0]
sub eax, dword [0x4debcc]
cmp eax, dword [ecx + 0xd8]
jbe 0x4471f4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4471e9
mov edx, 1
or ecx, 0xffffffff
call fcn.004016e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4debcc], eax
add edi, 1
adc ebx, 0
cmp ebx, dword [ebp + 0xc]
jl 0x447190
jg 0x447285
cmp edi, dword [ebp - 0x10]
jb 0x447190
jmp 0x447285
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4d89c0]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x44723c
cmp dword [ebp - 0x20], 0
jne 0x44723c
push eax
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x1c]
call dword [eax + 0x10]
mov dword [ebp - 0x44], 0
xor eax, eax
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x4c]
call dword [eax + 8]
mov eax, dword [0x4d89c0]
test byte [eax + 0x100], 1
jne 0x447269
push 1
push 0
push 0xffffffffffffffff
push 0x4c8740
jmp 0x447306
mov ecx, dword [ebp - 0x50]
push 0x4c602c
push 0
push 0x4c8740
call fcn.00434ec0
jmp 0x447311
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4472a6
cmp dword [ebp - 0x20], 0
jne 0x4472a6
push eax
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x1c]
call dword [eax + 0x10]
mov dword [ebp - 0x44], 0
xor eax, eax
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x4c]
call dword [eax + 8]
test esi, esi
je 0x4472d7
cmp word [ebp + esi*2 - 0x20076], 0xa
jne 0x4472c5
dec esi
test esi, esi
je 0x4472d7
push 1
push 0
push esi
lea eax, [ebp - 0x20074]
push eax
jmp 0x4472df
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0047b2f0
test eax, eax
jne 0x4472ef
xor esi, esi
jmp 0x447313
mov eax, dword [0x4d89c0]
push 1
push 0
push 0xffffffffffffffff
mov dword [eax + 0x30], 0
push 0x4b41e8
mov ecx, dword [0x4db768]
call fcn.0047b2f0
mov esi, eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], vtable.TextFile.0
test eax, eax
je 0x447341
cmp dword [ebp - 0x20], 0
jne 0x447341
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
call fcn.00476b50
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov word [ebp - 0x24], ax
cmp ecx, 0xffffffff
je 0x44736c
mov eax, dword [ebp - 0x48]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x447365
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], vtable.TextStream.0
test eax, eax
je 0x447383
push eax
call fcn.00495d53
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8