Function at 0x1400019d3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140057ba0
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1400fae80]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor ebx, ebx
xor eax, eax
lea rdx, [rbp + 0xf]
mov qword [rbp + 0x1b], rax
mov qword [rbp + 0x23], rax
mov rax, qword [rcx]
mov r13d, ebx
mov r12d, ebx
mov r15d, ebx
mov qword [rbp + 0xf], rbx
mov dword [rbp + 7], ebx
mov dword [rbp + 0x17], ebx
call qword [rax + 0x48]
test eax, eax
jns 0x140057c27
cmp dword [section..data], 2
mov qword [rbp + 0xf], rbx
jl 0x140057f21
test dword [0x1400f603e], 0x200000
je 0x140057f21
lea rax, str.Unable_to_get_supported_field_for_sensor_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x159
jmp 0x140057c6a
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jns 0x140057c8c
cmp dword [section..data], 2
jl 0x140057efe
test dword [0x1400f603e], 0x200000
je 0x140057efe
lea rax, str.Unable_to_get_field_count_for_sensor_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x15f
lea r9, str...cem_accelerometer.cpp
lea r8, str.CAccelerometer::IsSensorCompatible
mov edx, 2
mov ecx, 0x200000
call fcn.140001a82
jmp 0x140057efe
mov qword [rsp + 0x108], r14
mov r14d, ebx
cmp dword [rbp + 7], ebx
jbe 0x140057ef6
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rdi
lea rbx, str.Supported_X_sensor_found_n
lea rdi, str.Supported_Y_sensor_found_n
lea rsi, str.Supported_Z_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 0x140057ed7
mov ecx, dword [section..data]
mov eax, dword [0x1400f6060]
cmp ecx, 4
jl 0x140057dc6
bt eax, 0x15
jae 0x140057dc6
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 dword [rsp + 0x78], edx
mov dword [rsp + 0x70], r8d
mov dword [rsp + 0x68], r9d
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]
lea r9, str...cem_accelerometer.cpp
mov dword [rsp + 0x30], eax
lea rax, str.PID___d___08lX__04hX__04hX__02X_02X__02X_02X_02X_02X_02X_02X_n
lea r8, str.CAccelerometer::IsSensorCompatible
mov qword [rsp + 0x28], rax
mov edx, 4
mov ecx, 0x200000
mov dword [rsp + 0x20], 0x16a
call fcn.140001a82
mov ecx, dword [section..data]
mov eax, dword [0x1400f6060]
lea rbx, str.Supported_X_sensor_found_n
lea rdi, str.Supported_Y_sensor_found_n
lea rsi, str.Supported_Z_sensor_found_n
mov edx, dword [rbp + 0x27]
mov r9, qword [rbp + 0x1f]
mov r8, qword [rbp + 0x17]
cmp edx, dword [reloc.WSOCK32.dll_bind]
jne 0x140057e2b
cmp r8, qword [0x1400db468]
jne 0x140057e2b
cmp r9, qword [0x1400db470]
jne 0x140057e2b
cmp ecx, 4
jl 0x140057e20
bt eax, 0x15
jae 0x140057e20
lea r9, str...cem_accelerometer.cpp
lea r8, str.CAccelerometer::IsSensorCompatible
mov edx, 4
mov ecx, 0x200000
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x16d
call fcn.140001a82
mov r13d, 1
jmp 0x140057ed7
cmp edx, dword [reloc.WSOCK32.dll_closesocket]
jne 0x140057e82
cmp r8, qword [0x1400da848]
jne 0x140057e82
cmp r9, qword [0x1400da850]
jne 0x140057e82
cmp ecx, 4
jl 0x140057e7a
bt eax, 0x15
jae 0x140057e7a
lea r9, str...cem_accelerometer.cpp
lea r8, str.CAccelerometer::IsSensorCompatible
mov edx, 4
mov ecx, 0x200000
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x173
call fcn.140001a82
mov r12d, 1
jmp 0x140057ed7
cmp edx, dword [0x1400da950]
jne 0x140057ed7
cmp r8, qword [0x1400da940]
jne 0x140057ed7
cmp r9, qword [0x1400da948]
jne 0x140057ed7
cmp ecx, 4
jl 0x140057ed1
bt eax, 0x15
jae 0x140057ed1
lea r9, str...cem_accelerometer.cpp
lea r8, str.CAccelerometer::IsSensorCompatible
mov edx, 4
mov ecx, 0x200000
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x179
call fcn.140001a82
mov r15d, 1
inc r14d
cmp r14d, dword [rbp + 7]
jb 0x140057cd0
mov rdi, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xf8]
xor ebx, ebx
mov r14, qword [rsp + 0x108]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140057f0d
mov rdx, qword [rcx]
call qword [rdx + reloc.WSOCK32.dll_recv]
test r13d, r13d
je 0x140057f21
test r12d, r12d
je 0x140057f21
mov eax, 1
test r15d, r15d
jne 0x140057f23
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006cfe0
add rsp, 0xc0
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret