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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e2670
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
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 esi, ecx
mov dword [ebp - 0x1b8], esi
mov dword [ebp - 0x1c0], esi
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + 0x2c]
mov ebx, dword [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1bc], ebx
cmp eax, edi
je 0x110cfab5
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x1a4], eax
jmp 0x110cfabb
mov dword [ebp - 0x1a4], edi
cmp dword [ebx + 0x790], edi
je 0x110cface
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push edi
push edi
push edi
push edi
call eax
mov eax, dword [esi + 0x2c]
cmp eax, edi
je 0x110cfadc
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [ebx + 0x8f8]
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [ebx + 0x8d0]
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea esi, [ebx + 0x13c]
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x1a4]
test esi, esi
je 0x110cfcf3
add esi, 0xde30
push esi
mov dword [ebp - 0x1ac], esi
call edi
mov edi, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x1b4]
push edx
lea ecx, [edi + 0xde48]
mov byte [ebp - 4], 1
call fcn.110cc1b0
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1b4]
push eax
push ecx
lea edx, [ebp - 0x1b0]
push edx
lea ecx, [edi + 0xde48]
call fcn.1103f7c0
push esi
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebx + 0x27c]
test esi, esi
je 0x110cfcc5
cmp esi, 0xffffffff
je 0x110cfcc5
mov eax, dword [ebx + 0x278]
mov ecx, dword [esi + eax*4 + 0xf8]
mov edx, dword [ebp - 0x1a8]
lea edi, [esi + eax*4 + 0xf8]
cmp ecx, edx
je 0x110cfc03
push edx
push ecx
push edi
dec eax
push eax
lea eax, [ebp - 0x1a0]
push str.slot__d__ppConn_x__ppConn_x__c_x_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x1009
lea ecx, [ebp - 0x1a0]
push str...ctl32Connect.cpp
push ecx
call fcn.11067750
mov edx, dword [ebp - 0x1a8]
add esp, 0x24
cmp dword [edi], edx
je 0x110cfc03
push 0x100c
push str...ctl32Connect.cpp
push str.slot__c
call fcn.11067750
add esp, 0xc
mov dword [edi], 0
mov eax, dword [ebx + 0x278]
mov ecx, dword [esi + 0x4c]
push eax
call ecx
mov edx, dword [ebp - 0x1a4]
mov edi, dword [edx + 0xde64]
add esp, 4
test edi, edi
je 0x110cfc3f
mov eax, dword [ebp - 0x1a8]
push 2
push eax
mov ecx, edi
call fcn.110c97e0
mov eax, edi
call fcn.110cc000
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esi, 0xf8
push esi
call edi
mov esi, dword [ebp - 0x1a4]
lea ecx, [esi + 0xdde4]
push ecx
call edi
add esi, 0xef08
push esi
call edi
cmp dword [ebx + 0x790], 0
je 0x110cfc7e
mov edx, dword [ebp - 0x1a4]
add edx, 0xdde8
push edx
call edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x26c], 0xffffffff
jne 0x110cfd02
mov edx, dword [ebp - 0x1a4]
add edx, 0xde74
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push str.DestroyThread_finished__cid_1_n
call fcn.111bd7b0
mov esi, dword [ebp - 0x1b8]
add esp, 4
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 4], 3
jmp 0x110cfeba
mov eax, dword [ebp - 0x1a4]
add eax, 0xde74
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov esi, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b0], esi
mov ecx, dword [esi + 0x28]
mov dword [ebp - 4], 2
push ecx
jmp 0x110cfebe
push str.DestroyThread_finished__NULL_lid_n
call fcn.111bd7b0
add esp, 4
jmp 0x110cfc84
lea eax, [ebx + 0x13c]
mov dword [ebp - 0x1ac], eax
mov edi, edi
lea eax, [ebx + 0x13c]
push eax
call edi
mov ecx, dword [ebx + 0x85c]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
mov byte [ebp - 4], 4
jne 0x110cfd4b
lea esp, [esp]
mov esi, 2
cmp dword [eax + 0xc], esi
jae 0x110cfd3f
mov eax, dword [eax + 8]
jmp 0x110cfd43
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x15], 0
je 0x110cfd30
jmp 0x110cfd50
mov esi, 2
mov edx, dword [ebx + 0x85c]
mov eax, dword [edx + 4]
cmp byte [eax + 0x15], 0
jne 0x110cfd74
nop
cmp dword [eax + 0xc], esi
jbe 0x110cfd6b
mov edx, eax
mov eax, dword [eax]
jmp 0x110cfd6e
mov eax, dword [eax + 8]
cmp byte [eax + 0x15], 0
je 0x110cfd60
cmp ecx, edx
je 0x110cfe77
mov esi, dword [ecx + 0x10]
cmp dword [esi + 0x20], 0
je 0x110cfdc9
cmp byte [ecx + 0x15], 0
jne 0x110cfd74
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], 0
jne 0x110cfdac
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
jne 0x110cfd74
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
je 0x110cfda0
jmp 0x110cfd74
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
jne 0x110cfdc5
cmp ecx, dword [eax + 8]
jne 0x110cfdc5
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x110cfdb5
mov ecx, eax
jmp 0x110cfd74
mov ecx, esi
call fcn.111707e0
push 0x30
mov ebx, eax
mov dword [esi + 0x20], 1
call fcn.111709c0
add esp, 4
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x110cfe0a
mov ecx, dword [ebp - 0x1a8]
push 0
push 0
push esi
push 0
push 0
push ecx
push 2
mov ecx, eax
call fcn.110c4f50
mov edx, dword [ebp - 0x1ac]
push edx
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x20], 1
mov edi, eax
jne 0x110cfe5e
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, 0x1388
jge 0x110cfe5e
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x18]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x20], 1
je 0x110cfe30
push ebx
mov ecx, esi
call fcn.111707f0
mov ebx, dword [ebp - 0x1bc]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x110cfd10
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x110cfe8d
add eax, 0xde74
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push str.DestroyThread_finished__lwrupr_n
call fcn.111bd7b0
mov edx, dword [ebp - 0x1ac]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x1b8]
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 4], 5
mov eax, dword [esi + 0x28]
push eax
mov ecx, dword [esi + 0x20]
call fcn.111707f0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.11170b30
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
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