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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [0x68fdf8]
cmp dword [eax], 0
je 0x526c56
mov eax, dword [0x6900b4]
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x18], 0
mov byte [ebp - 5], 0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x20]
cmp eax, 0x5f
jb 0x5268a7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
inc dword [eax + 0x24]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 1
jle 0x5268a7
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x28]
cmp eax, 0x32
jb 0x5268dc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x2c]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2c], 0x186a0
jle 0x5268dc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
xor eax, eax
push ebp
push 0x526a95
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
cmp edi, dword [eax + 8]
jge 0x526a8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
mov edx, edi
call fcn.0041b280
mov ebx, eax
cmp byte [ebp - 5], 0
jne 0x52691f
cmp byte [ebx + 0x158], 0
je 0x526926
mov byte [ebx + 0x1f0], 0
cmp byte [ebx + 0x1f0], 0
jne 0x526987
mov eax, ebx
call fcn.005a1900
cmp byte [ebp - 5], 0
jne 0x526945
cmp byte [ebx + 0x158], 0
je 0x52696c
lea ecx, [ebp - 6]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x24]
mov eax, ebx
call fcn.005a46e4
test al, al
je 0x52696c
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x18]
or al, byte [ebp - 6]
mov edx, dword [ebp - 4]
mov byte [edx + 0x18], al
inc edi
jmp 0x5268ec
mov eax, ebx
mov si, 0xfff6
call fcn.00404524
mov eax, dword [0x68fdf8]
cmp ebx, dword [eax]
je 0x526987
mov eax, ebx
call fcn.005a1c44
mov eax, dword [0x68fdf8]
cmp ebx, dword [eax]
jne 0x526997
mov eax, ebx
call fcn.005a1c44
cmp dword [ebx + 0x168], 0
je 0x5269f0
mov eax, ebx
call fcn.005a1d70
test al, al
je 0x5269f0
mov eax, dword [ebx + 0x168]
call fcn.005b65d4
movzx eax, word [ebx + 0x10]
push eax
movzx eax, byte [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x16c]
push eax
mov eax, dword [ebx + 0x170]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
movzx ecx, word [ebx + 0xc]
mov edx, dword [ebx + 0x168]
mov eax, dword [ebp - 4]
call fcn.0052cecc
xor eax, eax
mov dword [ebx + 0x168], eax
mov byte [ebx + 0x4f], 1
cmp byte [ebx + 0x4f], 0
je 0x526a85
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0052c968
mov eax, dword [0x690218]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041b0d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x420]
mov edx, edi
call fcn.0041b124
mov eax, dword [0x68f8d4]
cmp ebx, dword [eax]
jne 0x526a34
mov eax, dword [0x68f8d4]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x68fee8]
cmp ebx, dword [eax]
jne 0x526a46
mov eax, dword [0x68fee8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x690484]
cmp ebx, dword [eax]
jne 0x526a58
mov eax, dword [0x690484]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x69031c]
cmp ebx, dword [eax]
jne 0x526a6a
mov eax, dword [0x69031c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x68ffe8]
cmp ebx, dword [eax]
jne 0x5268ec
mov eax, dword [0x68ffe8]
xor edx, edx
mov dword [eax], edx
jmp 0x5268ec
inc edi
jmp 0x5268ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x526aa9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x18], 0
jne 0x526ac3
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1c]
ja 0x526ac3
xor eax, eax
jmp 0x526ac5
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x18], al
xor eax, eax
push ebp
push 0x526b95
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x424]
cmp edi, dword [eax + 8]
jge 0x526b2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x424]
mov edx, edi
call fcn.0041b280
mov ebx, eax
cmp byte [ebx + 4], 0
je 0x526b29
mov eax, ebx
mov si, 0xffff
call fcn.00404524
test al, al
jne 0x526b29
mov eax, ebx
call fcn.00404328
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x424]
mov edx, edi
call fcn.0041b124
jmp 0x526adb
inc edi
jmp 0x526adb
xor edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
cmp edi, dword [eax + 8]
jge 0x526b7f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, edi
call fcn.0041b280
mov ebx, eax
cmp byte [ebx + 4], 0
je 0x526b7c
mov eax, ebx
mov si, 0xffff
call fcn.00404524
test al, al
jne 0x526b7c
mov eax, ebx
call fcn.00404328
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x428]
mov edx, edi
call fcn.0041b124
jmp 0x526b2e
inc edi
jmp 0x526b2e
mov eax, dword [0x68fe28]
mov eax, dword [eax]
call fcn.0053d040
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x526ba9
xor edx, edx
push ebp
push 0x526c42
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x690384]
mov eax, dword [eax]
add eax, 0xa6f81
mov edx, dword [0x68fdf8]
mov edx, dword [edx]
mov edx, dword [edx + 0x11c]
sub edx, 0xd
mov dword [eax], edx
mov edx, dword [0x68fdf8]
mov edx, dword [edx]
mov edx, dword [edx + 0x120]
sub edx, 0xf
mov dword [eax + 4], edx
mov edx, dword [0x68fdf8]
mov edx, dword [edx]
mov edx, dword [edx + 0x11c]
add edx, 0xd
mov dword [eax + 8], edx
mov edx, dword [0x68fdf8]
mov edx, dword [edx]
mov edx, dword [edx + 0x120]
add edx, 0xd
mov dword [eax + 0xc], edx
mov eax, dword [0x68fdf8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x120]
mov eax, dword [0x68fdf8]
mov eax, dword [eax]
mov edx, dword [eax + 0x11c]
mov eax, dword [0x690384]
mov eax, dword [eax]
call fcn.005236ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x526c56
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret