Function at 0x14000e200
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x140121080]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov edi, r8d
mov ebx, edx
xor r15d, r15d
test cl, cl
je 0x14000e8fa
mov rax, qword [0x140173b50]
movsxd rax, dword [rax + 0x20c]
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.140008720
lea r10, [rbp + 0x55]
mov r8d, 1
nop
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x14000e280
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x55]
mov rdx, r10
lea rcx, [rsp + 0x78]
call fcn.1400126c0
nop
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
lea r12, [0x140107408]
mov ebx, 8
lea rdi, str.km.left_
cmp rax, rbx
jb 0x14000e35b
lea rax, [r8 + 8]
mov qword [rbp - 0x78], rax
lea rsi, [rsp + 0x78]
cmp rcx, 0xf
cmova rsi, qword [rsp + 0x78]
cmp r12, rsi
jbe 0x14000e31e
lea rax, [rsi + r8]
cmp rdi, rax
ja 0x14000e31e
cmp rsi, rdi
ja 0x14000e316
mov r14, r15
jmp 0x14000e321
mov r14, rsi
sub r14, rdi
jmp 0x14000e321
mov r14, rbx
inc r8
lea rcx, [rsi + 8]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rbx
sub r8, r14
lea rdx, [rdi + 8]
add rdx, r14
lea rcx, [rsi + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x78]
jmp 0x14000e37b
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140012c20
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x1401073fc]
lea rcx, [rsp + 0x38]
call fcn.140011b60
movups xmm10, xmmword [rax]
movups xmmword [rbp + 0x60], xmm10
movups xmm9, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm9
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000e425
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e420
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e420
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
movdqa xmm6, xmmword [0x14010b580]
movdqu xmmword [rsp + 0x48], xmm6
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14000e477
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e472
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e472
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
movdqu xmmword [rbp - 0x78], xmm6
mov byte [rsp + 0x78], 0
mov qword [rbp + 0x38], 0xa
lea rcx, [rbp + 0x38]
call fcn.140008720
lea r10, [rbp + 0x55]
mov r8d, r15d
nop dword [rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x14000e4a0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x55]
mov rdx, r10
lea rcx, [rbp - 0x68]
call fcn.1400126c0
nop
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
sub rax, r8
cmp rax, 8
jb 0x14000e565
lea rax, [r8 + 8]
mov qword [rbp - 0x58], rax
lea rsi, [rbp - 0x68]
cmp rcx, 0xf
cmova rsi, qword [rbp - 0x68]
cmp r12, rsi
jbe 0x14000e529
lea rax, [rsi + r8]
cmp rdi, rax
ja 0x14000e529
cmp rsi, rdi
ja 0x14000e521
mov r14, r15
jmp 0x14000e52c
mov r14, rsi
sub r14, rdi
jmp 0x14000e52c
mov r14, rbx
inc r8
lea rcx, [rsi + 8]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
sub rbx, r14
lea rdx, [r14 + 8]
add rdx, rdi
lea rcx, [rsi + r14]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x68]
jmp 0x14000e584
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140012c20
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x1401073fc]
lea rcx, [rsp + 0x58]
call fcn.140011b60
movups xmm8, xmmword [rax]
movups xmmword [rbp + 0x40], xmm8
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm7
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000e62c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e627
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e627
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
movdqu xmmword [rsp + 0x68], xmm6
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000e675
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e670
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e670
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
movdqu xmmword [rbp - 0x58], xmm6
mov byte [rbp - 0x68], 0
lea rdx, [rbp + 0x60]
movq rcx, xmm10
psrldq xmm9, 8
movq rax, xmm9
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x14000e6b5
lea rcx, [rsp + 0x38]
call fcn.1400042b0
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x38]
mov r8d, dword [rsp + 0x48]
mov rcx, qword [0x1401729d0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000e71e
lea rdx, str.Failed_to_write_to_serial_port_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008370
lea rdx, [0x140008a30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000e75e
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e759
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e759
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
lea rdx, [rbp + 0x40]
movq rcx, xmm8
psrldq xmm7, 8
movq rax, xmm7
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14000e790
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400042b0
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x38]
mov r8d, dword [rsp + 0x48]
mov rcx, qword [0x1401729d0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000e7fb
lea rdx, str.Failed_to_write_to_serial_port_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008370
lea rdx, [0x140008a30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14000e83c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e836
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e836
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14000e87b
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e875
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e875
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14000e8b6
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e8b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000edea
call fcn.1400ec054
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400ebdb0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, str.moving_to:__d___d_n
call fcn.14000d360
lea r10, [rbp + 0x55]
test edi, edi
jns 0x14000e950
neg edi
dec r10
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r10], dil
mov edi, edx
test edx, edx
jne 0x14000e910
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x14000e978
dec r10
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r10], dil
mov edi, edx
test edx, edx
jne 0x14000e950
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x55]
mov rdx, r10
lea rcx, [rbp + 0x18]
call fcn.1400126c0
nop
lea r10, [rbp + 0x55]
test ebx, ebx
jns 0x14000e9d0
neg ebx
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r10], bl
mov ebx, edx
test edx, edx
jne 0x14000e9a0
dec r10
mov byte [r10], reloc.WLDAP32.dll_Ordinal_45
jmp 0x14000e9f6
dec r10
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r10], bl
mov ebx, edx
test edx, edx
jne 0x14000e9d0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x55]
mov rdx, r10
lea rcx, [rbp - 0x48]
call fcn.1400126c0
nop
mov r8, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, r8
mov ebx, 8
lea r14, str.km.move_
cmp rax, rbx
jb 0x14000eaa3
lea rax, [r8 + 8]
mov qword [rbp - 0x38], rax
lea rdi, [rbp - 0x48]
cmp rcx, 0xf
cmova rdi, qword [rbp - 0x48]
lea rax, [0x140107430]
cmp rax, rdi
jbe 0x14000ea67
lea rax, [rdi + r8]
cmp r14, rax
ja 0x14000ea67
cmp rdi, r14
ja 0x14000ea5f
mov rsi, r15
jmp 0x14000ea6a
mov rsi, rdi
sub rsi, r14
jmp 0x14000ea6a
mov rsi, rbx
inc r8
lea rcx, [rdi + 8]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub rbx, rsi
lea rdx, [r14 + 8]
add rdx, rsi
lea rcx, [rdi + rsi]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x48]
jmp 0x14000eac2
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.140012c20
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x14010709c]
lea rcx, [rbp - 0x28]
call fcn.140011b60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], r15
mov byte [rax], 0
lea r9, [rbp + 0x18]
lea r8, [rbp + 0x60]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 8]
call fcn.1400122a0
nop
mov r8d, 3
lea rdx, [0x1401073fc]
lea rcx, [rbp - 8]
call fcn.140011b60
movups xmm8, xmmword [rax]
movups xmmword [rbp + 0x40], xmm8
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm7
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14000ebae
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eba9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eba9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
movdqa xmm6, xmmword [0x14010b580]
movdqu xmmword [rbp + 8], xmm6
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14000ebfe
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ebf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ebf8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000ec3c
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ec37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
movdqu xmmword [rbp - 0x18], xmm6
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14000ec83
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ec7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
movdqu xmmword [rbp - 0x38], xmm6
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14000ecca
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ecc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ecc5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
lea rdx, [rbp + 0x40]
movq rcx, xmm8
psrldq xmm7, 8
movq rax, xmm7
cmp rax, 0xf
cmova rdx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14000ed00
mov r8, rbx
lea rcx, [rsp + 0x58]
call fcn.1400042b0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x38]
mov r8d, dword [rsp + 0x68]
mov rcx, qword [0x1401729d0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000ed6b
lea rdx, str.Failed_to_write_to_serial_port_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140008370
lea rdx, [0x140008a30]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000edac
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eda6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eda6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ec054
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14000e8b6
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e8b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e8b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3