Function at 0x493a60
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 0x493a99
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x44]
mov byte [ecx], 0
push eax
call fcn.00488160
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 0x493b94
cmp byte [esi + 0x4e], 0
jne 0x493b94
cmp byte [esi + 0x4d], 0
jne 0x493ae3
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x493b94
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push ebx
call fcn.00493380
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.00491e50
add esp, 0x2c
cmp dword [esi + 0x44], 0
jne 0x493b25
mov ecx, dword [ebp - 0x24]
cmp byte [ecx], 0
jne 0x493bac
inc dword [ebp - 0x1c]
jmp 0x493b91
cmp byte [esi + 0x4e], 0
jne 0x493b91
mov eax, dword [esi + 0x48]
test eax, eax
je 0x493b41
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.004931c0
push edx
push eax
push esi
push edi
push ebx
call fcn.00493620
add esp, 0x20
cmp byte [esi + 0x4e], 0
push dword [esi]
je 0x493b73
push str._s_done
push ebx
push edi
call fcn.00491e50
add esp, 0x10
jmp 0x493b91
push str._s_trying_next
push ebx
push edi
call fcn.00491e50
inc dword [ebp - 0x1c]
push 8
push 0
push 0
push edi
call fcn.00482d90
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 0x493bbf
mov esi, dword [ebp - 0x20]
jmp 0x493ac0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x18], esi
mov dword [edx + eax*4 + 0x10], 0
jmp 0x493bc5
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x18], 0
jne 0x493e4c
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x493be1
test esi, esi
je 0x493cc2
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.004931c0
add esp, 0xc
test edx, edx
jl 0x493e06
jg 0x493c02
test eax, eax
jb 0x493e06
mov eax, dword [ebp - 0x1c]
test esi, esi
jle 0x493cc2
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 0x493ca5
cmp byte [esi + 0x4d], 0
jne 0x493ca5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x493c3d
cmp byte [eax + 0x4e], 0
jne 0x493c6c
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.00488200
add esp, 0x20
cmp edx, dword [esi + 0x24]
jl 0x493c9c
jg 0x493c6c
cmp eax, dword [esi + 0x20]
jb 0x493c9c
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.004931c0
push edx
push eax
push esi
push edi
push ebx
call fcn.00493570
add esp, 0x20
cmp byte [esi + 0x4e], 0
je 0x493cdf
push dword [esi]
push str._s_done
push ebx
push edi
call fcn.00491e50
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 0x493c20
test edx, edx
jg 0x493a93
test eax, eax
jle 0x493d06
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.004edbcc
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.00491e50
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 0x493ca2
push str.all_eyeballers_failed
push ebx
push edi
call fcn.00491e50
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x30], 0
nop
mov esi, dword [eax]
test esi, esi
je 0x493d4e
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.00491e50
add esp, 0x18
cmp byte [esi + 0x4d], 0
je 0x493d4b
cmp dword [esi + 0x44], 0
jne 0x493d76
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 0x493d20
mov ebx, 7
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x1a9], 0
je 0x493d7b
mov esi, dword [eax + 0x58]
jmp 0x493d9a
mov ebx, dword [esi + 0x44]
jmp 0x493d65
cmp byte [eax + 0x1a8], 0
je 0x493d89
mov esi, dword [eax + 0x78]
jmp 0x493d9a
cmp byte [eax + 0x1b1], 0
je 0x493d97
mov esi, dword [eax + 0x48]
jmp 0x493d9a
mov esi, dword [eax + 0x30]
push ebx
call fcn.00482260
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.00488200
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.00491d10
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.004edbcc
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.00488200
push edx
push eax
push str.Connection_timeout_after__lld_ms
push edi
call fcn.00491d10
add esp, 0x30
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edbcc
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.004edbcc
mov esp, ebp
pop ebp
ret