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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebp
push 0x6d0fe5
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5cc], 0
jne 0x6d071e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6d0fef
cmp dword [ebp - 8], 0
je 0x6d0743
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x5a0], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x5a4], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x5c9], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x5f0], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xad8]
call fcn.004ee648
cmp eax, 3
sete byte [ebp - 0x33]
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x574], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x578], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x57c], 0xffffffff
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x32], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x59c]
mov eax, dword [eax + 0x598]
sub eax, 0x1e8480
sbb edx, 0
cmp edx, dword [ebp + 0x10]
jne 0x6d07bf
cmp eax, dword [ebp + 0xc]
jae 0x6d0811
jmp 0x6d07c1
jge 0x6d0811
push 0
push 0xf4240
push 0
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x59c]
mov eax, dword [eax + 0x598]
sub eax, 0x1e8480
sbb edx, 0
push edx
push eax
call fcn.00431ee4
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
fild qword [ebp - 0x78]
fmul dword [0x6d0ff8]
fdiv dword [0x6d0ffc]
call fcn.00403080
call fcn.00406234
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
jmp 0x6d0837
push 0
push 0xf4240
fild qword [ebp + 0xc]
fmul dword [0x6d0ff8]
fdiv dword [0x6d0ffc]
call fcn.00403080
call fcn.00406234
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x560]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x6d08b4
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x560]
mov edx, esi
call fcn.0041e790
mov edi, eax
test edi, edi
je 0x6d08b0
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
cmp edx, dword [ebp - 0x24]
jne 0x6d0873
cmp eax, dword [ebp - 0x28]
ja 0x6d08b0
jmp 0x6d0875
jg 0x6d08b0
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp edx, dword [ebp - 0x24]
jne 0x6d0887
cmp eax, dword [ebp - 0x28]
jb 0x6d08b0
jmp 0x6d0889
jl 0x6d08b0
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x574], edx
mov eax, dword [ebp - 4]
push esi
lea esi, [edi + 0x1c]
lea edi, [eax + 0x580]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov byte [ebp - 0x19], 1
jmp 0x6d08b4
inc esi
dec ebx
jne 0x6d084b
cmp byte [ebp - 0x33], 0
je 0x6d08ee
mov eax, dword [ebp - 4]
cmp dword [eax + 0x568], 0
je 0x6d08ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x568]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x564]
cmp eax, dword [edx + 8]
jne 0x6d08ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x568]
mov dword [ebp - 0x38], eax
jmp 0x6d08fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x564]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x6d09eb
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 0x38]
call fcn.0041e790
mov edi, eax
test edi, edi
je 0x6d09e3
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
cmp edx, dword [ebp - 0x24]
jne 0x6d0936
cmp eax, dword [ebp - 0x28]
ja 0x6d09e3
jmp 0x6d093c
jg 0x6d09e3
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp edx, dword [ebp - 0x24]
jne 0x6d0952
cmp eax, dword [ebp - 0x28]
jb 0x6d09e3
jmp 0x6d0958
jl 0x6d09e3
push esi
lea esi, [edi + 0x18]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebp - 4]
cmp byte [eax + 0x640], 0
je 0x6d09a5
cmp dword [ebp - 0x50], 0
jl 0x6d099a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
dec eax
cmp eax, dword [ebp - 0x48]
jl 0x6d099a
cmp dword [ebp - 0x4c], 0
jl 0x6d099a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
dec eax
cmp eax, dword [ebp - 0x44]
jge 0x6d099e
xor eax, eax
jmp 0x6d09a0
mov al, 1
mov byte [ebp - 0x31], al
jmp 0x6d09d8
cmp dword [ebp - 0x50], 0
jl 0x6d09cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x644]
dec eax
cmp eax, dword [ebp - 0x48]
jl 0x6d09cf
cmp dword [ebp - 0x4c], 0
jl 0x6d09cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x648]
dec eax
cmp eax, dword [ebp - 0x44]
jge 0x6d09d3
xor eax, eax
jmp 0x6d09d5
mov al, 1
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 4]
mov dword [eax + 0x578], esi
jmp 0x6d09eb
inc esi
dec ebx
jne 0x6d090c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x56c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x6d0a50
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x56c]
mov edx, esi
call fcn.0041e790
mov ecx, eax
test ecx, ecx
je 0x6d0a4c
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp - 0x24]
jne 0x6d0a27
cmp eax, dword [ebp - 0x28]
ja 0x6d0a4c
jmp 0x6d0a29
jg 0x6d0a4c
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
cmp edx, dword [ebp - 0x24]
jne 0x6d0a3b
cmp eax, dword [ebp - 0x28]
jb 0x6d0a4c
jmp 0x6d0a3d
jl 0x6d0a4c
mov eax, dword [ebp - 4]
mov dword [eax + 0x57c], esi
mov byte [ebp - 0x32], 1
jmp 0x6d0a50
inc esi
dec ebx
jne 0x6d09ff
cmp byte [ebp - 0x31], 0
jne 0x6d0aa4
mov eax, dword [ebp - 4]
lea edx, [eax + 0x668]
mov eax, dword [ebp - 4]
add eax, 0x688
call fcn.006def88
test al, al
jne 0x6d0b7a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
lea esi, [eax + 0x668]
lea edi, [edx + 0x688]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x698], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x69c], edx
jmp 0x6d0b7a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x640], 0
jne 0x6d0b41
lea ecx, [ebp - 0x88]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.006d0610
lea esi, [ebp - 0x88]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x50]
sub eax, ebx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x644]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x6d0b41
mov eax, ecx
add eax, ebx
dec eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x648]
mov eax, edx
add eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x44], eax
mov eax, dword [0x71e0e8]
mov esi, dword [eax + 0x5c0]
dec esi
cmp esi, dword [ebp - 0x48]
jge 0x6d0b25
mov eax, esi
mov dword [ebp - 0x48], eax
sub eax, ecx
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [0x71e0e8]
mov ecx, dword [eax + 0x5c4]
dec ecx
cmp ecx, dword [ebp - 0x44]
jge 0x6d0b41
mov eax, ecx
mov dword [ebp - 0x44], eax
sub eax, edx
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
add eax, 0x688
lea edx, [ebp - 0x50]
call fcn.006def88
test al, al
jne 0x6d0b7a
mov eax, dword [ebp - 4]
lea edi, [eax + 0x688]
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x698], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x69c], edx
cmp byte [ebp - 0x33], 0
je 0x6d0c41
mov eax, dword [ebp - 4]
cmp byte [eax + 0x528], 0
je 0x6d0ba2
mov eax, dword [ebp - 4]
lea esi, [eax + 0x688]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x6d0bd5
mov eax, dword [ebp - 4]
push dword [eax + 0x69c]
push dword [eax + 0x698]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x688]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x678]
mov eax, dword [ebp - 4]
call fcn.006ce868
cmp byte [ebp - 0x19], 0
je 0x6d0bf4
mov eax, dword [ebp - 4]
lea edx, [eax + 0x688]
lea eax, [ebp - 0x60]
call fcn.006def88
test al, al
jne 0x6d0bf4
mov byte [ebp - 0x19], 0
lea esi, [ebp - 0x60]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x688]
lea eax, [ebp - 0x60]
call fcn.006def88
test al, al
je 0x6d0c29
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
lea esi, [eax + 0x688]
lea edi, [edx + 0x678]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x668]
lea eax, [ebp - 0x50]
call fcn.006def88
xor al, 1
mov byte [ebp - 0x31], al
jmp 0x6d0c84
cmp byte [ebp - 0x31], 0
je 0x6d0c59
mov eax, dword [ebp - 4]
lea edi, [eax + 0x678]
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x6d0c6f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
lea esi, [eax + 0x668]
lea edi, [edx + 0x678]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x698], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x69c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x528], 0
xor eax, eax
push ebp
push 0x6d0fd4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 0x33], 0
jne 0x6d0cec
call sub.kernel32.dll_GetTickCount
xor edx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
jmp 0x6d0ce0
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub eax, dword [ebp - 0x40]
sbb edx, dword [ebp - 0x3c]
test edx, edx
jge 0x6d0cc9
neg eax
adc edx, 0
neg edx
cmp edx, 0
jne 0x6d0cd7
cmp eax, 0xbb8
jbe 0x6d0cd9
jmp 0x6d0cec
jg 0x6d0cec
push 5
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x529], 0
jne 0x6d0cb1
mov eax, dword [ebp - 4]
add eax, 0xab4
push eax
call sub.kernel32.dll_EnterCriticalSection_1
mov dl, 1
mov eax, dword [0x428fe4]
call fcn.0042aea8
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0042b778
mov eax, dword [ebp - 0x10]
call fcn.0042b24c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x529], 0
jne 0x6d0e9e
mov eax, dword [ebp - 4]
cmp byte [eax + 0xacd], 0
jne 0x6d0e9e
xor eax, eax
push ebp
push 0x6d0e94
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x508]
call fcn.0042fd10
call fcn.0042b24c
xor eax, eax
push ebp
push 0x6d0db8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0042b6f8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x508]
call fcn.0042fd10
call fcn.0042b6f8
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6d0dc2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d0e9e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x508]
call fcn.0042fd10
call fcn.0042b5cc
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x33]
mov byte [eax + 0x52c], dl
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x19]
mov byte [eax + 0x52d], dl
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x31]
mov byte [eax + 0x52e], dl
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x32]
mov byte [eax + 0x54f], dl
mov eax, dword [ebp - 4]
lea edi, [eax + 0x52f]
lea esi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
lea esi, [eax + 0x580]
lea edi, [edx + 0x53f]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x550], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov dword [edx + 0x554], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x558], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x55c], 1
cmp dword [ebp - 8], 0
je 0x6d0e93
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x518], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x51c], edx
ret
cmp dword [ebp - 8], 0
je 0x6d0f9e
cmp byte [ebp - 0x33], 0
je 0x6d0edb
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x59c]
mov eax, dword [eax + 0x598]
sub eax, 0x4c4b40
sbb edx, 0
cmp edx, dword [ebp + 0x10]
jne 0x6d0ed5
cmp eax, dword [ebp + 0xc]
ja 0x6d0f9e
jmp 0x6d0edb
jg 0x6d0f9e
xor eax, eax
push ebp
push 0x6d0f97
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x504]
call fcn.0042fd10
call fcn.0042b24c
xor eax, eax
push ebp
push 0x6d0f57
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0042b6f8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c0]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x504]
call fcn.0042fd10
call fcn.0042b6f8
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6d0f61
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x510], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x514], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d0f9e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x504]
call fcn.0042fd10
call fcn.0042b5cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d0fdb
mov eax, dword [ebp - 0x10]
call fcn.0042b5cc
lea eax, [ebp - 0x10]
call fcn.0041143c
mov eax, dword [ebp - 4]
mov byte [eax + 0x5cb], 1
mov eax, dword [ebp - 4]
add eax, 0xab4
push eax
call sub.kernel32.dll_LeaveCriticalSection_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10