Function at 0x140005056
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140071140
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14016c4a0]
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 0x1400711e7
cmp dword [reloc.WSOCK32.dll_accept], 2
mov qword [rbp + 0xf], rbx
jl 0x1400714c1
test dword [0x14016ba2e], 0x200000
je 0x1400714c1
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 0x14007149e
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jns 0x14007122c
cmp dword [reloc.WSOCK32.dll_accept], 2
jl 0x14007149e
test dword [0x14016ba2e], 0x200000
je 0x14007149e
lea rax, str.Unable_to_get_field_count_for_sensor_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x16b
jmp 0x1400711c5
mov qword [rsp + 0x108], r14
mov r14d, ebx
cmp dword [rbp + 7], ebx
jbe 0x140071496
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 0x140071477
mov ecx, dword [reloc.WSOCK32.dll_accept]
mov eax, dword [0x14016ba50]
cmp ecx, 4
jl 0x140071366
bt eax, 0x15
jae 0x140071366
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 [0x14016ba50]
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 0x1400713cb
cmp r8, qword [0x140141f70]
jne 0x1400713cb
cmp r9, qword [0x140141f78]
jne 0x1400713cb
cmp ecx, 4
jl 0x1400713c0
bt eax, 0x15
jae 0x1400713c0
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 0x140071477
cmp edx, dword [reloc.WSOCK32.dll_closesocket]
jne 0x140071422
cmp r8, qword [0x140140f08]
jne 0x140071422
cmp r9, qword [0x140140f10]
jne 0x140071422
cmp ecx, 4
jl 0x14007141a
bt eax, 0x15
jae 0x14007141a
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 0x140071477
cmp edx, dword [0x140141038]
jne 0x140071477
cmp r8, qword [0x140141028]
jne 0x140071477
cmp r9, qword [0x140141030]
jne 0x140071477
cmp ecx, 4
jl 0x140071471
bt eax, 0x15
jae 0x140071471
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 0x140071270
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 0x1400714ad
mov rdx, qword [rcx]
call qword [rdx + reloc.WSOCK32.dll_recv]
test r13d, r13d
je 0x1400714c1
test r12d, r12d
je 0x1400714c1
mov eax, 1
test r15d, r15d
jne 0x1400714c3
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