Function at 0x493aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5796f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], esi
jmp 0x493ad9
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x44]
mov byte [ecx], 0
push eax
call fcn.00488190
xor ecx, ecx
mov dword [ebp - 0x20], esi
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
movups xmm0, xmmword [eax]
xor eax, eax
mov dword [ebp - 0x2c], eax
movups xmmword [ebp - 0x14], xmm0
nop
mov esi, dword [esi]
test esi, esi
je 0x493bd4
cmp byte [esi + 0x4e], 0
jne 0x493bd4
cmp byte [esi + 0x4d], 0
jne 0x493b23
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x493bd4
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push ebx
call fcn.004933c0
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x44], eax
movzx ecx, byte [ecx]
push ecx
push eax
push dword [esi]
push str._s_connect_____d__connected_d
push ebx
push edi
call fcn.00491e90
add esp, 0x2c
cmp dword [esi + 0x44], 0
jne 0x493b65
mov ecx, dword [ebp - 0x24]
cmp byte [ecx], 0
jne 0x493bec
inc dword [ebp - 0x1c]
jmp 0x493bd1
cmp byte [esi + 0x4e], 0
jne 0x493bd1
mov eax, dword [esi + 0x48]
test eax, eax
je 0x493b81
mov dword [edi + 0x934], eax
push dword [esi + 0x48]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00493200
push edx
push eax
push esi
push edi
push ebx
call fcn.00493660
add esp, 0x20
cmp byte [esi + 0x4e], 0
push dword [esi]
je 0x493bb3
push str._s_done
push ebx
push edi
call fcn.00491e90
add esp, 0x10
jmp 0x493bd1
push str._s_trying_next
push ebx
push edi
call fcn.00491e90
inc dword [ebp - 0x1c]
push 8
push 0
push 0
push edi
call fcn.00482dc0
add esp, 0x20
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
add dword [ebp - 0x20], 4
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, 2
jae 0x493bff
mov esi, dword [ebp - 0x20]
jmp 0x493b00
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x18], esi
mov dword [edx + eax*4 + 0x10], 0
jmp 0x493c05
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x18], 0
jne 0x493e8c
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x493c21
test esi, esi
je 0x493d02
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00493200
add esp, 0xc
test edx, edx
jl 0x493e46
jg 0x493c42
test eax, eax
jb 0x493e46
mov eax, dword [ebp - 0x1c]
test esi, esi
jle 0x493d02
mov esi, dword [ebp - 0x28]
xor edx, edx
mov ecx, 2
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], ecx
mov esi, dword [esi]
test esi, esi
je 0x493ce5
cmp byte [esi + 0x4d], 0
jne 0x493ce5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x493c7d
cmp byte [eax + 0x4e], 0
jne 0x493cac
mov ecx, dword [ebp - 0x30]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
call fcn.00488230
add esp, 0x20
cmp edx, dword [esi + 0x24]
jl 0x493cdc
jg 0x493cac
cmp eax, dword [esi + 0x20]
jb 0x493cdc
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00493200
push edx
push eax
push esi
push edi
push ebx
call fcn.004935b0
add esp, 0x20
cmp byte [esi + 0x4e], 0
je 0x493d1f
push dword [esi]
push str._s_done
push ebx
push edi
call fcn.00491e90
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
add esi, 4
sub ecx, 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], ecx
jne 0x493c60
test edx, edx
jg 0x493ad3
test eax, eax
jle 0x493d46
mov eax, dword [ebp - 0x24]
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi]
push str._s_starting__timeout_lldms_
push ebx
push edi
call fcn.00491e90
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov edx, dword [ebp - 0x18]
inc eax
inc edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
jmp 0x493ce2
push str.all_eyeballers_failed
push ebx
push edi
call fcn.00491e90
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x30], 0
nop
mov esi, dword [eax]
test esi, esi
je 0x493d8e
push dword [esi + 0x44]
movzx eax, byte [esi + 0x4d]
push eax
push dword [esi]
push str._s_assess_started_d__result_d
push ebx
push edi
call fcn.00491e90
add esp, 0x18
cmp byte [esi + 0x4d], 0
je 0x493d8b
cmp dword [esi + 0x44], 0
jne 0x493db6
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
add eax, 4
inc esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], esi
cmp esi, 2
jb 0x493d60
mov ebx, 7
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x1a9], 0
je 0x493dbb
mov esi, dword [eax + 0x58]
jmp 0x493dda
mov ebx, dword [esi + 0x44]
jmp 0x493da5
cmp byte [eax + 0x1a8], 0
je 0x493dc9
mov esi, dword [eax + 0x78]
jmp 0x493dda
cmp byte [eax + 0x1b1], 0
je 0x493dd7
mov esi, dword [eax + 0x48]
jmp 0x493dda
mov esi, dword [eax + 0x30]
push ebx
call fcn.00482290
movups xmm0, xmmword [edi + 0x788]
add esp, 4
push eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
call fcn.00488230
add esp, 0x20
push edx
mov edx, dword [ebp - 0x34]
push eax
push dword [edx + 0x2fc]
push esi
push str.Failed_to_connect_to__s_port__u_after__lld_ms:__s
push edi
call fcn.00491d50
add esp, 0x1c
mov eax, 0x1c
cmp dword [edi + 0x934], 0x274c
cmove ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [edi + 0x788]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
call fcn.00488230
push edx
push eax
push str.Connection_timeout_after__lld_ms
push edi
call fcn.00491d50
add esp, 0x30
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edc3c
mov esp, ebp
pop ebp
ret
mov byte [ecx], 1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004edc3c
mov esp, ebp
pop ebp
ret