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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp byte [0x1019117d], 0
push esi
push edi
je 0x10071356
mov esi, dword [ebp + 8]
mov ecx, 0x1018d580
push 0
push 0xee
push esi
call fcn.10078520
test al, al
je 0x10071337
mov al, byte [0x1018bd56]
movzx ecx, word [0x1018bd54]
mov byte [ebp - 0x1e], al
mov edx, ecx
mov al, byte [0x1018bd57]
mov byte [ebp - 0x1d], al
mov al, byte [0x1018bd58]
mov byte [ebp - 0x1c], al
mov al, byte [0x1018bd5a]
mov byte [ebp - 0x1b], al
mov al, byte [0x1018bd5b]
mov byte [ebp - 0x1a], al
mov al, byte [0x1018bd5c]
mov byte [ebp - 0x19], al
mov al, byte [0x1018bd5d]
mov esi, dword [0x1018bd98]
mov byte [ebp - 0x18], al
mov al, byte [0x1018bd5e]
mov byte [ebp - 0x17], al
mov al, byte [0x1018bd5f]
mov byte [ebp - 0x16], al
mov al, byte [0x1018bd60]
shl edx, 4
add edx, dword [0x1018bd8c]
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 [0x1018bd9c]
sub eax, esi
movzx edi, cx
sar eax, 3
xor ecx, ecx
test eax, eax
je 0x1007128e
mov edx, esi
movsx edi, di
cmp edi, dword [esi + ecx*8]
je 0x10071319
mov eax, dword [0x1018bd9c]
mov edx, esi
sub eax, edx
inc ecx
sar eax, 3
cmp ecx, eax
jb 0x10071274
xor al, al
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0x24]
mov al, byte [0x1018bd61]
mov edx, 0x16
mov byte [ebp - 0x13], al
mov al, byte [0x1018bd62]
mov byte [ebp - 0x12], al
mov al, byte [0x1018bd63]
mov byte [ebp - 0x11], al
mov al, byte [0x1018bd64]
mov byte [ebp - 0x10], al
mov al, byte [0x1018bd65]
mov byte [ebp - 0xf], al
call fcn.100c7890
pop edi
mov byte [0x1019117d], 0
mov byte [0x101907fd], 0
mov word [0x1018bd50], 0
mov dword [0x1018bd52], 0
mov dword [0x1018bd56], 0x100
mov dword [0x1018bd5a], 0
mov dword [0x1018bd5e], 0
mov dword [0x1018bd62], 1
pop esi
mov esp, ebp
pop ebp
ret 4
movzx eax, byte [0x1018bd59]
add eax, edx
mov al, byte [eax + ecx*8 + 3]
test al, al
jne 0x10071290
mov al, byte [edx + ecx*8 + 5]
jmp 0x10071290
push 0
push 0xef
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071a0e
jmp 0x100712c8
cmp byte [0x101907fd], 0
je 0x10071a0e
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101907f8]
cmp eax, 0x32
jb 0x10071a0e
call esi
mov esi, dword [ebp + 8]
mov dword [0x101907f8], eax
mov al, byte [0x1018bd50]
test al, al
jne 0x100713c6
xor eax, eax
mov dword [ebp + 8], eax
push 0
add eax, 0xc9
mov ecx, 0x1018d580
push eax
push esi
call fcn.10078520
test al, al
mov eax, dword [ebp + 8]
je 0x100713b8
mov byte [0x1018bd51], al
mov byte [0x1018bd50], 1
inc eax
mov dword [ebp + 8], eax
cmp eax, 7
jl 0x10071392
jmp 0x10071987
cmp al, 1
jne 0x10071404
xor eax, eax
mov dword [ebp + 8], eax
nop
push 0
add eax, 0xc9
mov ecx, 0x1018d580
push eax
push esi
call fcn.10078520
test al, al
mov eax, dword [ebp + 8]
je 0x100713f6
mov byte [0x1018bd52], al
mov byte [0x1018bd50], 2
inc eax
mov dword [ebp + 8], eax
cmp eax, 9
jl 0x100713d0
jmp 0x10071987
cmp al, 2
jne 0x100715b2
mov eax, dword [0x1018bd90]
xor ecx, ecx
mov edx, dword [0x1018bd8c]
xor edi, edi
sub eax, edx
mov dword [ebp - 4], ecx
sar eax, 4
test eax, eax
je 0x100714d5
mov dword [ebp - 8], ecx
nop
mov esi, dword [ebp - 8]
mov al, byte [0x1018bd51]
cmp al, byte [esi + edx]
mov esi, dword [ebp + 8]
jne 0x100714bb
mov eax, dword [ebp - 8]
movzx eax, byte [eax + edx + 1]
cmp eax, 0xd
ja 0x1007145c
mov ecx, eax
call fcn.10071a20
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jmp 0x10071463
mov dword [ebp - 0xc], 0xffffffff
movzx eax, byte [0x1018bd52]
cmp eax, dword [ebp - 0xc]
jne 0x100714bb
movzx eax, byte [0x1018bd53]
lea ecx, [eax + eax*4]
add ecx, ecx
cmp edi, ecx
jl 0x100714b7
lea eax, [ecx + 0xa]
cmp edi, eax
jge 0x100714b7
mov eax, edi
sub eax, ecx
mov ecx, 0x1018d580
push 0
add eax, 0xc9
push eax
push esi
call fcn.10078520
mov edx, dword [0x1018bd8c]
test al, al
je 0x100714b7
mov eax, dword [ebp - 4]
mov word [0x1018bd54], ax
mov byte [0x1018bd50], 3
mov ecx, dword [ebp - 4]
inc edi
mov eax, dword [0x1018bd90]
inc ecx
add dword [ebp - 8], 0x10
sub eax, edx
sar eax, 4
mov dword [ebp - 4], ecx
cmp ecx, eax
jb 0x10071430
push 0
push 0xd3
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x100714fb
mov al, byte [0x1018bd53]
test al, al
je 0x100714fb
dec al
mov byte [0x1018bd53], al
push 0
push 0xd4
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071987
mov edx, dword [0x1018bd90]
xor ecx, ecx
mov eax, edx
mov dword [ebp + 8], ecx
sub eax, dword [0x1018bd8c]
sar eax, 4
test eax, eax
je 0x10071583
mov eax, dword [0x1018bd8c]
xor edi, edi
sub edx, eax
sar edx, 4
nop dword [eax + eax]
mov cl, byte [0x1018bd51]
cmp cl, byte [eax + edi]
mov ecx, dword [ebp + 8]
jne 0x1007157b
movzx ecx, byte [eax + edi + 1]
cmp ecx, 0xd
ja 0x10071561
call fcn.10071a20
mov ecx, eax
jmp 0x10071564
or ecx, 0xffffffff
movzx eax, byte [0x1018bd52]
cmp eax, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x1018bd8c]
jne 0x1007157b
inc ecx
mov dword [ebp + 8], ecx
add edi, 0x10
sub edx, 1
jne 0x10071540
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dl, byte [0x1018bd53]
movzx eax, dl
cmp eax, ecx
jge 0x10071987
inc dl
mov byte [0x1018bd53], dl
jmp 0x10071987
cmp al, 3
jne 0x10071987
push 0
push 0xe5
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x100715e4
mov al, byte [0x1018bd56]
cmp al, byte [0x1018bd68]
jae 0x100715e4
inc al
mov byte [0x1018bd56], al
push 0
push 0xe6
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x1007160a
mov al, byte [0x1018bd56]
test al, al
je 0x1007160a
dec al
mov byte [0x1018bd56], al
push 0
push 0xe9
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071630
mov al, byte [0x1018bd58]
cmp al, 7
jae 0x10071630
inc al
mov byte [0x1018bd58], al
push 0
push 0xea
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071656
mov al, byte [0x1018bd58]
test al, al
je 0x10071656
dec al
mov byte [0x1018bd58], al
push 0
push 0xeb
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071680
mov al, byte [0x1018bd57]
cmp al, byte [0x1018bd69]
jae 0x10071680
inc al
mov byte [0x1018bd57], al
push 0
push 0xec
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x100716a6
mov al, byte [0x1018bd57]
test al, al
je 0x100716a6
dec al
mov byte [0x1018bd57], al
push 0
push 0xd9
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x100716ca
cmp byte [0x1018bd5a], 0
sete byte [0x1018bd5a]
cmp byte [0x1018bd59], 0
jne 0x10071963
push 0
push 0xda
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071702
cmp byte [0x1018bd5b], 0
mov byte [0x1018bd59], 0
sete byte [0x1018bd5b]
push 0
push 0xdb
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x1007172d
cmp byte [0x1018bd5c], 0
mov byte [0x1018bd59], 0
sete byte [0x1018bd5c]
push 0
push 0xdc
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071758
cmp byte [0x1018bd5d], 0
mov byte [0x1018bd59], 0
sete byte [0x1018bd5d]
push 0
push 0xdd
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071783
cmp byte [0x1018bd5e], 0
mov byte [0x1018bd59], 0
sete byte [0x1018bd5e]
push 0
push 0xde
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x100717ae
cmp byte [0x1018bd5f], 0
mov byte [0x1018bd59], 0
sete byte [0x1018bd5f]
push 0
push 0xdf
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x100717d9
cmp byte [0x1018bd60], 0
mov byte [0x1018bd59], 0
sete byte [0x1018bd60]
push 0
push 0xe0
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x1007183a
mov al, byte [0x1018bd62]
test al, al
sete byte [0x1018bd62]
test al, al
jne 0x10071811
mov word [0x1018bd63], 0
mov byte [0x1018bd65], al
jmp 0x1007182c
cmp byte [0x1018bd63], 0
jne 0x10071833
cmp byte [0x1018bd64], 0
jne 0x10071833
cmp byte [0x1018bd65], 0
jne 0x10071833
mov byte [0x1018bd62], 1
mov byte [0x1018bd59], 0
push 0
push 0xe1
push esi
mov ecx, 0x1018d580
call fcn.10078520
mov edi, 1
test al, al
je 0x1007189d
mov al, byte [0x1018bd63]
test al, al
sete byte [0x1018bd63]
test al, al
jne 0x10071877
mov byte [0x1018bd62], al
mov word [0x1018bd64], 0
jmp 0x10071896
cmp byte [0x1018bd64], 0
jne 0x10071896
movzx eax, byte [0x1018bd62]
cmp byte [0x1018bd65], 0
cmove eax, edi
mov byte [0x1018bd62], al
mov byte [0x1018bd59], 0
push 0
push 0xe2
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x100718ff
mov al, byte [0x1018bd64]
test al, al
sete byte [0x1018bd64]
test al, al
jne 0x100718d5
mov word [0x1018bd62], 0
mov byte [0x1018bd65], al
jmp 0x100718f8
cmp byte [0x1018bd63], 0
jne 0x100718f8
test al, al
je 0x100718f8
movzx eax, byte [0x1018bd62]
cmp byte [0x1018bd65], 0
cmove eax, edi
mov byte [0x1018bd62], al
mov byte [0x1018bd59], 0
push 0
push 0xe3
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071963
mov cl, byte [0x1018bd65]
test cl, cl
sete byte [0x1018bd65]
test cl, cl
jne 0x10071939
mov word [0x1018bd62], 0
mov byte [0x1018bd64], cl
jmp 0x1007195c
cmp byte [0x1018bd63], 0
jne 0x1007195c
cmp byte [0x1018bd64], 0
jne 0x1007195c
movzx eax, byte [0x1018bd62]
test cl, cl
cmovne eax, edi
mov byte [0x1018bd62], al
mov byte [0x1018bd59], 0
push 0
push 0xe4
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071987
cmp byte [0x1018bd61], 0
sete byte [0x1018bd61]
cmp byte [0x1018bd50], 3
mov ecx, 0x1018d580
push 0
jne 0x100719d1
push 0xe7
push esi
call fcn.10078520
test al, al
je 0x100719ac
dec byte [0x1018bd50]
push 0
push 0xe8
push esi
mov ecx, 0x1018d580
call fcn.10078520
test al, al
je 0x10071a0e
pop edi
mov byte [0x1019117d], 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 0xc8
push esi
call fcn.10078520
test al, al
je 0x10071a0e
mov al, byte [0x1018bd50]
test al, al
jne 0x10071a00
mov ecx, 0x1018bd50
mov byte [0x101907fd], al
call fcn.10071c70
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
dec al
mov byte [0x1018bd53], 0
mov byte [0x1018bd50], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4