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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c641e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
push edi
or edi, 0xffffffff
cmp eax, edi
mov dword [ebp - 0x20], esi
jne 0x41e4de
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41e8ca
push ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov eax, dword [esi + 0x3a0]
test eax, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
je 0x41e5eb
cmp dword [eax], 0
je 0x41e5eb
add ebx, 0xfffffc18
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x20]
mov ebx, 0xffffff9c
mov edx, dword [ebp - 0x14]
xor eax, eax
cmp edx, dword [ecx + ebx*4 + 0x6d4]
ja 0x41e538
add eax, dword [ecx + ebx*4 + 0x544]
inc ebx
jne 0x41e528
mov dword [ebp - 0x1c], eax
mov edi, dword [0x6613bc]
mov edx, dword [edi + 0x5d0]
cmp edx, 0x64
mov ecx, dword [esi + 0x3a0]
mov ecx, dword [ecx]
jae 0x41e573
mov eax, dword [esi + 0x3a4]
test eax, eax
jne 0x41e573
imul edx, ecx
mov eax, 0x51eb851f
mul edx
shr edx, 5
mov dword [ebp - 0x10], edx
mov ecx, edx
mov eax, dword [0x661468]
xor ebx, ebx
cmp eax, ebx
je 0x41e590
lea edx, [ecx + ecx*2]
mov eax, 0xcccccccd
mul edx
shr edx, 2
mov dword [ebp - 0x10], edx
mov ecx, edx
cmp dword [edi + 0x55c], ebx
je 0x41e5ab
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
jb 0x41e5a4
mov dword [ebp - 0x10], ebx
jmp 0x41e5e5
sub ecx, eax
mov dword [ebp - 0x10], ecx
jmp 0x41e5e5
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 0x6d8]
mov edx, edi
sub edx, eax
imul edx, ecx
mov eax, 0x10624dd3
mul edx
mov eax, dword [ebp - 0x1c]
shr edx, 6
cmp eax, ecx
jb 0x41e5d3
mov dword [ebp - 0x10], ebx
mov ecx, ebx
jmp 0x41e5d8
sub ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edx
jb 0x41e5df
mov dword [ebp - 0x10], edx
mov dword [esi + 0x6d8], edi
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
test byte [0x652e7c], 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edx
jne 0x41e623
or dword [0x652e7c], 1
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x652e78], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x6613bc]
mov eax, dword [eax + 0x1d4]
test eax, eax
jne 0x41e641
cmp edi, 0xfffffff
jbe 0x41e645
mov eax, 0xfffffff
jmp 0x41e647
cmp eax, edi
jb 0x41e647
mov eax, edi
mov ecx, dword [0x652e78]
add ecx, 0x3e8
cmp ebx, ecx
jae 0x41e662
mov eax, dword [0x642570]
cmp edi, eax
jb 0x41e672
jmp 0x41e66d
mov dword [0x642570], eax
mov dword [0x652e78], ebx
mov dword [ebp - 0x10], eax
mov edi, eax
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x41e69f
mov edx, dword [eax]
mov ecx, dword [eax + 8]
add edx, 0x3e8
cmp ebx, edx
jae 0x41e68d
sub ecx, dword [eax + 4]
jmp 0x41e696
mov dword [eax + 4], 0
mov dword [eax], ebx
cmp edi, ecx
jb 0x41e69f
mov dword [ebp - 0x10], ecx
mov edi, ecx
cmp edi, 0x64
jae 0x41e6b5
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x41e6b5
mov dword [ebp - 0x10], 0x64
mov edi, dword [ebp - 0x10]
mov eax, dword [0x6614e4]
test eax, eax
je 0x41e703
push 0
call fcn.0057bbd0
cdq
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x24], edx
call fcn.0057b9c2
add esp, 8
test eax, eax
je 0x41e703
mov ecx, dword [eax + 8]
test ecx, ecx
jl 0x41e703
lea ecx, [ebp - 0x28]
push ecx
call fcn.0057b9c2
add esp, 4
test eax, eax
je 0x41e6f9
cmp dword [eax + 8], 9
jge 0x41e703
mov dword [ebp - 0x10], 0xffffffff
mov edi, dword [ebp - 0x10]
mov ebx, dword [esi + 0x72c]
test ebx, ebx
je 0x41e73c
mov edx, dword [esi + 0x50]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 0x734]
cmp eax, ecx
jbe 0x41e73c
mov edx, dword [edx + 8]
push ebx
sub eax, ecx
add edx, ecx
push eax
push edx
push edx
call fcn.00473410
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0xc]
add esp, 0x10
mov dword [esi + 0x734], ecx
mov eax, dword [esi + 0x724]
test eax, eax
je 0x41e77b
mov dword [ebp - 0x10], 0xffffffff
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41e833
cmp edi, eax
jae 0x41e761
mov eax, edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41e785
mov edx, dword [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x48]
push edx
push eax
call sub.TouDll.dll_int___cdecl_TouSend_unsigned_int__char___int_
add esp, 0xc
jmp 0x41e793
test edi, edi
je 0x41e830
jmp 0x41e750
mov edx, dword [esi]
push 0
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, esi
call dword [edx + 4]
mov ebx, eax
test ebx, ebx
jle 0x41e830
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add dword [esi + 0x710], ebx
lea edi, [esi + 0x714]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
lea ecx, [ebp - 0x30]
push ecx
push edx
push eax
mov ecx, edi
mov dword [ebp - 0x24], eax
call fcn.0041c2f0
push 1
mov ecx, edi
mov dword [ebp - 0x20], eax
call fcn.0041ddc0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov edx, dword [eax + 4]
mov dword [edx], eax
mov eax, dword [0x642570]
cmp ebx, eax
jg 0x41e7f7
sub eax, ebx
mov dword [0x642570], eax
jmp 0x41e801
mov dword [0x642570], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x41e80b
add dword [eax + 4], ebx
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add edi, ebx
sub edx, ebx
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edx
je 0x41e828
sub eax, ebx
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x41e74d
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x50]
mov ebx, dword [ecx + 0xc]
sub ebx, eax
je 0x41e8c9
push ebx
call fcn.00412be0
mov edx, dword [esi + 0x734]
mov eax, dword [esi + 0x40]
sub edx, ebx
cmp ebx, eax
mov dword [esi + 0x734], edx
jbe 0x41e865
mov dword [esi + 0x40], 0
jmp 0x41e86a
sub eax, ebx
mov dword [esi + 0x40], eax
mov ecx, dword [ebp - 0x18]
mov edi, dword [esi + 0x6dc]
mov eax, ecx
sub eax, edi
cmp eax, 0x64
mov dword [esi + 0x3ac], ecx
jae 0x41e893
mov ecx, dword [esi + 0x6d4]
lea eax, [esi + ecx*4 + 0x3b4]
add dword [eax], ebx
jmp 0x41e8c3
mov eax, dword [esi + 0x6d4]
xor edx, edx
inc eax
mov edi, 0x64
div edi
mov dword [esi + 0x6d4], edx
mov dword [esi + edx*4 + 0x544], ecx
mov edx, dword [esi + 0x6d4]
mov dword [esi + edx*4 + 0x3b4], ebx
mov dword [esi + 0x6dc], ecx
add dword [esi + 0x3a8], ebx
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret