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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f725a
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0x38], edi
call ebx
push eax
call fcn.004c5ade
add esp, 4
call fcn.004c5aeb
mov ecx, eax
xor edx, edx
shl eax, 5
sub eax, ecx
lea ebp, [esi + 0xb0]
div dword [esi + 0x24]
mov eax, dword [ebp]
mov dword [esi + 0x40], edx
mov ecx, dword [eax - 8]
cmp ecx, edi
jne 0x46f0c7
lea edi, [esi + 0xe8]
push edi
call fcn.0046a820
mov ecx, dword [edi]
add esp, 4
mov eax, dword [ecx - 8]
test eax, eax
jne 0x46f091
lea edx, [esi + 0x18]
mov ecx, edi
push edx
call fcn.004da9b5
push 0
push 0x527e2c
lea eax, [esp + 0x18]
push edi
push eax
call fcn.0046a2f0
add esp, 0x10
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
call fcn.004da9b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004da87c
push 0x5a8
call fcn.004dae15
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x24], 1
je 0x46f0ef
mov ecx, eax
call fcn.004785e0
mov edi, eax
jmp 0x46f0f1
xor edi, edi
test edi, edi
mov dword [esp + 0x24], 0xffffffff
jne 0x46f1bf
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x38], eax
test ecx, ecx
je 0x46f35a
mov ecx, dword [0x532934]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x18]
mov ebx, 2
push eax
push edx
mov dword [esp + 0x2c], ebx
call fcn.0045b190
add esp, 8
mov eax, dword [eax]
mov ecx, dword [esi + 0x38]
push eax
push ecx
lea edx, [esp + 0x18]
push str.connection_0___failed____1__error__u___s__n
push edx
mov byte [esp + 0x34], 3
call fcn.004d383a
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.004da87c
mov eax, dword [esi + 0x44]
test eax, eax
je 0x46f1a9
mov eax, dword [0x532934]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x24], 4
push ecx
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ebp, dword [esi + 0xec]
lea edx, [esp + 0x18]
sub eax, ebp
push eax
push str.time__u____s
push edx
call fcn.004d383a
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.004da87c
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004da87c
jmp 0x46f35a
call ebx
push 0x84dd
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebp
mov dword [esi + 0xdc], eax
call fcn.004da5f1
mov ecx, edi
call fcn.004787f0
test eax, eax
je 0x46f2bc
lea ecx, [edi + 0x418]
test esi, esi
mov dword [esi + 0x58], ecx
je 0x46f1fa
lea eax, [esi + 0xc]
jmp 0x46f1fc
xor eax, eax
push 0
push eax
push 0xff00
push 0
call fcn.004775d0
mov ecx, dword [esi + 0x58]
push ecx
lea ecx, [esi + 0x6c]
call fcn.0046b880
mov eax, dword [esi + 0x44]
test eax, eax
je 0x46f365
mov edx, dword [0x532934]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp]
push eax
push ecx
push edi
lea edx, [esp + 0x1c]
mov ebx, 5
push str.connection_0___connecting____id__u___address__s___timeout__u__n
push edx
mov dword [esp + 0x38], ebx
call fcn.004d383a
mov eax, dword [esi + 0x44]
add esp, 0x14
test eax, eax
je 0x46f298
mov eax, dword [0x532934]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x24], 6
push ecx
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edi, dword [esi + 0xec]
lea edx, [esp + 0x18]
sub eax, edi
push eax
push str.time__u____s
push edx
call fcn.004d383a
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.004da87c
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.004da87c
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [edi + 0x42c]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x44]
test eax, eax
je 0x46f351
mov ecx, dword [0x532934]
mov dword [esp + 0x14], ecx
mov edx, dword [ebp]
lea eax, [esp + 0x14]
push edx
mov ebx, 7
push str.connection_0___connecting____2__address__s__n
push eax
mov dword [esp + 0x30], ebx
call fcn.004d383a
mov eax, dword [esi + 0x44]
add esp, 0xc
test eax, eax
je 0x46f340
mov ecx, dword [0x532934]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
mov byte [esp + 0x24], 8
push edx
call dword [sym.imp.kernel32.dll_GetTickCount]
sub eax, dword [esi + 0xec]
push eax
lea eax, [esp + 0x20]
push str.time__u____s
push eax
call fcn.004d383a
add esp, 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.004da87c
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.004da87c
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0xc]
push 0
call dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret