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

Disassembly:
mov eax, 0x616960
call fcn.0044c164
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call fcn.00593582
mov dword [ebp - 0x28], eax
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
mov dword [eax], ecx
mov dword [ebp - 0x2c], 0x593563
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, edi
je 0x464049
mov eax, dword [eax + 0x14]
cmp eax, edi
je 0x464049
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push esi
call eax
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x46405e
movsx eax, word [ebp - 0x1c]
mov ebx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
movsx ecx, word [ebp - 0x20]
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
cmp word [esi + 0x98], di
je 0x4641cc
mov eax, dword [esi + 0x3c]
cmp dword [esi + 0x8c], eax
jle 0x4640af
mov edx, dword [esi + 0x9c]
sub eax, edx
cmp ecx, eax
jle 0x4640a0
mov eax, dword [esi + 0xc0]
jmp 0x4640ac
cmp ecx, edx
jge 0x4640af
mov eax, dword [esi + 0xc0]
neg eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x38]
cmp dword [esi + 0x88], eax
jle 0x4640e3
mov ecx, dword [esi + 0x9c]
mov edx, dword [ebx]
sub eax, ecx
cmp edx, eax
jle 0x4640d0
mov eax, dword [esi + 0xbc]
jmp 0x4640dc
cmp edx, ecx
jge 0x4640e3
mov eax, dword [esi + 0xbc]
neg eax
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x4640f3
cmp dword [ebp - 0x14], edi
jne 0x4640f3
mov dword [esi + 0xa0], edi
jmp 0x4641cc
cmp dword [esi + 0xa0], 0
lea edi, [esi + 0xa0]
jne 0x464109
call fcn.0059d186
mov dword [edi], eax
call fcn.0059d186
mov edx, eax
sub edx, dword [edi]
mov dword [ebp + 8], edx
call fcn.0045c4ae
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x4641cc
mov eax, dword [esi + 0x94]
cmp dword [ebp + 0x14], 0
mov edi, dword [esi + 0x90]
mov dword [ebp + 8], eax
je 0x46418f
push esi
call fcn.0046424b
push esi
mov ebx, eax
call fcn.004641f2
pop ecx
pop ecx
xor ecx, ecx
cmp dword [ebp - 0x14], ecx
jle 0x46415d
cmp ax, word [esi + 0xda]
jl 0x46417c
cmp dword [ebp - 0x14], ecx
jge 0x464164
cmp ax, cx
jg 0x46417c
cmp dword [ebp - 0x18], ecx
jle 0x464175
cmp bx, word [esi + 0xd8]
jl 0x46417c
cmp dword [ebp - 0x18], ecx
jge 0x46418c
cmp bx, cx
jle 0x46418c
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [ebp + 0x14]
add esp, 0x10
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x94]
add eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [esi + 0x90]
push eax
push esi
call fcn.00464700
push esi
call fcn.00463f07
add esp, 0x10
cmp edi, dword [esi + 0x90]
jne 0x4641c5
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x94]
je 0x4641cc
mov dword [ebp - 0x24], 1
mov eax, dword [esi + 0x90]
pop edi
add dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x94]
pop esi
add dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov ax, word [ebp - 0x24]
mov dword fs:[0], ecx
pop ebx
leave
ret