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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x539280
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
sub eax, 0x34
jae 0x5390d8
mov eax, dword [0x574008]
cmp byte [eax], 0
je 0x538e56
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5739a0]
sub eax, dword [edx]
cmp eax, 0x1388
jbe 0x538e56
mov eax, dword [0x573edc]
mov byte [eax], 0
mov eax, dword [0x574008]
cmp byte [eax], 0
jne 0x53925d
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4], 0
je 0x53925d
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4 + 0xf], 3
jbe 0x538eb0
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4 + 0xf], 0x3c
jne 0x53925d
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
mov ecx, dword [0x574008]
lea esi, [edx + eax*4]
mov edi, ecx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
mov byte [edx + eax*4], 0
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4 + 0xf], 4
jne 0x53905d
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4 + 0x10], 0x64
jae 0x53905d
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
cmp byte [edx + eax*4 + 0x10], 0x32
jae 0x538fcc
mov edx, 0x539290
lea eax, [ebp - 0x2c]
call fcn.0040349c
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
lea edx, [edx + eax*4]
lea eax, [ebp - 0x2c]
mov cl, 0x1c
call fcn.0040346c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x50]
call fcn.0040349c
mov edx, 0x5392a0
lea eax, [ebp - 0x50]
mov cl, 0x20
call fcn.0040346c
lea edx, [ebp - 0x50]
lea eax, [ebp - 0xc]
call fcn.00404e50
mov edx, dword [ebp - 0xc]
mov eax, dword [0x5743f8]
mov eax, dword [eax]
mov cx, word [0x5392a8]
call fcn.004f6038
cmp eax, 6
je 0x53905d
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
mov ecx, dword [0x574008]
lea edi, [edx + eax*4]
mov esi, ecx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
jmp 0x53925d
mov edx, 0x539290
lea eax, [ebp - 0x2c]
call fcn.0040349c
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
lea edx, [edx + eax*4]
lea eax, [ebp - 0x2c]
mov cl, 0x1c
call fcn.0040346c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x50]
call fcn.0040349c
mov edx, 0x5392a0
lea eax, [ebp - 0x50]
mov cl, 0x20
call fcn.0040346c
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x54]
call fcn.00404e50
mov edx, dword [ebp - 0x54]
mov eax, dword [0x5743f8]
mov eax, dword [eax]
mov cx, word [0x5392a8]
call fcn.004f6038
cmp eax, 6
je 0x53905d
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
mov ecx, dword [0x574008]
lea edi, [edx + eax*4]
mov esi, ecx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
jmp 0x53925d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5739a0]
mov dword [edx], eax
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 8]
mov ecx, edx
shl edx, 4
add edx, ecx
mov ecx, dword [0x5742b0]
lea edx, [ecx + edx*4]
call fcn.00404e50
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
mov edx, dword [edx + eax*4 + 0x3c]
mov eax, dword [ebp - 4]
call fcn.0053ed38
mov eax, dword [ebp - 8]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [0x5742b0]
movzx edx, byte [edx + eax*4 + 0x10]
mov eax, dword [ebp - 8]
mov ecx, eax
shl eax, 4
add eax, ecx
mov ecx, dword [0x5742b0]
movzx eax, byte [ecx + eax*4 + 0xf]
call fcn.004e5f8c
jmp 0x53925d
cmp dword [ebp - 8], 0xffffffff
jne 0x53925d
mov eax, dword [0x574114]
cmp byte [eax], 0
je 0x53925d
mov eax, dword [0x574114]
mov byte [eax], 0
mov eax, dword [0x57400c]
mov edx, dword [0x574008]
lea esi, [eax + 4]
mov edi, edx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x57400c]
mov byte [eax + 4], 0
mov eax, dword [0x574008]
cmp byte [eax + 0xf], 4
jne 0x539216
mov eax, dword [0x574008]
cmp byte [eax + 0x10], 0x64
jae 0x539216
mov eax, dword [0x574008]
cmp byte [eax + 0x10], 0x32
jae 0x5391ad
mov edx, 0x539290
lea eax, [ebp - 0x2c]
call fcn.0040349c
mov edx, dword [0x574008]
lea eax, [ebp - 0x2c]
mov cl, 0x1c
call fcn.0040346c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x50]
call fcn.0040349c
mov edx, 0x5392a0
lea eax, [ebp - 0x50]
mov cl, 0x20
call fcn.0040346c
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x5c]
call fcn.00404e50
mov edx, dword [ebp - 0x5c]
mov eax, dword [0x5743f8]
mov eax, dword [eax]
mov cx, word [0x5392a8]
call fcn.004f6038
cmp eax, 6
je 0x539216
mov eax, dword [0x574008]
call fcn.004e648c
jmp 0x53925d
mov edx, 0x539290
lea eax, [ebp - 0x2c]
call fcn.0040349c
mov edx, dword [0x574008]
lea eax, [ebp - 0x2c]
mov cl, 0x1c
call fcn.0040346c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x50]
call fcn.0040349c
mov edx, 0x5392a0
lea eax, [ebp - 0x50]
mov cl, 0x20
call fcn.0040346c
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x60]
call fcn.00404e50
mov edx, dword [ebp - 0x60]
mov eax, dword [0x5743f8]
mov eax, dword [eax]
mov cx, word [0x5392a8]
call fcn.004f6038
cmp eax, 6
je 0x539216
mov eax, dword [0x574008]
call fcn.004e648c
jmp 0x53925d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5739a0]
mov dword [edx], eax
lea eax, [ebp - 0x64]
mov edx, dword [0x574008]
call fcn.00404e50
mov ecx, dword [ebp - 0x64]
mov edx, dword [0x574008]
mov edx, dword [edx + 0x3c]
mov eax, dword [ebp - 4]
call fcn.0053ed38
mov edx, dword [0x574008]
movzx edx, byte [edx + 0x10]
mov eax, dword [0x574008]
movzx eax, byte [eax + 0xf]
call fcn.004e5f8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x539287
lea eax, [ebp - 0x64]
mov edx, 5
call fcn.00404c10
lea eax, [ebp - 0xc]
call fcn.00404bec
ret