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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f097
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
push edi
mov eax, dword [0x46e320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
call fcn.00406590
mov edi, eax
lea eax, [ebp - 0x58]
push eax
call fcn.00434ab0
mov dword [ebp - 4], 0
call esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
push edi
lea edi, [ebp - 0x58]
call fcn.00427fd0
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x4c]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x421229
mov ecx, edi
push ecx
call fcn.004088b0
mov edx, dword [ebp - 0x58]
push edx
jmp 0x421a9a
lea eax, [ebp - 0x40]
push eax
call fcn.00434ab0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
cmp esi, eax
jbe 0x421248
call fcn.0044204d
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x58]
mov ebx, esi
add esi, 0x1c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], esi
lea esp, [esp]
mov esi, eax
cmp dword [ebp - 0x4c], eax
jbe 0x42126c
call fcn.0044204d
test edi, edi
je 0x421275
cmp edi, dword [ebp - 0x58]
je 0x42127a
call fcn.0044204d
cmp ebx, esi
je 0x42144e
test edi, edi
jne 0x4212c4
call fcn.0044204d
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x421297
call fcn.0044204d
mov dword [ebp - 0x60], ebx
test edi, edi
jne 0x4212c8
call fcn.0044204d
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4212af
call fcn.0044204d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov ebx, eax
add ebx, 4
cmp dword [eax + 0x18], 8
jb 0x4212cc
mov eax, dword [ebx]
jmp 0x4212ce
mov eax, dword [edi]
jmp 0x42128d
mov eax, dword [edi]
jmp 0x4212a5
mov eax, ebx
mov esi, dword [ebp - 0x10]
push ecx
push eax
xor eax, eax
mov edx, esi
call fcn.00413e70
mov dword [ebp - 0x68], eax
cmp eax, 0xffffffff
je 0x42135c
mov dword [ebp - 0x6c], 0
test edi, edi
jne 0x42133f
call fcn.0044204d
xor eax, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x421303
call fcn.0044204d
mov esi, dword [esi + 0x14]
test edi, edi
jne 0x421343
call fcn.0044204d
xor eax, eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [eax + 0x10]
jb 0x42131e
call fcn.0044204d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
mov edi, dword [eax + 0x14]
jb 0x421347
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00422080
lea ecx, [ebp - 0x6c]
push ecx
jmp 0x42140c
mov eax, dword [edi]
jmp 0x4212f6
mov eax, dword [edi]
jmp 0x421311
mov eax, ebx
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00422080
lea ecx, [ebp - 0x6c]
push ecx
jmp 0x42140c
test edi, edi
jne 0x421384
call fcn.0044204d
xor eax, eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [eax + 0x10]
jb 0x421374
call fcn.0044204d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
mov ecx, dword [eax + 0x14]
jb 0x421388
mov eax, dword [ebx]
jmp 0x42138a
mov eax, dword [edi]
jmp 0x421367
mov eax, ebx
mov ebx, dword [ebp - 0x10]
push ecx
add ebx, 0x1c
push eax
xor eax, eax
mov edx, ebx
call fcn.00413e70
mov dword [ebp - 0x68], eax
cmp eax, 0xffffffff
je 0x421419
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], 1
test edi, edi
jne 0x4213f6
call fcn.0044204d
xor eax, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x4213c5
call fcn.0044204d
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + 0x30]
test edi, edi
jne 0x4213fa
call fcn.0044204d
xor eax, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x4213e3
call fcn.0044204d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
mov edi, dword [eax + 0x14]
jb 0x4213fe
add eax, 4
mov eax, dword [eax]
jmp 0x421401
mov eax, dword [edi]
jmp 0x4213b8
mov eax, dword [edi]
jmp 0x4213d6
add eax, 4
push eax
push ebx
call fcn.00422080
lea edx, [ebp - 0x6c]
push edx
sub esi, eax
lea edi, [ebp - 0x40]
mov dword [ebp - 0x64], esi
call fcn.00421ff0
mov edi, dword [ebp - 0x1c]
test edi, edi
jne 0x42144a
call fcn.0044204d
xor eax, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x421434
call fcn.0044204d
mov eax, 0x94
add dword [ebp - 0x18], eax
add dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x48]
jmp 0x421260
mov eax, dword [edi]
jmp 0x421427
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov ebx, ecx
cmp eax, ecx
jbe 0x421465
call fcn.0044204d
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
mov esi, eax
cmp eax, ecx
jbe 0x421473
call fcn.0044204d
test edi, edi
je 0x42147c
cmp edi, dword [ebp - 0x40]
je 0x421481
call fcn.0044204d
mov edx, ebx
sub edx, esi
sar edx, 4
push edx
push ebx
push esi
call fcn.00422620
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp esi, eax
jbe 0x4214a5
call fcn.0044204d
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x40]
mov ebx, esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
mov esi, eax
cmp dword [ebp - 0x34], eax
jbe 0x4214bc
call fcn.0044204d
test edi, edi
je 0x4214c5
cmp edi, dword [ebp - 0x40]
je 0x4214ca
call fcn.0044204d
cmp ebx, esi
je 0x421a36
test edi, edi
jne 0x42150d
call fcn.0044204d
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4214e7
call fcn.0044204d
mov ebx, dword [ebx + 0xc]
push 0x124
mov dword [ebp - 0x5c], ebx
call fcn.00441bf8
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x421511
push eax
call fcn.00401550
jmp 0x421513
mov eax, dword [edi]
jmp 0x4214dd
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x60], eax
call fcn.00409860
mov dword [ebp - 0x18], eax
test eax, eax
je 0x421531
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov esi, vtable.CSmartPtr_class_CTableTextCell_.0
mov dword [ebp - 0x64], esi
push 0x124
mov byte [ebp - 4], 3
call fcn.00441bf8
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x42155d
push eax
call fcn.00401550
jmp 0x42155f
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x80], eax
call fcn.00409860
mov dword [ebp - 0x74], eax
test eax, eax
je 0x42157d
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [ebp - 0x84], esi
push 0x124
mov byte [ebp - 4], 5
call fcn.00441bf8
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x4215a7
push eax
call fcn.00401550
jmp 0x4215a9
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x78], eax
call fcn.00409860
mov dword [ebp - 0x70], eax
test eax, eax
je 0x4215c7
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov dword [ebp - 0x7c], esi
mov byte [ebp - 4], 7
cmp dword [ebx + 0x18], 8
lea edi, [ebx + 4]
jb 0x4215db
mov ecx, dword [edi]
jmp 0x4215dd
mov ecx, edi
test ecx, ecx
je 0x421622
cmp word [ecx], 0
je 0x421622
mov eax, dword [ebp - 0x10]
add eax, 8
mov esi, ecx
mov edx, 0x40
sub esi, eax
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x421616
movzx ecx, word [esi + eax]
test cx, cx
je 0x421616
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4215f6
jmp 0x42161a
test edx, edx
jne 0x42161d
sub eax, 2
xor edx, edx
mov word [eax], dx
cmp dword [ebx + 0x18], 8
jb 0x42162c
mov esi, dword [edi]
jmp 0x42162e
mov esi, edi
test esi, esi
je 0x421671
cmp word [esi], 0
je 0x421671
mov eax, dword [ebp - 0x20]
add eax, 8
mov edx, 0x40
sub esi, eax
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x421665
movzx ecx, word [esi + eax]
test cx, cx
je 0x421665
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x421645
jmp 0x421669
test edx, edx
jne 0x42166c
sub eax, 2
xor edx, edx
mov word [eax], dx
cmp dword [ebx + 0x18], 8
jb 0x42167b
mov esi, dword [edi]
jmp 0x42167d
mov esi, edi
test esi, esi
je 0x4216c0
cmp word [esi], 0
je 0x4216c0
mov eax, dword [ebp + 0xc]
add eax, 8
mov edx, 0x40
sub esi, eax
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x4216b4
movzx ecx, word [esi + eax]
test cx, cx
je 0x4216b4
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x421694
jmp 0x4216b8
test edx, edx
jne 0x4216bb
sub eax, 2
xor edx, edx
mov word [eax], dx
cmp dword [ebx + 0x70], 0
je 0x4217e8
cmp dword [ebx + 0x8c], 0
je 0x4217e8
mov ecx, 8
cmp dword [ebx + 0x90], ecx
jb 0x4216e9
mov esi, dword [ebx + 0x7c]
jmp 0x4216ec
lea esi, [ebx + 0x7c]
cmp dword [ebx + 0x74], ecx
jb 0x4216f6
mov eax, dword [ebx + 0x60]
jmp 0x4216f9
lea eax, [ebx + 0x60]
test eax, eax
je 0x421737
cmp word [eax], 0
je 0x421737
test esi, esi
je 0x421737
cmp word [esi], 0
je 0x421737
mov edi, dword [ebp - 0x10]
lea edx, [edi + 0x88]
push eax
mov ecx, 0x20
call fcn.0040a550
lea edx, [edi + 0xc8]
push esi
mov ecx, 0x10
call fcn.0040a550
mov ecx, 8
cmp dword [ebx + 0x90], ecx
jb 0x421744
mov esi, dword [ebx + 0x7c]
jmp 0x421747
lea esi, [ebx + 0x7c]
cmp dword [ebx + 0x74], ecx
jb 0x421751
mov eax, dword [ebx + 0x60]
jmp 0x421754
lea eax, [ebx + 0x60]
test eax, eax
je 0x421792
cmp word [eax], 0
je 0x421792
test esi, esi
je 0x421792
cmp word [esi], 0
je 0x421792
mov edi, dword [ebp - 0x20]
lea edx, [edi + 0x88]
push eax
mov ecx, 0x20
call fcn.0040a550
lea edx, [edi + 0xc8]
push esi
mov ecx, 0x10
call fcn.0040a550
mov ecx, 8
cmp dword [ebx + 0x90], ecx
jb 0x42179f
mov esi, dword [ebx + 0x7c]
jmp 0x4217a2
lea esi, [ebx + 0x7c]
cmp dword [ebx + 0x74], ecx
jb 0x4217ac
mov eax, dword [ebx + 0x60]
jmp 0x4217af
lea eax, [ebx + 0x60]
test eax, eax
je 0x4217e8
cmp word [eax], 0
je 0x4217e8
test esi, esi
je 0x4217e8
cmp word [esi], 0
je 0x4217e8
mov edi, dword [ebp + 0xc]
lea edx, [edi + 0x88]
push eax
mov ecx, 0x20
call fcn.0040a550
lea edx, [edi + 0xc8]
push esi
mov ecx, 0x10
call fcn.0040a550
mov eax, dword [ebp + 8]
call fcn.0040a880
xor ecx, ecx
mov word [ebp - 0x9c], cx
mov ecx, eax
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x421812
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [ebp - 0xa0]
call fcn.00407860
mov edi, dword [ebp - 0x10]
push 0xffffffffffffffff
push 0
mov edx, esi
add edi, 0xec
push edx
mov eax, edi
mov byte [ebp - 4], 8
call fcn.00409d30
xor esi, esi
cmp dword [edi + 0x14], esi
jbe 0x42187d
mov dword [ebp - 0x14], 0x26
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, esi
mov edx, edi
call fcn.00413e70
mov esi, eax
cmp esi, 0xffffffff
je 0x42187d
push 2
push edi
call fcn.00413cb0
add esi, 2
cmp esi, dword [edi + 0x14]
jb 0x421857
mov byte [ebp - 4], 7
cmp dword [ebp - 0x88], 8
jb 0x421899
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00441aea
add esp, 4
mov ebx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x20]
push 0xffffffffffffffff
push 0
add ebx, 0x1c
add edi, 0xec
push ebx
mov eax, edi
call fcn.00409d30
xor esi, esi
cmp dword [edi + 0x14], esi
jbe 0x4218e8
mov dword [ebp - 0x14], 0x26
push 1
lea edx, [ebp - 0x14]
push edx
mov eax, esi
mov edx, edi
call fcn.00413e70
mov esi, eax
cmp esi, 0xffffffff
je 0x4218e8
push 2
push edi
call fcn.00413cb0
add esi, 2
cmp esi, dword [edi + 0x14]
jb 0x4218c2
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffff
add eax, 0x38
push 0
add edi, 0xec
push eax
mov eax, edi
call fcn.00409d30
xor esi, esi
cmp dword [edi + 0x14], esi
jbe 0x421937
mov dword [ebp - 0x14], 0x26
push 1
lea ecx, [ebp - 0x14]
push ecx
mov eax, esi
mov edx, edi
call fcn.00413e70
mov esi, eax
cmp esi, 0xffffffff
je 0x421937
push 2
push edi
call fcn.00413cb0
add esi, 2
cmp esi, dword [edi + 0x14]
jb 0x421911
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0
add edi, 0x108
push ebx
mov eax, edi
call fcn.00409d30
xor esi, esi
cmp dword [edi + 0x14], esi
jbe 0x421986
mov dword [ebp - 0x14], 0x26
lea ebx, [ebx]
push 1
lea edx, [ebp - 0x14]
push edx
mov eax, esi
mov edx, edi
call fcn.00413e70
mov esi, eax
cmp esi, 0xffffffff
je 0x421986
push 2
push edi
call fcn.00413cb0
add esi, 2
cmp esi, dword [edi + 0x14]
jb 0x421960
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 0x14]
mov ecx, dword [esi]
mov edi, dword [ebp + 0x10]
push eax
push 0
push ecx
push edi
call fcn.00401d90
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
push edx
push 1
push eax
push edi
call fcn.00401d90
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
push ecx
push 2
push edx
push edi
call fcn.00401d90
inc dword [esi]
mov eax, dword [ebp - 0x70]
mov esi, vtable.CSmartPtrBase_class_CTableTextCell_.0
mov byte [ebp - 4], 5
mov dword [ebp - 0x7c], esi
test eax, eax
je 0x4219d6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], esi
test eax, eax
je 0x4219ef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], esi
test eax, eax
je 0x421a05
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x421a32
call fcn.0044204d
xor eax, eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x10]
jb 0x421a20
call fcn.0044204d
add dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
jmp 0x4214b0
mov eax, dword [eax]
jmp 0x421a13
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x421a46
push eax
call fcn.00441aea
add esp, 4
mov edx, dword [ebp - 0x40]
xor edi, edi
push edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call fcn.00441aea
mov esi, dword [ebp - 0x4c]
add esp, 4
cmp esi, edi
je 0x421a8d
mov edi, dword [ebp - 0x48]
cmp esi, edi
je 0x421a82
jmp 0x421a70
call fcn.00409ab0
add esi, 0x94
cmp esi, edi
jne 0x421a70
mov esi, dword [ebp - 0x4c]
push esi
call fcn.00441aea
add esp, 4
xor edi, edi
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
push eax
call fcn.00441aea
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10