Function at 0x10070bf2
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 [0x36208e4]
push ebx
mov ebx, dword [ebp + 8]
movzx edx, word [ebx + 4]
mov dword [ebp - 0xa8], eax
cmp edx, 0xa
je 0x10070c26
cmp edx, 0x2f
jne 0x10071830
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 0x10070c44
mov eax, dword [ebx + 0x16]
jmp 0x10070c47
mov eax, dword [ebx + 0x3c]
cmp eax, 0xcd
je 0x1007182f
cmp eax, 0xa6
je 0x1007182f
test eax, eax
je 0x1007182f
cmp eax, 0x1c
je 0x1007182f
cmp eax, 0x1d
je 0x1007182f
push edi
mov edi, esi
imul edi, edi, 0x1cc
lea ecx, [edi + 0xfbaf18]
mov dword [ebp - 0xac], ecx
movzx ecx, byte [ecx + 0x2a]
cmp eax, 0x96
je 0x10070ca5
cmp eax, 0x191
je 0x10070ca5
cmp eax, 0xc9
jne 0x10070cae
cmp ecx, 5
je 0x1007182e
mov eax, 0xbb8
cmp edx, 0x2f
jne 0x10070f44
cmp esi, eax
jge 0x10070f44
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 0x10071192
cmp eax, 0xbb8
jge 0x10070f25
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
cmp ecx, eax
jne 0x10070df8
cmp eax, dword [ebp - 0xa4]
je 0x10070df8
mov byte [0x10342a95], 1
cmp byte [ebx + 0x26], 0
jne 0x10070dd1
cmp dword [0x103b9048], 1
jne 0x10070dab
cmp byte [0x10342a8e], 1
jne 0x10070dab
mov eax, dword [ebp - 0xa8]
push 0xaf6500
push dword [eax + 0x1d24]
call fcn.10006298
mov esi, eax
pop ecx
pop ecx
test esi, esi
jle 0x10070d91
mov eax, dword [ebp - 0xa4]
cmp dword [esi + 0x14], eax
je 0x10070d91
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14]
sub eax, dword [ecx*4 + 0x10302858]
cmp eax, 0x1388
jb 0x10070d91
mov esi, dword [ebp - 0xa4]
push 1
push esi
call fcn.10049740
pop ecx
pop ecx
mov dword [0x10342a60], esi
jmp 0x10070d97
mov esi, dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [esi*4 + 0x10302858], eax
call fcn.10037d89
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 0x1009c2a0
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
jmp 0x10070de1
lea eax, [ebp - 0x68]
push 0x1009c294
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push 8
push eax
call fcn.1003a31e
pop ecx
pop ecx
call fcn.1003b84b
jmp 0x10070f25
cmp ecx, dword [ebp - 0xa4]
jne 0x10070f25
cmp eax, dword [ebp - 0xa4]
je 0x10070f25
imul eax, eax, 0x1cc
cmp byte [ebx + 0x26], 0
lea esi, [eax + 0xfbaf18]
jne 0x10070e48
mov eax, dword [ebp - 0xb4]
push dword [eax + 0x104]
push dword [eax]
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x68]
push 0x1009c274
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
jmp 0x10070e58
lea eax, [ebp - 0x68]
push 0x1009c268
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push 3
push eax
call fcn.1003a31e
cmp dword [0x103b64b8], 0
pop ecx
pop ecx
je 0x10070f25
cmp byte [0x10342a8e], 1
jne 0x10070f25
cmp dword [0x103b7580], 1
jne 0x10070f25
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax - 0x28]
cmp eax, dword [0x103b7578]
jg 0x10070f25
and dword [ebp - 0x9c], 0
mov ecx, edi
call fcn.100011d9
test eax, eax
jle 0x10070ee5
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 0x10070f25
inc dword [ebp - 0x9c]
mov ecx, edi
call fcn.100011d9
cmp dword [ebp - 0x9c], eax
jl 0x10070eb3
add esi, 2
push esi
mov ecx, edi
call fcn.1000110a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, 0x103bb5c8
call fcn.10001182
push dword [0x103b757c]
lea eax, [ebp - 0x68]
push esi
push 0x1009c250
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x68]
push 2
push eax
call fcn.1003a31e
add esp, 0x18
inc dword [ebp - 0xa0]
add dword [ebp - 0xb4], 4
cmp dword [ebp - 0xa0], 0x14
jl 0x10070cdc
jmp 0x10071192
cmp edx, 0xa
jne 0x10071192
cmp esi, eax
jge 0x10071192
cmp dword [ebp - 0xb0], eax
jge 0x10071192
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x1007182e
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x14]
cmp eax, esi
jne 0x100710a5
cmp dword [ebp - 0xb0], esi
je 0x100710a5
mov esi, dword [ebp - 0xb0]
imul esi, esi, 0x1cc
cmp byte [ebx + 0x53], 0
jne 0x10070fba
push dword [ebx + 0x4f]
lea eax, [esi + 0xfbaf1a]
push ecx
push eax
lea eax, [ebp - 0x68]
push 0x1009c274
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
jmp 0x10070fca
lea eax, [ebp - 0x68]
push 0x1009c268
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push 3
push eax
call fcn.1003a31e
cmp dword [0x103b64b8], 0
pop ecx
pop ecx
je 0x10071192
cmp byte [0x10342a8e], 1
jne 0x10071192
cmp dword [0x103b7580], 1
jne 0x10071192
mov eax, dword [ebx + 0x10]
cmp eax, dword [0x103b7578]
jg 0x10071192
and dword [ebp - 0x9c], 0
mov edi, 0x103bb5bc
mov ecx, edi
call fcn.100011d9
test eax, eax
jle 0x1007105d
mov ecx, dword [ebp - 0x9c]
lea eax, [esi + 0xfbaf1a]
push eax
mov eax, dword [0x103bb5bc]
push dword [eax + ecx*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10071192
inc dword [ebp - 0x9c]
mov ecx, edi
call fcn.100011d9
cmp dword [ebp - 0x9c], eax
jl 0x10071024
add esi, 0xfbaf1a
push esi
mov ecx, edi
call fcn.1000110a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, 0x103bb5c8
call fcn.10001182
push dword [0x103b757c]
lea eax, [ebp - 0x68]
push esi
push 0x1009c250
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x68]
push 2
push eax
call fcn.1003a31e
add esp, 0x18
jmp 0x10071192
cmp eax, dword [ebp - 0xb0]
jne 0x10071192
cmp dword [ebp - 0xb0], esi
je 0x10071192
mov byte [0x10342a95], 1
cmp byte [ebx + 0x53], 0
jne 0x10071170
cmp dword [0x103b9048], 1
jne 0x10071152
cmp byte [0x10342a8e], 1
jne 0x10071152
mov eax, dword [ebp - 0xa8]
push 0xaf6500
push dword [eax + 0x1d24]
call fcn.10006298
mov esi, eax
pop ecx
pop ecx
test esi, esi
jle 0x10071138
mov eax, dword [ebp - 0xa4]
cmp dword [esi + 0x14], eax
je 0x10071138
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14]
sub eax, dword [ecx*4 + 0x10302858]
cmp eax, 0x1388
jb 0x10071138
mov esi, dword [ebp - 0xa4]
push 1
push esi
call fcn.10049740
pop ecx
pop ecx
mov dword [0x10342a60], esi
jmp 0x1007113e
mov esi, dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [esi*4 + 0x10302858], eax
call fcn.10037d89
pop ecx
push dword [ebx + 0x10]
add edi, 0xfbaf1a
push edi
lea eax, [ebp - 0x68]
push 0x1009c2a0
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x10
jmp 0x10071180
lea eax, [ebp - 0x68]
push 0x1009c294
push eax
call sub.MSVCR100.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push 8
push eax
call fcn.1003a31e
pop ecx
pop ecx
call fcn.1003b84b
mov eax, dword [ebp - 0xa8]
mov esi, dword [eax + 0x14]
cmp esi, dword [ebp - 0xa4]
je 0x1007182e
mov edi, 0xbb8
cmp dword [ebp - 0xa4], edi
jge 0x1007182e
cmp word [ebx + 4], 0x2f
jne 0x100711f1
xor edx, edx
lea eax, [ebx + 0x52]
movzx ecx, word [eax]
test ecx, ecx
je 0x1007182e
cmp ecx, edi
jge 0x100711d7
cmp esi, ecx
je 0x100711e5
inc edx
add eax, 4
cmp edx, 0x14
jl 0x100711c4
jmp 0x1007182e
mov eax, dword [ebx + edx*4 + 0x7a]
mov dword [ebp - 0x9c], eax
jmp 0x100711fd
cmp esi, dword [ebp - 0xb0]
jne 0x1007182e
cmp word [ebx + 4], 0x2f
je 0x1007120d
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x9c], eax
cmp dword [0x103ac584], 1
jne 0x1007124a
push 0x1f4
call sub.mfc100.dll_Ordinal_265
mov dword [esp], 0x10111b20
mov esi, eax
push 0x10098d70
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 0x10071293
xor edi, edi
xor esi, esi
cmp dword [0x103a6e60], edi
jle 0x10071293
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.10005f7d
inc esi
pop ecx
pop ecx
cmp esi, dword [0x103a6e60]
jl 0x1007125f
mov ebx, 0x103bb4e4
xor edi, edi
mov ecx, ebx
mov dword [ebp - 0xa0], edi
call fcn.100011d9
mov esi, dword [ebp - 0xac]
test eax, eax
jle 0x100712e0
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 0x100712d6
mov ecx, ebx
inc edi
call fcn.100011d9
cmp edi, eax
jl 0x100712b1
jmp 0x100712e0
mov dword [ebp - 0xa0], 1
xor ebx, ebx
inc ebx
cmp dword [0x103afb60], ebx
jne 0x100712fa
cmp dword [esi + 0x20], 0xfffffc18
jge 0x100712fa
mov dword [ebp - 0xa0], ebx
cmp dword [0x103afb44], ebx
jne 0x10071319
mov eax, dword [ebp - 0x9c]
cmp eax, dword [0x103afb48]
jle 0x10071319
and dword [0x101123b0], 0
jmp 0x10071353
push esi
call fcn.10070a3a
pop ecx
cmp al, 1
jne 0x10071353
cmp dword [0x103afb24], ebx
jne 0x10071353
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x84]
push 0x1009c248
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
push eax
push 2
call fcn.10039234
add esp, 0x14
cmp dword [0x103af8ac], ebx
jne 0x100713d7
cmp dword [0x10342a50], ebx
jne 0x100713d7
cmp dword [0x101123b0], 5
je 0x100713d7
cmp dword [ebp - 0xa0], 0
jne 0x100713d7
mov eax, dword [0x36208e4]
mov byte [eax + 0x488c], 5
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x84]
push 0x1009c230
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [0x103af8b0]
add esp, 0xc
cmp eax, ebx
jne 0x100713b8
mov eax, dword [0x103b0d24]
cmp eax, ebx
jne 0x100713b0
push 3
jmp 0x100713c9
test eax, eax
jne 0x100713c7
push 2
jmp 0x100713c9
test eax, eax
jne 0x100713c7
cmp dword [0x103b0d24], ebx
jne 0x100713c7
push ebx
jmp 0x100713c9
push 0
lea eax, [ebp - 0x84]
push eax
call fcn.10069d6f
pop ecx
pop ecx
cmp dword [0x103b64b8], 0
jbe 0x100714b1
cmp byte [0x10342a8e], 1
jne 0x100714b1
cmp byte [0x103d9ebc], 0
jne 0x100714b1
lea edi, [esi + 2]
push edi
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
je 0x100714b1
cmp byte [esi + 1], 1
jne 0x10071424
fld dword [esi + 0x3a]
fstp dword [ebp - 0x9c]
fld dword [esi + 0x42]
jmp 0x10071436
fld dword [esi + 0x97]
fstp dword [ebp - 0x9c]
fld dword [esi + 0x9f]
fstp dword [ebp - 0xa0]
cmp dword [0x103b73c8], ebx
jne 0x10071485
fld dword [0x103da0c8]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [0x103da0cc]
fstp dword [esp + 8]
fld dword [ebp - 0xa0]
fstp dword [esp + 4]
fld dword [ebp - 0x9c]
fstp dword [esp]
call fcn.10006f13
fild dword [0x103b73d0]
add esp, 0x10
fcompp
fnstsw ax
test ah, 0x41
je 0x1007148e
cmp dword [0x103b73c8], 0
jne 0x100714b1
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.1006d880
pop ecx
mov edi, 0x103bb508
mov ecx, edi
xor ebx, ebx
call fcn.100011d9
mov esi, 0x1009c154
test eax, eax
jle 0x10071510
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 0x10071542
mov ecx, edi
inc ebx
call fcn.100011d9
cmp ebx, eax
jl 0x100714c8
mov ebx, dword [ebp - 0xac]
lea eax, [ebx + 2]
push eax
call sub.MSVCR100.dll_strlen
pop ecx
test eax, eax
jne 0x1007155f
push ebx
mov ecx, 0x103bb520
call fcn.10001182
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, 0x103bb52c
call fcn.10001182
jmp 0x100715a2
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 0x100715a2
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.1000110a
push 1
mov ecx, 0x103bb514
call fcn.10001182
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101123c0], eax
cmp dword [0x103afaf8], 1
jne 0x100716ee
xor edi, edi
mov dword [ebp - 0x9c], edi
mov esi, 0x35f6378
mov eax, dword [esi]
cmp eax, edi
je 0x100715e0
cmp byte [eax + 0x330], 0
je 0x100715e0
lea ecx, [ebx + 2]
push ecx
add eax, 0x338
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100715ed
add esi, 4
cmp esi, 0x35f6394
jl 0x100715bc
jmp 0x100715f7
mov dword [ebp - 0x9c], 1
mov esi, 0x103bb4e4
mov ecx, esi
call fcn.100011d9
test eax, eax
jle 0x10071636
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 0x1007162c
mov ecx, esi
inc edi
call fcn.100011d9
cmp edi, eax
jl 0x10071607
jmp 0x10071636
mov dword [ebp - 0x9c], 1
mov esi, 0x103bb4d8
mov ecx, esi
xor edi, edi
call fcn.100011d9
test eax, eax
jle 0x10071677
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 0x1007166d
mov ecx, esi
inc edi
call fcn.100011d9
cmp edi, eax
jl 0x10071648
jmp 0x10071677
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0
mov esi, dword [ebp - 0xa8]
jne 0x100716f4
cmp dword [0x103b055c], 1
jne 0x100716ad
mov eax, dword [esi + 0x14]
imul eax, eax, 0x1cc
add eax, 0xfbaf2d
push eax
lea eax, [ebx + 0x15]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100716f4
cmp dword [0x103afafc], 1
jne 0x100716ca
mov eax, dword [esi + 0x14]
mov cl, byte [ebx + 0x27]
imul eax, eax, 0x1cc
cmp cl, byte [eax + 0xfbaf3f]
je 0x100716f4
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.1000110a
jmp 0x100716f4
mov esi, dword [ebp - 0xa8]
cmp dword [0x10342a50], 0
je 0x1007182e
inc dword [0x103d23b0]
lea edi, [ebx + 2]
push edi
push 0x103d2344
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x10071801
push edi
push 0x103d2344
call sub.MSVCR100.dll_strcpy
add ebx, 0x15
push ebx
mov dword [0x103d23b0], 1
call sub.MSVCR100.dll_strlen
fld dword [esi + 0x1f64]
add esp, 0xc
test eax, eax
jne 0x100717a2
call fcn.10083ba0
fld dword [esi + 0x1f6c]
mov ebx, eax
call fcn.10083ba0
push dword [0x35ed708]
mov esi, eax
lea eax, [ebp - 0x98]
push eax
call fcn.10006800
push esi
push ebx
lea eax, [ebp - 0x98]
push eax
push edi
lea eax, [ebp - 0x84]
push 0x1009c214
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
push eax
push 3
call fcn.10039234
add esp, 0x28
jmp 0x1007182e
call fcn.10083ba0
fld dword [esi + 0x1f6c]
mov dword [ebp - 0xa0], eax
call fcn.10083ba0
push dword [0x35ed708]
mov esi, eax
lea eax, [ebp - 0x98]
push eax
call fcn.10006800
push esi
push dword [ebp - 0xa0]
lea eax, [ebp - 0x98]
push eax
push edi
push ebx
lea eax, [ebp - 0x84]
push 0x1009c1f0
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
push eax
push 3
call fcn.10039234
add esp, 0x2c
jmp 0x1007182e
cmp dword [0x103d23b0], 5
jne 0x1007182e
push edi
lea eax, [ebp - 0x84]
push 0x1009c1d4
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x84]
push eax
push 3
call fcn.10039234
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10083a34
leave
ret