Function at 0x100e9ca0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff290
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x1014d094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x144], ecx
cmp dword [eax], 0x100
jg 0x100ea10c
cmp dword [ebp + 0x3c], 0
je 0x100e9d01
cmp byte [edi + 0x839], 1
je 0x100ea10c
xor ebx, ebx
mov byte [ebp - 0x12d], bl
cmp byte [ebp + 0x28], bl
jne 0x100e9d7b
lea eax, [ebx + 8]
call fcn.100558b0
mov ebx, esp
mov ecx, edi
push 0
push dword [ebp + 0x24]
mov dword [ebp - 0x138], ebx
push dword [ebp + 0x20]
call fcn.100e8170
cmp eax, 0xffffffff
je 0x100e9d60
mov ecx, dword [edi + 0x340]
imul edx, eax, 0x840
mov ecx, dword [ecx + edx + 0x83c]
cmp ecx, 1
je 0x100e9d60
cmp ecx, 2
je 0x100e9d60
cmp ecx, 3
je 0x100e9d60
mov dword [ebx], eax
mov ebx, 1
jmp 0x100e9ddd
cmp dword [edi + 0x83c], 0
je 0x100ea10c
mov byte [ebp - 0x12d], 1
mov ebx, 1
jmp 0x100e9ddd
movzx esi, word [edi + 8]
lea eax, [esi*4]
call fcn.10055530
xor ecx, ecx
mov dword [ebp - 0x138], esp
test esi, esi
je 0x100ea10c
xor esi, esi
nop dword [eax]
mov edx, dword [edi + 0x340]
cmp byte [edx + esi], 0
je 0x100e9dc6
mov eax, dword [edx + esi + 4]
cmp eax, dword [ebp + 0x20]
jne 0x100e9dc0
mov ax, word [edx + esi + 8]
cmp ax, word [ebp + 0x24]
je 0x100e9dc6
mov eax, esp
mov dword [eax + ebx*4], ecx
inc ebx
movzx eax, word [edi + 8]
inc ecx
add esi, 0x840
cmp ecx, eax
jb 0x100e9da0
test ebx, ebx
je 0x100ea10c
lea eax, [ebp - 0x117]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0x800
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 1
mov esi, dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp - 0x13c], 0
test ebx, ebx
je 0x100e9fb8
mov eax, dword [ebp + 0x10]
mov byte [ebp - 0x134], 0x14
mov dword [ebp - 0x158], eax
nop word [eax + eax]
cmp byte [ebp + 0x2c], 0
mov dword [ebp - 0x128], 0
je 0x100e9ee0
push 1
push 8
lea eax, [ebp - 0x12c]
mov byte [ebp - 0x12c], 0x28
push eax
lea ecx, [ebp - 0x128]
call fcn.100dd880
cmp byte [0x1017d2d1], 0
jne 0x100e9e8c
push 0x1017d2f8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov byte [0x1017d2d1], 1
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0x3e8
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.10055560
push dword [0x1017d2fc]
push dword [0x1017d2f8]
push edx
push eax
call fcn.1007e110
push 1
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x128]
push 0x20
lea eax, [ebp - 0x140]
push eax
call fcn.100dd880
push 1
push 8
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x128]
call fcn.100dd880
mov ecx, dword [ebp - 0x154]
push 1
push 8
mov al, byte [ecx]
lea ecx, [ebp - 0x128]
mov byte [ebp - 0x12c], al
lea eax, [ebp - 0x12c]
push eax
call fcn.100dd880
push ecx
push 0x20
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x128]
call fcn.100dd3b0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100e9f4c
push 0
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0x128]
call fcn.100dd880
jmp 0x100e9f6b
push ecx
push 0x20
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0
push eax
lea ecx, [ebp - 0x128]
call fcn.100dd3b0
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x13c]
mov edx, dword [edi]
push 0
imul ecx, dword [eax + ecx*4], 0x840
mov eax, dword [edi + 0x340]
push dword [ecx + eax + 8]
push dword [ecx + eax + 4]
lea eax, [ebp - 0x128]
mov ecx, edi
push dword [ebp + 0x1c]
push esi
push dword [ebp + 0x14]
push eax
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x13c]
inc ecx
mov dword [ebp - 0x13c], ecx
cmp ecx, ebx
jb 0x100e9e40
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x100ea0df
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov byte [edi + 0x839], 1
mov dword [edi + 0x82c], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x830], eax
mov word [edi + 0x834], cx
mov byte [edi + 0x838], dl
cmp esi, 6
jne 0x100ea026
cmp eax, 0xffffffff
jne 0x100ea00d
mov eax, 0xffff
cmp cx, ax
jne 0x100ea00d
call fcn.100df0c0
lea ebx, [eax + 0x5dc]
jmp 0x100ea02c
push dword [ebp + 0x24]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp + 0x20]
call dword [eax + 0x7c]
lea ebx, [eax + eax*2]
call fcn.100df0c0
add ebx, eax
jmp 0x100ea02c
mov ebx, dword [ebp - 0x144]
cmp byte [edi + 0x839], 0
je 0x100ea0d8
nop dword [eax]
cmp esi, 8
je 0x100ea0a6
cmp esi, 9
je 0x100ea0a6
cmp esi, 0xa
je 0x100ea0a6
cmp byte [0x1017d2d1], 0
jne 0x100ea06a
push 0x1017d2f8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov byte [0x1017d2d1], 1
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0x3e8
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.10055560
push dword [0x1017d2fc]
push dword [0x1017d2f8]
push edx
push eax
call fcn.1007e110
cmp eax, ebx
jae 0x100ea0d8
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 0x12d], 0
jne 0x100ea0cb
push dword [ebp + 0x28]
mov ecx, edi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
call fcn.100e6380
test al, al
je 0x100ea108
cmp byte [edi + 0x839], 0
jne 0x100ea040
mov byte [edi + 0x839], 0
mov bl, 1
cmp byte [ebp - 0x118], 0
je 0x100ea104
cmp dword [ebp - 0x124], 0x800
jle 0x100ea104
push dword [ebp - 0x11c]
call fcn.10062c3b
add esp, 4
mov al, bl
jmp 0x100ea10e
xor bl, bl
jmp 0x100ea0e1
xor al, al
lea esp, [ebp - 0x168]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054437
mov esp, ebp
pop ebp
ret 0x38