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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x2fb6ac4]
push ebx
mov ebx, dword [ebp + 8]
movzx edx, word [ebx + 4]
mov dword [ebp - 0xa8], eax
cmp edx, 0xa
je 0x10070f5c
cmp edx, 0x2f
jne 0x10071b66
movzx eax, word [ebx + 8]
push esi
movzx esi, word [ebx]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa4], esi
cmp edx, 0x2f
jne 0x10070f7a
mov eax, dword [ebx + 0x16]
jmp 0x10070f7d
mov eax, dword [ebx + 0x3c]
cmp eax, 0xcd
je 0x10071b65
cmp eax, 0xa6
je 0x10071b65
test eax, eax
je 0x10071b65
cmp eax, 0x1c
je 0x10071b65
cmp eax, 0x1d
je 0x10071b65
push edi
mov edi, esi
imul edi, edi, 0x1cc
lea ecx, [edi + 0x333aab0]
mov dword [ebp - 0xac], ecx
movzx ecx, byte [ecx + 0x2a]
cmp eax, 0x96
je 0x10070fdb
cmp eax, 0x191
je 0x10070fdb
cmp eax, 0xc9
jne 0x10070fe4
cmp ecx, 5
je 0x10071b64
mov eax, 0xbb8
cmp edx, 0x2f
jne 0x1007127a
cmp esi, eax
jge 0x1007127a
and dword [ebp - 0xa0], 0
lea eax, [ebx + 0xa2]
mov dword [ebp - 0xb4], eax
mov edi, 0x103bb5bc
mov eax, dword [ebp - 0xb4]
movzx eax, word [eax - 0x50]
test eax, eax
je 0x100714c8
cmp eax, 0xbb8
jge 0x1007125b
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
cmp ecx, eax
jne 0x1007112e
cmp eax, dword [ebp - 0xa4]
je 0x1007112e
mov byte [0x10342a95], 1
cmp byte [ebx + 0x26], 0
jne 0x10071107
cmp dword [0x103b9048], 1
jne 0x100710e1
cmp byte [0x10342a8e], 1
jne 0x100710e1
mov eax, dword [ebp - 0xa8]
push 0xd730a0
push dword [eax + 0x1d20]
call fcn.1000631c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jle 0x100710c7
mov eax, dword [ebp - 0xa4]
cmp dword [esi + 0x14], eax
je 0x100710c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14]
sub eax, dword [ecx*4 + 0x10302858]
cmp eax, 0x1388
jb 0x100710c7
mov esi, dword [ebp - 0xa4]
push 1
push esi
call fcn.100497d1
pop ecx
pop ecx
mov dword [0x10342a60], esi
jmp 0x100710cd
mov esi, dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [esi*4 + 0x10302858], eax
call fcn.10037e51
pop ecx
mov eax, dword [ebp - 0xb4]
push dword [eax]
mov eax, dword [ebp - 0xac]
add eax, 2
push eax
lea eax, [ebp - 0x68]
push 0x1009c380
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
jmp 0x10071117
lea eax, [ebp - 0x68]
push 0x1009c374
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push 8
push eax
call fcn.1003a41e
pop ecx
pop ecx
call fcn.1003b93d
jmp 0x1007125b
cmp ecx, dword [ebp - 0xa4]
jne 0x1007125b
cmp eax, dword [ebp - 0xa4]
je 0x1007125b
imul eax, eax, 0x1cc
cmp byte [ebx + 0x26], 0
lea esi, [eax + 0x333aab0]
jne 0x1007117e
mov eax, dword [ebp - 0xb4]
push dword [eax + 0x104]
push dword [eax]
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x68]
push 0x1009c354
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
jmp 0x1007118e
lea eax, [ebp - 0x68]
push 0x1009c348
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push 3
push eax
call fcn.1003a41e
cmp dword [0x103b64b8], 0
pop ecx
pop ecx
je 0x1007125b
cmp byte [0x10342a8e], 1
jne 0x1007125b
cmp dword [0x103b7580], 1
jne 0x1007125b
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax - 0x28]
cmp eax, dword [0x103b7578]
jg 0x1007125b
and dword [ebp - 0x9c], 0
mov ecx, edi
call fcn.10001036
test eax, eax
jle 0x1007121b
mov ecx, dword [ebp - 0x9c]
lea eax, [esi + 2]
push eax
mov eax, dword [0x103bb5bc]
push dword [eax + ecx*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x1007125b
inc dword [ebp - 0x9c]
mov ecx, edi
call fcn.10001036
cmp dword [ebp - 0x9c], eax
jl 0x100711e9
add esi, 2
push esi
mov ecx, edi
call fcn.100010dc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, 0x103bb5c8
call fcn.10001186
push dword [0x103b757c]
lea eax, [ebp - 0x68]
push esi
push 0x1009c330
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x68]
push 2
push eax
call fcn.1003a41e
add esp, 0x18
inc dword [ebp - 0xa0]
add dword [ebp - 0xb4], 4
cmp dword [ebp - 0xa0], 0x14
jl 0x10071012
jmp 0x100714c8
cmp edx, 0xa
jne 0x100714c8
cmp esi, eax
jge 0x100714c8
cmp dword [ebp - 0xb0], eax
jge 0x100714c8
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x10071b64
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x14]
cmp eax, esi
jne 0x100713db
cmp dword [ebp - 0xb0], esi
je 0x100713db
mov esi, dword [ebp - 0xb0]
imul esi, esi, 0x1cc
cmp byte [ebx + 0x53], 0
jne 0x100712f0
push dword [ebx + 0x4f]
lea eax, [esi + 0x333aab2]
push ecx
push eax
lea eax, [ebp - 0x68]
push 0x1009c354
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
jmp 0x10071300
lea eax, [ebp - 0x68]
push 0x1009c348
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push 3
push eax
call fcn.1003a41e
cmp dword [0x103b64b8], 0
pop ecx
pop ecx
je 0x100714c8
cmp byte [0x10342a8e], 1
jne 0x100714c8
cmp dword [0x103b7580], 1
jne 0x100714c8
mov eax, dword [ebx + 0x10]
cmp eax, dword [0x103b7578]
jg 0x100714c8
and dword [ebp - 0x9c], 0
mov edi, 0x103bb5bc
mov ecx, edi
call fcn.10001036
test eax, eax
jle 0x10071393
mov ecx, dword [ebp - 0x9c]
lea eax, [esi + 0x333aab2]
push eax
mov eax, dword [0x103bb5bc]
push dword [eax + ecx*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100714c8
inc dword [ebp - 0x9c]
mov ecx, edi
call fcn.10001036
cmp dword [ebp - 0x9c], eax
jl 0x1007135a
add esi, 0x333aab2
push esi
mov ecx, edi
call fcn.100010dc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, 0x103bb5c8
call fcn.10001186
push dword [0x103b757c]
lea eax, [ebp - 0x68]
push esi
push 0x1009c330
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x68]
push 2
push eax
call fcn.1003a41e
add esp, 0x18
jmp 0x100714c8
cmp eax, dword [ebp - 0xb0]
jne 0x100714c8
cmp dword [ebp - 0xb0], esi
je 0x100714c8
mov byte [0x10342a95], 1
cmp byte [ebx + 0x53], 0
jne 0x100714a6
cmp dword [0x103b9048], 1
jne 0x10071488
cmp byte [0x10342a8e], 1
jne 0x10071488
mov eax, dword [ebp - 0xa8]
push 0xd730a0
push dword [eax + 0x1d20]
call fcn.1000631c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jle 0x1007146e
mov eax, dword [ebp - 0xa4]
cmp dword [esi + 0x14], eax
je 0x1007146e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14]
sub eax, dword [ecx*4 + 0x10302858]
cmp eax, 0x1388
jb 0x1007146e
mov esi, dword [ebp - 0xa4]
push 1
push esi
call fcn.100497d1
pop ecx
pop ecx
mov dword [0x10342a60], esi
jmp 0x10071474
mov esi, dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [esi*4 + 0x10302858], eax
call fcn.10037e51
pop ecx
push dword [ebx + 0x10]
add edi, 0x333aab2
push edi
lea eax, [ebp - 0x68]
push 0x1009c380
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
jmp 0x100714b6
lea eax, [ebp - 0x68]
push 0x1009c374
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push 8
push eax
call fcn.1003a41e
pop ecx
pop ecx
call fcn.1003b93d
mov eax, dword [ebp - 0xa8]
mov esi, dword [eax + 0x14]
cmp esi, dword [ebp - 0xa4]
je 0x10071b64
mov edi, 0xbb8
cmp dword [ebp - 0xa4], edi
jge 0x10071b64
cmp word [ebx + 4], 0x2f
jne 0x10071527
xor edx, edx
lea eax, [ebx + 0x52]
movzx ecx, word [eax]
test ecx, ecx
je 0x10071b64
cmp ecx, edi
jge 0x1007150d
cmp esi, ecx
je 0x1007151b
inc edx
add eax, 4
cmp edx, 0x14
jl 0x100714fa
jmp 0x10071b64
mov eax, dword [ebx + edx*4 + 0x7a]
mov dword [ebp - 0x9c], eax
jmp 0x10071533
cmp esi, dword [ebp - 0xb0]
jne 0x10071b64
cmp word [ebx + 4], 0x2f
je 0x10071543
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x9c], eax
cmp dword [0x103ac584], 1
jne 0x10071580
push 0x1f4
call sub.mfc100.dll_Ordinal_265
mov dword [esp], 0x10111b20
mov esi, eax
push 0x10098db0
push esi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
push 0x11
push 0
push esi
call dword [sym.imp.WINMM.dll_PlaySoundA]
push esi
call sub.mfc100.dll_Ordinal_1296
pop ecx
cmp dword [0x103a6e2c], 1
jne 0x100715c9
xor edi, edi
xor esi, esi
cmp dword [0x103a6e60], edi
jle 0x100715c9
push 0x32
lea eax, [ebp - 0x38]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x103a70f0
call sub.mfc100.dll_Ordinal_6969
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.10005fbb
inc esi
pop ecx
pop ecx
cmp esi, dword [0x103a6e60]
jl 0x10071595
mov ebx, 0x103bb4e4
xor edi, edi
mov ecx, ebx
mov dword [ebp - 0xa0], edi
call fcn.10001036
mov esi, dword [ebp - 0xac]
test eax, eax
jle 0x10071616
lea eax, [esi + 2]
push eax
mov eax, dword [0x103bb4e4]
push dword [eax + edi*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x1007160c
mov ecx, ebx
inc edi
call fcn.10001036
cmp edi, eax
jl 0x100715e7
jmp 0x10071616
mov dword [ebp - 0xa0], 1
xor ebx, ebx
inc ebx
cmp dword [0x103afb60], ebx
jne 0x10071630
cmp dword [esi + 0x20], 0xfffffc18
jge 0x10071630
mov dword [ebp - 0xa0], ebx
cmp dword [0x103afb44], ebx
jne 0x1007164f
mov eax, dword [ebp - 0x9c]
cmp eax, dword [0x103afb48]
jle 0x1007164f
and dword [0x101123b0], 0
jmp 0x10071689
push esi
call fcn.10070d70
pop ecx
cmp al, 1
jne 0x10071689
cmp dword [0x103afb24], ebx
jne 0x10071689
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x84]
push 0x1009c328
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
push eax
push 2
call fcn.10039334
add esp, 0x14
cmp dword [0x103af8ac], ebx
jne 0x1007170d
cmp dword [0x10342a50], ebx
jne 0x1007170d
cmp dword [0x101123b0], 5
je 0x1007170d
cmp dword [ebp - 0xa0], 0
jne 0x1007170d
mov eax, dword [0x2fb6ac4]
mov byte [eax + 0x4884], 5
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x84]
push 0x1009c310
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [0x103af8b0]
add esp, 0xc
cmp eax, ebx
jne 0x100716ee
mov eax, dword [0x103b0d24]
cmp eax, ebx
jne 0x100716e6
push 3
jmp 0x100716ff
test eax, eax
jne 0x100716fd
push 2
jmp 0x100716ff
test eax, eax
jne 0x100716fd
cmp dword [0x103b0d24], ebx
jne 0x100716fd
push ebx
jmp 0x100716ff
push 0
lea eax, [ebp - 0x84]
push eax
call fcn.1006a0c6
pop ecx
pop ecx
cmp dword [0x103b64b8], 0
jbe 0x100717e7
cmp byte [0x10342a8e], 1
jne 0x100717e7
cmp byte [0x103d9ec4], 0
jne 0x100717e7
lea edi, [esi + 2]
push edi
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x100717e7
cmp byte [esi + 1], 1
jne 0x1007175a
fld dword [esi + 0x3a]
fstp dword [ebp - 0x9c]
fld dword [esi + 0x42]
jmp 0x1007176c
fld dword [esi + 0x97]
fstp dword [ebp - 0x9c]
fld dword [esi + 0x9f]
fstp dword [ebp - 0xa0]
cmp dword [0x103b73c8], ebx
jne 0x100717bb
fld dword [0x103da0d0]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [0x103da0d4]
fstp dword [esp + 8]
fld dword [ebp - 0xa0]
fstp dword [esp + 4]
fld dword [ebp - 0x9c]
fstp dword [esp]
call fcn.10006f97
fild dword [0x103b73d0]
add esp, 0x10
fcompp
fnstsw ax
test ah, 0x41
je 0x100717c4
cmp dword [0x103b73c8], 0
jne 0x100717e7
push edi
push 0x10110cac
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xffff
mov dword [0x10342894], eax
call fcn.1006dba0
pop ecx
mov edi, 0x103bb508
mov ecx, edi
xor ebx, ebx
call fcn.10001036
mov esi, 0x1009c234
test eax, eax
jle 0x10071846
mov eax, dword [ebp - 0xac]
lea ecx, [eax + 0x15]
push ecx
movzx ecx, byte [eax + 0x28]
push ecx
add eax, 2
push eax
lea eax, [ebp - 0x84]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
push eax
mov eax, dword [0x103bb508]
push dword [eax + ebx*4]
call sub.MSVCR100.dll_strcmp
add esp, 0x1c
test eax, eax
je 0x10071878
mov ecx, edi
inc ebx
call fcn.10001036
cmp ebx, eax
jl 0x100717fe
mov ebx, dword [ebp - 0xac]
lea eax, [ebx + 2]
push eax
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
jne 0x10071895
push ebx
mov ecx, 0x103bb520
call fcn.10001186
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, 0x103bb52c
call fcn.10001186
jmp 0x100718d8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101123c0], eax
mov eax, dword [0x103bb514]
mov ebx, dword [eax + ebx*4]
inc dword [ebx]
mov ebx, dword [ebp - 0xac]
jmp 0x100718d8
lea eax, [ebx + 0x15]
push eax
movzx eax, byte [ebx + 0x28]
push eax
lea eax, [ebx + 2]
push eax
lea eax, [ebp - 0x84]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x84]
push eax
mov ecx, edi
call fcn.100010dc
push 1
mov ecx, 0x103bb514
call fcn.10001186
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101123c0], eax
cmp dword [0x103afaf8], 1
jne 0x10071a24
xor edi, edi
mov dword [ebp - 0x9c], edi
mov esi, 0x2f9a2b0
mov eax, dword [esi]
cmp eax, edi
je 0x10071916
cmp byte [eax + 0x330], 0
je 0x10071916
lea ecx, [ebx + 2]
push ecx
add eax, 0x338
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10071923
add esi, 4
cmp esi, 0x2f9a2cc
jl 0x100718f2
jmp 0x1007192d
mov dword [ebp - 0x9c], 1
mov esi, 0x103bb4e4
mov ecx, esi
call fcn.10001036
test eax, eax
jle 0x1007196c
lea eax, [ebx + 2]
push eax
mov eax, dword [0x103bb4e4]
push dword [eax + edi*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10071962
mov ecx, esi
inc edi
call fcn.10001036
cmp edi, eax
jl 0x1007193d
jmp 0x1007196c
mov dword [ebp - 0x9c], 1
mov esi, 0x103bb4d8
mov ecx, esi
xor edi, edi
call fcn.10001036
test eax, eax
jle 0x100719ad
lea eax, [ebx + 2]
push eax
mov eax, dword [0x103bb4d8]
push dword [eax + edi*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100719a3
mov ecx, esi
inc edi
call fcn.10001036
cmp edi, eax
jl 0x1007197e
jmp 0x100719ad
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0
mov esi, dword [ebp - 0xa8]
jne 0x10071a2a
cmp dword [0x103b055c], 1
jne 0x100719e3
mov eax, dword [esi + 0x14]
imul eax, eax, 0x1cc
add eax, 0x333aac5
push eax
lea eax, [ebx + 0x15]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10071a2a
cmp dword [0x103afafc], 1
jne 0x10071a00
mov eax, dword [esi + 0x14]
mov cl, byte [ebx + 0x27]
imul eax, eax, 0x1cc
cmp cl, byte [eax + 0x333aad7]
je 0x10071a2a
lea edi, [ebx + 2]
push edi
push 0
push 0x180
push dword [0x103af8d8]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov ecx, 0x103bb4d8
call fcn.100010dc
jmp 0x10071a2a
mov esi, dword [ebp - 0xa8]
cmp dword [0x10342a50], 0
je 0x10071b64
inc dword [0x103d23b8]
lea edi, [ebx + 2]
push edi
push 0x103d234c
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10071b37
push edi
push 0x103d234c
call sub.MSVCR100.dll_strcpy
add ebx, 0x15
push ebx
mov dword [0x103d23b8], 1
call sub.MSVCR100.dll_strlen
fld dword [esi + 0x1f60]
add esp, 0xc
test eax, eax
jne 0x10071ad8
call fcn.10083f90
fld dword [esi + 0x1f68]
mov ebx, eax
call fcn.10083f90
push dword [0x2f91a04]
mov esi, eax
lea eax, [ebp - 0x98]
push eax
call fcn.10006884
push esi
push ebx
lea eax, [ebp - 0x98]
push eax
push edi
lea eax, [ebp - 0x84]
push 0x1009c2f4
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
push eax
push 3
call fcn.10039334
add esp, 0x28
jmp 0x10071b64
call fcn.10083f90
fld dword [esi + 0x1f68]
mov dword [ebp - 0xa0], eax
call fcn.10083f90
push dword [0x2f91a04]
mov esi, eax
lea eax, [ebp - 0x98]
push eax
call fcn.10006884
push esi
push dword [ebp - 0xa0]
lea eax, [ebp - 0x98]
push eax
push edi
push ebx
lea eax, [ebp - 0x84]
push 0x1009c2d0
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
push eax
push 3
call fcn.10039334
add esp, 0x2c
jmp 0x10071b64
cmp dword [0x103d23b8], 5
jne 0x10071b64
push edi
lea eax, [ebp - 0x84]
push 0x1009c2b4
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
push eax
push 3
call fcn.10039334
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10083e24
leave
ret