Function at 0x1400eb6b0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x1403295b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, ecx
and eax, 0xfffffff8
cmp eax, 0xe0
jne 0x1400eb6fb
add ecx, 0xffffff20
cmp ecx, 7
ja case.default.0x1400eb6ed
lea rax, [0x1400eb978]
movsxd rcx, dword [rax + rcx*4]
add rcx, rax
jmp rcx
and byte [0x140331470], 0xfe
jmp case.default.0x1400eb6ed
movsx eax, byte [0x140331472]
cmp eax, ecx
jne 0x1400eb714
lea rcx, [0x140331472]
xor eax, eax
jmp 0x1400eb850
movsx eax, byte [0x140331473]
cmp eax, ecx
jne 0x1400eb730
lea rcx, [0x140331473]
mov eax, 1
jmp 0x1400eb850
movsx eax, byte [0x140331474]
cmp eax, ecx
jne 0x1400eb74c
lea rcx, [0x140331474]
mov eax, 2
jmp 0x1400eb850
movsx eax, byte [0x140331475]
cmp eax, ecx
jne 0x1400eb7bc
lea rcx, [0x140331475]
mov eax, 3
jmp 0x1400eb850
and byte [0x140331470], 0xfd
jmp case.default.0x1400eb6ed
and byte [0x140331470], 0xfb
jmp case.default.0x1400eb6ed
and byte [0x140331470], 0xf7
jmp case.default.0x1400eb6ed
and byte [0x140331470], 0xef
jmp case.default.0x1400eb6ed
and byte [0x140331470], 0xdf
jmp case.default.0x1400eb6ed
and byte [0x140331470], 0xbf
jmp case.default.0x1400eb6ed
and byte [0x140331470], 0x7f
jmp case.default.0x1400eb6ed
movsx eax, byte [0x140331476]
cmp eax, ecx
jne 0x1400eb7d5
lea rcx, [0x140331476]
mov eax, 4
jmp 0x1400eb850
movsx eax, byte [0x140331477]
cmp eax, ecx
jne 0x1400eb7ee
lea rcx, [0x140331477]
mov eax, 5
jmp 0x1400eb850
movsx eax, byte [0x140331478]
cmp eax, ecx
jne 0x1400eb807
lea rcx, [0x140331478]
mov eax, 6
jmp 0x1400eb850
movsx eax, byte [0x140331479]
cmp eax, ecx
jne 0x1400eb820
lea rcx, [0x140331479]
mov eax, 7
jmp 0x1400eb850
movsx eax, byte [0x14033147a]
cmp eax, ecx
jne 0x1400eb839
lea rcx, [0x14033147a]
mov eax, 8
jmp 0x1400eb850
movsx eax, byte [0x14033147b]
cmp eax, ecx
jne case.default.0x1400eb6ed
lea rcx, [0x14033147b]
mov eax, 9
mov edx, eax
lea rsi, [0x140331470]
add rdx, rsi
add rdx, 3
mov r8d, 0xa
sub r8d, eax
call fcn.14021e3b0
mov byte [0x14033147b], 0
cmp qword [0x140330bf8], 0
je 0x1400eb954
lea rsi, [0x140330c08]
inc dword [0x140330c10]
mov dword [0x140330c14], 0x123c2c2f
call fcn.14023cc88
mov dword [0x140330c0c], eax
mov rax, qword [0x140331470]
mov qword [0x140330c18], rax
mov eax, dword [0x140331478]
mov dword [0x140330c20], eax
mov rcx, qword [0x140330bf8]
lea rax, [0x140331428]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov rdx, rsi
mov r8d, Ordinal_32
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
mov rcx, qword [0x140330bf8]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [0x140331018]
mov r8d, 0x400
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
js 0x1400eb95b
mov eax, dword [0x140331024]
mov esi, 0xffffdcdc
cmp eax, dword [0x140330c14]
jne 0x1400eb960
mov eax, dword [0x140331020]
xor ecx, ecx
cmp eax, dword [0x140330c10]
mov esi, 0xffffdcdd
cmove esi, ecx
jmp 0x1400eb960
mov esi, 0xffffdcd8
jmp 0x1400eb960
mov esi, 0xffffdcdb
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140141380
mov eax, esi
add rsp, 0x50
pop rsi
ret