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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp byte [0x1019506d], 0
push esi
push edi
je 0x100712c6
mov esi, dword [ebp + 8]
mov ecx, 0x10191cb0
push 0
push 0xcd
push esi
call fcn.10078320
test al, al
je 0x100712a7
mov al, byte [0x101904b6]
movzx ecx, word [0x101904b4]
mov byte [ebp - 0x1e], al
mov edx, ecx
mov al, byte [0x101904b7]
mov byte [ebp - 0x1d], al
mov al, byte [0x101904b8]
mov byte [ebp - 0x1c], al
mov al, byte [0x101904ba]
mov byte [ebp - 0x1b], al
mov al, byte [0x101904bb]
mov byte [ebp - 0x1a], al
mov al, byte [0x101904bc]
mov byte [ebp - 0x19], al
mov al, byte [0x101904bd]
mov esi, dword [0x101904f8]
mov byte [ebp - 0x18], al
mov al, byte [0x101904be]
mov byte [ebp - 0x17], al
mov al, byte [0x101904bf]
mov byte [ebp - 0x16], al
mov al, byte [0x101904c0]
shl edx, 4
add edx, dword [0x101904ec]
mov byte [ebp - 0x15], al
mov eax, 0x200
mov word [ebp - 0x20], cx
cwde
movzx ecx, byte [edx + 1]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + 2]
mov dword [ebp - 0x24], 0x17ff16c1
add cx, ax
mov eax, dword [0x101904fc]
sub eax, esi
movzx edi, cx
sar eax, 3
xor ecx, ecx
test eax, eax
je 0x100711fe
mov edx, esi
movsx edi, di
cmp edi, dword [esi + ecx*8]
je 0x10071289
mov eax, dword [0x101904fc]
mov edx, esi
sub eax, edx
inc ecx
sar eax, 3
cmp ecx, eax
jb 0x100711e4
xor al, al
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0x24]
mov al, byte [0x101904c1]
mov edx, 0x16
mov byte [ebp - 0x13], al
mov al, byte [0x101904c2]
mov byte [ebp - 0x12], al
mov al, byte [0x101904c3]
mov byte [ebp - 0x11], al
mov al, byte [0x101904c4]
mov byte [ebp - 0x10], al
mov al, byte [0x101904c5]
mov byte [ebp - 0xf], al
call fcn.100ca020
pop edi
mov byte [0x1019506d], 0
mov byte [0x101946ed], 0
mov word [0x101904b0], 0
mov dword [0x101904b2], 0
mov dword [0x101904b6], 0x100
mov dword [0x101904ba], 0
mov dword [0x101904be], 0
mov dword [0x101904c2], 1
pop esi
mov esp, ebp
pop ebp
ret 4
movzx eax, byte [0x101904b9]
add eax, edx
mov al, byte [eax + ecx*8 + 3]
test al, al
jne 0x10071200
mov al, byte [edx + ecx*8 + 5]
jmp 0x10071200
push 0
push 0xce
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x1007197e
jmp 0x10071238
cmp byte [0x101946ed], 0
je 0x1007197e
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101946e8]
cmp eax, 0x32
jb 0x1007197e
call esi
mov esi, dword [ebp + 8]
mov dword [0x101946e8], eax
mov al, byte [0x101904b0]
test al, al
jne 0x10071336
xor eax, eax
mov dword [ebp + 8], eax
push 0
add eax, 0xa8
mov ecx, 0x10191cb0
push eax
push esi
call fcn.10078320
test al, al
mov eax, dword [ebp + 8]
je 0x10071328
mov byte [0x101904b1], al
mov byte [0x101904b0], 1
inc eax
mov dword [ebp + 8], eax
cmp eax, 7
jl 0x10071302
jmp 0x100718f7
cmp al, 1
jne 0x10071374
xor eax, eax
mov dword [ebp + 8], eax
nop
push 0
add eax, 0xa8
mov ecx, 0x10191cb0
push eax
push esi
call fcn.10078320
test al, al
mov eax, dword [ebp + 8]
je 0x10071366
mov byte [0x101904b2], al
mov byte [0x101904b0], 2
inc eax
mov dword [ebp + 8], eax
cmp eax, 9
jl 0x10071340
jmp 0x100718f7
cmp al, 2
jne 0x10071522
mov eax, dword [0x101904f0]
xor ecx, ecx
mov edx, dword [0x101904ec]
xor edi, edi
sub eax, edx
mov dword [ebp - 4], ecx
sar eax, 4
test eax, eax
je 0x10071445
mov dword [ebp - 8], ecx
nop
mov esi, dword [ebp - 8]
mov al, byte [0x101904b1]
cmp al, byte [esi + edx]
mov esi, dword [ebp + 8]
jne 0x1007142b
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edx + 1]
cmp eax, 0xd
ja 0x100713cc
mov ecx, eax
call fcn.10071990
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jmp 0x100713d3
mov dword [ebp - 0xc], 0xffffffff
movzx eax, byte [0x101904b2]
cmp eax, dword [ebp - 0xc]
jne 0x1007142b
movzx eax, byte [0x101904b3]
lea ecx, [eax + eax*4]
add ecx, ecx
cmp edi, ecx
jl 0x10071427
lea eax, [ecx + 0xa]
cmp edi, eax
jge 0x10071427
mov eax, edi
sub eax, ecx
mov ecx, 0x10191cb0
push 0
add eax, 0xa8
push eax
push esi
call fcn.10078320
mov edx, dword [0x101904ec]
test al, al
je 0x10071427
mov eax, dword [ebp - 4]
mov word [0x101904b4], ax
mov byte [0x101904b0], 3
mov ecx, dword [ebp - 4]
inc edi
mov eax, dword [0x101904f0]
inc ecx
add dword [ebp - 8], 0x10
sub eax, edx
sar eax, 4
mov dword [ebp - 4], ecx
cmp ecx, eax
jb 0x100713a0
push 0
push 0xb2
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x1007146b
mov al, byte [0x101904b3]
test al, al
je 0x1007146b
dec al
mov byte [0x101904b3], al
push 0
push 0xb3
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x100718f7
mov edx, dword [0x101904f0]
xor ecx, ecx
mov eax, edx
mov dword [ebp + 8], ecx
sub eax, dword [0x101904ec]
sar eax, 4
test eax, eax
je 0x100714f3
mov eax, dword [0x101904ec]
xor edi, edi
sub edx, eax
sar edx, 4
nop dword [eax + eax]
mov cl, byte [0x101904b1]
cmp cl, byte [eax + edi]
mov ecx, dword [ebp + 8]
jne 0x100714eb
movzx ecx, byte [eax + edi + 1]
cmp ecx, 0xd
ja 0x100714d1
call fcn.10071990
mov ecx, eax
jmp 0x100714d4
or ecx, 0xffffffff
movzx eax, byte [0x101904b2]
cmp eax, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x101904ec]
jne 0x100714eb
inc ecx
mov dword [ebp + 8], ecx
add edi, 0x10
sub edx, 1
jne 0x100714b0
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dl, byte [0x101904b3]
movzx eax, dl
cmp eax, ecx
jge 0x100718f7
inc dl
mov byte [0x101904b3], dl
jmp 0x100718f7
cmp al, 3
jne 0x100718f7
push 0
push 0xc4
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x10071554
mov al, byte [0x101904b6]
cmp al, byte [0x101904c8]
jae 0x10071554
inc al
mov byte [0x101904b6], al
push 0
push 0xc5
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x1007157a
mov al, byte [0x101904b6]
test al, al
je 0x1007157a
dec al
mov byte [0x101904b6], al
push 0
push 0xc8
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x100715a0
mov al, byte [0x101904b8]
cmp al, 7
jae 0x100715a0
inc al
mov byte [0x101904b8], al
push 0
push 0xc9
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x100715c6
mov al, byte [0x101904b8]
test al, al
je 0x100715c6
dec al
mov byte [0x101904b8], al
push 0
push 0xca
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x100715f0
mov al, byte [0x101904b7]
cmp al, byte [0x101904c9]
jae 0x100715f0
inc al
mov byte [0x101904b7], al
push 0
push 0xcb
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x10071616
mov al, byte [0x101904b7]
test al, al
je 0x10071616
dec al
mov byte [0x101904b7], al
push 0
push 0xb8
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x1007163a
cmp byte [0x101904ba], 0
sete byte [0x101904ba]
cmp byte [0x101904b9], 0
jne 0x100718d3
push 0
push 0xb9
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x10071672
cmp byte [0x101904bb], 0
mov byte [0x101904b9], 0
sete byte [0x101904bb]
push 0
push 0xba
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x1007169d
cmp byte [0x101904bc], 0
mov byte [0x101904b9], 0
sete byte [0x101904bc]
push 0
push 0xbb
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x100716c8
cmp byte [0x101904bd], 0
mov byte [0x101904b9], 0
sete byte [0x101904bd]
push 0
push 0xbc
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x100716f3
cmp byte [0x101904be], 0
mov byte [0x101904b9], 0
sete byte [0x101904be]
push 0
push 0xbd
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x1007171e
cmp byte [0x101904bf], 0
mov byte [0x101904b9], 0
sete byte [0x101904bf]
push 0
push 0xbe
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x10071749
cmp byte [0x101904c0], 0
mov byte [0x101904b9], 0
sete byte [0x101904c0]
push 0
push 0xbf
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x100717aa
mov al, byte [0x101904c2]
test al, al
sete byte [0x101904c2]
test al, al
jne 0x10071781
mov word [0x101904c3], 0
mov byte [0x101904c5], al
jmp 0x1007179c
cmp byte [0x101904c3], 0
jne 0x100717a3
cmp byte [0x101904c4], 0
jne 0x100717a3
cmp byte [0x101904c5], 0
jne 0x100717a3
mov byte [0x101904c2], 1
mov byte [0x101904b9], 0
push 0
push 0xc0
push esi
mov ecx, 0x10191cb0
call fcn.10078320
mov edi, 1
test al, al
je 0x1007180d
mov al, byte [0x101904c3]
test al, al
sete byte [0x101904c3]
test al, al
jne 0x100717e7
mov byte [0x101904c2], al
mov word [0x101904c4], 0
jmp 0x10071806
cmp byte [0x101904c4], 0
jne 0x10071806
movzx eax, byte [0x101904c2]
cmp byte [0x101904c5], 0
cmove eax, edi
mov byte [0x101904c2], al
mov byte [0x101904b9], 0
push 0
push 0xc1
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x1007186f
mov al, byte [0x101904c4]
test al, al
sete byte [0x101904c4]
test al, al
jne 0x10071845
mov word [0x101904c2], 0
mov byte [0x101904c5], al
jmp 0x10071868
cmp byte [0x101904c3], 0
jne 0x10071868
test al, al
je 0x10071868
movzx eax, byte [0x101904c2]
cmp byte [0x101904c5], 0
cmove eax, edi
mov byte [0x101904c2], al
mov byte [0x101904b9], 0
push 0
push 0xc2
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x100718d3
mov cl, byte [0x101904c5]
test cl, cl
sete byte [0x101904c5]
test cl, cl
jne 0x100718a9
mov word [0x101904c2], 0
mov byte [0x101904c4], cl
jmp 0x100718cc
cmp byte [0x101904c3], 0
jne 0x100718cc
cmp byte [0x101904c4], 0
jne 0x100718cc
movzx eax, byte [0x101904c2]
test cl, cl
cmovne eax, edi
mov byte [0x101904c2], al
mov byte [0x101904b9], 0
push 0
push 0xc3
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x100718f7
cmp byte [0x101904c1], 0
sete byte [0x101904c1]
cmp byte [0x101904b0], 3
mov ecx, 0x10191cb0
push 0
jne 0x10071941
push 0xc6
push esi
call fcn.10078320
test al, al
je 0x1007191c
dec byte [0x101904b0]
push 0
push 0xc7
push esi
mov ecx, 0x10191cb0
call fcn.10078320
test al, al
je 0x1007197e
pop edi
mov byte [0x1019506d], 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 0xa7
push esi
call fcn.10078320
test al, al
je 0x1007197e
mov al, byte [0x101904b0]
test al, al
jne 0x10071970
mov ecx, 0x101904b0
mov byte [0x101946ed], al
call fcn.10071be0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
dec al
mov byte [0x101904b3], 0
mov byte [0x101904b0], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4