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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x5bc9a9
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
lea eax, [ebp - 0x54]
push eax
call fcn.005aec80
xor ecx, ecx
mov dword [ebp - 0x20], esi
add esp, 4
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
movups xmm0, xmmword [eax]
xor eax, eax
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x44], xmm0
mov esi, dword [esi]
test esi, esi
je 0x5bcc71
cmp byte [esi + 0x4e], 0
jne 0x5bcc71
cmp byte [esi + 0x4d], 0
jne 0x5bc9f5
inc ecx
mov dword [ebp - 8], ecx
jmp 0x5bcc71
mov edx, dword [ebp + 0x10]
mov al, byte [esi + 0x4f]
mov byte [edx], al
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x5bca9f
test al, al
jne 0x5bca9f
push edx
push ecx
push edi
push dword [esi + 0x14]
call fcn.005ba280
mov ecx, eax
add esp, 0x10
mov dword [esi + 0x44], ecx
test ecx, ecx
jne 0x5bca96
mov eax, dword [ebp + 0x10]
cmp byte [eax], cl
je 0x5bca36
mov word [esi + 0x4e], 0x101
jmp 0x5bca9f
mov eax, dword [esi + 0x3c]
sub esp, 0x10
movups xmm0, xmmword [esi + 0x28]
mov ebx, dword [esi + 0x38]
mov dword [ebp - 0x1c], eax
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
mov ecx, eax
add esp, 0x20
mov eax, dword [ebp - 0x1c]
cmp edx, eax
jl 0x5bca8e
jg 0x5bca6e
cmp ecx, ebx
jb 0x5bca8e
push eax
push ebx
push dword [esi]
push str._s_connect_timeout_after__lldms__move_on_
push edi
call fcn.005bae40
add esp, 0x14
mov dword [esi + 0x48], 0x274c
mov dword [esi + 0x44], 0x1c
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x44]
jmp 0x5bca9f
cmp ecx, 8
jne 0x5bca9f
mov byte [esi + 0x50], 1
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x44], ecx
movzx eax, byte [eax]
push eax
push ecx
push dword [esi]
push str._s_connect_____d__connected_d
push ebx
push edi
call fcn.005baea0
add esp, 0x18
cmp dword [esi + 0x44], 0
jne 0x5bcad5
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0
jne 0x5bcc89
inc dword [ebp - 4]
jmp 0x5bcc6e
cmp byte [esi + 0x4e], 0
jne 0x5bcc6e
mov eax, dword [esi + 0x48]
test eax, eax
je 0x5bcaf5
mov dword [edi + 0x8e4], eax
push dword [esi + 0x48]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [edi + 0x1e0], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
jbe 0x5bcb45
movups xmm0, xmmword [edi + 0x748]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
mov ebx, dword [edi + 0x1e0]
xor ecx, ecx
add esp, 0x20
sub ebx, eax
mov eax, ebx
sbb ecx, edx
or eax, ecx
mov dword [ebp - 0x1c], ecx
jne 0x5bcb4e
or ebx, 0xffffffff
or eax, ebx
jmp 0x5bcb4b
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x1e4]
mov ecx, 0x493e0
movups xmm0, xmmword [edi + 0x738]
test eax, eax
cmovne ecx, eax
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x14], ecx
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
xor ecx, ecx
add esp, 0x20
sub dword [ebp - 0x14], eax
sbb ecx, edx
mov edx, dword [ebp - 0x14]
mov eax, edx
mov dword [ebp - 0xc], ecx
or eax, ecx
jne 0x5bcb9d
or edx, 0xffffffff
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
or eax, ecx
jne 0x5bcbab
mov ebx, dword [ebp - 0xc]
jmp 0x5bcbc3
mov eax, dword [ebp - 0xc]
cmp eax, ecx
jg 0x5bcbbf
jl 0x5bcbb8
cmp edx, ebx
jae 0x5bcbbf
mov dword [ebp - 0xc], eax
mov ebx, eax
jmp 0x5bcbc3
mov edx, ebx
mov ebx, ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x5bcc41
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5bcbe7
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x5bcbe7
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 0xc]
jne 0x5bcbd3
mov dword [esi + 8], ecx
jmp 0x5bcc08
cmp byte [esi + 0x50], 0
mov dword [esi + 8], 0
je 0x5bcc08
cmp byte [esi + 0x4c], 0
jne 0x5bcc08
mov eax, dword [esi + 4]
mov byte [esi + 0x4c], 1
mov dword [esi + 8], eax
mov byte [esi + 0x50], 0
push ebx
mov ebx, dword [ebp + 8]
push edx
push esi
push edi
push ebx
call fcn.005bc560
mov eax, dword [esi]
add esp, 0x14
cmp byte [esi + 0x4e], 0
jne 0x5bcc5e
push eax
push str._s_trying_next
push ebx
push edi
call fcn.005baea0
inc dword [ebp - 4]
push 8
push 0
push 0
push edi
call fcn.005a99c0
add esp, 0x20
jmp 0x5bcc6e
mov eax, dword [esi]
mov ebx, dword [ebp + 8]
mov dword [esi + 0x48], 0
mov word [esi + 0x4e], 1
mov byte [esi + 0x4d], 1
mov dword [esi + 0x44], 7
push eax
push str._s_done
push ebx
push edi
call fcn.005baea0
add esp, 0x10
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x28]
add dword [ebp - 0x20], 4
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 2
jae 0x5bcc9c
mov esi, dword [ebp - 0x20]
jmp 0x5bc9d2
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x18], esi
mov dword [edx + eax*4 + 0x10], 0
jmp 0x5bcca2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x18], 0
jne 0x5bd067
cmp dword [ebp - 4], 0
jne 0x5bccbc
cmp dword [ebp - 8], 0
je 0x5bcf3c
cmp dword [edi + 0x1e0], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
jbe 0x5bcd0c
movups xmm0, xmmword [edi + 0x748]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
mov ebx, dword [edi + 0x1e0]
xor ecx, ecx
add esp, 0x20
sub ebx, eax
mov eax, ebx
sbb ecx, edx
or eax, ecx
mov dword [ebp - 0x28], ecx
jne 0x5bcd15
or ebx, 0xffffffff
or eax, ebx
jmp 0x5bcd12
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x1e4]
mov esi, 0x493e0
movups xmm0, xmmword [edi + 0x738]
test eax, eax
cmovne esi, eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
xor ecx, ecx
add esp, 0x20
sub esi, eax
mov eax, esi
sbb ecx, edx
or eax, ecx
jne 0x5bcd59
or esi, 0xffffffff
or ecx, esi
mov edx, dword [ebp - 0x28]
mov eax, ebx
or eax, edx
je 0x5bcd70
cmp ecx, edx
jg 0x5bcd6c
jl 0x5bcd70
cmp esi, ebx
jb 0x5bcd70
mov esi, ebx
mov ecx, edx
test ecx, ecx
jl 0x5bd02b
jg 0x5bcd82
test esi, esi
jb 0x5bd02b
cmp dword [ebp - 8], 0
jle 0x5bcf01
mov esi, dword [ebp - 0x10]
xor eax, eax
mov ebx, 2
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
nop
mov esi, dword [esi]
test esi, esi
je 0x5bcee4
cmp byte [esi + 0x4d], 0
jne 0x5bcee4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x5bcdc1
cmp byte [eax + 0x4e], 0
jne 0x5bcdf8
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 - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
add esp, 0x20
cmp edx, dword [esi + 0x24]
jl 0x5bcee1
jg 0x5bcdf8
cmp eax, dword [esi + 0x20]
jb 0x5bcee1
cmp dword [edi + 0x1e0], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
jbe 0x5bce4c
movups xmm0, xmmword [edi + 0x748]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
mov ecx, dword [edi + 0x1e0]
xor ebx, ebx
add esp, 0x20
sub ecx, eax
mov eax, ecx
mov dword [ebp - 0x28], ecx
sbb ebx, edx
or eax, ebx
mov dword [ebp - 8], ebx
jne 0x5bce58
or eax, 0xffffffff
mov dword [ebp - 8], eax
jmp 0x5bce55
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x1e4]
mov ebx, 0x493e0
movups xmm0, xmmword [edi + 0x738]
test eax, eax
cmovne ebx, eax
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
xor ecx, ecx
add esp, 0x20
sub ebx, eax
mov eax, ebx
sbb ecx, edx
or eax, ecx
jne 0x5bce9c
or ebx, 0xffffffff
or ecx, ebx
mov edx, dword [ebp - 0x28]
mov eax, edx
or eax, dword [ebp - 8]
je 0x5bceb7
mov eax, dword [ebp - 8]
cmp ecx, eax
jg 0x5bceb3
jl 0x5bceb7
cmp ebx, edx
jb 0x5bceb7
mov ebx, edx
mov ecx, eax
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call fcn.005bc560
add esp, 0x14
cmp byte [esi + 0x4e], 0
je 0x5bcf16
push dword [esi]
push str._s_done
push ebx
push edi
call fcn.005baea0
mov ebx, dword [ebp - 0x20]
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
add esi, 4
sub ebx, 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
jne 0x5bcda0
test eax, eax
jg 0x5bc9a3
cmp dword [ebp - 4], 0
jle 0x5bcf3c
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebx
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.005baea0
mov eax, dword [ebp - 0xc]
add esp, 0x18
inc dword [ebp - 4]
inc eax
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
jmp 0x5bcee4
mov eax, dword [ebp + 8]
push str.all_eyeballers_failed
push eax
push edi
call fcn.005baea0
mov esi, dword [ebp - 0x10]
add esp, 0xc
xor ebx, ebx
mov esi, dword [esi]
test esi, esi
je 0x5bcf81
push dword [esi + 0x44]
movzx eax, byte [esi + 0x4d]
push eax
push dword [esi]
push str._s_assess_started_d__result_d
push dword [ebp + 8]
push edi
call fcn.005baea0
add esp, 0x18
cmp byte [esi + 0x4d], 0
je 0x5bcf81
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x5bcfa6
mov esi, dword [ebp - 0x10]
inc ebx
add esi, 4
mov dword [ebp - 0x10], esi
cmp ebx, 2
jb 0x5bcf53
mov ebx, 7
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x1a9], 0
je 0x5bcfaa
mov esi, dword [eax + 0x58]
jmp 0x5bcfc9
mov ebx, eax
jmp 0x5bcf95
cmp byte [eax + 0x1a8], 0
je 0x5bcfb8
mov esi, dword [eax + 0x78]
jmp 0x5bcfc9
cmp byte [eax + 0x1b1], 0
je 0x5bcfc6
mov esi, dword [eax + 0x48]
jmp 0x5bcfc9
mov esi, dword [eax + 0x30]
push ebx
call fcn.005a5dc0
movups xmm0, xmmword [edi + 0x738]
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 - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
mov ecx, dword [ebp - 0x34]
add esp, 0x20
push edx
push eax
push dword [ecx + 0x248]
push esi
push str.Failed_to_connect_to__s_port__u_after__lld_ms:__s
push edi
call fcn.005bada0
add esp, 0x1c
mov eax, 0x1c
cmp dword [edi + 0x8e4], 0x274c
cmove ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [edi + 0x738]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [eax], xmm0
call fcn.005aed30
push edx
push eax
push str.Connection_timeout_after__lld_ms
push edi
call fcn.005bada0
add esp, 0x30
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov byte [ecx], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret