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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff2ca
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x1014d094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 0
movzx eax, word [esi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x13c], eax
jbe 0x100ea7dd
movzx ebx, ax
mov dword [ebp - 0x134], ebx
test ebx, ebx
je 0x100ea6eb
xor ecx, ecx
mov byte [ebp - 0x12c], 0x20
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x130], ebx
mov eax, dword [esi + 0x340]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], 0x800
mov ebx, dword [eax + ecx + 4]
mov edi, dword [eax + ecx + 8]
lea eax, [ebp - 0x117]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 1
push 1
push 8
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x128]
call fcn.100dd880
push 1
push 0
push edi
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push 9
push 3
push dword [ebp - 0x128]
push dword [ebp - 0x11c]
call fcn.100e62e0
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x118], 0
je 0x100ea6c6
cmp dword [ebp - 0x124], 0x800
jle 0x100ea6c6
push dword [ebp - 0x11c]
call fcn.10062c3b
add esp, 4
mov ecx, dword [ebp - 0x144]
add ecx, 0x840
sub dword [ebp - 0x130], 1
mov dword [ebp - 0x144], ecx
jne 0x100ea620
mov ebx, dword [ebp - 0x134]
cmp byte [0x1017d2d1], 0
jne 0x100ea706
push 0x1017d2f8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov byte [0x1017d2d1], 1
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0x3e8
push dword [ebp - 0x134]
push dword [ebp - 0x138]
call fcn.10055560
push dword [0x1017d2fc]
push dword [0x1017d2f8]
push edx
push eax
call fcn.1007e110
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x130], eax
nop word [eax + eax]
xor ecx, ecx
test ebx, ebx
je 0x100ea7d7
mov eax, dword [esi + 0x340]
cmp byte [eax], 0
jne 0x100ea771
inc ecx
add eax, 0x840
cmp ecx, ebx
jb 0x100ea760
jmp 0x100ea7d7
push 0xf
call edi
cmp byte [0x1017d2d1], 0
jne 0x100ea790
push 0x1017d2f8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov byte [0x1017d2d1], 1
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0x3e8
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.10055560
push dword [0x1017d2fc]
push dword [0x1017d2f8]
push edx
push eax
call fcn.1007e110
sub eax, dword [ebp - 0x130]
cmp eax, dword [ebp + 8]
jb 0x100ea750
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
cmp dword [esi + 0x3c0], edi
jbe 0x100ea808
nop word [eax + eax]
mov eax, dword [esi + 0x3bc]
push esi
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x14]
inc edi
cmp edi, dword [esi + 0x3c0]
jb 0x100ea7f0
cmp byte [esi + 4], 0
jne 0x100ea812
mov byte [esi + 4], 1
cmp byte [esi + 5], 0
je 0x100ea822
push 0xf
call ebx
cmp byte [esi + 5], 0
jne 0x100ea818
mov eax, dword [ebp - 0x13c]
movzx ebx, ax
test ebx, ebx
je 0x100ea865
xor edi, edi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0x340]
mov byte [edi + eax], 0
mov ecx, dword [esi + 0x340]
add ecx, 0x18
add ecx, edi
call fcn.100ee270
add edi, 0x840
sub ebx, 1
jne 0x100ea840
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x100ea8a2
cmp eax, 0x200
jbe 0x100ea898
push dword [esi + 0x344]
call fcn.10054445
add esp, 4
mov dword [esi + 0x34c], 0
mov dword [esi + 0x344], 0
mov dword [esi + 0x348], 0
xor eax, eax
mov word [esi + 8], ax
mov eax, dword [esi + 0x9e0]
cmp eax, dword [esi + 0x9ec]
je 0x100ea91f
cmp byte [eax + 4], 0
je 0x100ea91f
mov ecx, dword [esi + 0x9e0]
mov eax, dword [ecx + 8]
mov dword [esi + 0x9e0], eax
test ecx, ecx
je 0x100ea91f
nop
mov eax, dword [esi]
push dword [ecx]
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi + 0x9e8]
inc dword [esi + 0x9f0]
mov byte [eax + 4], 0
mov eax, dword [esi + 0x9e8]
mov eax, dword [eax + 8]
mov dword [esi + 0x9e8], eax
mov eax, dword [esi + 0x9e0]
cmp eax, dword [esi + 0x9ec]
je 0x100ea91f
cmp byte [eax + 4], 0
je 0x100ea91f
mov ecx, dword [esi + 0x9e0]
mov eax, dword [ecx + 8]
mov dword [esi + 0x9e0], eax
test ecx, ecx
jne 0x100ea8d0
mov eax, dword [esi + 0x9e8]
mov edx, 1
mov eax, dword [eax + 8]
mov dword [esi + 0x9ec], eax
mov eax, dword [esi + 0x9e8]
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x9e8]
cmp eax, ecx
je 0x100ea954
mov eax, dword [eax + 8]
inc edx
mov ecx, dword [esi + 0x9e8]
cmp eax, ecx
jne 0x100ea946
cmp edx, 8
jle 0x100ea98a
lea ebx, [edx - 8]
nop dword [eax]
mov eax, dword [esi + 0x9ec]
push 1
mov edi, dword [eax + 8]
push dword [esi + 0x9ec]
call fcn.10054ab7
add esp, 8
mov dword [esi + 0x9ec], edi
sub ebx, 1
jne 0x100ea960
mov ecx, dword [esi + 0x9e8]
mov eax, dword [esi + 0x9ec]
xor edi, edi
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x9e8]
mov dword [esi + 0x9ec], eax
mov dword [esi + 0x9e0], eax
mov dword [esi + 0x9e4], eax
mov dword [esi + 0x9f4], 0
mov dword [esi + 0x9f0], 0
mov ecx, dword [esi + 0x9fc]
mov edx, dword [esi + 0xa00]
cmp ecx, edx
ja 0x100ea9d5
sub edx, ecx
jmp 0x100ea9df
mov eax, dword [esi + 0xa04]
sub eax, ecx
add edx, eax
cmp edi, edx
jae 0x100eaa27
mov eax, dword [esi]
mov ebx, dword [esi + 0xa04]
mov edx, dword [esi + 0x9f8]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x13c], eax
lea eax, [ecx + edi]
cmp eax, ebx
jb 0x100eaa16
sub ecx, ebx
add ecx, edi
push dword [edx + ecx*4]
lea eax, [edx + ecx*4]
mov ecx, esi
call dword [ebp - 0x13c]
inc edi
jmp 0x100ea9c1
push dword [edx + eax*4]
lea eax, [edx + eax*4]
mov ecx, esi
call dword [ebp - 0x13c]
inc edi
jmp 0x100ea9c1
mov eax, dword [esi + 0xa04]
test eax, eax
je 0x100eaa62
cmp eax, 0x20
jbe 0x100eaa4e
push dword [esi + 0x9f8]
call fcn.10054445
add esp, 4
mov dword [esi + 0xa04], 0
mov dword [esi + 0x9fc], 0
mov dword [esi + 0xa00], 0
mov eax, dword [esi + 0x828]
mov byte [esi + 0x839], 0
cmp eax, 0xffffffff
je 0x100eaa85
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x828], 0xffffffff
mov ecx, esi
call fcn.100e5e10
mov dword [esi + 0x370], 0
mov dword [esi + 0x36c], 0
mov eax, dword [esi + 0x3c8]
cmp eax, dword [esi + 0x3d4]
je 0x100eab04
cmp byte [eax + 0x11c], 0
je 0x100eab04
mov ecx, dword [esi + 0x3c8]
mov eax, dword [ecx + 0x120]
mov dword [esi + 0x3c8], eax
test ecx, ecx
je 0x100eab04
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x100eaadd
push eax
call fcn.10054445
add esp, 4
mov eax, dword [esi + 0x3d0]
inc dword [esi + 0x3d8]
mov byte [eax + 0x11c], 0
mov eax, dword [esi + 0x3d0]
mov eax, dword [eax + 0x120]
mov dword [esi + 0x3d0], eax
jmp 0x100eaaa0
mov eax, dword [esi + 0x3d0]
mov edx, 1
mov eax, dword [eax + 0x120]
mov dword [esi + 0x3d4], eax
mov eax, dword [esi + 0x3d0]
mov eax, dword [eax + 0x120]
mov ecx, dword [esi + 0x3d0]
cmp eax, ecx
je 0x100eab42
mov eax, dword [eax + 0x120]
inc edx
mov ecx, dword [esi + 0x3d0]
cmp eax, ecx
jne 0x100eab31
cmp edx, 8
jle 0x100eab7d
lea ebx, [edx - 8]
nop word [eax + eax]
mov eax, dword [esi + 0x3d4]
push 1
mov edi, dword [eax + 0x120]
push dword [esi + 0x3d4]
call fcn.10054ab7
add esp, 8
mov dword [esi + 0x3d4], edi
sub ebx, 1
jne 0x100eab50
mov ecx, dword [esi + 0x3d0]
mov eax, dword [esi + 0x3d4]
mov dword [ecx + 0x120], eax
mov eax, dword [esi + 0x3d0]
mov dword [esi + 0x3d4], eax
mov dword [esi + 0x3c8], eax
mov dword [esi + 0x3cc], eax
mov dword [esi + 0x3dc], 0
mov dword [esi + 0x3d8], 0
mov eax, dword [esi + 0x340]
mov dword [esi + 0x340], 0
test eax, eax
je 0x100eabf8
push 0x1004bc80
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 0x840
push eax
call fcn.10054683
imul eax, dword [esi], 0x840
add eax, 4
push eax
push esi
call fcn.100550a0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054437
mov esp, ebp
pop ebp
ret 8