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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e2a2f
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x11279148]
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 eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp + 0x1c]
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2f0], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x2ac], eax
add eax, 0x24
push eax
mov dword [ebp - 0x2c4], edi
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2ec], edx
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x318], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
push 0x1fe
lea edx, [ebp - 0x28e]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 4], ebx
mov word [ebp - 0x290], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x10
call fcn.111709c0
mov esi, eax
add esp, 4
mov dword [ebp - 0x294], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x110d27cf
push 0x14
mov dword [esi + 8], ebx
call fcn.111709c0
add esp, 4
cmp eax, ebx
je 0x110d279b
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov ecx, dword [esi + 4]
mov byte [ecx + 0x10], 1
mov edx, dword [esi + 4]
mov byte [edx + 0x11], 1
mov dword [ebp - 0x29c], esi
jmp 0x110d27d5
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2b8], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1126446c
lea ecx, [ebp - 0x2e4]
push ecx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
mov dword [ebp - 0x29c], ebx
lea ebx, [ebp - 0x350]
push 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2a8], 0
call fcn.111709c0
mov esi, eax
add esp, 4
mov dword [ebp - 0x294], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x110d287f
push 0x14
mov dword [esi + 8], 0
call fcn.111709c0
add esp, 4
test eax, eax
je 0x110d2847
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov edx, dword [esi + 4]
mov byte [edx + 0x10], 1
mov eax, dword [esi + 4]
mov dword [ebp - 0x2b0], esi
mov byte [eax + 0x11], 1
xor esi, esi
jmp 0x110d2887
lea ecx, [ebp - 0x2b8]
push ecx
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 0x2b8], 0
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1126446c
lea edx, [ebp - 0x2e4]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
xor esi, esi
mov dword [ebp - 0x2b0], esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x50]
push esi
push esi
mov dword [ebp - 0x2d0], eax
push str.maxslaves
and eax, 1
push str._License
mov byte [ebp - 4], 0
mov dword [ebp + 0x10], eax
mov dword [0x1127beb4], esi
call fcn.110bbc00
mov ecx, dword [edi + 0x50]
push esi
push esi
push str.AccelerateBrowse
push 0x11218778
mov dword [ebp - 0x2c0], eax
call fcn.110bbc00
test eax, eax
je 0x110d2901
mov ecx, dword [edi + 0x50]
push esi
push esi
push str.Delay
push 0x11218778
call fcn.110bbc00
cmp eax, 0x1e
jge 0x110d2901
mov ecx, dword [edi + 0x50]
push 3
push 1
push str.Delay
push 0x11218778
call fcn.110bbd40
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x2d4], esi
call fcn.111b8710
cmp eax, 0x14
jl 0x110d294b
mov ecx, dword [edi + 0x50]
push esi
push esi
push str.UseNCS
push str.TCPIP
call fcn.110bbc00
mov ecx, dword [edi + 0x50]
push esi
push esi
push str.UseWebSock
push 0x112187c0
mov dword [ebp - 0x2a0], eax
call fcn.110bbc00
mov dword [ebp - 0x2d4], eax
xor edi, edi
mov edx, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x2a4]
test ecx, ecx
je 0x110d2983
movzx edi, byte [ecx]
inc ecx
mov dword [ebp - 0x298], edi
mov dword [ebp - 0x2a4], ecx
cmp edi, 2
jne 0x110d2995
test edx, edx
je 0x110d29a1
mov edi, 3
mov dword [ebp - 0x298], edi
jmp 0x110d29a1
inc edi
mov dword [ebp - 0x298], edi
cmp edi, 2
jne 0x110d2995
test edx, edx
jne 0x110d2959
jmp 0x110d29a1
lea eax, [edi - 1]
cmp eax, 0xc
ja 0x110d2b91
mov esi, dword [ebp - 0x2ac]
mov eax, edi
imul eax, eax, 0x10fc
cmp dword [eax + esi - 0xfe8], 0
lea eax, [eax + esi - 0xfe8]
mov dword [ebp - 0x294], eax
je 0x110d2959
cmp edi, 3
jne 0x110d2a11
test edx, edx
jne 0x110d29d7
cmp dword [ebp - 0x2d4], edx
je 0x110d2a11
mov esi, dword [ebp - 0x2b4]
push 0x5c
push esi
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 8
test eax, eax
jne 0x110d2a17
push esi
lea ecx, [ebp - 0x290]
push str.1_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea esi, [ebp - 0x290]
add esp, 0xc
mov dword [ebp - 0x2b4], esi
jmp 0x110d2a17
mov esi, dword [ebp - 0x2b4]
mov dword [ebp - 0x2d8], 0
cmp edi, 3
je 0x110d2a43
push 0x5c
push esi
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 8
test eax, eax
je 0x110d2a43
sub eax, esi
add eax, 2
sar eax, 1
mov dword [ebp - 0x2d8], eax
mov esi, dword [ebp - 0x2c4]
mov ecx, dword [esi + 0x50]
push 0
push 0
push str.ConnectToSIS
push str.Startup
call fcn.110bbc00
test eax, eax
je 0x110d2a81
mov ecx, dword [esi + 0x50]
push 0
push 0
push str.SISClassId
push str.Startup
call fcn.110bbc00
mov dword [ebp - 0x2b8], eax
jmp 0x110d2a8b
mov dword [ebp - 0x2b8], 0
push 0x60
call fcn.111709c0
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c8], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x110d2b5a
mov eax, dword [ebp - 0x2c4]
mov edx, dword [eax + 0x54]
mov edi, dword [ebp - 0x2ac]
mov ebx, dword [eax + 0x50]
push 0
push 0
mov ecx, esi
add edi, 0xde70
mov dword [ebp - 0x2dc], edx
call fcn.11170ad0
xor eax, eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2d8]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x2dc]
mov dword [esi + 0x24], eax
lea eax, [ecx + edx*2]
mov ecx, dword [ebp - 0x2d0]
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x294]
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp - 0x298]
mov dword [esi + 0x58], edx
mov edx, dword [ebp - 0x2b8]
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x308]
push edi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [ebp - 0x298]
mov ebx, dword [ebp - 0x2cc]
mov ecx, esi
jmp 0x110d2b5c
xor ecx, ecx
mov edx, dword [ebp - 0x2ac]
push 0
push 0
push 0x110cf720
mov byte [ebp - 4], 0
mov dword [edx + edi*4 + 0xddf8], ecx
call fcn.11170830
mov dword [ebx], eax
add ebx, 4
inc dword [ebp - 0x2a8]
mov dword [ebp - 0x2cc], ebx
jmp 0x110d294d
mov eax, dword [ebp - 0x2c4]
mov edx, dword [ebp - 0x2ac]
cmp dword [edx + 0xde70], 0
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x2a0], 0
je 0x110d2e83
lea ecx, [ecx]
mov edi, dword [ebp - 0x298]
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
xor ebx, ebx
push ebx
push ebx
mov ecx, edi
call edx
test eax, eax
jne 0x110d2c4b
cmp dword [ebp + 0x10], ebx
je 0x110d2c4b
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x29c]
mov esi, dword [ecx + 8]
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, ebx
je 0x110d2c4b
mov esi, dword [ebp - 0x2a0]
cmp esi, ebx
jne 0x110d2c1b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0x2a0], esi
cmp dword [ebp - 0x2a8], 1
jne 0x110d2c30
sub esi, 0x2710
mov dword [ebp - 0x2a0], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x3e8
jb 0x110d2c4b
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push ebx
push 1
mov ecx, edi
call edx
mov ecx, dword [ebp - 0x2a8]
push 0x32
push 1
lea eax, [ebp - 0x350]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x10
call fcn.111709c0
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c8], esi
mov byte [ebp - 4], 4
cmp esi, ebx
je 0x110d2cc6
push 0x14
mov dword [esi + 8], ebx
call fcn.111709c0
add esp, 4
cmp eax, ebx
je 0x110d2ef0
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 4]
mov byte [ecx + 0x11], 1
mov dword [ebp - 0x2a4], esi
jmp 0x110d2ccc
mov dword [ebp - 0x2a4], ebx
mov edx, dword [ebp - 0x29c]
mov eax, dword [edx + 4]
mov edi, dword [eax]
mov byte [ebp - 4], 0
cmp edi, eax
je 0x110d2e31
mov ebx, dword [edi + 0xc]
mov ecx, dword [ebp - 0x2b0]
mov esi, dword [ecx + 4]
lea eax, [ebp - 0x294]
push eax
lea edx, [ebp - 0x2d0]
push edx
mov dword [ebp - 0x294], ebx
call fcn.110cd330
cmp dword [eax], esi
jne 0x110d2ddf
mov eax, dword [ebp - 0x2c0]
test eax, eax
je 0x110d2d33
mov ecx, dword [ebp - 0x2b0]
cmp dword [ecx + 8], eax
jb 0x110d2d33
call fcn.111b8710
cmp eax, 0x14
jne 0x110d2e31
push 0x130
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x110d2d58
push ebx
mov ecx, eax
call fcn.1107f520
jmp 0x110d2d5a
xor eax, eax
mov esi, dword [ebp - 0x2a4]
push 0
lea edx, [ebp - 0x294]
push edx
mov ecx, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x294], eax
call fcn.1106bcd0
push eax
lea eax, [ebp - 0x2e0]
push eax
mov ecx, esi
call fcn.110cd490
push 0x130
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x110d2dae
push ebx
mov ecx, eax
call fcn.1107f520
jmp 0x110d2db0
xor eax, eax
mov esi, dword [ebp - 0x2b0]
push 0
lea ecx, [ebp - 0x294]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x294], eax
call fcn.1106bcd0
push eax
lea edx, [ebp - 0x2bc]
push edx
mov ecx, esi
call fcn.110cd490
cmp byte [edi + 0x11], 0
jne 0x110d2e22
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x11], 0
jne 0x110d2e04
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
jne 0x110d2e00
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
je 0x110d2df6
mov edi, ecx
jmp 0x110d2e22
mov eax, dword [edi + 4]
cmp byte [eax + 0x11], 0
jne 0x110d2e20
lea ecx, [ecx]
cmp edi, dword [eax + 8]
jne 0x110d2e20
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0x110d2e10
mov edi, eax
mov eax, dword [ebp - 0x29c]
cmp edi, dword [eax + 4]
jne 0x110d2ce3
lea ecx, [ebp - 0x308]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x2a4]
cmp dword [esi + 8], 0
jbe 0x110d2e61
mov eax, dword [ebp - 0x2ec]
test eax, eax
je 0x110d2e61
mov edx, dword [ebp - 0x2f0]
push esi
push edx
call eax
add esp, 8
push esi
call fcn.110d1660
mov eax, dword [ebp - 0x2ac]
add esp, 4
cmp dword [eax + 0xde70], 0
jne 0x110d2bc0
mov ebx, dword [ebp - 0x2cc]
mov esi, dword [ebp - 0x2a8]
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x350]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test esi, esi
je 0x110d2ebc
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x2a8]
jmp 0x110d2eb0
mov ecx, dword [ebx - 4]
sub ebx, 4
push ecx
call esi
dec edi
jne 0x110d2eb0
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edi, dword [ebp - 0x29c]
cmp dword [edi + 8], 0
je 0x110d2f24
cmp dword [ebp + 0x10], 0
je 0x110d2f24
mov esi, dword [ebp - 0x298]
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push 0
push 2
mov ecx, esi
call edx
jmp 0x110d2f2a
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x314]
mov dword [ebp - 0x294], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x1126446c
lea edx, [ebp - 0x314]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
mov esi, dword [ebp - 0x298]
mov eax, dword [0x1127beb4]
cmp eax, 1
jne 0x110d2f66
mov eax, dword [ebp - 0x2b4]
test eax, eax
je 0x110d2f55
cmp word [eax], 0x30
je 0x110d2f55
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 0x30
push 0x1949
push esi
call ecx
jmp 0x110d2f7a
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0x30
push 0x1948
push esi
call eax
jmp 0x110d2f7a
cmp eax, 0x13
jne 0x110d2f7d
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push 0x30
push 0x196e
push esi
call edx
add esp, 0xc
mov eax, dword [ebp - 0x2b0]
push eax
call fcn.110d1660
add esp, 4
cmp dword [ebp - 0x2c0], 0
je 0x110d30b8
mov ebx, dword [edi + 8]
mov edx, dword [edi + 4]
mov esi, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x2b8], 0
mov word [ebp - 0x90], cx
test ebx, ebx
je 0x110d30b8
mov edi, dword [esi + 0xc]
dec ebx
lea ecx, [ebp - 0x90]
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x110d2fee
test dx, dx
je 0x110d2fea
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x110d2fee
add eax, 4
add ecx, 4
test dx, dx
jne 0x110d2fc8
xor eax, eax
jmp 0x110d2ff3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x110d302f
mov eax, dword [ebp - 0x2b8]
inc eax
mov dword [ebp - 0x2b8], eax
cmp eax, dword [ebp - 0x2c0]
jbe 0x110d3016
call fcn.111b8710
cmp eax, 0x14
jne 0x110d307c
lea edx, [ebp - 0x90]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x110d3020
cmp byte [esi + 0x11], 0
jne 0x110d3072
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x11], 0
jne 0x110d3054
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
jne 0x110d3050
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
je 0x110d3046
mov esi, ecx
jmp 0x110d3072
mov eax, dword [esi + 4]
cmp byte [eax + 0x11], 0
jne 0x110d3070
lea ecx, [ecx]
cmp esi, dword [eax + 8]
jne 0x110d3070
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x11], 0
je 0x110d3060
mov esi, eax
test ebx, ebx
jne 0x110d2fbc
jmp 0x110d30b2
mov edx, dword [ebp - 0x2c0]
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
push edx
push 0
push 0x192e
push eax
mov eax, dword [ecx + 4]
call eax
mov ecx, dword [ebp - 0x29c]
mov eax, dword [ecx + 4]
add esp, 0x10
push eax
push esi
lea edx, [ebp - 0x2c8]
push edx
call fcn.1106e230
mov edi, dword [ebp - 0x29c]
mov esi, dword [ebp - 0x2c4]
mov ecx, dword [esi + 0x50]
push 0
push 0
push str.AccelerateBrowse
push 0x11218778
call fcn.110bbc00
test eax, eax
je 0x110d3103
mov ecx, dword [esi + 0x50]
push 0x20
push 4
push str.Delay
push 0x11218778
call fcn.110bbc00
mov ecx, dword [esi + 0x50]
push 3
push eax
push str.Delay
push 0x11218778
call fcn.110bbd40
mov eax, dword [edi + 8]
push eax
push str.FindClients_returning__d_clients_n
call fcn.111bd7b0
mov ecx, dword [ebp - 0x2e8]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
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.111d9022
mov esp, ebp
pop ebp
ret 0x18