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

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x160
mov dword [rsp + 0x90], 0x65b
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0xffffffffffffffff
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x140370bd4]
and eax, 2
test eax, eax
jne 0x140287ab6
mov eax, dword [0x140370bd4]
and eax, 1
test eax, eax
je 0x140287e18
mov eax, dword [rsp + 0x180]
cmp dword [0x140370bd8], eax
jae 0x140287acc
xor eax, eax
jmp 0x140287ef5
mov ecx, 0x1000
call qword [sym.imp.MSVCR90.dll_malloc]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140287aee
mov eax, recv
jmp 0x140287ef5
cmp dword [rsp + 0x180], 0
jne 0x140287b92
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
movzx r11d, word [rsp + 0x8e]
movzx r10d, word [rsp + 0x8c]
movzx r8d, word [rsp + 0x8a]
movzx edx, word [rsp + 0x88]
movzx ecx, word [rsp + 0x86]
movzx eax, word [rsp + 0x82]
movzx r9d, word [rsp + 0x80]
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, str.__04d__02d__02d__02d:_02d:_02d._03d__ERROR_P_u_T_u__u_
mov edx, 0x800
mov rcx, qword [rsp + 0x70]
call fcn.14003a08c
jmp 0x140287cd0
cmp dword [rsp + 0x180], 3
jne 0x140287c36
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
movzx r11d, word [rsp + 0x8e]
movzx r10d, word [rsp + 0x8c]
movzx r8d, word [rsp + 0x8a]
movzx edx, word [rsp + 0x88]
movzx ecx, word [rsp + 0x86]
movzx eax, word [rsp + 0x82]
movzx r9d, word [rsp + 0x80]
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, str.__04d__02d__02d__02d:_02d:_02d._03d__DEBUG_P_u_T_u__u_
mov edx, 0x800
mov rcx, qword [rsp + 0x70]
call fcn.14003a08c
jmp 0x140287cd0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movzx ebx, word [rsp + 0x8e]
movzx r11d, word [rsp + 0x8c]
movzx r10d, word [rsp + 0x8a]
movzx r8d, word [rsp + 0x88]
movzx edx, word [rsp + 0x86]
movzx ecx, word [rsp + 0x82]
movzx r9d, word [rsp + 0x80]
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea r8, str.__04d__02d__02d__02d:_02d:_02d._03d__INFO_u_P_u_T_u__u_
mov edx, 0x800
mov rcx, qword [rsp + 0x70]
call fcn.14003a08c
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCR90.dll_wcslen]
mov dword [rsp + 0xa0], eax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x100], rax
mov eax, 0x800
sub eax, dword [rsp + 0xa0]
mov eax, eax
mov qword [rsp + 0xf8], rax
mov ecx, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x70]
lea rax, [rax + rcx*2]
mov qword [rsp + 0xf0], rax
mov r9d, 0x7fffffff
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140287f90
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0
jl 0x140287da3
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x100]
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140288190
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0x98], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCR90.dll_wcslen]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0x7fd
jb 0x140287e00
mov ecx, recv
mov rax, qword [rsp + 0x70]
mov word [rax + 0xffa], cx
mov ecx, 0xa
mov rax, qword [rsp + 0x70]
mov word [rax + 0xffc], cx
xor ecx, ecx
mov rax, qword [rsp + 0x70]
mov word [rax + 0xffe], cx
jmp 0x140287e16
lea r8, [0x140299f10]
mov edx, 0x800
mov rcx, qword [rsp + 0x70]
call fcn.140287f00
jmp 0x140287e24
mov eax, dword [rsp + 0x90]
jmp 0x140287ef5
mov eax, dword [0x140370bd4]
and eax, 2
test eax, eax
je 0x140287e5c
mov eax, dword [0x140370bd4]
and eax, 0x10
test eax, eax
jne 0x140287e4b
mov eax, dword [0x140370bd4]
and eax, 4
test eax, eax
je 0x140287e5c
mov rcx, qword [rsp + 0x70]
call fcn.140287a10
mov dword [rsp + 0x90], eax
mov eax, dword [0x140370bd4]
and eax, 1
test eax, eax
je 0x140287edb
mov rcx, qword [rsp + 0x70]
call fcn.140288290
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x140287e98
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCR90.dll_free]
mov eax, recv
jmp 0x140287ef5
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCR90.dll_free]
mov r11, qword [rsp + 0xa8]
mov qword [rsp + 0x70], r11
mov eax, dword [0x140370bd4]
and eax, 0x10
test eax, eax
jne 0x140287eca
mov eax, dword [0x140370bd4]
and eax, 4
test eax, eax
je 0x140287edb
mov rcx, qword [rsp + 0x70]
call fcn.140288330
mov dword [rsp + 0x90], eax
cmp qword [rsp + 0x70], 0
je 0x140287eee
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.MSVCR90.dll_free]
mov eax, dword [rsp + 0x90]
add rsp, 0x160
pop rdi
pop rsi
pop rbx
ret