Function at 0x100fc1d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x101cd100]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x100fc1fd
lea eax, [edi - 8]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a90
mov esp, ebp
pop ebp
ret
push 1
push edi
mov dword [edi + 0x2c8], 1
call fcn.10100270
add esp, 8
cmp eax, 1
jle 0x100fc264
push edi
call fcn.101001a0
push 0xffffffffffffff8c
push 1
push edi
call fcn.100f9110
push edi
call fcn.101002a0
push edi
call fcn.100ff8c0
push 0xffffffffffffffff
push edi
call fcn.10100270
add esp, 0x20
test eax, eax
jne 0x100fc253
cmp dword [edi + 0x2c8], eax
je 0x100fc253
push edi
call fcn.100fc1d0
add esp, 4
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a90
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x21c], 3
push esi
je 0x100fc27e
cmp dword [edi + 0x21c], 5
je 0x100fc27e
xor esi, esi
jmp 0x100fc449
call fcn.101001f0
cmp dword [0x101cc834], 3
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], 0xfffffff5
jl 0x100fc2cf
mov esi, dword [edi + 0x250]
push edi
call fcn.100fc110
push eax
push dword [edi + 0x22c]
push dword [edi + 0x228]
push str.Closing_zookeeper_sessionId_llx_to__s_n
push str.zookeeper_close
push 0xf0a
push 3
push esi
call fcn.100fddd0
add esp, 0x24
push ebx
call fcn.100fe610
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x10c], eax
push ecx
push 0x1017a9fc
push eax
call fcn.100f7890
mov ebx, eax
add esp, 0xc
test ebx, ebx
js 0x100fc325
push dword [ebp - 0x10c]
call fcn.100fe6f0
add esp, 4
push eax
push dword [ebp - 0x10c]
call fcn.100fe6e0
add esp, 4
push eax
lea eax, [edi + 0x198]
push eax
call fcn.100fab00
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.100fe560
add esp, 8
test ebx, ebx
jns 0x100fc384
cmp dword [0x101cc834], 4
jne 0x100fc37a
mov esi, dword [edi + 0x250]
push ebx
push edi
call fcn.100fc110
add esp, 4
push eax
push dword [edi + 0x22c]
push dword [edi + 0x228]
push str.Error_during_closing_zookeeper_session__sessionId_llx_to__s__error:__d__n
push str.zookeeper_close
push 0xf12
push 4
push esi
call fcn.100fddd0
add esp, 0x24
mov esi, 0xfffffffb
jmp 0x100fc448
push 0xbb8
push edi
call fcn.100ffbf0
mov esi, eax
add esp, 8
test esi, esi
js 0x100fc448
mov ecx, dword [edi]
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], 0x7a120
mov eax, dword [ecx]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 1
push eax
mov eax, dword [ecx]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x100fc40f
cmp dword [0x101cc834], 2
jl 0x100fc446
push dword [edi + 0x22c]
push dword [edi + 0x228]
push 0x5dc
push str.Timed_out___dms__during_waiting_for_servers_reply_after_sending_a_close_request__sessionId_llx_n
push str.wait_for_session_to_be_closed
push 0xee4
jmp 0x100fc436
jns 0x100fc446
cmp dword [0x101cc834], 2
jl 0x100fc446
push dword [edi + 0x22c]
push dword [edi + 0x228]
push eax
push str.System_error___d__happened_while_waiting_for_servers_reply__sessionId_llx_n
push str.wait_for_session_to_be_closed
push 0xee7
push 2
push dword [edi + 0x250]
call fcn.100fddd0
add esp, 0x20
xor esi, esi
pop ebx
cmp dword [0x101cc834], 3
jl 0x100fc47d
push dword [edi + 0x22c]
push dword [edi + 0x228]
push str.Freeing_zookeeper_resources_for_sessionId_llx_n
push str.zookeeper_close
push 0xf20
push 3
push dword [edi + 0x250]
call fcn.100fddd0
add esp, 0x1c
push edi
call fcn.100f8a80
push edi
call fcn.100ff810
push dword [edi]
call fcn.1013a619
push edi
call fcn.1013a619
add esp, 0x10
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop edi
call fcn.10132a90
mov esp, ebp
pop ebp
ret