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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea eax, [edi + 0x60]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x38]
call fcn.00431aa0
mov ebx, dword [ebp - 0x34]
xor esi, esi
mov eax, dword [ebp - 0x38]
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x458b08
lea ebx, [ebx]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [eax + esi*4]
call fcn.0044d300
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
mov edx, dword [ecx]
xor ecx, ecx
test edx, edx
setne cl
test ecx, ecx
je 0x458e7a
push edx
push dword [eax]
call fcn.00551d79
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
test eax, eax
sete byte [ebp - 0xd]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x458af6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x38]
jne 0x458c1d
inc esi
cmp esi, ebx
jb 0x458aa0
mov eax, dword [edi + 0x34]
xor ecx, ecx
sub eax, dword [edi + 0x30]
sar eax, 2
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x458c06
mov edi, edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x30]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x2c]
add eax, 0x24
push eax
call fcn.00431aa0
mov ebx, dword [ebp - 0x28]
xor esi, esi
mov eax, dword [ebp - 0x2c]
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x458bc8
lea esp, [esp]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [eax + esi*4]
call fcn.0044d300
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 3
mov edx, dword [ecx]
xor ecx, ecx
test edx, edx
setne cl
test ecx, ecx
je 0x458e7a
push edx
push dword [eax]
call fcn.00551d79
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
test eax, eax
sete byte [ebp - 0xd]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x458bb6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x458c61
mov eax, dword [ebp - 0x2c]
inc esi
cmp esi, ebx
jb 0x458b60
mov byte [ebp - 4], 0
test eax, eax
je 0x458bee
push eax
call fcn.00551995
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0x14]
sub eax, dword [edi + 0x30]
inc ecx
sar eax, 2
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jb 0x458b20
or ebx, 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, dword [edi + 0x40]
jne 0x458cf5
lea esi, [edi + 0x3c]
jmp 0x458d44
mov eax, dword [eax + esi*4]
xor esi, esi
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x18], edx
mov ebx, dword [eax + 0x20]
mov eax, dword [edi + 0x64]
sub eax, dword [edi + 0x60]
sar eax, 2
test eax, eax
je 0x458c5c
mov ecx, dword [edi + 0x60]
jmp 0x458c40
mov eax, dword [ecx]
cmp dword [eax + 0x20], ebx
je 0x458cc8
mov eax, dword [edi + 0x64]
inc esi
sub eax, dword [edi + 0x60]
add ecx, 4
sar eax, 2
cmp esi, eax
jb 0x458c40
or esi, 0xffffffff
jmp 0x458cc8
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ecx + esi*4]
xor esi, esi
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [eax + ebx*4]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x24]
sar eax, 2
test eax, eax
je 0x458cae
mov edx, dword [ebx + 0x24]
mov edi, edi
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x2c]
je 0x458cb1
mov eax, dword [ebx + 0x28]
inc esi
sub eax, dword [ebx + 0x24]
add edx, 4
sar eax, 2
cmp esi, eax
jb 0x458c90
or esi, 0xffffffff
mov byte [ebp - 4], 0
test ecx, ecx
je 0x458cc2
push ecx
call fcn.00551995
add esp, 4
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
cmp ebx, 0xffffffff
je 0x458c09
cmp edx, 0xffffffff
je 0x458c09
mov ecx, dword [edi + 0x308]
test ecx, ecx
je 0x458c09
mov eax, dword [ecx]
push ebx
push esi
push edx
call dword [eax + 8]
jmp 0x458c09
mov eax, dword [edi + 0x34]
xor ecx, ecx
sub eax, dword [edi + 0x30]
sar eax, 2
test eax, eax
je 0x458d24
mov edx, dword [edi + 0x30]
mov eax, dword [edx]
mov esi, dword [ebp - 0x18]
cmp dword [eax + 4], esi
mov esi, dword [edi + 0x30]
je 0x458d41
mov eax, dword [edi + 0x34]
inc ecx
sub eax, esi
add edx, 4
sar eax, 2
cmp ecx, eax
jb 0x458d07
xor esi, esi
mov edx, dword [0x64168c]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x458d68
cmp dword [eax + 0x10], ebx
jae 0x458d52
mov eax, dword [eax + 8]
jmp 0x458d56
mov esi, dword [esi + ecx*4]
test esi, esi
je 0x458d26
push ebx
mov ecx, esi
call fcn.00450890
jmp 0x458d26
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x458d37
cmp ecx, edx
je 0x458d68
mov dword [ebp - 0x1c], ecx
cmp ebx, dword [ecx + 0x10]
jae 0x458d6b
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, edx
je 0x458f26
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x458f26
mov eax, dword [esi + 4]
mov dword [ebx + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x458dc0
cmp ecx, dword [esi - 0x10]
jne 0x458dc0
lea ebx, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x458dfa
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x458dd4
call fcn.0040c3b0
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.00551ae9
add esp, 0x10
lea eax, [ebx + 0x10]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov esi, dword [eax - 0xc]
test esi, esi
jns 0x458e15
push 0x80070057
call fcn.0040c390
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x458e32
push esi
lea ecx, [ebp - 0x14]
call fcn.0040c110
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.005527a0
mov eax, dword [ebp - 0x14]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x458e0b
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + esi*2], cx
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x344]
call fcn.0041a440
mov esi, eax
cmp esi, dword [edi + 0x344]
je 0x458ebb
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x458e84
push 0x80004005
call fcn.0040c390
mov eax, dword [ebp - 0x14]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458ead
test dx, dx
je 0x458ea9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458ead
add eax, 4
add ecx, 4
test dx, dx
jne 0x458e87
xor eax, eax
jmp 0x458eb2
sbb eax, eax
or eax, 1
test eax, eax
sets al
test al, al
je 0x458eea
lea eax, [ebp - 0x14]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [edi + 0x344]
call fcn.0041b6d0
push eax
add eax, 0x10
lea ecx, [edi + 0x344]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.0041b770
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push 0
push 0x2710
push 0x4e21
mov dword [esi + 0x14], eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x458f26
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x324], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x32c], 2
mov ebx, dword [edi + 0x330]
sub ebx, 0x10
mov eax, dword [eax]
lea esi, [eax - 0x10]
cmp esi, ebx
je 0x458ff2
cmp dword [ebx + 0xc], 0
jl 0x458fe3
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x458fe3
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x458f85
cmp ecx, dword [esi]
jne 0x458f85
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x458fc1
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp + 8], edx
test edx, edx
jne 0x458f9c
call fcn.0040c3b0
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax*2 + 2]
push ecx
lea eax, [esi + 0x10]
push eax
push ecx
lea eax, [edx + 0x10]
push eax
call fcn.00551ae9
mov esi, dword [ebp + 8]
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x458fd8
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x10]
mov dword [edi + 0x330], eax
jmp 0x458ff2
push dword [eax - 0xc]
lea ecx, [edi + 0x330]
push eax
call fcn.0040c1c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x328], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x45900e
push eax
call fcn.00551995
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4