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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], 0
mov edi, edi
push 0x649c50
push esi
push edi
xor bl, bl
call fcn.004597a0
push 3
push 0x4e22e8
push 0x649c51
mov ebp, eax
call fcn.004b277c
add esp, 0x18
test eax, eax
jne 0x46170a
mov bl, 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x14]
cmp eax, 0x1388
jle 0x461747
cmp byte [esp + 0x13], 0
jne 0x461745
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
mov eax, dword [0x649e64]
push 1
push eax
push esi
push edi
mov byte [esp + 0x23], 1
call fcn.00459ff0
add esp, 0x10
jmp 0x461747
xor ebp, ebp
test bl, bl
mov cl, byte [0x649c59]
je 0x461785
movzx eax, byte [0x649c57]
movzx edx, byte [0x649c58]
sub eax, 3
shl eax, 8
add eax, edx
movzx edx, cl
shl eax, 8
add eax, edx
js 0x461783
sub eax, dword [0x649e64]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x1000
jle 0x461785
xor bl, bl
cmp ebp, 1
jne 0x461917
test bl, bl
je 0x4616e0
movzx eax, byte [0x649c57]
movzx edx, byte [0x649c58]
mov esi, dword [esp + 0x24]
sub eax, 3
shl eax, 8
add eax, edx
movzx ecx, cl
shl eax, 8
add eax, ecx
mov dword [esi], eax
movzx edx, byte [0x649c5c]
movzx eax, byte [0x649c5d]
shl edx, 8
add edx, eax
mov dword [esi + 4], edx
movzx ecx, byte [0x649c5e]
movzx edx, byte [0x649c5f]
shl ecx, 8
add ecx, edx
mov dword [esi + 8], ecx
movzx eax, byte [0x649c60]
movzx ecx, byte [0x649c61]
shl eax, 8
add eax, ecx
mov dword [esi + 0xc], eax
movzx edx, byte [0x649c62]
movzx eax, byte [0x649c63]
shl edx, 8
add edx, eax
mov dword [esi + 0x10], edx
movzx ecx, byte [0x649c64]
movzx edx, byte [0x649c65]
shl ecx, 8
add ecx, edx
mov dword [esi + 0x14], ecx
movzx eax, byte [0x649c66]
movzx ecx, byte [0x649c67]
mov edx, dword [esi + 0x14]
shl eax, 8
add eax, ecx
add edx, eax
add edx, dword [esi + 0x10]
mov dword [esi + 0x1c], eax
add edx, dword [esi + 0xc]
mov eax, 0x649c70
add edx, dword [esi + 8]
add edx, dword [esi + 4]
xor ecx, ecx
mov dword [esi + 0x18], edx
lea esp, [esp]
movzx edi, byte [eax - 4]
movzx edx, byte [eax - 6]
add edx, edi
movzx edi, byte [eax - 2]
add edx, edi
movzx edi, byte [eax + 2]
add edx, edi
movzx edi, byte [eax]
add edx, edi
movzx edi, byte [eax - 5]
shl edx, 8
add edx, edi
movzx edi, byte [eax - 3]
add edx, edi
movzx edi, byte [eax + 3]
add edx, edi
movzx edi, byte [eax - 1]
add edx, edi
movzx edi, byte [eax + 1]
add edi, ecx
add eax, 0xa
cmp eax, 0x649c8e
lea ecx, [edi + edx]
jl 0x461860
mov dword [esi + 0x20], ecx
movzx eax, byte [0x649c88]
movzx ecx, byte [0x649c89]
shl eax, 8
add eax, ecx
mov dword [esi + 0x24], eax
movzx edx, byte [0x649c8b]
movzx eax, byte [0x649c8c]
shl edx, 8
add edx, eax
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fmul qword [0x4de1f0]
fsub qword [0x4e22e0]
fmul qword [0x4db2a0]
call fcn.004b35b0
fmul qword [0x4dd118]
call fcn.004b0540
mov ecx, dword [esi]
pop edi
mov dword [esi + 0x28], eax
pop esi
pop ebp
mov dword [0x649e64], ecx
mov eax, 1
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret