Function at 0x140005056
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140070e90
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14016c1f0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor ebx, ebx
lea rdx, [rbp + 0xf]
xor eax, eax
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x1b], rax
mov r13d, ebx
mov qword [rbp + 0x23], rax
mov r12d, ebx
mov rax, qword [rcx]
mov r15d, ebx
mov dword [rbp + 7], ebx
mov dword [rbp + 0x17], ebx
call qword [rax + 0x48]
test eax, eax
jns 0x140070f37
cmp dword [reloc.WSOCK32.dll_accept], 2
mov qword [rbp + 0xf], rbx
jl 0x140071211
test dword [0x14016b77e], 0x200000
je 0x140071211
lea rax, str.Unable_to_get_supported_field_for_sensor_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x165
lea r9, str...cem_accelerometer.cpp
mov edx, 2
lea r8, str.CAccelerometer::IsSensorCompatible
mov ecx, 0x200000
call fcn.140003693
jmp 0x1400711ee
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jns 0x140070f7c
cmp dword [reloc.WSOCK32.dll_accept], 2
jl 0x1400711ee
test dword [0x14016b77e], 0x200000
je 0x1400711ee
lea rax, str.Unable_to_get_field_count_for_sensor_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x16b
jmp 0x140070f15
mov qword [rsp + 0x108], r14
mov r14d, ebx
cmp dword [rbp + 7], ebx
jbe 0x1400711e6
mov qword [rsp + 0xf8], rsi
lea rbx, str.Supported_X_sensor_found_n
mov qword [rsp + 0x100], rdi
lea rsi, str.Supported_Z_sensor_found_n
lea rdi, str.Supported_Y_sensor_found_n
nop word [rax + rax]
mov rcx, qword [rbp + 0xf]
lea r8, [rbp + 0x17]
mov edx, r14d
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x1400711c7
mov ecx, dword [reloc.WSOCK32.dll_accept]
mov eax, dword [0x14016b7a0]
cmp ecx, 4
jl 0x1400710b6
bt eax, 0x15
jae 0x1400710b6
movzx eax, byte [rbp + 0x26]
movzx ecx, byte [rbp + 0x25]
movzx edx, byte [rbp + 0x24]
movzx r8d, byte [rbp + 0x23]
movzx r9d, byte [rbp + 0x22]
movzx r10d, byte [rbp + 0x21]
movzx r11d, byte [rbp + 0x20]
movzx ebx, byte [rbp + 0x1f]
movzx edi, word [rbp + 0x1d]
movzx esi, word [rbp + 0x1b]
mov dword [rsp + 0x88], eax
mov eax, dword [rbp + 0x17]
mov dword [rsp + 0x80], ecx
mov ecx, 0x200000
mov dword [rsp + 0x78], edx
mov edx, 4
mov dword [rsp + 0x70], r8d
lea r8, str.CAccelerometer::IsSensorCompatible
mov dword [rsp + 0x68], r9d
lea r9, str...cem_accelerometer.cpp
mov dword [rsp + 0x60], r10d
mov dword [rsp + 0x58], r11d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x27]
mov dword [rsp + 0x30], eax
lea rax, str.PID___d___08lX__04hX__04hX__02X_02X__02X_02X_02X_02X_02X_02X_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x176
call fcn.140003693
mov ecx, dword [reloc.WSOCK32.dll_accept]
lea rbx, str.Supported_X_sensor_found_n
mov eax, dword [0x14016b7a0]
lea rdi, str.Supported_Y_sensor_found_n
lea rsi, str.Supported_Z_sensor_found_n
mov edx, dword [rbp + 0x27]
cmp edx, dword [reloc.WSOCK32.dll_bind]
mov r9, qword [rbp + 0x1f]
mov r8, qword [rbp + 0x17]
jne 0x14007111b
cmp r8, qword [0x140141ed0]
jne 0x14007111b
cmp r9, qword [0x140141ed8]
jne 0x14007111b
cmp ecx, 4
jl 0x140071110
bt eax, 0x15
jae 0x140071110
mov qword [rsp + 0x28], rbx
lea r9, str...cem_accelerometer.cpp
lea r8, str.CAccelerometer::IsSensorCompatible
mov dword [rsp + 0x20], 0x179
mov edx, 4
mov ecx, 0x200000
call fcn.140003693
mov r13d, 1
jmp 0x1400711c7
cmp edx, dword [reloc.WSOCK32.dll_closesocket]
jne 0x140071172
cmp r8, qword [0x140140e68]
jne 0x140071172
cmp r9, qword [0x140140e70]
jne 0x140071172
cmp ecx, 4
jl 0x14007116a
bt eax, 0x15
jae 0x14007116a
mov qword [rsp + 0x28], rdi
lea r9, str...cem_accelerometer.cpp
lea r8, str.CAccelerometer::IsSensorCompatible
mov dword [rsp + 0x20], 0x17f
mov edx, 4
mov ecx, 0x200000
call fcn.140003693
mov r12d, 1
jmp 0x1400711c7
cmp edx, dword [0x140140f98]
jne 0x1400711c7
cmp r8, qword [0x140140f88]
jne 0x1400711c7
cmp r9, qword [0x140140f90]
jne 0x1400711c7
cmp ecx, 4
jl 0x1400711c1
bt eax, 0x15
jae 0x1400711c1
mov qword [rsp + 0x28], rsi
lea r9, str...cem_accelerometer.cpp
lea r8, str.CAccelerometer::IsSensorCompatible
mov dword [rsp + 0x20], 0x185
mov edx, 4
mov ecx, 0x200000
call fcn.140003693
mov r15d, 1
inc r14d
cmp r14d, dword [rbp + 7]
jb 0x140070fc0
mov rdi, qword [rsp + 0x100]
xor ebx, ebx
mov rsi, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x108]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400711fd
mov rdx, qword [rcx]
call qword [rdx + reloc.WSOCK32.dll_recv]
test r13d, r13d
je 0x140071211
test r12d, r12d
je 0x140071211
mov eax, 1
test r15d, r15d
jne 0x140071213
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140004ca5
add rsp, 0xc0
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret