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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x536d49
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404e30
mov eax, dword [ebp - 0xc]
call fcn.00404e30
mov esi, 0x564480
xor eax, eax
push ebp
push 0x536ff3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor eax, eax
push ebp
push 0x536f99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.005341dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [ebp - 8]
call fcn.005340a8
mov eax, dword [ebp - 0xc]
call fcn.00536ccc
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.00534128
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.005341d4
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, esi
mov edx, 0x53700c
call fcn.004049d4
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x536e10
cmp eax, 0x2710
jb 0x536e22
jmp 0x536e12
jl 0x536e22
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.005341dc
jmp 0x536e3e
mov eax, dword [esi]
mov edx, 0x53700c
call fcn.00404d8c
jne 0x536e3e
mov eax, dword [0x561040]
mov eax, dword [eax]
call fcn.0047df70
jmp 0x536ded
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.005341dc
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.004092f8
mov eax, dword [ebp - 0x14]
mov edx, 0x53700c
call fcn.00404d8c
jne 0x536e8c
push 0x30
push 0x537014
push 0x537020
mov eax, dword [ebp - 4]
call fcn.00463204
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x536fcb
lea edx, [ebp - 0x18]
mov eax, dword [esi]
call fcn.004092f8
cmp dword [ebp - 0x18], 0
je 0x536ecc
lea edx, [ebp - 0x1c]
mov eax, dword [esi]
call fcn.004092f8
mov eax, dword [ebp - 0x1c]
mov edx, 0x537040
call fcn.00404d8c
je 0x536ecc
lea edx, [ebp - 0x20]
mov eax, dword [esi]
call fcn.004092f8
mov eax, dword [ebp - 0x20]
call fcn.00404c40
cmp eax, 0x14
je 0x536ef3
push 0x30
push 0x537044
push 0x537048
mov eax, dword [ebp - 4]
call fcn.00463204
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x536fcb
lea eax, [ebp - 0x24]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [esi]
call fcn.00404ea0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
call fcn.0045c900
lea eax, [ebp - 0x28]
push eax
mov ecx, 5
mov edx, 6
mov eax, dword [esi]
call fcn.00404ea0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c4]
call fcn.0045c900
lea eax, [ebp - 0x2c]
push eax
mov ecx, 5
mov edx, 0xb
mov eax, dword [esi]
call fcn.00404ea0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
call fcn.0045c900
lea eax, [ebp - 0x30]
push eax
mov ecx, 5
mov edx, 0x10
mov eax, dword [esi]
call fcn.00404ea0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
call fcn.0045c900
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x536fcb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536ffa
lea eax, [ebp - 0x30]
mov edx, 8
call fcn.004049a4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004049a4
ret