Function at 0x10027ee0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10188588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov eax, dword [esp + 0x9c]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0x493e0
je 0x10027f21
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0xa0]
mov ecx, esi
push ebx
call fcn.10027e90
cmp eax, edi
jne 0x10027f3b
xor eax, eax
jmp 0x100282aa
push ebp
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.100405b0
push ebx
mov ecx, esi
mov dword [esp + 0xa0], edi
call fcn.10027190
mov ebp, dword [esp + 0xa8]
mov ebx, eax
mov eax, dword [0x101f1d98]
cmp eax, edi
je 0x10027f92
mov eax, dword [ebp]
cmp eax, edi
je 0x10027f75
mov eax, dword [eax + 4]
jmp 0x10027f77
xor eax, eax
push ebx
push eax
push str.DoTKSDllvMgrFuncClinet__d__p
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x18
mov dword [esp + 0x24], 0
cmp dword [ebp], 0
je 0x10028291
test ebx, ebx
je 0x10028291
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
test eax, eax
je 0x100281bf
mov edx, dword [0x101b2ea4]
lea ecx, [esp + 0x54]
inc edx
mov dword [0x101b2ea4], edx
call fcn.1004a7c0
mov esi, dword [ebp]
mov ecx, esi
call fcn.1001f800
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x30]
push 0xffff
lea eax, [eax + edx + 1]
mov edx, dword [esi + 0x2c]
add ecx, edx
mov edx, dword [esi + 0x28]
add ecx, edx
mov edx, dword [esi + 0x24]
add ecx, edx
mov edx, dword [esi + 0x20]
add ecx, edx
mov edx, dword [esi + 0x1c]
add ecx, edx
sub ecx, esi
lea edx, [ecx + eax + 6]
mov eax, dword [0x101b2ea4]
mov ecx, dword [esp + 0xa8]
push edx
push 0
push 0
push 0
push 1
push eax
push 2
push ecx
mov ecx, dword [esp + 0x44]
call fcn.10027e50
push eax
lea ecx, [esp + 0x78]
call fcn.1004a880
mov eax, dword [ebp]
mov edx, dword [ebx]
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x3c]
test eax, eax
je 0x100281e3
mov eax, dword [esp + 0x18]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x30]
test eax, eax
je 0x10028207
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
mov edx, dword [ebx]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], 0
call dword [edx + 0x4c]
test eax, eax
jne 0x10028145
mov eax, dword [0x101f1d98]
test eax, eax
je 0x100280c7
push str.DoTKSDllvMgrFuncClinet_failed_8__
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jbe 0x10028232
add esi, 0x900b0
cmp esi, eax
ja 0x10028232
mov eax, dword [ebp]
mov dword [esp + 0x10], 0xef000002
push eax
call fcn.10054626
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x40]
push 0
push 0
neg edx
push 0
push 0
sbb edx, edx
push 0
push 0
and edx, 4
push 0
lea eax, [esp + 0x5c]
push edx
push eax
push 4
mov dword [ebp], 0
call fcn.1001f420
add esp, 0x58
mov dword [ebp], eax
test eax, eax
jne 0x10028259
lea ecx, [esp + 0x34]
mov edi, 1
push ecx
lea ecx, [esp + 0x78]
call fcn.1004a800
push 0
lea ecx, [esp + 0x78]
call fcn.1004a9b0
test eax, eax
je 0x1002823c
mov ecx, dword [0x101f1d98]
test ecx, ecx
je 0x1002818f
push eax
push str.DoTKSDllvMgrFuncClinet_failed_9___08X__
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x14
test edi, edi
jne 0x10028291
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x20]
push edx
call fcn.10027390
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
mov dword [esp + 0x24], eax
jae 0x10028291
jmp 0x10027f9a
mov eax, dword [0x101f1d98]
test eax, eax
je 0x1002818f
push str.DoTKSDllvMgrFuncClinet_failed_5__
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x10
jmp 0x1002818f
mov eax, dword [0x101f1d98]
test eax, eax
je 0x1002818f
push str.DoTKSDllvMgrFuncClinet_failed_6__
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x10
jmp 0x1002818f
mov eax, dword [0x101f1d98]
test eax, eax
je 0x1002818f
push str.DoTKSDllvMgrFuncClinet_failed_7__
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x10
jmp 0x1002818f
mov edi, 1
jmp 0x1002818f
mov eax, dword [ebp]
push eax
call fcn.10054626
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [ebp], eax
mov dword [esp + 0x1c], 1
jmp 0x10028291
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], 1
mov dword [eax + 0x34], ecx
mov eax, dword [0x101f1d98]
mov edx, dword [ebp]
test eax, eax
mov dword [esp + 0x14], edx
je 0x10028291
push str.DoTKSDllvMgrFuncClinet_Recv_TimeOut
push str.ModeMgr
push 0xffffffffffffffff
push 0x101f1d2c
call fcn.100066b0
add esp, 0x10
lea ecx, [esp + 0x28]
mov dword [esp + 0x9c], 0xffffffff
call fcn.10040610
mov eax, dword [esp + 0x1c]
pop ebp
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 0xc