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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, dword [ecx]
push edi
mov edi, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], esi
lea eax, [edi + edi*2]
cmp dword [ecx + eax*8 + 0x1e0], 2
lea ebx, [ecx + eax*8]
mov eax, dword [ecx + edi*4 + 0x198]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], eax
jne 0x4d0e9a
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x1e4], 0
jne 0x4d0f90
mov ecx, dword [esi + 0x1e8]
xor eax, eax
mov edx, dword [esi + 0x1ec]
test ecx, ecx
mov dword [esp + 0x14], 0x493e0
setg al
mov dword [esp + 0x18], 0
test edx, edx
jle 0x4d0ed1
or eax, 2
sub eax, 1
je 0x4d0ee9
sub eax, 1
je 0x4d0fe6
sub eax, 1
jne 0x4d0ef4
cmp ecx, edx
cmovge ecx, edx
mov eax, ecx
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
push 0
mov edi, edx
shr edi, 6
imul eax, edi, 0x3e8
push 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
sub eax, dword [esi + 0x5a4]
cdq
push edx
push eax
call fcn.00702460
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x10]
sub edi, dword [eax + 0x5a0]
imul eax, edi, 0x3e8
cdq
mov edi, eax
neg edi
adc edx, 0
neg edx
sub edi, ecx
sbb edx, esi
add edi, dword [esp + 0x14]
mov eax, edi
adc edx, dword [esp + 0x18]
or eax, edx
je 0x4d11b4
test edx, edx
jl 0x4d11b4
jg 0x4d0f71
test edi, edi
jb 0x4d11b4
mov edi, dword [esp + 0x28]
mov edx, edi
mov ecx, dword [esp + 0x20]
call fcn.004cec50
test eax, eax
jne 0x4d11ca
mov esi, dword [esp + 0x10]
nop dword [eax]
mov eax, dword [ebx + 0x1e4]
cmp eax, 1
je 0x4d0fa9
cmp eax, 2
je 0x4d0fa9
cmp eax, 3
jne 0x4d111a
mov eax, dword [esi + 0x1e8]
xor ecx, ecx
mov edx, dword [esi + 0x1ec]
test eax, eax
mov ebx, 0x493e0
mov dword [esp + 0x18], 0
setg cl
test edx, edx
jle 0x4d0fd0
or ecx, 2
sub ecx, 1
je 0x4d0fef
sub ecx, 1
je 0x4d0fed
sub ecx, 1
jne 0x4d0ff6
cmp eax, edx
cmovge eax, edx
jmp 0x4d0fef
mov eax, edx
jmp 0x4d0eeb
mov eax, edx
cdq
mov ebx, eax
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
push 0
mov edi, edx
shr edi, 6
imul eax, edi, 0x3e8
push 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
sub eax, dword [esi + 0x5a4]
cdq
push edx
push eax
call fcn.00702460
mov ecx, eax
mov esi, edx
mov eax, dword [esp + 0x10]
sub edi, dword [eax + 0x5a0]
imul eax, edi, 0x3e8
cdq
mov edi, eax
neg edi
adc edx, 0
neg edx
sub edi, ecx
sbb edx, esi
add edi, ebx
mov eax, edi
adc edx, dword [esp + 0x18]
or eax, edx
je 0x4d11b4
test edx, edx
jl 0x4d11b4
jg 0x4d1071
test edi, edi
jb 0x4d11b4
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1e4]
cmp eax, 2
je 0x4d1085
cmp eax, 3
jne 0x4d10d0
or ecx, 0xffffffff
cmp eax, 3
cmove ecx, dword [esp + 0x24]
or esi, 0xffffffff
cmp eax, 2
cmove esi, dword [esp + 0x24]
cmp byte [ebp + 8], 0
je 0x4d10b2
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push edx
push edi
push ecx
or edx, 0xffffffff
mov ecx, esi
call fcn.004b1160
add esp, 0xc
test eax, eax
js 0x4d1190
je 0x4d117b
mov edi, dword [esp + 0x28]
mov edx, edi
mov ecx, dword [esp + 0x20]
call fcn.004cf7f0
test eax, eax
jne 0x4d11ca
mov esi, dword [esp + 0x10]
cmp byte [ebp + 8], al
je 0x4d0f90
mov ecx, dword [ebx + 0x1e4]
cmp ecx, 1
je 0x4d11ca
cmp ecx, 2
je 0x4d11ca
cmp ecx, 3
je 0x4d11ca
jmp 0x4d0f90
mov esi, dword [esp + 0x20]
cmp eax, 4
jne 0x4d1134
mov edx, edi
mov ecx, esi
call fcn.004d0c00
test eax, eax
jne 0x4d11ca
cmp dword [ebx + 0x1e4], 5
jne 0x4d1161
mov dword [ebx + 0x1e0], 2
mov cl, 1
mov dword [esi + edi*4 + 0x1ac], 0x4d1390
mov dword [esi + edi*4 + 0x1b4], 0x4d11e0
jmp 0x4d1163
xor cl, cl
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
xor eax, eax
mov dword [ebx + 0x1e4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 8], 0
je 0x4d11b4
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.select_poll_on_SSL_socket__errno:__d
push dword [esp + 0x18]
call fcn.004aef10
add esp, 0xc
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.SSL_connection_timeout
push dword [esp + 0x14]
call fcn.004aef10
add esp, 8
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret