Function at 0x404ef9
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x32
push edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x3200000
mov dword [esp + 0x24], esi
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
lea eax, [esp + 0x3c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00405867
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
je 0x405128
test ebx, ebx
je 0x4050fd
push 0
push 0
push 0x1009
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3200000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualLock]
and dword [esp + 0x14], 0
cmp dword [ebp], 0
jle 0x4050f1
lea edi, [ebp + 0x9c]
mov esi, 0x439454
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov eax, dword [edi]
add eax, 0x134
add eax, ebp
push eax
call dword [esi - 4]
pop ecx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
push 0x3200000
add eax, 0x134
add eax, ebp
push ebx
push eax
call dword [esi]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
sbb esi, dword [esp + 0x34]
push 0
push 0x3200000
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.00401ac0
push esi
push edi
push edx
push eax
call fcn.00401b00
mov edi, edx
mov esi, eax
test edi, edi
jne 0x405015
cmp esi, 0x300000
ja 0x405015
mov ecx, esi
shr ecx, 0xa
push ecx
push str._u_KB_s
jmp 0x405020
mov eax, esi
shr eax, 0x14
push eax
push str._u_MB_s
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0xf8]
push 0x20
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push dword [eax - 0x14]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x38
lea eax, [esp + 0x48]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x40], 5
lea eax, [esp + 0xf8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
shrd esi, edi, 0xa
push eax
push 0
shr edi, 0xa
mov edi, dword [esp + 0x28]
push 0x104d
mov dword [esp + 0x6c], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
call esi
lea ecx, [esp + 0xb8]
mov dword [esp + 0x84], 1
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x7c]
push ecx
push eax
push 0x1074
push edi
call esi
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
inc eax
mov esi, dword [esp + 0x18]
add edi, 4
add esi, 0x1c
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
cmp eax, dword [ebp]
jl 0x404f92
mov edi, dword [esp + 0x24]
push 0x3200000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
mov esi, dword [sym.imp.msvcrt.dll_free]
push ebp
call esi
pop ecx
test ebx, ebx
je 0x40510f
push ebx
call esi
pop ecx
push 1
push 3
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
and dword [0x43a4a0], 0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret