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

Disassembly:
mov eax, 0x100897b0
call fcn.10062ce0
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
sub eax, dword [0x1043c1ec]
cmp eax, 0x3e8
jbe 0x1004983f
inc dword [0x1043c1e8]
call esi
mov dword [0x1043c1ec], eax
mov esi, dword [0x10163938]
cmp byte [esi + 0xceb7], 0
je 0x10049b05
cmp byte [esi + 0xceb6], 0
je 0x10049b05
mov edi, str.NULL
lea ecx, [esi + 0xce86]
push edi
call fcn.1000746a
test al, al
jne 0x10049b05
push edi
lea ecx, [esi + 0xce9e]
call fcn.1000746a
test al, al
jne 0x10049b05
cmp dword [0x1043c1e8], 0x77
jle 0x10049b05
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x14], edi
mov eax, dword [0x1042ec74]
cmp dword [eax + ebx*4 + 0x26], 0
je 0x100499b7
cmp byte [esi + ebx + 0x19f67], 0
je 0x100498dd
push ebx
call fcn.10044caa
mov esi, dword [0x10163938]
pop ecx
push eax
lea ecx, [esi + 0x1a353]
add ecx, edi
call fcn.1000746a
test al, al
jne 0x100499b7
push ebx
call fcn.10044caa
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 0x100498fd
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10007cee
mov esi, dword [0x10163938]
lea eax, [ebp - 0x2c]
and dword [ebp - 4], 0
push 0
push eax
lea ecx, [esi + 0xce86]
call fcn.10009205
cmp eax, 0xffffffff
je 0x10049976
push ebx
mov byte [esi + ebx + 0x19f67], 1
call fcn.10044caa
pop ecx
mov ecx, dword [0x10163938]
add ecx, 0x1a353
add ecx, edi
push eax
call fcn.10007ccf
sub esp, 0x18
lea esi, [ebp - 0x2c]
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.____PD_L
call fcn.100448de
mov esi, dword [0x10163938]
add esp, 0x1c
mov edi, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100499b7
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x100499a8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100071d7
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.10062ac3
mov esi, dword [0x10163938]
pop ecx
pop ecx
inc ebx
add edi, 0x18
mov dword [ebp - 0x14], edi
cmp ebx, 0x3ec
jl 0x100498a0
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x14], edi
mov eax, dword [0x1042ec74]
cmp dword [eax + ebx*4 + 0x26], 0
je 0x10049aeb
cmp byte [esi + ebx + 0x20174], 0
je 0x10049a0e
push ebx
call fcn.10044caa
mov esi, dword [0x10163938]
pop ecx
push eax
lea ecx, [esi + 0x20560]
add ecx, edi
call fcn.1000746a
test al, al
jne 0x10049aeb
push ebx
call fcn.10044caa
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 0x10049a2e
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.10007cee
mov esi, dword [0x10163938]
lea eax, [ebp - 0x44]
push 0
push eax
mov dword [ebp - 4], 1
lea ecx, [esi + 0xce9e]
call fcn.10009205
cmp eax, 0xffffffff
je 0x10049aaa
push ebx
mov byte [esi + ebx + 0x20174], 1
call fcn.10044caa
pop ecx
mov ecx, dword [0x10163938]
add ecx, 0x20560
add ecx, edi
push eax
call fcn.10007ccf
sub esp, 0x18
lea esi, [ebp - 0x44]
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.____PD_L
call fcn.100448de
mov esi, dword [0x10163938]
add esp, 0x1c
mov edi, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10049aeb
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x10049adc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100071d7
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.10062ac3
mov esi, dword [0x10163938]
pop ecx
pop ecx
inc ebx
add edi, 0x18
mov dword [ebp - 0x14], edi
cmp ebx, 0x3ec
jl 0x100499d1
and dword [0x1043c1e8], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret