Function at 0x43a7ed
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
mov ebx, dword [ebp + 8]
push ebx
call fcn.00438b74
test eax, eax
jne 0x43a809
xor eax, eax
jmp 0x43aacd
push dword [ebx + 0x888]
call fcn.0041261f
test eax, eax
jne 0x43a82a
push 0x561426
push ebx
call fcn.0043b1ae
xor eax, eax
jmp 0x43aacd
mov dword [ebx + 0x520], 2
xor edx, edx
mov dword [ebx + 0x878], edx
xor ecx, ecx
mov dword [ebx + 0x87c], ecx
cmp dword [ebx + 0x530], 0
je 0x43a8f7
cmp word [ebx + 0x51c], 0
jne 0x43a8f7
cmp dword [0x565dc0], 0
je 0x43a8b7
xor eax, eax
mov dword [0x56cd18], eax
push dword [0x5618e8]
push 0
push 0x523
call fcn.0042c771
push eax
push dword [ebx]
call fcn.004ef55b
call fcn.0042e455
mov esi, eax
mov dword [ebx + 0x52c], esi
push dword [ebx + 0x888]
push esi
push 1
push 0
add ebx, 0x4b8
push ebx
call fcn.004887dc
mov eax, 1
jmp 0x43aacd
mov eax, dword [ebx + 0x888]
cmp byte [eax + 0x4b0], 0
je 0x43a8f0
add eax, 0x4b0
push eax
push 0x64
lea edx, [ebx + 0x4b8]
push edx
call fcn.0042e5e3
push 8
push ebx
call fcn.0043901d
test eax, eax
je 0x43a8f0
mov eax, 1
jmp 0x43aacd
xor eax, eax
jmp 0x43aacd
lea edx, [ebx + 0x4b8]
push edx
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43a964
cmp dword [0x565dc0], 0
je 0x43a91e
cmp dword [0x565dbc], 0
jne 0x43a964
cmp dword [ebx + 0x534], 0
je 0x43a94a
push 7
push 0
lea ecx, [ebx + 0x4b8]
push ecx
lea eax, [ebx + 0x3f0]
push eax
push dword [ebx]
call fcn.00471001
mov eax, 1
jmp 0x43aacd
push 0
push 0x524
call fcn.0042c771
push eax
push ebx
call fcn.0043b1ae
xor eax, eax
jmp 0x43aacd
cmp dword [0x565dc0], 0
je 0x43a9cc
cmp dword [ebx + 0x534], 0
je 0x43a9cc
xor edx, edx
mov dword [0x56cd18], edx
push dword [0x5618e8]
push 0
push 0x523
call fcn.0042c771
push eax
push dword [ebx]
call fcn.004ef55b
call fcn.0042e455
mov esi, eax
mov dword [ebx + 0x52c], esi
push dword [ebx + 0x888]
push esi
push 0
mov ax, word [ebx + 0x51c]
push eax
add ebx, 0x4b8
push ebx
call fcn.004887dc
mov eax, 1
jmp 0x43aacd
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 4]
mov dword [eax], edx
xor ecx, ecx
mov dword [eax + 4], ecx
mov word [ebp - 0x22], 4
mov word [ebp - 0x24], 2
lea esi, [ebp - 0x2c]
push 0x10
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0054e10c
add esp, 0xc
mov word [ebp - 0x1c], 2
movsx edx, word [esi + 0xa]
push edx
mov ecx, dword [esi + 0xc]
push dword [ecx]
lea eax, [ebp - 0x18]
push eax
call fcn.0054e09c
add esp, 0xc
mov dx, word [ebx + 0x51c]
push edx
call sub.WSOCK32.dll_htons
mov word [ebp - 0x1a], ax
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
push 0
push 2
push 0
mov cx, word [0x563c12]
push ecx
mov ax, word [0x563c10]
push eax
call fcn.004f316d
mov esi, eax
mov dword [ebx + 0x884], esi
cmp esi, 0xffffffff
jne 0x43aa70
push 0
push 0x518
call fcn.0042c771
push eax
push ebx
call fcn.0043b1ae
xor eax, eax
jmp 0x43aacd
push dword [ebx + 0x884]
call fcn.005279f5
push 0x10
push 0x801c
push dword [0x56f018]
push dword [ebx + 0x884]
call sub.WSOCK32.dll_WSAAsyncSelect
push 0x10
lea edx, [ebp - 0x1c]
push edx
push dword [ebx + 0x884]
call sub.WSOCK32.dll_connect
test eax, eax
jge 0x43aacb
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x43aacb
push 0
push 0x525
call fcn.0042c771
push eax
push ebx
call fcn.0043b1ae
xor eax, eax
jmp 0x43aacd
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4