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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x100a509c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x2fb7ac4]
push ebx
push esi
movzx esi, word [eax + 0x14]
push edi
imul esi, esi, 0x1cc
mov al, al
mov cl, cl
mov dl, dl
mov al, al
cmp byte [0x1035ef2a], 1
jne 0x10078150
cmp dword [0x103d283c], 1
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x22b8
jne 0x10078093
mov ecx, dword [esi + 0x333bb68]
mov eax, dword [0x10111778]
sub ecx, eax
cmp ecx, dword [0x103d2840]
jl 0x10078098
lea eax, [esi + 0x333bab2]
push eax
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, eax
je 0x10078086
push 0
push 0
push ebx
push dword [0x103d0f48]
call edi
push 8
push 0x1009bac4
call fcn.1003c64d
pop ecx
pop ecx
cmp byte [0x1035ef2a], 1
jne 0x10078150
mov eax, dword [0x10111778]
cmp dword [0x103d3acc], 1
jne 0x100780e5
sub eax, dword [esi + 0x333bb68]
cmp eax, dword [0x103d3ad4]
jl 0x100780e5
add esi, 0x333bab2
push esi
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, eax
je 0x100780dc
push 0
push 0
push ebx
push dword [0x103d0f48]
call edi
push 8
push 0x1009badc
call fcn.1003c64d
pop ecx
pop ecx
cmp byte [0x1035ef2a], 1
jne 0x10078150
cmp dword [0x103d3ac8], 1
jne 0x1007811f
mov eax, dword [0x1035ee9c]
cmp eax, dword [0x103d3ad0]
jl 0x1007811f
push 0
push 0
push ebx
push dword [0x103d0f48]
call edi
push 8
push 0x1009baf4
call fcn.1003c64d
cmp byte [0x1035ef2a], 1
pop ecx
pop ecx
jne 0x10078150
cmp dword [0x103d3ae0], 1
jne 0x10078150
mov eax, dword [0x1035ee98]
cmp eax, dword [0x103d3ae4]
jl 0x10078150
push 0
push 0
push ebx
push dword [0x103d0f48]
call edi
push 8
push 0x1009bb0c
call fcn.1003c64d
pop ecx
pop ecx
xor esi, esi
inc esi
cmp dword [0x103cbc10], esi
jne 0x10078183
cmp byte [0x1035ef2a], 1
jne 0x10078183
cmp dword [0x1035eef4], 0
jne 0x10078183
mov eax, dword [0x2fb7ac4]
cmp dword [eax + 0x2630], 0
jne 0x10078183
push 3
call fcn.1003d504
pop ecx
cmp dword [0x103d3444], esi
je 0x1007819a
cmp dword [0x103d3448], esi
jne 0x100782c7
xor esi, esi
inc esi
mov eax, dword [0x2f9af18]
xor ebx, ebx
push 0x32
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xa4], ebx
add eax, 0x53c
pop edx
mov ecx, dword [eax]
cmp ecx, ebx
je 0x100781d6
mov ecx, dword [ecx + 0x54]
cmp ecx, 0x5e
jne 0x100781cb
mov dword [ebp - 0xa0], esi
jmp 0x100781d6
cmp ecx, 0x60
jne 0x100781d6
mov dword [ebp - 0xa4], esi
add eax, 4
dec edx
jne 0x100781b5
mov edx, dword [0x2f99460]
call fcn.100061d1
test eax, eax
je 0x100782c7
lea esi, [edx + 0x53c]
mov eax, dword [esi]
test eax, eax
je 0x10078210
add eax, 0x64
push eax
push 0x1009bb24
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10078222
inc ebx
add esi, 4
call fcn.100061d1
cmp ebx, eax
jb 0x100781f5
jmp 0x100782c7
or edi, 0xffffffff
cmp dword [0x103d3444], 1
jne 0x10078276
cmp dword [ebp - 0xa4], 0
jne 0x10078276
push 0x64
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x103d32ec
call dword [sym.imp.mfc100.dll_Ordinal_6969]
lea eax, [ebp - 0x9c]
push eax
lea esi, [ebp - 0x38]
mov dword [ebp - 0x14], edi
call fcn.1006cf2c
pop ecx
cmp dword [ebp - 0x14], edi
je 0x10078276
push dword [ebp - 0x14]
push ebx
call fcn.1003d583
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [0x103d7818], eax
cmp dword [0x103d3448], 1
jne 0x100782c7
cmp dword [ebp - 0xa0], 0
jne 0x100782c7
push 0x64
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x103d3398
call dword [sym.imp.mfc100.dll_Ordinal_6969]
lea eax, [ebp - 0x9c]
push eax
lea esi, [ebp - 0x38]
mov dword [ebp - 0x14], edi
call fcn.1006cf2c
pop ecx
cmp dword [ebp - 0x14], edi
je 0x100782c7
push dword [ebp - 0x14]
push ebx
call fcn.1003d583
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov dword [0x103d7814], eax
xor ebx, ebx
cmp dword [0x103d32e8], 1
jne 0x10078336
mov eax, dword [0x2fb7ac4]
cmp dword [eax + 0x51e4], ebx
jne 0x100782e8
cmp dword [eax + 0x2a50], 6
je 0x100782f9
cmp dword [eax + 0x47f8], ebx
jne 0x10078336
cmp dword [eax + 0x2a50], 4
jne 0x10078336
xor edi, edi
lea esi, [ebp - 0x28]
mov ecx, edi
call fcn.10006368
xor esi, esi
cmp dword [0x103d5ed4], ebx
jle 0x10078330
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x103d5ecc]
push dword [eax + esi*4]
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10078367
inc esi
cmp esi, dword [0x103d5ed4]
jl 0x1007830f
inc edi
cmp edi, 0x14
jl 0x100782fb
cmp dword [0x2f92a08], 0x9ca5
jne 0x10078381
cmp dword [0x34d2968], ebx
jne 0x100783f8
cmp dword [0x103d345c], 1
jne 0x100783f8
cmp dword [0x103d3458], ebx
jne 0x10078378
push 1
jmp 0x10078379
push 1
push dword [ebp - 0xc]
call fcn.1003b96b
pop ecx
pop ecx
jmp 0x100787b0
push ebx
call fcn.1003da6a
pop ecx
jmp 0x100783f8
cmp dword [0x103d32d4], 1
jne 0x100783f8
cmp byte [0x1035ef2a], 1
jne 0x100783f8
mov edi, 0x1008b89c
call fcn.10006ac3
cmp eax, 1
jne 0x100783ba
cmp dword [0x34d2968], ebx
jle 0x100783c0
call fcn.100383dc
push 0x1009346c
call fcn.1003a9cd
pop ecx
cmp dword [0x34d2968], ebx
jne 0x100783f8
cmp byte [0x103bfb66], 0
jne 0x100783f8
mov eax, dword [0x103d32d8]
imul eax, eax, 0x3e8
push 0x10077f9c
push eax
mov eax, dword [0x10113488]
add eax, 0x5a
push eax
push dword [0x100ded8c]
mov byte [0x103bfb66], 1
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x103d32dc], 1
jne 0x100784d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x103d7810]
cmp eax, 0xbb8
jb 0x100784d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103d7810], eax
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x2c], 0x2e
mov word [ebp - 0x28], 0x3126
mov byte [ebp - 0x26], 0x1e
lea edi, [ebp - 0x25]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 2
stosb byte es:[edi], al
lea eax, [ebp - 0x2c]
push 0x2fb7ad8
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
lea eax, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], 0x26
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
mov ecx, 0xe77dfc
mov ecx, dword [ecx]
mov eax, 0x67ca00
call eax
mov eax, dword [0x2f99464]
push 0xf
lea esi, [eax + 0x53c]
pop ebx
mov eax, dword [esi]
test eax, eax
je 0x100784d0
cmp dword [eax + 0xe00], 0x32
jne 0x100784d0
movzx ecx, word [eax + 0xf64]
cmp ecx, 0x50
jge 0x100784d0
push ecx
add eax, 0x64
push eax
lea eax, [ebp - 0x38]
push 0x1009bb30
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
push 3
lea edi, [ebp - 0x38]
call fcn.1003b429
add esp, 0x14
add esi, 4
dec ebx
jne 0x10078494
mov edi, 0x333bab2
cmp byte [edi - 2], 0
je 0x10078524
xor esi, esi
cmp dword [0x103d7374], esi
jle 0x10078509
mov eax, dword [0x103d736c]
push dword [eax + esi*4]
push edi
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10078524
inc esi
cmp esi, dword [0x103d7374]
jl 0x100784eb
push edi
mov esi, 0x103d736c
call fcn.100010da
push dword [edi + 0xb6]
mov esi, 0x103d7378
call fcn.1000117c
add edi, 0x1cc
lea eax, [edi - 2]
cmp eax, 0x348c950
jl 0x100784db
cmp dword [0x103d3204], 1
mov eax, dword [0x2fb7ac4]
mov dword [ebp - 0xa0], eax
jne 0x100786d2
cmp dword [0x1035eef4], 0
jne 0x100785c6
cmp dword [0x103c45ac], 1
jne 0x10078568
mov edi, 0x1008c9e0
call fcn.10068720
cmp dword [0x103c45b0], 1
jne 0x1007857b
mov edi, 0x1008c9e8
call fcn.10068720
cmp dword [0x103c45b4], 1
jne 0x1007858e
mov edi, 0x1008c9f0
call fcn.10068720
cmp dword [0x103c4788], 1
jne 0x100785a1
mov edi, 0x10097958
call fcn.10068720
cmp dword [0x103c4784], 1
jne 0x100785b4
mov edi, 0x1009a5e8
call fcn.10068720
call fcn.100688c1
cmp dword [0x103d3204], 1
jne 0x100786d2
cmp byte [0x1035ef10], 0
jne 0x100786d2
xor edi, edi
cmp dword [0x1035eef4], edi
jne 0x100786d2
push edi
call fcn.1006fb8f
cmp dword [0x2f92a08], 0x321
pop ecx
jne 0x10078606
mov eax, dword [0x2fb7ac4]
call fcn.1003c261
test al, al
je 0x100786d2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov esi, eax
sub eax, dword [0x1035eeb0]
cmp eax, dword [0x103c4480]
jb 0x1007864e
push 1
call fcn.1006fb8f
mov dword [0x1035eeb0], esi
mov eax, dword [0x2f99464]
pop ecx
cmp dword [eax + 0x548], edi
je 0x100787b0
call fcn.1006bd8e
jmp 0x100787b0
mov ebx, dword [sym.imp.MSVCR100.dll_strcmp]
lea esi, [ebp - 0x28]
mov ecx, edi
call fcn.10006368
mov eax, esi
push 0x10097500
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x100786be
mov eax, esi
push 0x10097530
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x100786be
mov eax, esi
push 0x1009753c
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x100786be
mov eax, esi
push 0x10097524
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x100786be
mov eax, esi
push 0x10097518
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x100786be
mov eax, esi
push 0x10097548
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x100786cc
lea eax, [ebp - 0x28]
push eax
call fcn.100064ae
pop ecx
test eax, eax
je 0x10078707
inc edi
cmp edi, 0x14
jl 0x10078654
xor edi, edi
cmp dword [0x103d3208], 1
jne 0x1007874d
mov eax, dword [0x2fb7ac4]
cmp dword [eax + 0x297c], edi
jne 0x1007874d
mov eax, dword [0x103d320c]
sub eax, edi
je 0x10078740
dec eax
je 0x10078726
dec eax
je 0x1007871e
dec eax
je 0x10078716
dec eax
jne 0x1007874d
push edi
push 0xf468e
jmp 0x10078746
mov dword [0x1035eeb0], 0xffff8ad0
jmp 0x100787b0
push edi
push 0xf468d
jmp 0x10078746
push edi
push 0x92c0f
jmp 0x10078746
push edi
push 0x92c0e
call fcn.1003b96b
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1035ecfc], eax
jmp 0x1007874d
push edi
push 0x92c0d
call fcn.1003b96b
pop ecx
pop ecx
cmp dword [0x103d3210], 1
jne 0x1007879a
mov esi, dword [ebp - 0xa0]
add esi, 0x4834
push esi
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
test eax, eax
je 0x1007879a
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x103c8bbc
call dword [sym.imp.mfc100.dll_Ordinal_6969]
lea eax, [ebp - 0x38]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x1007879a
lea eax, [ebp - 0x38]
push eax
call fcn.1003b7fe
pop ecx
cmp dword [0x103d3214], 1
jne 0x100787b0
cmp dword [0x34da460], edi
jne 0x100787b0
call fcn.1003bb6a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10082395
leave
ret