Function at 0x426a20
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
mov ecx, dword [edi + 0xec]
push ebx
mov ebx, eax
movsx eax, byte [edi + 0x16d]
push ebp
mov ebp, dword [edi + 0xe8]
shl eax, 6
cmp dword [ecx + 0x178], 0
push esi
lea esi, [eax + ebp + 0x24]
mov dword [esp + 0x10], esi
jne 0x426a58
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
movsx eax, byte [edi + 0x166]
sub eax, 8
je 0x426bd8
sub eax, 1
jne 0x426a4f
cmp dword [edi + 0x12c], eax
je 0x426a8a
push str.lws_server_socket_service_ssl
push str._s:_leaking_ssl_n
lea esi, [eax + 1]
call fcn.004214d0
add esp, 8
mov edx, dword [edi + 0xec]
mov eax, dword [edx + 0x128]
push eax
call fcn.0049a310
add esp, 4
test eax, eax
mov dword [edi + 0x12c], eax
jne 0x426ae8
push eax
push eax
call fcn.0049a0d0
push 0
push eax
call fcn.00434af0
push eax
push str.SSL_new_failed:__s_n
mov esi, 1
call fcn.004214d0
add esp, 0x18
call fcn.004267a0
test ebx, ebx
je 0x426d9d
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [edi + 0xec]
mov edx, dword [0x54cf08]
push ecx
push edx
push eax
call fcn.004997b0
mov eax, dword [edi + 0x12c]
add esp, 0xc
push ebx
push eax
call fcn.00497e40
mov ecx, dword [edi + 0x12c]
push 0
push 2
push 0x21
push ecx
call fcn.00498050
mov edx, dword [edi + 0x12c]
push edx
call fcn.00449320
add esp, 0x1c
test eax, eax
je 0x426b42
push 0
push 1
push 0x66
push eax
call fcn.00435b50
add esp, 0x10
jmp 0x426b54
push str.NULL_rbio_n
mov esi, 4
call fcn.004214d0
add esp, 4
mov eax, dword [edi + 0x12c]
push eax
call fcn.00462300
add esp, 4
test eax, eax
je 0x426b78
push 0
push 1
push 0x66
push eax
call fcn.00435b50
add esp, 0x10
jmp 0x426b8a
push str.NULL_rbio_n
mov esi, 4
call fcn.004214d0
add esp, 4
mov eax, edi
mov ecx, ebp
mov byte [edi + 0x166], 8
call fcn.004203f0
test eax, eax
je 0x426bbe
push str.lws_server_socket_service_ssl
push str._s:_failed_to_insert_into_fds_n
mov esi, 1
call fcn.004214d0
add esp, 8
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [ebp + 0x21c]
push ecx
mov ebx, 9
mov esi, edi
call fcn.00420a20
mov esi, dword [esp + 0x14]
add esp, 4
push 0
push 2
mov eax, edi
call fcn.00420700
add esp, 8
test eax, eax
je 0x426c0a
push str.lws_server_socket_service_ssl
push str._s:_lws_change_pollfd_failed_n
mov esi, 1
call fcn.004214d0
add esp, 8
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esi + 0x30]
mov eax, dword [edi + 0x13c]
push 2
push 0x1000
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, dword [edi + 0xec]
cmp dword [ecx + 0x17c], 0
je 0x426cb6
cmp eax, 1
jl 0x426c94
mov edx, dword [esi + 0x30]
cmp byte [edx], 0x20
jb 0x426c94
mov eax, dword [edi + 0x12c]
and dword [edi + 0x160], 0xfff9ffff
push eax
call fcn.00499ca0
mov ecx, dword [edi + 0x12c]
add esp, 4
push ecx
call fcn.004999f0
mov dword [edi + 0x12c], 0
mov edx, dword [ebp + 0x214]
and edx, 0x1808
add esp, 4
cmp edx, 0x1808
jne 0x426cca
or dword [edi + 0x160], 0x200000
jmp 0x426cca
test eax, eax
je 0x426a4f
jge 0x426cb6
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2733
je 0x426d05
call esi
cmp eax, 0x2733
je 0x426d05
mov eax, dword [edi + 0x12c]
push eax
call fcn.0049a5b0
add esp, 4
cmp eax, 1
jne 0x426cf0
mov ecx, dword [ebp + 0x21c]
push ecx
mov ebx, 3
mov esi, edi
call fcn.00420a20
add esp, 4
mov byte [edi + 0x166], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [edi + 0x12c]
push eax
push edx
call fcn.0049a0d0
add esp, 8
cmp eax, 2
jne 0x426d3b
push 9
push 0
mov eax, edi
call fcn.00420700
add esp, 8
test eax, eax
je 0x426a4f
push str.lws_server_socket_service_ssl
push str._s:_WANT_READ_change_pollfd_failed_n
mov esi, 1
call fcn.004214d0
add esp, 8
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp eax, 3
jne 0x426d76
push 2
push 0
mov eax, edi
call fcn.00420700
add esp, 8
test eax, eax
je 0x426a4f
push str.lws_server_socket_service_ssl
push str._s:_WANT_WRITE_change_pollfd_failed_n
mov esi, 1
call fcn.004214d0
add esp, 8
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0
push eax
call fcn.00434af0
push eax
mov eax, dword [edi + 0x13c]
push eax
push str.SSL_accept_failed_skt__u:__s_n
mov esi, 1
call fcn.004214d0
add esp, 0x14
call fcn.00426690
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret