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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], ebx
lea eax, [ebx*8 + 0x2f]
mov dword [esp + 0x20], edi
add eax, ebx
cmp dword [edi + eax*8 + 4], 2
mov ecx, dword [edi]
mov dword [esp + 0x10], ecx
lea esi, [edi + eax*8]
mov eax, dword [edi + ebx*4 + 0x150]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
jne 0x44a982
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x24], 0
jne 0x44aa56
mov esi, dword [ecx + 0x218]
xor eax, eax
mov edx, 0x493e0
test esi, esi
mov dword [esp + 0x14], edx
mov edx, 1
cmovg eax, edx
mov edx, dword [ecx + 0x21c]
test edx, edx
jle 0x44a9b4
or eax, 2
dec eax
je 0x44a9d0
dec eax
je 0x44a9ca
dec eax
jne 0x44a9d4
cmp esi, edx
mov eax, edx
cmovl eax, esi
mov dword [esp + 0x14], eax
jmp 0x44a9d4
mov dword [esp + 0x14], edx
jmp 0x44a9d4
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [esp + 0x10]
mov esi, eax
mov eax, 0x10624dd3
mul esi
mov eax, 0x10624dd3
mov edi, edx
shr edi, 6
imul ecx, edi, 0x3e8
sub esi, ecx
imul ecx, esi, 0x3e8
mov esi, dword [ebx + 0x558]
sub esi, edi
sub ecx, dword [ebx + 0x55c]
imul ecx
imul eax, esi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
mov ecx, dword [esp + 0x14]
add ecx, eax
je 0x44ac41
test ecx, ecx
js 0x44ac41
mov ebx, dword [esp + 0x1c]
mov edx, ebx
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.00449fe0
test eax, eax
jne 0x44ac54
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x24]
cmp eax, 1
je 0x44aa6c
cmp eax, 2
je 0x44aa6c
cmp eax, 3
jne 0x44ab9a
mov edx, dword [ecx + 0x218]
xor eax, eax
mov ecx, dword [ecx + 0x21c]
test edx, edx
mov esi, 1
mov ebx, 0x493e0
cmovg eax, esi
test ecx, ecx
jle 0x44aa90
or eax, 2
dec eax
je 0x44aaa6
dec eax
je 0x44aaa2
dec eax
jne 0x44aaa8
cmp edx, ecx
mov ebx, ecx
cmovl ebx, edx
jmp 0x44aaa8
mov ebx, ecx
jmp 0x44aaa8
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, 0x10624dd3
mul esi
mov eax, dword [esp + 0x10]
mov edi, edx
shr edi, 6
imul ecx, edi, 0x3e8
sub esi, ecx
imul ecx, esi, 0x3e8
mov esi, dword [eax + 0x558]
sub esi, edi
sub ecx, dword [eax + 0x55c]
mov eax, 0x10624dd3
imul ecx
imul eax, esi, 0x3e8
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
add ebx, eax
je 0x44ac3d
test ebx, ebx
js 0x44ac3d
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x24]
cmp edx, 2
je 0x44ab16
cmp edx, 3
jne 0x44ab51
mov edi, dword [ebp + 8]
or eax, 0xffffffff
cmp edx, 3
cmove eax, dword [esp + 0x24]
or ecx, 0xffffffff
cmp edx, 2
cmove ecx, dword [esp + 0x24]
xor edx, edx
test edi, edi
cmovne ebx, edx
or edx, 0xffffffff
push ebx
push eax
call fcn.00427890
add esp, 8
test eax, eax
js 0x44ac18
je 0x44ac02
mov ebx, dword [esp + 0x1c]
mov edx, ebx
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0044a380
test eax, eax
jne 0x44ac54
mov ecx, dword [esp + 0x10]
cmp dword [ebp + 8], eax
je 0x44aa56
mov ecx, dword [esi + 0x24]
cmp ecx, 1
je 0x44ac54
cmp ecx, 2
je 0x44ac54
cmp ecx, 3
je 0x44ac54
jmp 0x44aa52
cmp eax, 4
jne 0x44abb0
mov edx, ebx
mov ecx, edi
call fcn.0044a7c0
test eax, eax
jne 0x44ac54
cmp dword [esi + 0x24], 5
mov eax, dword [ebp + 0xc]
jne 0x44abec
mov dword [esi + 4], 2
mov dword [edi + ebx*4 + 0x168], fcn.0044afd0
mov dword [edi + ebx*4 + 0x170], 0x44ac60
mov dword [eax], 1
xor eax, eax
mov dword [esi + 0x24], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax], 0
xor eax, eax
mov dword [esi + 0x24], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x44ac3d
mov eax, dword [ebp + 0xc]
mov dword [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]
mov ebx, dword [esp + 0x10]
push eax
push str.select_poll_on_SSL_TLS_socket__errno:__d
push ebx
call fcn.004280e0
add esp, 0xc
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
push str.SSL_TLS_connection_timeout
push ebx
call fcn.004280e0
add esp, 8
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret