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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x47b380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
lea edx, [ecx + 0x18]
mov dword [ebp - 0x24], eax
add ecx, 0x10
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], ecx
nop word [eax + eax]
mov byte [eax], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b0d0
xor esi, esi
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x30]
movups xmm0, xmmword [eax]
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x1c], esi
nop dword [eax + eax]
mov esi, dword [esi]
test esi, esi
je 0x4114f5
cmp byte [esi + 0x45], 0
jne 0x4114f5
cmp byte [esi + 0x44], 0
jne 0x411443
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x4114f5
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push ebx
call fcn.00410d20
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x3c], 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.0040fc00
add esp, 0x2c
cmp dword [esi + 0x3c], 0
jne 0x411485
mov ecx, dword [ebp - 0x24]
cmp byte [ecx], 0
jne 0x41150d
inc dword [ebp - 0x20]
jmp 0x4114f2
cmp byte [esi + 0x45], 0
jne 0x4114f2
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4114a1
mov dword [edi + 0x934], eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00410b30
push edx
push eax
push esi
push edi
push ebx
call fcn.00410f90
mov eax, dword [esi]
add esp, 0x20
cmp byte [esi + 0x45], 0
push eax
je 0x4114d4
push str._s_done
push ebx
push edi
call fcn.0040fc00
add esp, 0x10
jmp 0x4114f2
push str._s_trying_next
push ebx
push edi
call fcn.0040fc00
inc dword [ebp - 0x20]
push 8
push 0
push 0
push edi
call fcn.00407dc0
add esp, 0x20
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
add dword [ebp - 0x1c], 4
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 2
jae 0x411528
mov esi, dword [ebp - 0x1c]
jmp 0x411420
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [eax], esi
mov eax, dword [ebp - 0x28]
mov dword [edx + eax*4 + 0x10], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
jmp 0x41152e
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x4117ca
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x411547
cmp dword [ebp - 0x18], esi
je 0x411667
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00410b30
add esp, 0xc
test edx, edx
jl 0x411784
jg 0x411568
test eax, eax
jb 0x411784
cmp dword [ebp - 0x18], 0
jle 0x41164a
mov esi, dword [ebp - 0x30]
xor ecx, ecx
mov eax, 2
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], eax
mov esi, dword [esi]
test esi, esi
je 0x411603
cmp byte [esi + 0x44], 0
jne 0x411603
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41159e
cmp byte [eax + 0x45], 0
jne 0x4115cd
mov ecx, dword [ebp - 0x34]
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.0040b180
add esp, 0x20
cmp edx, dword [esi + 0x1c]
jl 0x4115fd
jg 0x4115cd
cmp eax, dword [esi + 0x18]
jb 0x4115fd
push 1
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00410b30
push edx
push eax
push esi
push edi
push ebx
call fcn.00410ee0
add esp, 0x20
cmp byte [esi + 0x45], 0
je 0x411624
push dword [esi]
push str._s_done
push ebx
push edi
call fcn.0040fc00
add esp, 0x10
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add esi, 4
sub eax, 1
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], eax
jne 0x411585
test ecx, ecx
jle 0x411647
mov eax, dword [ebp - 0x24]
jmp 0x4113f0
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [esi]
push str._s_starting__timeout_I64dms_
push ebx
push edi
call fcn.0040fc00
mov ecx, dword [ebp - 0x18]
add esp, 0x18
inc dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x411600
mov esi, dword [ebp - 0x20]
test esi, esi
jle 0x411667
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.00441cc6
mov esp, ebp
pop ebp
ret
push str.all_eyeballers_failed
push ebx
push edi
call fcn.0040fc00
mov ecx, dword [ebp - 0x34]
add esp, 0xc
add ecx, 0x10
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], ecx
mov esi, dword [ecx]
test esi, esi
je 0x4116b6
push dword [esi + 0x3c]
movzx eax, byte [esi + 0x44]
push eax
push dword [esi]
push str._s_assess_started_d__result_d
push ebx
push edi
call fcn.0040fc00
add esp, 0x18
cmp byte [esi + 0x44], 0
je 0x4116cb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4116cb
mov ebx, eax
jmp 0x4116e5
push 0
push 0
push 0
push str._s_assess_started_d__result_d
push ebx
push edi
call fcn.0040fc00
add esp, 0x18
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
inc eax
add ecx, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
cmp eax, 2
jb 0x411686
mov ebx, 7
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x1c9], 0
je 0x4116f6
mov esi, dword [eax + 0x78]
jmp 0x411718
cmp byte [eax + 0x1c8], 0
je 0x411707
mov esi, dword [eax + 0x98]
jmp 0x411718
cmp byte [eax + 0x1d1], 0
je 0x411715
mov esi, dword [eax + 0x68]
jmp 0x411718
mov esi, dword [eax + 0x50]
push ebx
call fcn.0041c0e0
movups xmm0, xmmword [edi + 0x790]
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.0040b180
add esp, 0x20
push edx
mov edx, dword [ebp - 0x3c]
push eax
push dword [edx + 0x31c]
push esi
push str.Failed_to_connect_to__s_port__u_after__I64d_ms:__s
push edi
call fcn.0040fac0
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.00441cc6
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [edi + 0x790]
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.0040b180
push edx
push eax
push str.Connection_timeout_after__I64d_ms
push edi
call fcn.0040fac0
add esp, 0x30
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441cc6
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.00441cc6
mov esp, ebp
pop ebp
ret