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

Disassembly:
mov eax, 0x10085323
call fcn.1005ccdc
sub esp, 0x38
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10418de0]
cmp eax, 0x3e8
jbe 0x1004614a
inc dword [0x10418ddc]
call esi
mov dword [0x10418de0], eax
mov esi, dword [0x10161380]
cmp byte [esi + 0x256], 0
je 0x100463ce
cmp byte [esi + 0x255], 0
je 0x100463ce
push edi
mov edi, str.NULL
lea ecx, [esi + 0x225]
push edi
call fcn.1004a098
test al, al
jne 0x100463cd
push edi
lea ecx, [esi + 0x23d]
call fcn.1004a098
test al, al
jne 0x100463cd
cmp dword [0x10418ddc], 0x77
jle 0x100463cd
push ebx
xor edi, edi
xor ebx, ebx
mov eax, dword [0x1040b878]
cmp dword [eax + edi*4 + 0x26], 0
je 0x100462a4
cmp byte [esi + edi + 0x7505], 0
je 0x100461e7
push edi
call fcn.1004141e
mov esi, dword [0x10161380]
pop ecx
push eax
lea ecx, [esi + 0x78f1]
add ecx, ebx
call fcn.1004a098
test al, al
jne 0x100462a4
push edi
call fcn.1004141e
mov edx, eax
mov dword [ebp - 0x18], 0xf
pop ecx
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046207
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.100047ed
mov esi, dword [0x10161380]
lea eax, [ebp - 0x2c]
and dword [ebp - 4], 0
push 0
push eax
lea ecx, [esi + 0x225]
call fcn.10005539
cmp eax, 0xffffffff
je 0x10046263
push edi
mov byte [esi + edi + 0x7505], 1
call fcn.1004141e
pop ecx
mov ecx, dword [0x10161380]
add ecx, 0x78f1
add ecx, ebx
push eax
call fcn.100047ce
mov esi, dword [0x10161380]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100462a4
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x10046295
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10003e9d
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.1005ccc7
mov esi, dword [0x10161380]
pop ecx
pop ecx
inc edi
add ebx, 0x18
cmp edi, 0x3ec
jl 0x100461aa
xor edi, edi
xor ebx, ebx
mov eax, dword [0x1040b878]
cmp dword [eax + edi*4 + 0x26], 0
je 0x100463b5
cmp byte [esi + edi + 0xd712], 0
je 0x100462f5
push edi
call fcn.1004141e
mov esi, dword [0x10161380]
pop ecx
push eax
lea ecx, [esi + 0xdafe]
add ecx, ebx
call fcn.1004a098
test al, al
jne 0x100463b5
push edi
call fcn.1004141e
mov edx, eax
mov dword [ebp - 0x30], 0xf
pop ecx
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x44], al
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046315
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.100047ed
mov esi, dword [0x10161380]
lea eax, [ebp - 0x44]
push 0
push eax
mov dword [ebp - 4], 1
lea ecx, [esi + 0x23d]
call fcn.10005539
cmp eax, 0xffffffff
je 0x10046374
push edi
mov byte [esi + edi + 0xd712], 1
call fcn.1004141e
pop ecx
mov ecx, dword [0x10161380]
add ecx, 0xdafe
add ecx, ebx
push eax
call fcn.100047ce
mov esi, dword [0x10161380]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100463b5
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x100463a6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10003e9d
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.1005ccc7
mov esi, dword [0x10161380]
pop ecx
pop ecx
inc edi
add ebx, 0x18
cmp edi, 0x3ec
jl 0x100462b8
and dword [0x10418ddc], 0
pop ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret