Function at 0x430ed0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x4a7f70]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xd0], ecx
mov ebx, dword [edi]
mov dword [ecx], 0xffffffff
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
push eax
push edi
mov dword [ebp - 0xcc], 0
call fcn.00430660
add esp, 0x10
test eax, eax
je 0x430f34
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464acc
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00430e70
add esp, 0xc
test eax, eax
jne 0x430f91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
call fcn.00422210
push eax
push esi
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0042fb20
push dword [ebp - 0xc8]
push edi
call fcn.00430040
add esp, 0x20
xor eax, eax
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464acc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
push eax
push str.__Trying__s..._n
push ebx
call fcn.0042fbc0
mov esi, dword [ebp - 0xc8]
add esp, 0xc
cmp dword [ebx + 0x35c], 0
je 0x430fbc
push esi
push edi
call fcn.00431270
add esp, 8
push esi
call fcn.00430550
add esp, 4
cmp dword [ebx + 0x45c], 0
je 0x430fd8
push esi
push ebx
call fcn.00431190
add esp, 8
mov eax, dword [ebx + 0x1b0]
test eax, eax
je 0x430fff
push 0
push esi
push dword [ebx + 0x1b4]
call eax
add esp, 0xc
cmp eax, 2
jne 0x431042
mov dword [ebp - 0xcc], 1
push dword [ebp - 0xc4]
push esi
push edi
call fcn.004309b0
add esp, 0xc
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x431066
push esi
push edi
call fcn.00430040
mov eax, dword [ebp - 0xc8]
add esp, 8
xor ecx, ecx
pop esi
cmp eax, 1
pop edi
cmove eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464acc
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x430fff
push esi
push edi
call fcn.00430040
add esp, 8
mov eax, 0x2a
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464acc
mov esp, ebp
pop ebp
ret
push 1
push esi
call fcn.00441ca0
add esp, 8
call fcn.00427e50
cmp dword [edi + 0x238], 1
mov dword [edi + 0x230], eax
mov dword [edi + 0x234], edx
jle 0x43109a
push dword [edi + 0x23c]
push ebx
call fcn.00424570
add esp, 8
cmp dword [ebp - 0xcc], 0
jne 0x431169
cmp dword [edi + 0x8c], 1
jne 0x431169
push dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43114a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0xcc], eax
cmp eax, 0xb
je 0x43112f
cmp eax, 0x2732
jle 0x4310ec
cmp eax, 0x2734
jle 0x43112f
push eax
push edi
call fcn.00422210
push eax
lea eax, [ebp - 0x34]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push ebx
call fcn.0042fbc0
mov eax, dword [ebp - 0xcc]
push esi
push edi
mov dword [ebx + 0x85f4], eax
call fcn.00430040
add esp, 0x20
mov eax, 7
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464acc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xd0]
xor eax, eax
mov dword [ecx], esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464acc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xc8]
mov dword [ecx], esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464acc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xd0]
xor eax, eax
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00464acc
mov esp, ebp
pop ebp
ret