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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x538ed2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
sub eax, 0x34
jae 0x538d36
mov eax, dword [0x5539e0]
cmp byte [eax], 0
je 0x538b6c
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x553674]
sub eax, dword [edx]
cmp eax, 0x1388
jbe 0x538b6c
mov eax, dword [0x5539e0]
mov byte [eax], 0
mov eax, dword [0x5539e0]
cmp byte [eax], 0
jne 0x538eaf
imul eax, ebx, 0x13
mov edx, dword [0x5531d0]
cmp byte [edx + eax*4], 0
je 0x538eaf
imul eax, ebx, 0x13
mov edx, dword [0x5531d0]
cmp byte [edx + eax*4 + 0x15], 3
ja 0x538eaf
imul esi, ebx, 0x13
mov eax, dword [0x5531d0]
mov edx, dword [0x5539e0]
push esi
push edi
lea esi, [eax + esi*4]
mov edi, edx
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [0x5531d0]
mov byte [eax + esi*4], 0
imul esi, ebx, 0x13
mov eax, dword [0x5531d0]
cmp byte [eax + esi*4 + 0x15], 4
jne 0x538cf1
mov eax, dword [0x5531d0]
cmp byte [eax + esi*4 + 0x16], 0x64
jae 0x538cf1
mov eax, dword [0x5531d0]
cmp byte [eax + esi*4 + 0x16], 0x32
jae 0x538c76
mov edx, 0x538ee0
lea eax, [ebp - 0x1c]
call fcn.00403a30
mov eax, dword [0x5531d0]
lea edx, [eax + esi*4]
lea eax, [ebp - 0x1c]
mov cl, 0x15
call fcn.00403a00
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x48]
call fcn.00403a30
mov edx, 0x538ee4
lea eax, [ebp - 0x48]
mov cl, 0x29
call fcn.00403a00
lea edx, [ebp - 0x48]
lea eax, [ebp - 4]
call fcn.00405640
mov edx, dword [ebp - 4]
mov eax, dword [0x5539d0]
mov eax, dword [eax]
movzx ecx, word [0x538efc]
call fcn.0050801c
cmp eax, 6
je 0x538cf1
mov eax, dword [0x5531d0]
mov edx, dword [0x5539e0]
lea edi, [eax + esi*4]
mov esi, edx
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
jmp 0x538eaf
mov edx, 0x538ee0
lea eax, [ebp - 0x1c]
call fcn.00403a30
mov eax, dword [0x5531d0]
lea edx, [eax + esi*4]
lea eax, [ebp - 0x1c]
mov cl, 0x15
call fcn.00403a00
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x48]
call fcn.00403a30
mov edx, 0x538ee4
lea eax, [ebp - 0x48]
mov cl, 0x29
call fcn.00403a00
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x4c]
call fcn.00405640
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x5539d0]
mov eax, dword [eax]
movzx ecx, word [0x538efc]
call fcn.0050801c
cmp eax, 6
je 0x538cf1
mov eax, dword [0x5531d0]
mov edx, dword [0x5539e0]
lea edi, [eax + esi*4]
mov esi, edx
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
jmp 0x538eaf
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x553674]
mov dword [edx], eax
lea eax, [ebp - 0x50]
mov edx, dword [0x5531d0]
lea edx, [edx + esi*4]
call fcn.00405640
mov ecx, dword [ebp - 0x50]
mov eax, dword [0x5531d0]
mov edx, dword [eax + esi*4 + 0x44]
mov eax, edi
call fcn.0053bf24
mov eax, dword [0x5531d0]
movzx eax, byte [eax + esi*4 + 0x15]
call fcn.00517f38
jmp 0x538eaf
inc ebx
jne 0x538eaf
mov eax, dword [0x553088]
cmp byte [eax], 0
je 0x538eaf
mov eax, dword [0x553088]
mov byte [eax], 0
mov eax, dword [0x5539dc]
mov edx, dword [0x5539e0]
push edi
lea esi, [eax + 4]
mov edi, edx
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [0x5539dc]
mov byte [eax + 4], 0
mov eax, dword [0x5539e0]
cmp byte [eax + 0x15], 4
jne 0x538e73
mov eax, dword [0x5539e0]
cmp byte [eax + 0x16], 0x64
jae 0x538e73
mov eax, dword [0x5539e0]
cmp byte [eax + 0x16], 0x32
jae 0x538e0a
mov edx, 0x538ee0
lea eax, [ebp - 0x1c]
call fcn.00403a30
mov edx, dword [0x5539e0]
lea eax, [ebp - 0x1c]
mov cl, 0x15
call fcn.00403a00
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x48]
call fcn.00403a30
mov edx, 0x538ee4
lea eax, [ebp - 0x48]
mov cl, 0x29
call fcn.00403a00
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x54]
call fcn.00405640
mov edx, dword [ebp - 0x54]
mov eax, dword [0x5539d0]
mov eax, dword [eax]
movzx ecx, word [0x538efc]
call fcn.0050801c
cmp eax, 6
je 0x538e73
mov eax, dword [0x5539e0]
call fcn.0052bf20
jmp 0x538eaf
mov edx, 0x538ee0
lea eax, [ebp - 0x1c]
call fcn.00403a30
mov edx, dword [0x5539e0]
lea eax, [ebp - 0x1c]
mov cl, 0x15
call fcn.00403a00
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x48]
call fcn.00403a30
mov edx, 0x538ee4
lea eax, [ebp - 0x48]
mov cl, 0x29
call fcn.00403a00
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x58]
call fcn.00405640
mov edx, dword [ebp - 0x58]
mov eax, dword [0x5539d0]
mov eax, dword [eax]
movzx ecx, word [0x538efc]
call fcn.0050801c
cmp eax, 6
je 0x538e73
mov eax, dword [0x5539e0]
call fcn.0052bf20
jmp 0x538eaf
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x553674]
mov dword [edx], eax
lea eax, [ebp - 0x5c]
mov edx, dword [0x5539e0]
call fcn.00405640
mov ecx, dword [ebp - 0x5c]
mov edx, dword [0x5539e0]
mov edx, dword [edx + 0x44]
mov eax, edi
call fcn.0053bf24
mov eax, dword [0x5539e0]
movzx eax, byte [eax + 0x15]
call fcn.00517f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x538ed9
lea eax, [ebp - 0x5c]
mov edx, 5
call fcn.00405400
lea eax, [ebp - 4]
call fcn.004053dc
ret