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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5679d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x30]
mov eax, dword [0x586a98]
mov eax, dword [eax]
call fcn.00515160
test al, al
jne 0x56798c
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov edx, 0x5679f0
call fcn.00521e50
jmp 0x56799f
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd], 0
jne 0x56799f
mov word [ebp - 0x3e], 0xffff
mov word [ebp - 0x40], 0xffff
mov word [ebp - 0x42], 0xffff
mov word [ebp - 0x44], 0xffff
mov word [ebp - 0x46], 0xffff
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.005642b8
push 0xc8
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe8]
xor edx, edx
call fcn.0041dea4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.0040a188
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0xed], 0
je 0x567193
push ebp
push 0
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, 1
xor eax, eax
call fcn.00566948
pop ecx
push ebp
push 2
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, 1
xor eax, eax
call fcn.00566948
pop ecx
push ebp
push 3
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, 1
xor eax, eax
call fcn.00566948
pop ecx
push ebp
push 4
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, 1
xor eax, eax
call fcn.00566948
pop ecx
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jl 0x56794e
inc eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd], 0
jne 0x56794e
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 4]
call fcn.00405240
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00405240
movzx eax, byte [0x567a0c]
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x567a18
mov edx, 0x567a24
mov eax, dword [ebp - 0x14]
call fcn.0040f6f0
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x14]
call fcn.00405240
mov dl, 1
mov eax, dword [0x41bb74]
call fcn.004041b0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x566920]
call fcn.00406954
add esp, 4
cmp dword [ebp - 0x30], 0
jbe 0x56724b
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov ecx, 0x3e8
mov edx, dword [ebp - 0x30]
call fcn.005220b8
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x567395
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, 0x567a30
call fcn.00405784
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004056a0
lea eax, [ebp - 0x88]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x567a3c
call fcn.00405784
mov ecx, eax
sub ecx, dword [ebp - 0x1c]
dec ecx
mov edx, dword [ebp - 0x1c]
inc edx
mov eax, dword [ebp - 0x10]
call fcn.004056a0
mov eax, dword [ebp - 0x88]
xor edx, edx
call fcn.0040a188
mov dword [ebp - 0x20], eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0050d964
mov edx, dword [ebp - 0x20]
sub edx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + ebx*4], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + ebx*4], 0
jle 0x56730c
cmp dword [ebp - 0x30], 0
jbe 0x56730c
push ebp
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ebp - 0x14]
xor eax, eax
call fcn.00566948
pop ecx
mov edx, dword [ebp - 0xc]
sub dword [edx + ebx*4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + ebx*4], 0
jg 0x56738d
call fcn.004b9988
mov dword [ebp - 4], eax
jmp 0x567384
push 0x32
call sub.kernel32.dll_Sleep_2
lea ecx, [ebp - 0x80]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0050d68c
test al, al
je 0x567375
mov eax, ebx
sub eax, 1
jb 0x56734d
je 0x567357
dec eax
je 0x567361
dec eax
je 0x56736b
jmp 0x56738d
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x3e], ax
jmp 0x56738d
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x40], ax
jmp 0x56738d
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x42], ax
jmp 0x56738d
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x44], ax
jmp 0x56738d
call fcn.004b9988
sub eax, dword [ebp - 4]
cmp eax, 0x1f4
ja 0x56738d
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd], 0
je 0x56731f
inc ebx
dec esi
jne 0x567261
mov byte [ebp - 0x36], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5673be
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0xc]
cmp dword [eax + ebx*4], 0
jle 0x5673ba
mov byte [ebp - 0x36], 1
jmp 0x5673be
inc ebx
dec esi
jne 0x5673ab
mov byte [ebp - 0x35], 0
cmp byte [ebp - 0x36], 0
je 0x56753d
cmp dword [ebp - 0x30], 0
jbe 0x56753d
cmp dword [ebp - 0x34], 0
jbe 0x56753d
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x567533
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0xc]
cmp dword [eax + ebx*4], 0
jle 0x56752b
cmp byte [ebp - 0x35], 0
jne 0x56741d
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov ecx, 0x3e8
mov edx, dword [ebp - 0x34]
call fcn.00522184
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, 0x567a30
call fcn.00405784
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004056a0
lea eax, [ebp - 0x8c]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x567a3c
call fcn.00405784
mov ecx, eax
sub ecx, dword [ebp - 0x1c]
dec ecx
mov edx, dword [ebp - 0x1c]
inc edx
mov eax, dword [ebp - 0x10]
call fcn.004056a0
mov eax, dword [ebp - 0x8c]
xor edx, edx
call fcn.0040a188
mov edi, eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0050d964
sub edi, eax
mov dword [ebp - 0x20], edi
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0050d964
mov edx, dword [ebp - 0x20]
sub edx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + ebx*4], edx
mov eax, dword [ebp - 0xc]
cmp dword [eax + ebx*4], 0
jle 0x5674d5
push ebp
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ebp - 0x14]
mov al, 1
call fcn.00566948
pop ecx
mov edx, dword [ebp - 0xc]
sub dword [edx + ebx*4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + ebx*4], 0
jg 0x56752b
lea ecx, [ebp - 0x80]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0050d68c
test al, al
je 0x56752b
mov eax, ebx
sub eax, 1
jb 0x567505
je 0x56750f
dec eax
je 0x567519
dec eax
je 0x567523
jmp 0x56752b
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x3e], ax
jmp 0x56752b
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x40], ax
jmp 0x56752b
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x42], ax
jmp 0x56752b
movzx eax, word [ebp - 0x7c]
mov word [ebp - 0x44], ax
inc ebx
dec esi
jne 0x5673f6
cmp byte [ebp - 0x36], 0
jne 0x56794e
mov byte [ebp - 0x36], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x567566
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0xc]
cmp dword [eax + ebx*4], 0
jle 0x567562
mov byte [ebp - 0x36], 1
jmp 0x567566
inc ebx
dec esi
jne 0x567553
cmp byte [ebp - 0x36], 0
jne 0x56794e
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050d964
mov dword [ebp - 0x20], eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050fbe4
cmp ax, 0x38
jne 0x56789a
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0xc]
add eax, 0xfffffff7
cmp eax, 0x19
ja case.default.0x5675ad
jmp dword [eax*4 + 0x5675b4]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x25
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x33
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x71
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x2b
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x2f
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x83
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x86
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x33
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x38
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x3c
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x40
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x44
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x48
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x4c
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x50
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x54
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x58
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x5c
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x60
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x74
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x77
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x7a
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x8b
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x9e
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x91
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
mov eax, dword [0x5865d0]
mov eax, dword [eax]
mov cx, 0x94
mov dx, 0x38
call fcn.005102e8
jmp case.default.0x5675ad
movzx eax, word [ebp - 0x40]
push eax
movzx eax, word [ebp - 0x42]
push eax
movzx eax, word [ebp - 0x44]
push eax
movzx eax, word [ebp - 0x46]
push eax
push 1
mov eax, dword [ebp - 0x28]
movzx edx, word [eax + 0xc]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
movzx ecx, word [ebp - 0x3e]
call fcn.0050ecb0
call fcn.004b9988
mov dword [ebp - 4], eax
jmp 0x5678fd
push 0x32
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050d964
cmp eax, dword [ebp - 0x20]
jg 0x567906
call fcn.004b9988
sub eax, dword [ebp - 4]
cmp eax, 0x258
ja 0x567906
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd], 0
je 0x5678d1
mov eax, dword [ebp - 8]
cmp byte [eax + 0xed], 0
je 0x567945
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0xc]
add eax, 0xfffffff7
sub ax, 7
jb 0x567945
jmp 0x56793c
push 0x32
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov eax, dword [ebp - 8]
call fcn.00560360
test al, al
je 0x567945
mov eax, dword [ebp - 8]
cmp byte [eax + 0xd], 0
je 0x567924
dec dword [ebp - 0x4c]
jne 0x5671a3
mov eax, dword [ebp - 0x2c]
call fcn.004041e0
mov edx, dword [0x50ad1c]
mov eax, dword [ebp - 0x28]
call fcn.00406370
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe8]
xor edx, edx
call fcn.0041dd98
push 0
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x566920]
call fcn.00406954
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe8]
cmp dword [eax + 8], 0
jg 0x5670d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5679df
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.004051cc
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004051cc
lea eax, [ebp - 0xc]
mov edx, dword [0x566920]
call fcn.00406a74
ret