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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [0x101fa9d5], 0
push ebx
push esi
push edi
je 0x100741d0
mov esi, dword [ebp + 8]
mov ecx, 0x101f6dd8
push 0
push 0xee
push esi
call fcn.1007b340
test al, al
je 0x100741b1
mov al, byte [0x101f55e6]
movzx ecx, word [0x101f55e4]
mov byte [ebp - 0x16], al
mov edx, ecx
mov al, byte [0x101f55e7]
mov byte [ebp - 0x15], al
mov al, byte [0x101f55e8]
mov byte [ebp - 0x14], al
mov al, byte [0x101f55ea]
mov byte [ebp - 0x13], al
mov al, byte [0x101f55eb]
mov byte [ebp - 0x12], al
mov al, byte [0x101f55ec]
mov byte [ebp - 0x11], al
mov al, byte [0x101f55ed]
mov ebx, dword [0x101f562c]
mov esi, dword [0x101f5628]
mov byte [ebp - 0x10], al
mov al, byte [0x101f55ee]
mov byte [ebp - 0xf], al
mov al, byte [0x101f55ef]
mov byte [ebp - 0xe], al
mov al, byte [0x101f55f0]
shl edx, 4
add edx, dword [0x101f561c]
mov byte [ebp - 0xd], al
mov eax, 0x200
mov word [ebp - 0x18], cx
cwde
movzx ecx, byte [edx + 1]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + 2]
mov dword [ebp - 0x1c], 0x17ff16c1
add cx, ax
mov eax, ebx
sub eax, esi
movzx edi, cx
sar eax, 3
xor ecx, ecx
test eax, eax
je 0x10074107
mov edx, esi
movsx edi, di
nop dword [eax + eax]
cmp edi, dword [esi + ecx*8]
je 0x10074193
mov edx, esi
mov eax, ebx
sub eax, edx
inc ecx
sar eax, 3
cmp ecx, eax
jb 0x100740f0
xor al, al
mov byte [ebp - 0xc], al
lea ecx, [ebp - 0x1c]
mov al, byte [0x101f55f1]
mov edx, 0x16
mov byte [ebp - 0xb], al
mov al, byte [0x101f55f2]
mov byte [ebp - 0xa], al
mov al, byte [0x101f55f3]
mov byte [ebp - 9], al
mov al, byte [0x101f55f4]
mov byte [ebp - 8], al
mov al, byte [0x101f55f5]
mov byte [ebp - 7], al
call fcn.100ca400
pop edi
pop esi
mov byte [0x101fa9d5], 0
mov byte [0x101fa055], 0
mov word [0x101f55e0], 0
mov dword [0x101f55e2], 0
mov dword [0x101f55e6], 0x100
mov dword [0x101f55ea], 0
mov dword [0x101f55ee], 0
mov dword [0x101f55f2], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, byte [0x101f55e9]
add eax, edx
mov al, byte [eax + ecx*8 + 3]
test al, al
jne 0x10074109
mov al, byte [edx + ecx*8 + 5]
jmp 0x10074109
push 0
push 0xef
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x10074850
jmp 0x10074141
cmp byte [0x101fa055], 0
je 0x10074850
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101fa050]
cmp eax, 0x32
jb 0x10074850
call esi
mov esi, dword [ebp + 8]
mov dword [0x101fa050], eax
mov al, byte [0x101f55e0]
test al, al
jne 0x10074240
xor ebx, ebx
nop dword [eax]
push 0
lea eax, [ebx + 0xc9]
mov ecx, 0x101f6dd8
push eax
push esi
call fcn.1007b340
test al, al
je 0x10074235
mov byte [0x101f55e1], bl
mov byte [0x101f55e0], 1
inc ebx
cmp ebx, 7
jl 0x10074210
jmp 0x100747c7
cmp al, 1
jne 0x10074280
xor ebx, ebx
nop word [eax + eax]
push 0
lea eax, [ebx + 0xc9]
mov ecx, 0x101f6dd8
push eax
push esi
call fcn.1007b340
test al, al
je 0x10074275
mov byte [0x101f55e2], bl
mov byte [0x101f55e0], 2
inc ebx
cmp ebx, 9
jl 0x10074250
jmp 0x100747c7
cmp al, 2
jne 0x100743f2
mov eax, dword [0x101f5620]
xor edi, edi
mov edx, dword [0x101f561c]
xor ebx, ebx
sub eax, edx
sar eax, 4
test eax, eax
je 0x1007432e
xor eax, eax
mov dword [ebp - 4], eax
nop dword [eax]
lea ecx, [eax + edx]
mov al, byte [0x101f55e1]
cmp al, byte [ecx]
jne 0x10074318
movzx eax, byte [ecx + 1]
push eax
call fcn.10074860
movzx ecx, byte [0x101f55e2]
cmp ecx, eax
jne 0x10074318
movzx eax, byte [0x101f55e3]
lea ecx, [eax + eax*4]
add ecx, ecx
cmp edi, ecx
jl 0x10074317
lea eax, [ecx + 0xa]
cmp edi, eax
jge 0x10074317
mov eax, edi
sub eax, ecx
mov ecx, 0x101f6dd8
push 0
add eax, 0xc9
push eax
push esi
call fcn.1007b340
mov edx, dword [0x101f561c]
test al, al
je 0x10074317
mov word [0x101f55e4], bx
mov byte [0x101f55e0], 3
inc edi
mov eax, dword [0x101f5620]
inc ebx
add dword [ebp - 4], 0x10
sub eax, edx
sar eax, 4
cmp ebx, eax
mov eax, dword [ebp - 4]
jb 0x100742b0
push 0
push 0xd3
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x10074354
mov al, byte [0x101f55e3]
test al, al
je 0x10074354
dec al
mov byte [0x101f55e3], al
push 0
push 0xd4
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x100747c7
mov edx, dword [0x101f5620]
xor ebx, ebx
mov eax, edx
sub eax, dword [0x101f561c]
sar eax, 4
test eax, eax
je 0x100743c3
mov esi, dword [0x101f561c]
xor edi, edi
mov al, byte [0x101f55e1]
sub edx, esi
sar edx, 4
cmp al, byte [esi + edi]
jne 0x100743b8
movzx eax, byte [esi + edi + 1]
push eax
call fcn.10074860
movzx ecx, byte [0x101f55e2]
cmp ecx, eax
mov al, byte [0x101f55e1]
jne 0x100743b8
inc ebx
add edi, 0x10
sub edx, 1
jne 0x10074397
mov esi, dword [ebp + 8]
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dl, byte [0x101f55e3]
movzx eax, dl
cmp eax, ecx
jge 0x100747c7
inc dl
mov byte [0x101f55e3], dl
jmp 0x100747c7
cmp al, 3
jne 0x100747c7
push 0
push 0xe5
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x10074424
mov al, byte [0x101f55e6]
cmp al, byte [0x101f55f8]
jae 0x10074424
inc al
mov byte [0x101f55e6], al
push 0
push 0xe6
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x1007444a
mov al, byte [0x101f55e6]
test al, al
je 0x1007444a
dec al
mov byte [0x101f55e6], al
push 0
push 0xe9
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x10074470
mov al, byte [0x101f55e8]
cmp al, 7
jae 0x10074470
inc al
mov byte [0x101f55e8], al
push 0
push 0xea
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x10074496
mov al, byte [0x101f55e8]
test al, al
je 0x10074496
dec al
mov byte [0x101f55e8], al
push 0
push 0xeb
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x100744c0
mov al, byte [0x101f55e7]
cmp al, byte [0x101f55f9]
jae 0x100744c0
inc al
mov byte [0x101f55e7], al
push 0
push 0xec
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x100744e6
mov al, byte [0x101f55e7]
test al, al
je 0x100744e6
dec al
mov byte [0x101f55e7], al
push 0
push 0xd9
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x1007450a
cmp byte [0x101f55ea], 0
sete byte [0x101f55ea]
cmp byte [0x101f55e9], 0
jne 0x100747a3
push 0
push 0xda
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x10074542
cmp byte [0x101f55eb], 0
mov byte [0x101f55e9], 0
sete byte [0x101f55eb]
push 0
push 0xdb
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x1007456d
cmp byte [0x101f55ec], 0
mov byte [0x101f55e9], 0
sete byte [0x101f55ec]
push 0
push 0xdc
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x10074598
cmp byte [0x101f55ed], 0
mov byte [0x101f55e9], 0
sete byte [0x101f55ed]
push 0
push 0xdd
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x100745c3
cmp byte [0x101f55ee], 0
mov byte [0x101f55e9], 0
sete byte [0x101f55ee]
push 0
push 0xde
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x100745ee
cmp byte [0x101f55ef], 0
mov byte [0x101f55e9], 0
sete byte [0x101f55ef]
push 0
push 0xdf
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x10074619
cmp byte [0x101f55f0], 0
mov byte [0x101f55e9], 0
sete byte [0x101f55f0]
push 0
push 0xe0
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x1007467a
mov al, byte [0x101f55f2]
test al, al
sete byte [0x101f55f2]
test al, al
jne 0x10074651
mov word [0x101f55f3], 0
mov byte [0x101f55f5], al
jmp 0x1007466c
cmp byte [0x101f55f3], 0
jne 0x10074673
cmp byte [0x101f55f4], 0
jne 0x10074673
cmp byte [0x101f55f5], 0
jne 0x10074673
mov byte [0x101f55f2], 1
mov byte [0x101f55e9], 0
push 0
push 0xe1
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
mov edi, 1
test al, al
je 0x100746dd
mov al, byte [0x101f55f3]
test al, al
sete byte [0x101f55f3]
test al, al
jne 0x100746b7
mov byte [0x101f55f2], al
mov word [0x101f55f4], 0
jmp 0x100746d6
cmp byte [0x101f55f4], 0
jne 0x100746d6
movzx eax, byte [0x101f55f2]
cmp byte [0x101f55f5], 0
cmove eax, edi
mov byte [0x101f55f2], al
mov byte [0x101f55e9], 0
push 0
push 0xe2
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x1007473f
mov al, byte [0x101f55f4]
test al, al
sete byte [0x101f55f4]
test al, al
jne 0x10074715
mov word [0x101f55f2], 0
mov byte [0x101f55f5], al
jmp 0x10074738
cmp byte [0x101f55f3], 0
jne 0x10074738
test al, al
je 0x10074738
movzx eax, byte [0x101f55f2]
cmp byte [0x101f55f5], 0
cmove eax, edi
mov byte [0x101f55f2], al
mov byte [0x101f55e9], 0
push 0
push 0xe3
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x100747a3
mov cl, byte [0x101f55f5]
test cl, cl
sete byte [0x101f55f5]
test cl, cl
jne 0x10074779
mov word [0x101f55f2], 0
mov byte [0x101f55f4], cl
jmp 0x1007479c
cmp byte [0x101f55f3], 0
jne 0x1007479c
cmp byte [0x101f55f4], 0
jne 0x1007479c
movzx eax, byte [0x101f55f2]
test cl, cl
cmovne eax, edi
mov byte [0x101f55f2], al
mov byte [0x101f55e9], 0
push 0
push 0xe4
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x100747c7
cmp byte [0x101f55f1], 0
sete byte [0x101f55f1]
cmp byte [0x101f55e0], 3
mov ecx, 0x101f6dd8
push 0
jne 0x10074812
push 0xe7
push esi
call fcn.1007b340
test al, al
je 0x100747ec
dec byte [0x101f55e0]
push 0
push 0xe8
push esi
mov ecx, 0x101f6dd8
call fcn.1007b340
test al, al
je 0x10074850
pop edi
pop esi
mov byte [0x101fa9d5], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xc8
push esi
call fcn.1007b340
test al, al
je 0x10074850
mov al, byte [0x101f55e0]
test al, al
jne 0x10074842
mov ecx, 0x101f55e0
mov byte [0x101fa055], al
call fcn.10074aa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
dec al
mov byte [0x101f55e3], 0
mov byte [0x101f55e0], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4