Function at 0x55e1d0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x81f390]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], edx
mov ebx, dword [edi]
mov dword [edx], 0xffffffff
mov dword [esi], ecx
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xa8], esi
push ecx
push eax
push edi
call fcn.0055d940
add esp, 0x10
test eax, eax
jne 0x55e4f2
lea eax, [edi + 0xcc]
push eax
lea esi, [edi + 0x9e]
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.0055e140
add esp, 0xc
test eax, eax
jne 0x55e295
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.0054fda0
push eax
push esi
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0055d0d0
push dword [ebp - 0x98]
push edi
call fcn.0055d5f0
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f7ca4
mov esp, ebp
pop ebp
ret
movdqu xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
lea ecx, [edi + 0x40]
push ecx
movdqu xmmword [ecx], xmm0
push str.__Trying__s..._n
movdqu xmm0, xmmword [esi + 0x10]
push ebx
movdqu xmmword [ecx + 0x10], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ecx + 0x20], xmm0
mov dword [ecx + 0x28], eax
mov ax, word [esi + 0x2c]
mov word [ecx + 0x2c], ax
call fcn.0055d170
push edi
call fcn.0055d820
mov esi, dword [ebp - 0x98]
add esp, 0x10
cmp dword [ebx + 0x314], 0
je 0x55e2f0
push esi
push edi
call fcn.0055e5d0
add esp, 8
push esi
call fcn.0055d8e0
add esp, 4
cmp dword [ebx + 0x410], 0
je 0x55e30c
push esi
push ebx
call fcn.0055e580
add esp, 8
mov eax, dword [ebx + 0x16c]
test eax, eax
je 0x55e339
push 0
push esi
push dword [ebx + 0x170]
call eax
add esp, 0xc
mov dword [ebp - 0x9c], eax
cmp eax, 2
jne 0x55e374
mov dword [ebp - 0xa0], 1
push dword [ebp - 0x94]
push esi
push edi
call fcn.0055dc60
add esp, 0xc
mov dword [ebp - 0x98], eax
test eax, eax
je 0x55e398
push esi
push edi
call fcn.0055d5f0
mov eax, dword [ebp - 0x98]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f7ca4
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x55e339
push esi
push edi
call fcn.0055d5f0
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f7ca4
mov esp, ebp
pop ebp
ret
push 1
push esi
call fcn.0056a3a0
mov eax, dword [ebp - 0xa0]
add esp, 8
test eax, eax
jne 0x55e489
cmp dword [edi + 0x74], 1
jne 0x55e489
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x98], eax
cmp eax, 0xffffffff
jne 0x55e3e8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov dword [ebp - 0x9c], ecx
call fcn.005619b0
cmp dword [edi + 0x28c], 1
mov dword [edi + 0x284], eax
mov dword [edi + 0x288], edx
jle 0x55e411
push dword [edi + 0x290]
push ebx
call fcn.00562010
add esp, 8
mov eax, dword [ebp - 0x98]
cmp eax, 0xffffffff
jne 0x55e479
mov eax, dword [ebp - 0x9c]
cmp eax, 0xb
je 0x55e45d
cmp eax, 0x2732
jle 0x55e435
cmp eax, 0x2734
jle 0x55e45d
push eax
push edi
call fcn.0054fda0
push eax
lea eax, [edi + 0x40]
push eax
push str.Failed_to_connect_to__s:__s
push ebx
call fcn.0055d0d0
mov ecx, dword [ebp - 0x9c]
add esp, 0x18
mov dword [ebx + 0x8594], ecx
jmp 0x55e497
push dword [ebp + 0x10]
push esi
push edi
call fcn.0055e6a0
add esp, 0xc
mov dword [ebp - 0x98], eax
cmp eax, 3
je 0x55e378
cmp eax, 1
jne 0x55e497
cmp dword [ebx + 0x548], 2
jne 0x55e497
jmp 0x55e4ea
mov dword [ebp - 0x98], 0
test eax, eax
jne 0x55e4b7
lea eax, [ebp - 0x9c]
push eax
push esi
call fcn.0055e630
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x98]
test eax, eax
jne 0x55e505
test ecx, ecx
je 0x55e535
mov eax, dword [ebp - 0xa8]
push str.connected_n
push ebx
mov dword [eax], 1
call fcn.0055d170
xor eax, eax
cmp dword [ebp - 0x94], 0x17
push esi
sete al
push edi
mov dword [edi + 0x23c], eax
call fcn.0055dad0
add esp, 0x10
mov eax, dword [ebp - 0xa4]
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f7ca4
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x55e535
push str.Timeout_n
push ebx
call fcn.0055d170
add esp, 8
push esi
push edi
call fcn.0055d5f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f7ca4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x9c]
push eax
push edi
mov dword [ebx + 0x8594], eax
call fcn.0054fda0
push eax
push 0x781918
push ebx
call fcn.0055d170
add esp, 0x14
push esi
push edi
call fcn.0055d5f0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.006f7ca4
mov esp, ebp
pop ebp
ret