Function at 0x43a72b
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.00438ac0
test eax, eax
jne 0x43a747
xor eax, eax
jmp 0x43aa04
push dword [ebx + 0x888]
call fcn.00412773
test eax, eax
jne 0x43a768
push 0x55f3f6
push ebx
call fcn.0043b0d1
xor eax, eax
jmp 0x43aa04
mov dword [ebx + 0x520], 2
xor edx, edx
mov dword [ebx + 0x878], edx
cmp dword [ebx + 0x530], 0
je 0x43a82e
cmp word [ebx + 0x51c], 0
jne 0x43a82e
cmp dword [0x563d64], 0
je 0x43a7ee
xor ecx, ecx
mov dword [0x56ac00], ecx
push dword [0x55f89c]
push 0
push 0x523
call fcn.0042c564
push eax
push dword [ebx]
call fcn.004ee447
call fcn.0042e194
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.00488cd0
mov eax, 1
jmp 0x43aa04
mov eax, dword [ebx + 0x888]
cmp byte [eax + 0x4ac], 0
je 0x43a827
add eax, 0x4ac
push eax
push 0x64
lea edx, [ebx + 0x4b8]
push edx
call fcn.0042e322
push 8
push ebx
call fcn.00438f73
test eax, eax
je 0x43a827
mov eax, 1
jmp 0x43aa04
xor eax, eax
jmp 0x43aa04
lea edx, [ebx + 0x4b8]
push edx
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43a89b
cmp dword [0x563d64], 0
je 0x43a855
cmp dword [0x563d60], 0
jne 0x43a89b
cmp dword [ebx + 0x534], 0
je 0x43a881
push 7
push 0
lea ecx, [ebx + 0x4b8]
push ecx
lea eax, [ebx + 0x3f0]
push eax
push dword [ebx]
call fcn.0047177d
mov eax, 1
jmp 0x43aa04
push 0
push 0x524
call fcn.0042c564
push eax
push ebx
call fcn.0043b0d1
xor eax, eax
jmp 0x43aa04
cmp dword [0x563d64], 0
je 0x43a903
cmp dword [ebx + 0x534], 0
je 0x43a903
xor edx, edx
mov dword [0x56ac00], edx
push dword [0x55f89c]
push 0
push 0x523
call fcn.0042c564
push eax
push dword [ebx]
call fcn.004ee447
call fcn.0042e194
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.00488cd0
mov eax, 1
jmp 0x43aa04
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.0054c150
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.0054c0e0
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 [0x561bee]
push ecx
mov ax, word [0x561bec]
push eax
call fcn.004f196d
mov esi, eax
mov dword [ebx + 0x884], esi
cmp esi, 0xffffffff
jne 0x43a9a7
push 0
push 0x518
call fcn.0042c564
push eax
push ebx
call fcn.0043b0d1
xor eax, eax
jmp 0x43aa04
push dword [ebx + 0x884]
call fcn.00525bcd
push 0x10
push 0x801c
push dword [0x56cee8]
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 0x43aa02
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x43aa02
push 0
push 0x525
call fcn.0042c564
push eax
push ebx
call fcn.0043b0d1
xor eax, eax
jmp 0x43aa04
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4