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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push esi
push edi
and byte [ebp - 0x94], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x93]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x224]
push eax
push 0x202
call dword [0x4e34a8]
test eax, eax
je 0x41c0ed
xor eax, eax
jmp 0x41c455
push 1
push 0
push 0
push 0xff
push 3
push 2
call dword [0x4e35c8]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0xffffffff
jne 0x41c11e
call dword [0x4e3490]
xor eax, eax
jmp 0x41c455
mov dword [ebp - 0x228], 1
push 4
lea eax, [ebp - 0x228]
push eax
push 2
push 0
push dword [ebp - 0x278]
call dword [0x4e350c]
cmp eax, 0xffffffff
jne 0x41c15f
push dword [ebp - 0x278]
call dword [0x4e35bc]
call dword [0x4e3490]
xor eax, eax
jmp 0x41c455
push 0x10
push 0
lea eax, [ebp - 0x264]
push eax
call fcn.0041ecc0
add esp, 0xc
mov word [ebp - 0x264], 2
push dword [ebp + 0x10]
call dword [0x4e3528]
mov word [ebp - 0x262], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x260], eax
mov byte [ebp - 0x14], 0x45
push 0x28
call dword [0x4e3528]
mov word [ebp - 0x12], ax
mov word [ebp - 0x10], 1
and word [ebp - 0xe], 0
mov byte [ebp - 0xc], 0x80
mov byte [ebp - 0xb], 6
and word [ebp - 0xa], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
call dword [0x4e3528]
mov word [ebp - 0x28a], ax
and dword [ebp - 0x284], 0
mov byte [ebp - 0x280], 0x50
mov byte [ebp - 0x27f], 2
push 0x4000
call dword [0x4e3528]
mov word [ebp - 0x27e], ax
and word [ebp - 0x27a], 0
and dword [ebp - 0x254], 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp + 0x14]
cdq
push edx
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
call fcn.00423840
add eax, dword [ebp - 0x274]
adc edx, dword [ebp - 0x270]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], edx
push 1
pop eax
test eax, eax
je 0x41c43d
and word [ebp - 0x27c], 0
call fcn.0041eb20
cdq
mov ecx, 0x3e9
idiv ecx
add edx, 0x3e8
push edx
call dword [0x4e3528]
mov word [ebp - 0x28c], ax
call fcn.0041eb20
mov esi, eax
shl esi, 0x10
call fcn.0041eb20
or esi, eax
push esi
call dword [0x4e3528]
movzx eax, ax
mov dword [ebp - 0x288], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x290], eax
push dword [ebp - 0x290]
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
call dword [0x4e3524]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24c], eax
and byte [ebp - 0x248], 0
mov byte [ebp - 0x247], 6
push 0x14
call dword [0x4e3528]
mov word [ebp - 0x246], ax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x250], eax
push 0x20
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004205d0
add esp, 0xc
push 0x14
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004205d0
add esp, 0xc
push 0x34
lea eax, [ebp - 0x94]
push eax
call fcn.0040c9c4
pop ecx
pop ecx
mov word [ebp - 0x27c], ax
push 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004205d0
add esp, 0xc
push 0x14
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004205d0
add esp, 0xc
push 4
push 0
lea eax, [ebp - 0x6c]
push eax
call fcn.0041ecc0
add esp, 0xc
push 0x28
lea eax, [ebp - 0x94]
push eax
call fcn.0040c9c4
pop ecx
pop ecx
mov word [ebp - 0xa], ax
push 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004205d0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x264]
push eax
push 0
push 0x28
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x278]
call dword [0x4e3588]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x41c3fc
call dword [0x4e34c4]
push eax
push str._SYN_:_Send_error:___d_.
lea eax, [ebp - 0x58]
push eax
call fcn.0041ee40
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
call fcn.0040a845
pop ecx
push dword [ebp - 0x278]
call dword [0x4e35bc]
call dword [0x4e3490]
xor eax, eax
jmp 0x41c455
mov eax, dword [ebp - 0x254]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x268]
jl 0x41c438
jg 0x41c436
mov eax, dword [ebp - 0x274]
cmp eax, dword [ebp - 0x26c]
jb 0x41c438
jmp 0x41c43d
jmp 0x41c251
push dword [ebp - 0x278]
call dword [0x4e35bc]
call dword [0x4e3490]
mov eax, dword [ebp - 0x254]
pop edi
pop esi
leave
ret