Function at 0x493b00
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 0x493b39
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x44]
mov byte [ecx], 0
push eax
call fcn.004881f0
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 0x493c34
cmp byte [esi + 0x4e], 0
jne 0x493c34
cmp byte [esi + 0x4d], 0
jne 0x493b83
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x493c34
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push ebx
call fcn.00493420
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.00491ef0
add esp, 0x2c
cmp dword [esi + 0x44], 0
jne 0x493bc5
mov ecx, dword [ebp - 0x24]
cmp byte [ecx], 0
jne 0x493c4c
inc dword [ebp - 0x1c]
jmp 0x493c31
cmp byte [esi + 0x4e], 0
jne 0x493c31
mov eax, dword [esi + 0x48]
test eax, eax
je 0x493be1
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.00493260
push edx
push eax
push esi
push edi
push ebx
call fcn.004936c0
add esp, 0x20
cmp byte [esi + 0x4e], 0
push dword [esi]
je 0x493c13
push str._s_done
push ebx
push edi
call fcn.00491ef0
add esp, 0x10
jmp 0x493c31
push str._s_trying_next
push ebx
push edi
call fcn.00491ef0
inc dword [ebp - 0x1c]
push 8
push 0
push 0
push edi
call fcn.00482e30
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 0x493c5f
mov esi, dword [ebp - 0x20]
jmp 0x493b60
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x18], esi
mov dword [edx + eax*4 + 0x10], 0
jmp 0x493c65
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x18], 0
jne 0x493eec
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
test eax, eax
jne 0x493c81
test esi, esi
je 0x493d62
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00493260
add esp, 0xc
test edx, edx
jl 0x493ea6
jg 0x493ca2
test eax, eax
jb 0x493ea6
mov eax, dword [ebp - 0x1c]
test esi, esi
jle 0x493d62
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 0x493d45
cmp byte [esi + 0x4d], 0
jne 0x493d45
mov eax, dword [esi + 0x18]
test eax, eax
je 0x493cdd
cmp byte [eax + 0x4e], 0
jne 0x493d0c
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.00488290
add esp, 0x20
cmp edx, dword [esi + 0x24]
jl 0x493d3c
jg 0x493d0c
cmp eax, dword [esi + 0x20]
jb 0x493d3c
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00493260
push edx
push eax
push esi
push edi
push ebx
call fcn.00493610
add esp, 0x20
cmp byte [esi + 0x4e], 0
je 0x493d7f
push dword [esi]
push str._s_done
push ebx
push edi
call fcn.00491ef0
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 0x493cc0
test edx, edx
jg 0x493b33
test eax, eax
jle 0x493da6
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.004edc8a
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.00491ef0
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 0x493d42
push str.all_eyeballers_failed
push ebx
push edi
call fcn.00491ef0
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov dword [ebp - 0x30], 0
nop
mov esi, dword [eax]
test esi, esi
je 0x493dee
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.00491ef0
add esp, 0x18
cmp byte [esi + 0x4d], 0
je 0x493deb
cmp dword [esi + 0x44], 0
jne 0x493e16
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 0x493dc0
mov ebx, 7
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x1a9], 0
je 0x493e1b
mov esi, dword [eax + 0x58]
jmp 0x493e3a
mov ebx, dword [esi + 0x44]
jmp 0x493e05
cmp byte [eax + 0x1a8], 0
je 0x493e29
mov esi, dword [eax + 0x78]
jmp 0x493e3a
cmp byte [eax + 0x1b1], 0
je 0x493e37
mov esi, dword [eax + 0x48]
jmp 0x493e3a
mov esi, dword [eax + 0x30]
push ebx
call fcn.00482300
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.00488290
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.00491db0
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.004edc8a
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.00488290
push edx
push eax
push str.Connection_timeout_after__lld_ms
push edi
call fcn.00491db0
add esp, 0x30
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004edc8a
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.004edc8a
mov esp, ebp
pop ebp
ret