Function at 0x43a550
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add eax, 0x10a
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebx + eax*4]
mov byte [ebp - 0x1c5], 0
mov edi, dword [ebx]
mov dword [ebp - 0x1dc], eax
mov dword [eax], 0xffffffff
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1cc], edi
push eax
push ecx
push ebx
call fcn.004399a0
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x1d8], esi
test esi, esi
jne 0x43a8d2
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
push eax
call fcn.00438f80
add esp, 0x10
test al, al
jne 0x43a633
call fcn.0047f3a8
mov esi, dword [eax]
call fcn.0047f3a8
mov edi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.00425e80
push eax
push dword [edi]
push str.sa_addr_inet_ntop___failed_with_errno__d:__s
push dword [ebp - 0x1cc]
call fcn.00438650
push dword [ebp - 0x1d0]
push ebx
call fcn.00439020
add esp, 0x24
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1d4]
lea eax, [ebp - 0x34]
push eax
push str.__Trying__s:_ld..._n
push edi
call fcn.00438730
mov eax, dword [ebp - 0x1c4]
add esp, 0x10
cmp eax, 2
je 0x43a65b
cmp eax, 0x17
jne 0x43a664
cmp dword [ebp - 0x1c0], 1
je 0x43a675
mov edi, dword [ebp - 0x1d0]
push edi
call fcn.00439900
add esp, 4
jmp 0x43a6b7
cmp byte [edi + 0xb06], 0
mov edi, dword [ebp - 0x1d0]
push edi
je 0x43a696
push ebx
call fcn.0043a9d0
push edi
call fcn.00439900
add esp, 0xc
jmp 0x43a69e
call fcn.00439900
add esp, 4
mov eax, dword [ebp - 0x1cc]
cmp byte [eax + 0xb0f], 0
je 0x43a6bd
push edi
push eax
call fcn.0043a8f0
add esp, 8
mov eax, dword [ebp - 0x1cc]
cmp dword [eax + 0x610], 0
je 0x43a714
mov esi, dword [ebp - 0x1cc]
push 1
push esi
call fcn.0042b490
add esp, 8
push 0
push edi
push dword [esi + 0x614]
mov esi, dword [esi + 0x610]
mov ecx, esi
call dword [0x4a2398]
call esi
push 0
push dword [ebp - 0x1cc]
mov esi, eax
call fcn.0042b490
add esp, 0x14
cmp esi, 2
jne 0x43a76f
mov byte [ebp - 0x1c5], 1
mov esi, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1c4]
cmp eax, 2
je 0x43a724
cmp eax, 0x17
jne 0x43a793
lea eax, [ebp - 0x1b4]
push eax
call fcn.004517b0
push eax
push dword [ebp - 0x1c4]
push edi
push ebx
call fcn.00439e40
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43a793
push edi
push ebx
call fcn.00439020
add esp, 8
mov eax, 7
cmp esi, 1
cmove esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x43a70e
push edi
push ebx
call fcn.00439020
add esp, 8
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
push 1
push edi
call fcn.0044aaf0
lea eax, [ebp - 0x1ec]
push eax
call fcn.004425f0
add esp, 0xc
cmp dword [ebx + 0x530], 1
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x520], xmm0
jle 0x43a7d9
push 3
push dword [ebx + 0x53c]
push dword [ebx + 0x538]
push dword [ebp - 0x1cc]
call fcn.0042ab20
add esp, 0x10
cmp byte [ebp - 0x1c5], 0
jne 0x43a8ca
cmp dword [ebx + 0x2f8], 4
je 0x43a8ca
cmp byte [ebx + 0x518], 0
jne 0x43a838
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x43a838
test esi, esi
jne 0x43a8b7
mov eax, dword [ebp - 0x1dc]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x1d4], eax
cmp eax, 0xb
je 0x43a8ad
cmp eax, 0x2732
jle 0x43a857
cmp eax, 0x2734
jle 0x43a8ad
push 0x100
lea ecx, [ebp - 0x134]
push ecx
push eax
call fcn.00425e80
mov esi, dword [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x34]
push eax
push str.Immediate_connect_fail_for__s:__s_n
push esi
call fcn.00438730
mov eax, dword [ebp - 0x1d4]
push edi
push ebx
mov dword [esi + 0xd34], eax
call fcn.00439020
add esp, 0x24
mov esi, 7
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1dc]
xor esi, esi
mov dword [eax], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1dc]
mov dword [eax], edi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004728e8
mov esp, ebp
pop ebp
ret