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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x533b2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x533afe
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x31d84]
jne 0x533593
cmp eax, dword [ecx + 0x31d80]
jae 0x5335a2
jmp 0x533595
jge 0x5335a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533b08
call sub.kernel32.dll_GetTickCount_1
add eax, 0x1f40
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x31d80], eax
mov dword [ecx + 0x31d84], edx
mov eax, dword [0x55d330]
push dword [eax + 0x18]
push 0x533b44
mov eax, dword [0x55d330]
push dword [eax + 0x30]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040515c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00541b1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x533600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533b08
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00541a04
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x533621
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533b08
mov edx, dword [ebp - 0x18]
add edx, 4
mov eax, dword [ebp - 4]
call fcn.00541a04
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x533645
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533b08
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00541a04
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x11e], 0
jne 0x5336f2
push 1
mov eax, dword [ebp - 4]
add eax, 0x11e
mov ecx, 1
mov edx, dword [0x49cb94]
call fcn.004062b4
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
add eax, 0x30
mov edx, 0x533b50
call fcn.00404e30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c3]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x11e]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
fld dword [eax + 0x1c]
fcomp dword [0x533b5c]
fnstsw ax
sahf
jae 0x5336d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
mov dword [eax + 0x24], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
xor edx, edx
mov dword [eax + 0x20], edx
mov byte [ebp - 0x3d], 1
lea eax, [ebp - 0x38]
call fcn.00404ddc
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0x18], 0
je 0x533a51
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x533a51
mov edx, dword [ebp - 0x18]
add edx, 0x65
mov eax, dword [ebp - 4]
call fcn.00541a04
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
je 0x533a51
mov edx, dword [ebp - 0x18]
add edx, 0xc
mov eax, dword [ebp - 4]
call fcn.00541a04
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x18]
add edx, 0x18
mov eax, dword [ebp - 4]
call fcn.00541a04
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x18]
add edx, 0x1c
mov eax, dword [ebp - 4]
call fcn.00541a04
mov edi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
mov ecx, 0x65
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00532c44
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jg 0x533a51
cmp dword [ebp - 0x24], 0xffffffff
je 0x533706
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2c]
add edx, 0x28
mov eax, dword [ebp - 4]
call fcn.00541a04
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x15
je 0x5337c5
cmp dword [ebp - 0x30], 0x18
jne 0x533706
cmp dword [ebp - 0x30], 0x15
jne 0x5337ea
test edi, edi
je 0x5337ea
cmp edi, 0xffffffff
je 0x5337ea
push ebp
mov eax, edi
call fcn.00533468
pop ecx
mov edx, eax
mov eax, dword [ebp - 0x24]
call fcn.00533130
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x30], 0x18
jne 0x533804
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xfe]
mov eax, dword [ebp - 0x24]
call fcn.00533130
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00532d34
mov edi, eax
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
call fcn.004060d8
mov edx, dword [ebp - 0xc]
inc edx
cmp eax, edx
jg 0x53384a
mov eax, dword [ebp - 0xc]
inc eax
push eax
mov eax, dword [ebp - 4]
add eax, 0x11e
mov ecx, 1
mov edx, dword [0x49cb94]
call fcn.004062b4
add esp, 4
mov esi, ebx
shl esi, 4
add esi, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
mov eax, dword [eax + esi*4 + 8]
cmp eax, dword [ebp - 0x24]
jne 0x53386b
inc dword [ebp - 0xc]
jmp 0x533706
lea ecx, [ebp - 0x3c]
mov eax, dword [0x55d330]
mov edx, dword [eax + 0x138]
add edx, edi
mov eax, dword [ebp - 4]
call fcn.005330e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
mov dword [eax + esi*4], edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
mov edx, dword [ebp - 0x20]
mov dword [eax + esi*4 + 4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
mov edx, dword [ebp - 0x24]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
lea eax, [eax + esi*4 + 0x30]
mov edx, dword [ebp - 0x3c]
call fcn.00404e30
lea edx, [edi + 0x24]
mov eax, dword [ebp - 4]
call fcn.00541a04
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
mov edx, dword [ebp - 0x20]
mov dword [eax + esi*4 + 0x28], edx
lea edx, [edi + 0x24]
mov eax, dword [ebp - 4]
call fcn.00541a04
lea edx, [edi + 0x18]
mov eax, dword [ebp - 4]
call fcn.00541a04
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x11e]
mov dword [edx + esi*4 + 0x10], eax
lea edx, [edi + 0x14]
mov eax, dword [ebp - 4]
call fcn.00541a04
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x11e]
mov dword [edx + esi*4 + 0x14], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
lea eax, [eax + esi*4 + 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
lea eax, [eax + esi*4 + 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
lea eax, [eax + esi*4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
lea eax, [eax + esi*4 + 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
lea eax, [eax + esi*4 + 0x18]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
lea ecx, [eax + esi*4 + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
lea edx, [eax + esi*4 + 0x1c]
mov eax, dword [0x55d330]
mov eax, dword [eax + 0x138]
add eax, edi
add eax, 0x54
call fcn.0053316c
pop ecx
mov eax, dword [0x55d330]
mov edx, dword [eax + 0x138]
add edx, edi
sub edx, 0x83
mov eax, dword [ebp - 4]
call fcn.005419f8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x11e]
mov dword [edx + esi*4 + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
cmp dword [eax + esi*4 + 0xc], 1
jne 0x5339dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
mov dword [eax + esi*4 + 0x28], 0x1f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
cmp dword [eax + esi*4 + 0xc], 2
jne 0x5339fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
mov dword [eax + esi*4 + 0x28], 0x3e8
cmp dword [ebp - 0x28], 0xffffffff
jne 0x533a1e
cmp dword [ebp - 0x34], 0x27
ja 0x533a1e
mov eax, ebx
shl eax, 4
add eax, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x11e]
xor ecx, ecx
mov dword [edx + eax*4], ecx
mov byte [ebp - 0x3d], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0x3c], 0
je 0x533706
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0x533b68
push 0x533b74
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.0040515c
jmp 0x533706
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
add eax, 0x11e
mov ecx, 1
mov edx, dword [0x49cb94]
call fcn.004062b4
add esp, 4
cmp byte [ebp - 0x3d], 0
je 0x533af0
lea eax, [ebp - 0x38]
mov edx, 0x533b80
call fcn.00404e74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
call fcn.004060d8
mov ebx, eax
dec ebx
test ebx, ebx
jle 0x533ae0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp - 0xc]
mov eax, esi
shl esi, 4
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
cmp dword [eax + esi*4], 0
je 0x533ada
push dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11e]
push dword [eax + esi*4 + 0x30]
push 0x533b94
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040515c
inc dword [ebp - 0xc]
dec ebx
jne 0x533a9f
mov eax, dword [ebp - 4]
add eax, 0x126
mov edx, dword [ebp - 0x38]
call fcn.00404e30
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533b32
lea eax, [ebp - 0x44]
call fcn.00404ddc
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404e00
ret