Function at 0x111b3360
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111eb853
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x11279148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0x4a
jne 0x111b37b5
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov esi, dword [eax]
mov ecx, dword [ecx + 4]
mov edi, eax
lea ebx, [ecx + eax]
cmp esi, 1
jne 0x111b376b
mov edx, dword [eax + 4]
mov esi, dword [eax + edx*4 + 8]
lea eax, [eax + edx*4 + 8]
mov dword [ebp + 8], esi
mov esi, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x20], eax
lea eax, [edx*4 + 0x10]
sub ecx, eax
mov dword [ebp - 0x14], esi
lea esi, [ecx + 0x1d]
push 0
mov dword [ebp - 0x10], ecx
push esi
lea ecx, [ebp - 0x74]
call fcn.1111a110
push 0xfde9
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.1111a110
push ebx
push edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 1
call fcn.111a6020
add esp, 8
test al, al
jne 0x111b343f
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.1111ab70
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.1111ab70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x34]
call fcn.11142450
mov ecx, dword [0x1127ad34]
or esi, 0xffffffff
mov byte [ebp - 4], 3
test ecx, ecx
je 0x111b3467
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x34]
push edx
push eax
call fcn.11142ae0
mov esi, eax
cmp dword [ebp + 8], 4
jne 0x111b3508
cmp dword [0x1127ad80], 0
je 0x111b3508
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1127ad80]
push eax
push esi
push str.prn_plugin_conncount_d__sinceadvise_d_ms_n
call fcn.111bd7b0
mov ecx, dword [0x1127ab0c]
add esp, 0xc
push 0xd0
push ecx
lea ecx, [ebp - 0x9c]
call fcn.110c9fe0
push 1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.110c6240
test eax, eax
je 0x111b34de
mov ecx, dword [ebp - 0x78]
call fcn.1108cac0
push 1
lea ecx, [ebp - 0x9c]
call fcn.110c6240
test eax, eax
jne 0x111b34c5
lea ecx, [ebp - 0x34]
call fcn.110cd9f0
mov ecx, dword [0x1127ad34]
lea edx, [ebp - 0x34]
push edx
push 4
call fcn.11142ae0
lea ecx, [ebp - 0x9c]
mov esi, eax
mov byte [ebp - 4], 3
call fcn.110ca040
cmp esi, 0xffffffff
je 0x111b373c
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x111b373c
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x38], esi
test edi, edi
je 0x111b3728
cmp dword [ebp + 8], 1
mov ebx, dword [ebp - 0x10]
jne 0x111b35aa
cmp dword [ebp - 0x14], 4
jne 0x111b35aa
cmp ebx, 5
jl 0x111b35aa
mov eax, dword [ebp - 0x20]
mov ecx, str.ddpp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x111b3575
test dl, dl
je 0x111b3571
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x111b3575
add eax, 2
add ecx, 2
test dl, dl
jne 0x111b3555
xor eax, eax
jmp 0x111b357a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x111b35aa
mov ecx, edi
call fcn.1108e260
push 1
push str.10.10
push eax
call fcn.110e4790
add esp, 0xc
test eax, eax
jns 0x111b35aa
push str._OLD_TUTOR_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
jmp 0x111b3721
lea eax, [ebx + 0x25]
push eax
call fcn.11170a40
mov esi, eax
add esp, 4
test esi, esi
jne 0x111b35d3
push 0x3025
push str.UI.CPP
push str.data
call fcn.11067750
add esp, 0xc
mov ecx, edi
call fcn.110c2eb0
sub eax, 0x1d
jne 0x111b35f6
push 0x3028
push str.UI.CPP
push str.iMaxPktSize
call fcn.11067750
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov ecx, 0x96
mov word [esi], cx
mov ecx, dword [ebp - 0x20]
push ebx
mov dword [esi + 2], edx
push ecx
lea edx, [esi + 0x1c]
push edx
mov dword [esi + 0xa], 7
mov dword [esi + 0xe], eax
mov dword [esi + 0x12], ebx
mov dword [esi + 6], 3
mov dword [esi + 0x16], 0
mov word [esi + 0x1a], bx
call sub.MSVCR100.dll_memcpy
mov eax, dword [edi]
mov edx, dword [eax + 4]
add esp, 0xc
push str.NSMClientConnection
mov ecx, edi
call edx
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x111b36bf
mov eax, 1
cmp dword [ebp + 8], eax
jne 0x111b36bf
cmp dword [ebp - 0x14], 7
jne 0x111b36bf
cmp dword [ebp - 0x24], 0
jne 0x111b3714
cmp byte [esi + 0x23], 8
mov dword [ebp - 0x24], eax
lea ebx, [eax + 0x12]
jne 0x111b367e
mov ebx, 0x17
lea ebx, [ebx + esi + 0x1c]
push ebx
call fcn.111b82e0
add esp, 4
neg eax
sbb eax, eax
and eax, 0xfde9
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.111bd170
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.110988a0
mov ecx, dword [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 3
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x111b3714
cmp edi, dword [0x1127f7b8]
je 0x111b3714
mov ecx, edi
call fcn.110c7040
cmp eax, 0xfde9
lea eax, [ebp - 0x58]
je 0x111b36db
lea eax, [ebp - 0x74]
push 0
push eax
mov ecx, edi
call fcn.110825d0
mov ecx, dword [0x1127aa68]
push 0
push 0
push 0x11212424
push str._debug
call fcn.110bbc00
test eax, eax
je 0x111b3714
push 0x1124049c
lea eax, [ebx + 0x1d]
push eax
push esi
call fcn.11090f60
add esp, 0xc
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
mov edx, dword [ebp - 0x38]
add esp, 4
push edx
mov ecx, edi
call fcn.111707f0
lea ecx, [ebp - 0x18]
call fcn.111c0aa0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x30]
jne 0x111b3528
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
push ecx
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.1103f7c0
mov ecx, dword [ebp - 0x30]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 7
jmp 0x111b3416
cmp esi, 2
je 0x111b3775
cmp esi, 3
jne 0x111b37ca
push esi
push str.RUNPLUGIN_advised_us_command__d_n
call fcn.111bd7b0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1127ab38]
push 0
push esi
push 0x664
push edx
mov dword [0x1127ad80], eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1127ad34]
test ecx, ecx
je 0x111b37ca
cmp dword [ebp + 0xc], 2
jne 0x111b37ca
call fcn.11141a90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret