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

Disassembly:
mov eax, 0x5486b3
call fcn.004f8378
sub esp, 0x34
and dword [ebp - 0x28], 0
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 0x40], eax
call fcn.004c2415
mov edi, eax
mov eax, dword [0x59fe84]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], eax
push edi
push str.nServers_d_n
mov dword [ebp - 4], 1
call fcn.00506d3c
lea eax, [edi + edi*4]
shl eax, 2
push eax
call fcn.00513471
mov esi, eax
xor edx, edx
add esp, 0xc
cmp esi, edx
mov dword [ebp - 0x24], esi
jne 0x4c24c7
mov ecx, dword [ebp + 8]
push 0x5a4c3c
call fcn.0051379e
mov dword [ebp - 0x28], 1
jmp 0x4c2763
cmp edi, edx
jle 0x4c24da
mov eax, esi
mov ecx, edi
mov dword [eax], edx
mov dword [eax + 4], edx
add eax, 0x14
dec ecx
jne 0x4c24cf
mov eax, dword [0x59fe84]
mov dword [ebp - 0x10], eax
cmp edi, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], edx
jle 0x4c2645
add esi, 8
mov edi, 0x5a4c3c
mov dword [ebp - 0x1c], esi
mov esi, 0x597ee0
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push esi
push str._s_Name_d
push eax
call fcn.0050f689
add esp, 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0x2c]
push edi
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call dword [eax]
push dword [eax]
call fcn.004f9c0e
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx - 8], eax
lea ecx, [ebp - 0x2c]
call fcn.00513730
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push esi
push str._s_Address_d
push eax
call fcn.0050f689
add esp, 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0x30]
push edi
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call dword [eax]
push dword [eax]
call fcn.004f9c0e
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx - 4], eax
lea ecx, [ebp - 0x30]
call fcn.00513730
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push esi
push str._s_Hexin_Port_d
push eax
call fcn.0050f689
add esp, 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0x34]
push edi
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call dword [eax]
push dword [eax]
call fcn.004f92dd
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
lea ecx, [ebp - 0x34]
call fcn.00513730
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push esi
push str._s_SSL_Port_d
push eax
call fcn.0050f689
add esp, 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0x38]
push edi
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call dword [eax]
push dword [eax]
call fcn.004f92dd
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x38]
call fcn.00513730
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push esi
push str._s_Cert_Port_d
push eax
call fcn.0050f689
add esp, 0x10
mov eax, dword [ebx]
lea ecx, [ebp - 0x3c]
push edi
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push ecx
mov ecx, ebx
call dword [eax]
push dword [eax]
call fcn.004f92dd
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x3c]
call fcn.00513730
inc dword [ebp - 0x14]
add dword [ebp - 0x1c], 0x14
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jl 0x4c2501
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00513730
test edi, edi
jle 0x4c2733
add esi, 4
xor ebx, ebx
cmp dword [esi - 4], ebx
je 0x4c270b
cmp dword [esi], ebx
je 0x4c270b
cmp dword [ebp + 0x14], ebx
je 0x4c2694
push dword [ebp + 0x14]
call fcn.004f8bc0
cmp eax, ebx
pop ecx
jle 0x4c2694
push eax
push dword [ebp + 0x14]
push dword [esi - 4]
call fcn.004f96d0
add esp, 0xc
test eax, eax
jne 0x4c270b
cmp dword [ebp + 0x10], 1
jne 0x4c26df
mov eax, dword [0x59fe84]
mov dword [ebp + 0xc], eax
push dword [esi + 0xc]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push dword [esi - 4]
push str._s__s__d__d__d_
push eax
call fcn.0050f689
add esp, 0x1c
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x18]
push eax
call fcn.00513b48
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00513730
jmp 0x4c270b
push dword [esi - 4]
lea ecx, [ebp - 0x18]
call fcn.00513b0c
push 0x28
lea ecx, [ebp - 0x18]
call fcn.00513b33
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.00513b0c
push 0x596c84
lea ecx, [ebp - 0x18]
call fcn.00513b0c
mov eax, dword [esi - 4]
cmp eax, ebx
je 0x4c2719
push eax
call fcn.004f8456
pop ecx
mov eax, dword [esi]
cmp eax, ebx
je 0x4c2726
push eax
call fcn.004f8456
pop ecx
add esi, 0x14
dec edi
jne 0x4c265c
mov esi, dword [ebp - 0x24]
push esi
call fcn.0051349a
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
push eax
push str.READ_tickcount__ld_n
call fcn.00506d3c
pop ecx
lea eax, [ebp - 0x18]
pop ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.005134a5
mov dword [ebp - 0x28], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00513730
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10