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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp byte [0x101fc9ed], 0
push esi
push edi
je 0x10074467
mov esi, dword [ebp + 8]
mov ecx, 0x101f9630
push 0
push 0xcd
push esi
call fcn.1007b530
test al, al
je 0x10074448
mov al, byte [0x101f7e36]
movzx ecx, word [0x101f7e34]
mov byte [ebp - 0x1e], al
mov esi, ecx
mov al, byte [0x101f7e37]
add esi, esi
mov edx, dword [0x101f7e6c]
mov byte [ebp - 0x1d], al
mov al, byte [0x101f7e38]
mov byte [ebp - 0x1c], al
mov al, byte [0x101f7e3a]
mov byte [ebp - 0x1b], al
mov al, byte [0x101f7e3b]
mov byte [ebp - 0x1a], al
mov al, byte [0x101f7e3c]
mov byte [ebp - 0x19], al
mov al, byte [0x101f7e3d]
mov byte [ebp - 0x18], al
mov al, byte [0x101f7e3e]
mov byte [ebp - 0x17], al
mov al, byte [0x101f7e3f]
mov byte [ebp - 0x16], al
mov al, byte [0x101f7e40]
mov byte [ebp - 0x15], al
mov eax, 0x200
mov word [ebp - 0x20], cx
movzx ecx, byte [edx + esi*8 + 1]
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + esi*8 + 2]
mov edx, dword [0x101f7e78]
mov dword [ebp - 0x24], 0x17ff16c1
add cx, ax
mov eax, dword [0x101f7e7c]
sub eax, edx
movzx esi, cx
sar eax, 3
xor ecx, ecx
test eax, eax
je 0x1007439f
movsx edi, si
nop dword [eax]
nop word [eax + eax]
lea esi, [ecx*8]
cmp edi, dword [esi + edx]
je 0x1007442a
mov eax, dword [0x101f7e7c]
inc ecx
sub eax, edx
sar eax, 3
cmp ecx, eax
jb 0x10074380
xor al, al
mov byte [ebp - 0x14], al
lea ecx, [ebp - 0x24]
mov al, byte [0x101f7e41]
mov edx, 0x16
mov byte [ebp - 0x13], al
mov al, byte [0x101f7e42]
mov byte [ebp - 0x12], al
mov al, byte [0x101f7e43]
mov byte [ebp - 0x11], al
mov al, byte [0x101f7e44]
mov byte [ebp - 0x10], al
mov al, byte [0x101f7e45]
mov byte [ebp - 0xf], al
call fcn.100ca8d0
pop edi
mov byte [0x101fc9ed], 0
mov byte [0x101fc06d], 0
mov word [0x101f7e30], 0
mov dword [0x101f7e32], 0
mov dword [0x101f7e36], 0x100
mov dword [0x101f7e3a], 0
mov dword [0x101f7e3e], 0
mov dword [0x101f7e42], 1
pop esi
mov esp, ebp
pop ebp
ret 4
movzx eax, byte [0x101f7e39]
add eax, esi
mov al, byte [eax + edx + 3]
test al, al
jne 0x100743a1
mov al, byte [esi + edx + 5]
jmp 0x100743a1
push 0
push 0xce
push esi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074c88
jmp 0x100743d9
cmp byte [0x101fc06d], 0
je 0x10074c88
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101fc068]
cmp eax, 0x32
jb 0x10074c88
call esi
mov edi, dword [ebp + 8]
mov dword [0x101fc068], eax
mov al, byte [0x101f7e30]
test al, al
jne 0x1007454d
xor eax, eax
mov esi, 0x101fc0e0
mov dword [ebp + 8], eax
nop dword [eax]
movd xmm1, dword [0x10333398]
movss xmm0, dword [esi - 8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10074535
comiss xmm1, dword [esi]
ja 0x10074535
movd xmm1, dword [0x103333a0]
movss xmm0, dword [esi - 4]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10074535
comiss xmm1, dword [esi + 4]
ja 0x10074535
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 8]
cmp edi, 0x201
jne 0x10074505
cmp byte [esi + 0xc], 0
mov eax, dword [ebp + 8]
jne 0x10074535
mov byte [esi + 0xc], 1
jmp 0x10074535
cmp edi, 0x202
jne 0x10074532
cmp eax, 0x1f4
jb 0x10074532
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov byte [0x101f7e31], al
mov byte [0x101f7e30], 1
jmp 0x10074535
mov eax, dword [ebp + 8]
inc eax
add esi, 0x40
mov dword [ebp + 8], eax
cmp esi, 0x101fc2a0
jl 0x100744b0
jmp 0x10074c01
cmp al, 1
jne 0x10074601
xor eax, eax
mov esi, 0x101fc0e0
mov dword [ebp + 8], eax
nop
movd xmm1, dword [0x10333398]
movss xmm0, dword [esi - 8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100745e9
comiss xmm1, dword [esi]
ja 0x100745e9
movd xmm1, dword [0x103333a0]
movss xmm0, dword [esi - 4]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100745e9
comiss xmm1, dword [esi + 4]
ja 0x100745e9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 8]
cmp edi, 0x201
jne 0x100745b9
cmp byte [esi + 0xc], 0
mov eax, dword [ebp + 8]
jne 0x100745e9
mov byte [esi + 0xc], 1
jmp 0x100745e9
cmp edi, 0x202
jne 0x100745e6
cmp eax, 0x1f4
jb 0x100745e6
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov byte [0x101f7e32], al
mov byte [0x101f7e30], 2
jmp 0x100745e9
mov eax, dword [ebp + 8]
inc eax
add esi, 0x40
mov dword [ebp + 8], eax
cmp esi, 0x101fc320
jl 0x10074560
jmp 0x10074c01
cmp al, 2
jne 0x10074831
mov eax, dword [0x101f7e70]
xor esi, esi
sub eax, dword [0x101f7e6c]
xor edx, edx
sar eax, 4
mov dword [ebp - 8], esi
mov dword [ebp - 4], edx
test eax, eax
je 0x10074764
xor ecx, ecx
mov dword [ebp - 0xc], ecx
nop
mov edi, dword [0x101f7e6c]
mov al, byte [0x101f7e31]
cmp al, byte [ecx + edi]
mov edi, dword [ebp + 8]
jne 0x10074744
mov eax, dword [0x101f7e6c]
movzx eax, byte [ecx + eax + 1]
push eax
call fcn.10074c90
movzx ecx, byte [0x101f7e32]
cmp ecx, eax
jne 0x10074741
movzx eax, byte [0x101f7e33]
lea ecx, [eax + eax*4]
add ecx, ecx
cmp esi, ecx
jl 0x1007473b
lea eax, [ecx + 0xa]
cmp esi, eax
jge 0x1007473b
movd xmm1, dword [0x10333398]
sub esi, ecx
add esi, 0xa8
shl esi, 6
cvtdq2ps xmm1, xmm1
movss xmm0, dword [esi + 0x101f96d8]
comiss xmm0, xmm1
ja 0x1007473b
comiss xmm1, dword [esi + 0x101f96e0]
ja 0x1007473b
movd xmm1, dword [0x103333a0]
movss xmm0, dword [esi + 0x101f96dc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1007473b
comiss xmm1, dword [esi + 0x101f96e4]
ja 0x1007473b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x101f96e8]
cmp edi, 0x201
jne 0x10074703
cmp byte [esi + 0x101f96ec], 0
mov edx, dword [ebp - 4]
jne 0x1007473b
mov byte [esi + 0x101f96ec], 1
jmp 0x1007473b
cmp edi, 0x202
jne 0x10074738
cmp eax, 0x1f4
jb 0x10074738
mov byte [esi + 0x101f96ec], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
mov dword [esi + 0x101f96e8], eax
mov word [0x101f7e34], dx
mov byte [0x101f7e30], 3
jmp 0x1007473b
mov edx, dword [ebp - 4]
inc dword [ebp - 8]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x101f7e70]
inc edx
sub eax, dword [0x101f7e6c]
add ecx, 0x10
sar eax, 4
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
cmp edx, eax
jb 0x10074630
push 0
push 0xb2
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x1007478a
mov al, byte [0x101f7e33]
test al, al
je 0x1007478a
dec al
mov byte [0x101f7e33], al
push 0
push 0xb3
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074c01
mov esi, dword [0x101f7e70]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0xc], ecx
sub eax, dword [0x101f7e6c]
sar eax, 4
test eax, eax
je 0x10074802
mov edi, dword [0x101f7e6c]
xor edx, edx
mov al, byte [0x101f7e31]
sub esi, edi
sar esi, 4
cmp al, byte [edx + edi]
jne 0x100747f7
movzx eax, byte [edx + edi + 1]
push eax
call fcn.10074c90
movzx ecx, byte [0x101f7e32]
cmp ecx, eax
mov ecx, dword [ebp - 0xc]
mov al, byte [0x101f7e31]
jne 0x100747f7
inc ecx
mov dword [ebp - 0xc], ecx
add edx, 0x10
sub esi, 1
jne 0x100747d0
mov edi, dword [ebp + 8]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dl, byte [0x101f7e33]
movzx eax, dl
cmp eax, ecx
jge 0x10074c01
inc dl
mov byte [0x101f7e33], dl
jmp 0x10074c01
cmp al, 3
jne 0x10074c01
push 0
push 0xc4
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074863
mov al, byte [0x101f7e36]
cmp al, byte [0x101f7e48]
jae 0x10074863
inc al
mov byte [0x101f7e36], al
push 0
push 0xc5
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074889
mov al, byte [0x101f7e36]
test al, al
je 0x10074889
dec al
mov byte [0x101f7e36], al
push 0
push 0xc8
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x100748af
mov al, byte [0x101f7e38]
cmp al, 7
jae 0x100748af
inc al
mov byte [0x101f7e38], al
push 0
push 0xc9
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x100748d5
mov al, byte [0x101f7e38]
test al, al
je 0x100748d5
dec al
mov byte [0x101f7e38], al
push 0
push 0xca
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x100748ff
mov al, byte [0x101f7e37]
cmp al, byte [0x101f7e49]
jae 0x100748ff
inc al
mov byte [0x101f7e37], al
push 0
push 0xcb
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074925
mov al, byte [0x101f7e37]
test al, al
je 0x10074925
dec al
mov byte [0x101f7e37], al
push 0
push 0xb8
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074949
cmp byte [0x101f7e3a], 0
sete byte [0x101f7e3a]
cmp byte [0x101f7e39], 0
jne 0x10074bdd
push 0
push 0xb9
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074981
cmp byte [0x101f7e3b], 0
mov byte [0x101f7e39], 0
sete byte [0x101f7e3b]
push 0
push 0xba
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x100749ac
cmp byte [0x101f7e3c], 0
mov byte [0x101f7e39], 0
sete byte [0x101f7e3c]
push 0
push 0xbb
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x100749d7
cmp byte [0x101f7e3d], 0
mov byte [0x101f7e39], 0
sete byte [0x101f7e3d]
push 0
push 0xbc
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074a02
cmp byte [0x101f7e3e], 0
mov byte [0x101f7e39], 0
sete byte [0x101f7e3e]
push 0
push 0xbd
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074a2d
cmp byte [0x101f7e3f], 0
mov byte [0x101f7e39], 0
sete byte [0x101f7e3f]
push 0
push 0xbe
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074a58
cmp byte [0x101f7e40], 0
mov byte [0x101f7e39], 0
sete byte [0x101f7e40]
push 0
push 0xbf
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074abf
mov al, byte [0x101f7e42]
test al, al
sete byte [0x101f7e42]
test al, al
jne 0x10074a94
xor dl, dl
mov word [0x101f7e43], 0
xor cl, cl
mov byte [0x101f7e45], al
jmp 0x10074aa5
mov al, byte [0x101f7e45]
mov cl, byte [0x101f7e44]
mov dl, byte [0x101f7e43]
test dl, dl
jne 0x10074ab8
test cl, cl
jne 0x10074ab8
test al, al
jne 0x10074ab8
mov byte [0x101f7e42], 1
mov byte [0x101f7e39], 0
push 0
push 0xc0
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074b17
mov al, byte [0x101f7e43]
test al, al
sete byte [0x101f7e43]
test al, al
jne 0x10074af7
mov byte [0x101f7e42], al
mov word [0x101f7e44], 0
jmp 0x10074b10
cmp byte [0x101f7e44], 0
jne 0x10074b10
cmp byte [0x101f7e45], 0
jne 0x10074b10
mov byte [0x101f7e42], 1
mov byte [0x101f7e39], 0
push 0
push 0xc1
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074b7a
mov al, byte [0x101f7e44]
test al, al
sete byte [0x101f7e44]
test al, al
jne 0x10074b54
xor dl, dl
mov word [0x101f7e42], 0
xor cl, cl
mov byte [0x101f7e45], cl
jmp 0x10074b60
mov cl, byte [0x101f7e45]
mov dl, byte [0x101f7e43]
test dl, dl
jne 0x10074b73
test al, al
je 0x10074b73
test cl, cl
jne 0x10074b73
mov byte [0x101f7e42], 1
mov byte [0x101f7e39], 0
push 0
push 0xc2
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074bdd
mov al, byte [0x101f7e45]
test al, al
sete byte [0x101f7e45]
test al, al
jne 0x10074bb7
xor dl, dl
mov word [0x101f7e42], 0
xor cl, cl
mov byte [0x101f7e44], cl
jmp 0x10074bc3
mov cl, byte [0x101f7e44]
mov dl, byte [0x101f7e43]
test dl, dl
jne 0x10074bd6
test cl, cl
jne 0x10074bd6
test al, al
je 0x10074bd6
mov byte [0x101f7e42], 1
mov byte [0x101f7e39], 0
push 0
push 0xc3
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074c01
cmp byte [0x101f7e41], 0
sete byte [0x101f7e41]
cmp byte [0x101f7e30], 3
mov ecx, 0x101f9630
push 0
jne 0x10074c4b
push 0xc6
push edi
call fcn.1007b530
test al, al
je 0x10074c26
dec byte [0x101f7e30]
push 0
push 0xc7
push edi
mov ecx, 0x101f9630
call fcn.1007b530
test al, al
je 0x10074c88
pop edi
mov byte [0x101fc9ed], 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 0xa7
push edi
call fcn.1007b530
test al, al
je 0x10074c88
mov al, byte [0x101f7e30]
test al, al
jne 0x10074c7a
mov ecx, 0x101f7e30
mov byte [0x101fc06d], al
call fcn.10074ec0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
dec al
mov byte [0x101f7e33], 0
mov byte [0x101f7e30], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4