Function at 0x419680
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489c87
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x4bd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 6
push str.unauth
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.00403320
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
push 5
push str.envi_n
mov dword [ebp - 0x78], 0x1f4
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call fcn.00403320
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044a330
add esp, 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 2
call fcn.0043a6b0
test eax, eax
jne 0x4199fb
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
push 4
lea eax, [ebp - 0x78]
mov dword [ebp - 0xc4], edi
push eax
push 0x1006
push 0xffff
push edi
call esi
push 4
lea eax, [ebp - 0x78]
push eax
push 0x1005
push 0xffff
push edi
call esi
cmp edi, 0xffffffff
je 0x419a01
sub esp, 0x18
lea esi, [ebx + 0x58]
mov ecx, esp
push esi
call fcn.00403180
push dword [ebx + 0x70]
lea eax, [ebp - 0xc4]
push eax
call fcn.0043a6f0
test eax, eax
jne 0x4199fb
cmp dword [ebp - 0x94], 0x10
lea eax, [ebp - 0xa8]
mov edi, dword [ebp - 0xc4]
cmovae eax, dword [ebp - 0xa8]
push 0
push dword [ebp - 0x98]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x419a01
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0043a7d0
test eax, eax
jne 0x4199fb
cmp dword [ebp - 0x7c], 0x10
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x80]
cmovae ecx, dword [ebp - 0x90]
push 0x11
push str.zookeeper_version
push ecx
call fcn.00409ed0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4199fb
cmp dword [ebp - 0xac], 0x10
lea eax, [ebp - 0xc0]
lea edi, [ebx + 0x40]
cmovae eax, dword [ebp - 0xc0]
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x41985e
mov ecx, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x419866
mov esi, dword [esi]
push eax
push ecx
push esi
lea eax, [ebp - 0x74]
push str._s__s__s
push eax
call fcn.00401410
push 0x4c0f64
call fcn.0044684a
add esp, 0x18
test eax, eax
je 0x419891
push eax
call fcn.004463ca
add esp, 4
sub esp, 0x18
lea ecx, [ebp - 0x74]
mov edx, esp
mov dword [ebp - 0xc8], esp
lea esi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4198b3
sub ecx, esi
lea eax, [ebp - 0x74]
push ecx
push eax
mov ecx, edx
call fcn.00403320
mov byte [ebp - 4], 3
push dword [ebx + 0x70]
push 1
push 1
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00403180
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00419430
push eax
mov byte [ebp - 4], 4
call fcn.00409b20
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 2
call fcn.00419570
push 0x4c0f64
call fcn.0044686f
add esp, 4
test eax, eax
je 0x419920
push eax
call fcn.004463ca
add esp, 4
push dword [ebp - 0xc4]
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x419963
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419959
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a2d
push edx
push ecx
call fcn.004449d2
add esp, 8
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x4199b2
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4199a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a32
push edx
push ecx
call fcn.004449d2
add esp, 8
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x419a11
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419a07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419a37
jmp 0x419a07
mov edi, dword [ebp - 0xc4]
push edi
jmp 0x419926
push edx
push ecx
call fcn.004449d2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444991
mov esp, ebp
pop ebp
ret
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
int3