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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x20], ebx
cmp byte [ebx], 0
je 0x41d2f4
mov ax, word [0x55ab34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x55ab1c]
mov edi, dword [0x55ab18]
mov dword [esp + 0xc], eax
mov eax, dword [0x55ab34]
mov byte [ebx], 1
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x55ab14]
and eax, 0x7fffffff
cmp eax, 0xc8
jbe 0x41d437
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edx, dword [esp + 0xc]
mov eax, edi
or eax, edx
jne 0x41d41f
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041d1a0
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov eax, dword [esp + 0x40]
mov dword [0x55ab18], eax
mov eax, dword [esp + 0x44]
mov dword [0x55ab1c], eax
mov eax, dword [esp + 0x28]
mov dword [0x55ab58], eax
mov eax, dword [esp + 0x2c]
mov dword [0x55ab5c], eax
mov eax, dword [esp + 0x30]
mov dword [0x55ab20], eax
mov eax, dword [esp + 0x34]
mov dword [0x55ab24], eax
mov eax, dword [esp + 0x38]
mov dword [0x55ab38], eax
mov eax, dword [esp + 0x3c]
mov dword [0x55ab3c], eax
mov eax, dword [esp + 0x48]
mov dword [0x55ab28], eax
mov eax, dword [esp + 0x4c]
mov dword [0x55ab2c], eax
mov eax, dword [esp + 0x50]
mov dword [0x55ab78], eax
mov eax, dword [esp + 0x54]
mov dword [0x55ab7c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ab34], 0
call eax
cmp byte [ebx], 0
mov dword [0x55ab14], eax
je 0x41d413
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebx], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub eax, edi
mov dword [esp + 0x18], eax
sbb ecx, edx
or eax, ecx
mov dword [esp + 0x14], ecx
jne 0x41d452
cmp byte [ebx], 0
je 0x41d443
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ax, word [esp + 0x10]
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041d1a0
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov esi, dword [esp + 0x30]
sub esi, dword [0x55ab38]
mov edi, dword [esp + 0x34]
sbb edi, dword [0x55ab3c]
sub esi, dword [0x55ab20]
sbb edi, dword [0x55ab24]
add esi, dword [esp + 0x38]
mov eax, esi
adc edi, dword [esp + 0x3c]
or eax, edi
je 0x41d4e8
mov ecx, dword [0x55ab58]
sub ecx, dword [esp + 0x28]
mov eax, dword [0x55ab5c]
sbb eax, dword [esp + 0x2c]
add ecx, esi
push 0
push 0x64
adc eax, edi
push eax
push ecx
call fcn.004f32a0
push edi
push esi
push edx
push eax
call fcn.004cc6d0
mov dword [esp + 0xc], eax
jmp 0x41d4f0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x48]
sub ecx, dword [0x55ab78]
mov ebx, dword [esp + 0x4c]
mov eax, ebx
sbb eax, dword [0x55ab7c]
sub ecx, dword [0x55ab28]
mov esi, dword [esp + 0x50]
sbb eax, dword [0x55ab2c]
add ecx, esi
mov edi, dword [esp + 0x54]
push 0
push 0x64
adc eax, edi
push eax
push ecx
call fcn.004f32a0
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edx
push eax
call fcn.004cc6d0
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x28]
mov dword [0x55ab58], eax
mov eax, dword [esp + 0x2c]
mov dword [0x55ab5c], eax
mov eax, dword [esp + 0x30]
mov dword [0x55ab20], eax
mov eax, dword [esp + 0x34]
mov dword [0x55ab24], eax
mov eax, dword [esp + 0x38]
mov dword [0x55ab38], eax
mov eax, dword [esp + 0x3c]
mov dword [0x55ab3c], eax
mov eax, dword [esp + 0x48]
mov dword [0x55ab28], eax
mov eax, dword [0x55ab30]
mov dword [0x55ab18], ecx
mov ecx, dword [esp + 0x44]
mov dword [0x55ab1c], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax*4 + 0x55ab40], ecx
lea ecx, [eax + 1]
mov dword [eax*4 + 0x55ab60], edx
mov eax, 0x66666667
imul ecx
mov dword [0x55ab7c], edi
mov edi, dword [0x55ab54]
sar edx, 1
inc edi
mov eax, edx
mov dword [0x55ab2c], ebx
shr eax, 0x1f
add eax, edx
mov dword [0x55ab78], esi
mov dword [0x55ab54], edi
mov edx, edi
lea eax, [eax + eax*4]
sub ecx, eax
mov dword [0x55ab30], ecx
cmp edi, 5
jle 0x41d5f5
mov edi, 5
mov dword [0x55ab54], edi
mov edx, edi
xor ebx, ebx
xor eax, eax
test edx, edx
jle 0x41d65f
cmp edx, 8
jb 0x41d65f
mov ecx, edx
and ecx, reloc.WS2_32.dll_getsockopt
jns 0x41d611
dec ecx
or ecx, 0xfffffff8
inc ecx
sub edx, ecx
xorps xmm2, xmm2
xorps xmm1, xmm1
nop dword [eax]
movups xmm0, xmmword [eax*4 + 0x55ab60]
paddd xmm2, xmm0
movups xmm0, xmmword [eax*4 + 0x55ab70]
add eax, 8
paddd xmm1, xmm0
cmp eax, edx
jl 0x41d620
paddd xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd ebx, xmm1
xor edx, edx
xor esi, esi
cmp eax, edi
jge 0x41d6a5
mov ecx, edi
sub ecx, eax
cmp ecx, 2
jl 0x41d695
lea ecx, [edi - 1]
nop dword [eax]
nop word [eax + eax]
add edx, dword [eax*4 + 0x55ab60]
add esi, dword [eax*4 + 0x55ab64]
add eax, 2
cmp eax, ecx
jl 0x41d680
cmp eax, edi
jge 0x41d6a0
add ebx, dword [eax*4 + 0x55ab60]
lea ecx, [esi + edx]
add ebx, ecx
mov eax, ebx
cdq
idiv edi
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x55ab34], edi
call eax
mov esi, dword [esp + 0x20]
mov dword [0x55ab14], eax
cmp byte [esi], 0
je 0x41d6d1
lea ecx, [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ax, di
mov byte [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret