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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f0a7
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.004065a0
mov edi, eax
lea eax, [ebp - 0x58]
push eax
call fcn.00407490
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.00427fc0
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 0x421299
mov ecx, edi
push ecx
call fcn.00408930
mov edx, dword [ebp - 0x58]
push edx
jmp 0x421b0a
lea eax, [ebp - 0x40]
push eax
call fcn.00407490
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
cmp esi, eax
jbe 0x4212b8
call fcn.0044205d
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 0x4212dc
call fcn.0044205d
test edi, edi
je 0x4212e5
cmp edi, dword [ebp - 0x58]
je 0x4212ea
call fcn.0044205d
cmp ebx, esi
je 0x4214be
test edi, edi
jne 0x421334
call fcn.0044205d
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x421307
call fcn.0044205d
mov dword [ebp - 0x60], ebx
test edi, edi
jne 0x421338
call fcn.0044205d
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x42131f
call fcn.0044205d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov ebx, eax
add ebx, 4
cmp dword [eax + 0x18], 8
jb 0x42133c
mov eax, dword [ebx]
jmp 0x42133e
mov eax, dword [edi]
jmp 0x4212fd
mov eax, dword [edi]
jmp 0x421315
mov eax, ebx
mov esi, dword [ebp - 0x10]
push ecx
push eax
xor eax, eax
mov edx, esi
call fcn.00413f50
mov dword [ebp - 0x68], eax
cmp eax, 0xffffffff
je 0x4213cc
mov dword [ebp - 0x6c], 0
test edi, edi
jne 0x4213af
call fcn.0044205d
xor eax, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x421373
call fcn.0044205d
mov esi, dword [esi + 0x14]
test edi, edi
jne 0x4213b3
call fcn.0044205d
xor eax, eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [eax + 0x10]
jb 0x42138e
call fcn.0044205d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
mov edi, dword [eax + 0x14]
jb 0x4213b7
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004220b0
lea ecx, [ebp - 0x6c]
push ecx
jmp 0x42147c
mov eax, dword [edi]
jmp 0x421366
mov eax, dword [edi]
jmp 0x421381
mov eax, ebx
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004220b0
lea ecx, [ebp - 0x6c]
push ecx
jmp 0x42147c
test edi, edi
jne 0x4213f4
call fcn.0044205d
xor eax, eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [eax + 0x10]
jb 0x4213e4
call fcn.0044205d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
mov ecx, dword [eax + 0x14]
jb 0x4213f8
mov eax, dword [ebx]
jmp 0x4213fa
mov eax, dword [edi]
jmp 0x4213d7
mov eax, ebx
mov ebx, dword [ebp - 0x10]
push ecx
add ebx, 0x1c
push eax
xor eax, eax
mov edx, ebx
call fcn.00413f50
mov dword [ebp - 0x68], eax
cmp eax, 0xffffffff
je 0x421489
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x6c], 1
test edi, edi
jne 0x421466
call fcn.0044205d
xor eax, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x421435
call fcn.0044205d
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + 0x30]
test edi, edi
jne 0x42146a
call fcn.0044205d
xor eax, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x421453
call fcn.0044205d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
mov edi, dword [eax + 0x14]
jb 0x42146e
add eax, 4
mov eax, dword [eax]
jmp 0x421471
mov eax, dword [edi]
jmp 0x421428
mov eax, dword [edi]
jmp 0x421446
add eax, 4
push eax
push ebx
call fcn.004220b0
lea edx, [ebp - 0x6c]
push edx
sub esi, eax
lea edi, [ebp - 0x40]
mov dword [ebp - 0x64], esi
call fcn.00422030
mov edi, dword [ebp - 0x1c]
test edi, edi
jne 0x4214ba
call fcn.0044205d
xor eax, eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x4214a4
call fcn.0044205d
mov eax, 0x94
add dword [ebp - 0x18], eax
add dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x48]
jmp 0x4212d0
mov eax, dword [edi]
jmp 0x421497
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov ebx, ecx
cmp eax, ecx
jbe 0x4214d5
call fcn.0044205d
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
mov esi, eax
cmp eax, ecx
jbe 0x4214e3
call fcn.0044205d
test edi, edi
je 0x4214ec
cmp edi, dword [ebp - 0x40]
je 0x4214f1
call fcn.0044205d
mov edx, ebx
sub edx, esi
sar edx, 4
push edx
push ebx
push esi
call fcn.004225f0
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp esi, eax
jbe 0x421515
call fcn.0044205d
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 0x42152c
call fcn.0044205d
test edi, edi
je 0x421535
cmp edi, dword [ebp - 0x40]
je 0x42153a
call fcn.0044205d
cmp ebx, esi
je 0x421aa6
test edi, edi
jne 0x42157d
call fcn.0044205d
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x421557
call fcn.0044205d
mov ebx, dword [ebx + 0xc]
push 0x124
mov dword [ebp - 0x5c], ebx
call fcn.00441c08
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x421581
push eax
call fcn.00401550
jmp 0x421583
mov eax, dword [edi]
jmp 0x42154d
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x60], eax
call fcn.00409890
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4215a1
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.00441c08
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x4215cd
push eax
call fcn.00401550
jmp 0x4215cf
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x80], eax
call fcn.00409890
mov dword [ebp - 0x74], eax
test eax, eax
je 0x4215ed
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.00441c08
add esp, 4
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x421617
push eax
call fcn.00401550
jmp 0x421619
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x78], eax
call fcn.00409890
mov dword [ebp - 0x70], eax
test eax, eax
je 0x421637
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 0x42164b
mov ecx, dword [edi]
jmp 0x42164d
mov ecx, edi
test ecx, ecx
je 0x421692
cmp word [ecx], 0
je 0x421692
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 0x421686
movzx ecx, word [esi + eax]
test cx, cx
je 0x421686
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x421666
jmp 0x42168a
test edx, edx
jne 0x42168d
sub eax, 2
xor edx, edx
mov word [eax], dx
cmp dword [ebx + 0x18], 8
jb 0x42169c
mov esi, dword [edi]
jmp 0x42169e
mov esi, edi
test esi, esi
je 0x4216e1
cmp word [esi], 0
je 0x4216e1
mov eax, dword [ebp - 0x20]
add eax, 8
mov edx, 0x40
sub esi, eax
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x4216d5
movzx ecx, word [esi + eax]
test cx, cx
je 0x4216d5
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4216b5
jmp 0x4216d9
test edx, edx
jne 0x4216dc
sub eax, 2
xor edx, edx
mov word [eax], dx
cmp dword [ebx + 0x18], 8
jb 0x4216eb
mov esi, dword [edi]
jmp 0x4216ed
mov esi, edi
test esi, esi
je 0x421730
cmp word [esi], 0
je 0x421730
mov eax, dword [ebp + 0xc]
add eax, 8
mov edx, 0x40
sub esi, eax
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x421724
movzx ecx, word [esi + eax]
test cx, cx
je 0x421724
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x421704
jmp 0x421728
test edx, edx
jne 0x42172b
sub eax, 2
xor edx, edx
mov word [eax], dx
cmp dword [ebx + 0x70], 0
je 0x421858
cmp dword [ebx + 0x8c], 0
je 0x421858
mov ecx, 8
cmp dword [ebx + 0x90], ecx
jb 0x421759
mov esi, dword [ebx + 0x7c]
jmp 0x42175c
lea esi, [ebx + 0x7c]
cmp dword [ebx + 0x74], ecx
jb 0x421766
mov eax, dword [ebx + 0x60]
jmp 0x421769
lea eax, [ebx + 0x60]
test eax, eax
je 0x4217a7
cmp word [eax], 0
je 0x4217a7
test esi, esi
je 0x4217a7
cmp word [esi], 0
je 0x4217a7
mov edi, dword [ebp - 0x10]
lea edx, [edi + 0x88]
push eax
mov ecx, 0x20
call fcn.0040a590
lea edx, [edi + 0xc8]
push esi
mov ecx, 0x10
call fcn.0040a590
mov ecx, 8
cmp dword [ebx + 0x90], ecx
jb 0x4217b4
mov esi, dword [ebx + 0x7c]
jmp 0x4217b7
lea esi, [ebx + 0x7c]
cmp dword [ebx + 0x74], ecx
jb 0x4217c1
mov eax, dword [ebx + 0x60]
jmp 0x4217c4
lea eax, [ebx + 0x60]
test eax, eax
je 0x421802
cmp word [eax], 0
je 0x421802
test esi, esi
je 0x421802
cmp word [esi], 0
je 0x421802
mov edi, dword [ebp - 0x20]
lea edx, [edi + 0x88]
push eax
mov ecx, 0x20
call fcn.0040a590
lea edx, [edi + 0xc8]
push esi
mov ecx, 0x10
call fcn.0040a590
mov ecx, 8
cmp dword [ebx + 0x90], ecx
jb 0x42180f
mov esi, dword [ebx + 0x7c]
jmp 0x421812
lea esi, [ebx + 0x7c]
cmp dword [ebx + 0x74], ecx
jb 0x42181c
mov eax, dword [ebx + 0x60]
jmp 0x42181f
lea eax, [ebx + 0x60]
test eax, eax
je 0x421858
cmp word [eax], 0
je 0x421858
test esi, esi
je 0x421858
cmp word [esi], 0
je 0x421858
mov edi, dword [ebp + 0xc]
lea edx, [edi + 0x88]
push eax
mov ecx, 0x20
call fcn.0040a590
lea edx, [edi + 0xc8]
push esi
mov ecx, 0x10
call fcn.0040a590
mov eax, dword [ebp + 8]
call fcn.0040a8c0
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 0x421882
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.00409da0
xor esi, esi
cmp dword [edi + 0x14], esi
jbe 0x4218ed
mov dword [ebp - 0x14], 0x26
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, esi
mov edx, edi
call fcn.00413f50
mov esi, eax
cmp esi, 0xffffffff
je 0x4218ed
push 2
push edi
call fcn.00413d90
add esi, 2
cmp esi, dword [edi + 0x14]
jb 0x4218c7
mov byte [ebp - 4], 7
cmp dword [ebp - 0x88], 8
jb 0x421909
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00441afa
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.00409da0
xor esi, esi
cmp dword [edi + 0x14], esi
jbe 0x421958
mov dword [ebp - 0x14], 0x26
push 1
lea edx, [ebp - 0x14]
push edx
mov eax, esi
mov edx, edi
call fcn.00413f50
mov esi, eax
cmp esi, 0xffffffff
je 0x421958
push 2
push edi
call fcn.00413d90
add esi, 2
cmp esi, dword [edi + 0x14]
jb 0x421932
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.00409da0
xor esi, esi
cmp dword [edi + 0x14], esi
jbe 0x4219a7
mov dword [ebp - 0x14], 0x26
push 1
lea ecx, [ebp - 0x14]
push ecx
mov eax, esi
mov edx, edi
call fcn.00413f50
mov esi, eax
cmp esi, 0xffffffff
je 0x4219a7
push 2
push edi
call fcn.00413d90
add esi, 2
cmp esi, dword [edi + 0x14]
jb 0x421981
mov edi, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0
add edi, 0x108
push ebx
mov eax, edi
call fcn.00409da0
xor esi, esi
cmp dword [edi + 0x14], esi
jbe 0x4219f6
mov dword [ebp - 0x14], 0x26
lea ebx, [ebx]
push 1
lea edx, [ebp - 0x14]
push edx
mov eax, esi
mov edx, edi
call fcn.00413f50
mov esi, eax
cmp esi, 0xffffffff
je 0x4219f6
push 2
push edi
call fcn.00413d90
add esi, 2
cmp esi, dword [edi + 0x14]
jb 0x4219d0
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 0x421a46
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 0x421a5f
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 0x421a75
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x421aa2
call fcn.0044205d
xor eax, eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x10]
jb 0x421a90
call fcn.0044205d
add dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
jmp 0x421520
mov eax, dword [eax]
jmp 0x421a83
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x421ab6
push eax
call fcn.00441afa
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.00441afa
mov esi, dword [ebp - 0x4c]
add esp, 4
cmp esi, edi
je 0x421afd
mov edi, dword [ebp - 0x48]
cmp esi, edi
je 0x421af2
jmp 0x421ae0
call fcn.00409ae0
add esi, 0x94
cmp esi, edi
jne 0x421ae0
mov esi, dword [ebp - 0x4c]
push esi
call fcn.00441afa
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.00441afa
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