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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1b
push 0
push 0
dec ecx
jne 0x4b2298
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b2889
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x58d8ec], 0
je 0x4b22d8
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x58d930]
cmp eax, 0x1388
jbe 0x4b22d8
mov byte [0x58d8ec], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jle 0x4b2301
mov eax, dword [ebp - 0x10]
mov edx, eax
shl eax, 4
add eax, edx
lea esi, [eax*4 + 0x58c014]
mov edi, 0x58d8ec
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x10], 0xffffffff
sete al
and al, byte [0x58d850]
je 0x4b2341
mov byte [0x58d850], 0
mov esi, 0x58d860
mov edi, 0x58d8ec
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov dword [0x58d85c], 0xffffffff
mov byte [0x58d860], 0
mov eax, dword [0x58d854]
mov dword [ebp - 0x10], eax
cmp byte [0x58d8ec], 0
je 0x4b284e
cmp byte [0x58d8fb], 4
jne 0x4b2408
cmp byte [0x58d8fc], 0x64
jae 0x4b2408
cmp byte [0x58d8fc], 0x32
jae 0x4b2408
mov edx, 0x4b2898
lea eax, [ebp - 0x34]
call fcn.0040305c
mov edx, 0x58d8ec
lea eax, [ebp - 0x34]
mov cl, 0xf
call fcn.0040302c
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x60]
call fcn.0040305c
mov edx, 0x4b289c
lea eax, [ebp - 0x60]
mov cl, 0x2a
call fcn.0040302c
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x24]
call fcn.004048e8
mov edx, dword [ebp - 0x24]
mov eax, dword [0x532f8c]
mov eax, dword [eax]
mov cx, word [0x4b28b8]
call fcn.004e2b8c
cmp eax, 6
je 0x4b23e0
mov eax, 0x58d8ec
call fcn.005112d8
jmp 0x4b284e
call sub.kernel32.dll_GetTickCount_1
mov dword [0x58d930], eax
lea eax, [ebp - 0x64]
mov edx, 0x58d8ec
call fcn.004048e8
mov ecx, dword [ebp - 0x64]
mov edx, dword [0x58d928]
mov eax, dword [ebp - 4]
call fcn.004b65b4
cmp byte [0x58d8ec], 0
je 0x4b2711
cmp byte [0x58d8fb], 4
je 0x4b2711
lea eax, [ebp - 0x68]
mov edx, 0x58d8ec
call fcn.004048e8
mov ecx, dword [ebp - 0x68]
mov edx, dword [0x58d928]
mov eax, dword [ebp - 4]
call fcn.004b65b4
call sub.kernel32.dll_GetTickCount_1
mov dword [0x58d930], eax
mov eax, dword [ebp - 0x10]
mov edx, eax
shl eax, 4
add eax, edx
mov byte [eax*4 + 0x58c014], 0
xor eax, eax
mov al, byte [0x58d8fb]
call fcn.00505a8c
xor eax, eax
mov dword [ebp - 0x18], eax
cmp byte [0x58d8ec], 0
je 0x4b250e
cmp byte [0x5a5146], 1
jne 0x4b250e
cmp byte [0x59191f], 0
jbe 0x4b250e
cmp dword [ebp - 0x10], 0xffffffff
jle 0x4b250e
cmp dword [ebp - 0x10], 6
jge 0x4b250e
mov dword [ebp - 0xc], 6
mov eax, 0x58d8ec
mov edx, dword [ebp - 0xc]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [edx*4 + 0x58c014]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403108
jne 0x4b2505
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebp - 0x10]
mov ecx, edx
shl edx, 4
add edx, ecx
lea esi, [eax*4 + 0x58c014]
lea edi, [edx*4 + 0x58c014]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 4
add eax, edx
mov byte [eax*4 + 0x58c014], 0
jmp 0x4b2711
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x34
jne 0x4b24a3
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0xc], 0x34
jge 0x4b254c
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 4
add eax, edx
lea eax, [eax*4 + 0x58c014]
mov edx, 0x58d8ec
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403108
jne 0x4b2543
inc dword [ebp - 0x18]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x34
jne 0x4b251e
cmp dword [ebp - 0xc], 0x34
je 0x4b255c
cmp dword [ebp - 0x18], 0
jne 0x4b2696
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 4
add eax, edx
cmp byte [eax*4 + 0x58c014], 0
jne 0x4b257d
inc dword [ebp - 0x14]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x2d
jne 0x4b2566
cmp byte [0x58d8fb], 0
jne 0x4b2677
cmp dword [ebp - 0x14], 4
jle 0x4b2677
cmp byte [0x5a5147], 1
jne 0x4b2677
cmp byte [0x591920], 0
jbe 0x4b2677
lea eax, [ebp - 0x6c]
mov edx, 0x58d8ec
call fcn.004048e8
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x5a60b0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x4b25ea
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [0x5a60ac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0xc], 6
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 0xc]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [edx*4 + 0x58c014]
call fcn.004048e8
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x1c]
call fcn.00404a90
jne 0x4b266a
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 0xc]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [edx*4 + 0x58c014]
call fcn.004048e8
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [eax*4 + 0x58c050]
mov eax, dword [ebp - 4]
call fcn.004b65b4
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 4
add eax, edx
mov byte [eax*4 + 0x58c014], 0
mov dword [ebp - 0x18], 5
jmp 0x4b2711
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x34
jne 0x4b25f1
cmp dword [ebp - 0x14], 4
jg 0x4b2696
push 0xff
mov ecx, 0xffffff
mov edx, 0x4b28c4
mov eax, dword [0x58bbe0]
call fcn.004d170c
cmp dword [ebp - 0x10], 0xffffffff
jle 0x4b2711
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x4b2708
mov eax, 0x58d8ec
mov edx, dword [ebp - 0xc]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [edx*4 + 0x58c014]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403108
jne 0x4b2708
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebp - 0x10]
mov ecx, edx
shl edx, 4
add edx, ecx
lea esi, [eax*4 + 0x58c014]
lea edi, [edx*4 + 0x58c014]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 4
add eax, edx
mov byte [eax*4 + 0x58c014], 0
jmp 0x4b2711
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 6
jne 0x4b26a1
cmp byte [0x58d8ec], 0
je 0x4b284e
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, 0x58d8ec
mov edx, dword [ebp - 0xc]
mov ecx, edx
shl edx, 4
add edx, ecx
lea edx, [edx*4 + 0x58c014]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403108
jne 0x4b274d
inc dword [ebp - 0x18]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x34
jne 0x4b2728
cmp dword [ebp - 0x18], 0
jle 0x4b27f5
push 0xffffff
mov edx, 0x4b28d4
lea eax, [ebp - 0x90]
call fcn.0040305c
mov edx, 0x58d8ec
lea eax, [ebp - 0x90]
mov cl, 0x12
call fcn.0040302c
lea edx, [ebp - 0x90]
lea eax, [ebp - 0xac]
call fcn.0040305c
mov edx, 0x4b28dc
lea eax, [ebp - 0xac]
mov cl, 0x18
call fcn.0040302c
lea edx, [ebp - 0xac]
lea eax, [ebp - 0x7c]
call fcn.004048e8
push dword [ebp - 0x7c]
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x18]
call fcn.00408d74
push dword [ebp - 0xb0]
push 0x4b28ec
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00404a04
mov edx, dword [ebp - 0x78]
mov ecx, 0x8000
mov eax, dword [0x58bbe0]
call fcn.004d170c
jmp 0x4b2842
push 0xffffff
mov edx, 0x58d8ec
lea eax, [ebp - 0xd8]
call fcn.0040305c
mov edx, 0x4b28f0
lea eax, [ebp - 0xd8]
mov cl, 0x23
call fcn.0040302c
lea edx, [ebp - 0xd8]
lea eax, [ebp - 0xb4]
call fcn.004048e8
mov edx, dword [ebp - 0xb4]
mov ecx, 0xff
mov eax, dword [0x58bbe0]
call fcn.004d170c
xor eax, eax
mov al, byte [0x58d8fb]
call fcn.00505a8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2890
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.004046a8
lea eax, [ebp - 0x7c]
mov edx, 7
call fcn.004046a8
lea eax, [ebp - 0x24]
call fcn.00404684
lea eax, [ebp - 0x1c]
call fcn.00404684
ret