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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa484
call fcn.00420070
mov eax, dword [0x428214]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x407b65
xor eax, eax
jmp 0x407f1d
push esi
push eax
call sub.MSVCRT.dll_strlen
mov ecx, dword [0x428214]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
add ecx, eax
inc dword [esi + 0x118]
mov dword [esp], 0x3c4
lea eax, [ebp - 0x440]
push ebx
push eax
mov dword [ebp - 0x14], ecx
call sub.MSVCRT.dll_memset
push 0x38
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x3c]
push str.200_OK
push eax
mov dword [ebp - 0xc], ebx
call fcn.004059ea
mov eax, dword [esi + 0x1c]
push dword [0x428280]
neg eax
sbb eax, eax
push str._.4000s_r_n
and eax, 0xf
add eax, 0x48
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x2484]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x2484]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x44], 1
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x1484]
mov dword [ebp - 0x60], eax
mov eax, dword [esi + 0x118]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 0x43], 1
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], 2
call fcn.0041ee54
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x30]
cmp eax, ebx
jne 0x407c41
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x24]
dec eax
mov dword [ebp - 0x24], ecx
neg eax
sbb eax, eax
and ax, 0xfc19
add eax, 0x3e8
mov ecx, eax
dec eax
test ecx, ecx
mov dword [ebp - 8], eax
je 0x407e82
push edi
mov edi, dword [0x428214]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], ebx
cmp edi, dword [ebp - 0x14]
jae 0x407e4b
cmp dword [ebp - 0x18], ebx
jne 0x407e07
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x407cc2
mov cl, byte [edi]
push 1
and ecx, 0x1f
pop edx
shl edx, cl
test eax, edx
je 0x407e07
mov cl, byte [edi + 1]
push 1
and ecx, 0x1f
pop eax
shl eax, cl
mov ecx, dword [ebp - 0x1c]
test ecx, eax
je 0x407e07
test byte [ebp - 0x424], 1
je 0x407cd8
lea eax, [ebp - 0x440]
push eax
call fcn.00414341
pop ecx
mov eax, dword [esi + 0x20]
add eax, edi
cmp eax, dword [ebp - 0x14]
jbe 0x407ce5
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
je 0x407d18
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x43c], ecx
add eax, 0x64
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x428], eax
call fcn.00412e4e
test eax, eax
mov ebx, eax
je 0x407e05
mov ecx, dword [esi + 0x28]
and dword [ebp - 0x434], 0
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x43c], ecx
add eax, 0x64
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x428], eax
call fcn.00412e4e
test byte [ebp - 0x424], 0x10
je 0x407d62
mov dword [ebp - 0x18], 1
xor ecx, ecx
cmp eax, ecx
je 0x407e05
cmp dword [esi + 0x30], ecx
je 0x407d79
cmp eax, ebx
jne 0x407e05
sub eax, edi
jns 0x407d7f
xor eax, eax
mov edx, dword [ebp + 8]
add edx, eax
cmp edx, 0x7fff
jge 0x407e49
cmp eax, 1
jl 0x407d98
mov dword [ebp - 0x10], ecx
add edi, eax
inc dword [ebp - 0xc]
cmp dword [esi + 0x18], ecx
je 0x407dcc
push 0x8000
lea eax, [ebp - 0xa484]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x440]
push dword [esi + 0x2c]
push eax
call fcn.00411d50
add esp, 0x14
test eax, eax
jle 0x407df5
add dword [ebp + 8], eax
jmp 0x407df5
push 0x13
lea eax, [ebp - 0xa484]
push str._Match_Successful_
push eax
call sub.MSVCRT.dll_memcpy
and dword [ebp - 0x10], 0
lea eax, [ebp - 0xa484]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x10
mov dword [ebp + 8], eax
test byte [ebp - 0x424], 0x10
je 0x407e05
mov dword [ebp - 0x18], 1
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
je 0x407e27
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
mov al, byte [edi]
cmp dword [ebp + 8], 0x7fff
mov byte [ebp + ecx - 0xa484], al
jge 0x407e4b
inc edi
jmp 0x407e2e
mov dword [ebp - 0x10], 1
cmp dword [esi + 0x1c], ebx
je 0x407e40
test byte [ebp - 0x424], 8
je 0x407c80
and byte [ebp - 0x424], 0xf7
jmp 0x407e4b
xor ebx, ebx
test byte [ebp - 0x424], 0x20
je 0x407e57
mov dword [ebp - 8], ebx
inc dword [ebp - 4]
test byte [ebp - 4], 7
jne 0x407e73
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x20]
cmp eax, 0x1770
jbe 0x407e73
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
dec dword [ebp - 8]
test eax, eax
jne 0x407c6d
pop edi
lea eax, [ebp - 0x440]
push eax
call fcn.004143f8
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x20]
cmp dword [esi + 0x24], ebx
mov dword [ebp - 0x1c], eax
je 0x407ecd
mov eax, dword [ebp - 0xc]
push ecx
fild dword [ebp - 0x1c]
cdq
idiv dword [ebp - 4]
fidiv dword [ebp - 4]
push ecx
fstp qword [esp]
push eax
lea eax, [ebp - 0xa484]
push dword [ebp - 0x28]
push str.Profile_Results..._r_n_r_nSample_Text:__d_bytes_r_nSuccessful_Matches:__d_r_nAvg_time:__f__milliseconds__r_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
jmp 0x407ef5
cmp dword [ebp - 0xc], ebx
je 0x407edf
mov eax, dword [ebp + 8]
and byte [ebp + eax - 0xa484], 0
jmp 0x407ef5
push 0xb
lea eax, [ebp - 0xa484]
push str._No_Match_
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0xa484]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x3c]
push eax
call fcn.00405a3d
lea eax, [ebp - 0x40]
push eax
call fcn.0040f781
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
pop esi
pop ebx
leave
ret