Function at 0x140059440
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x108]
sub rsp, 0x200
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
mov rax, qword [0x1400e06c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
lea rdx, str.preparing...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004fec0
lea rdx, [0x1400500a0]
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]
lea rcx, [rbp - 0x10]
call fcn.140051360
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
xor edi, edi
mov qword [rbp - 0x30], rdi
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], rdi
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x10]
call fcn.140053a90
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
jne 0x140059520
lea rdx, str.error_64
call fcn.14004fec0
lea rdx, [0x1400500a0]
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]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.this_may_take_a_bit...
call fcn.14004fec0
lea rdx, [0x1400500a0]
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]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x10]
call fcn.1400542e0
test al, al
jne 0x140059587
lea rdx, str.error_65
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004fec0
lea rdx, [0x1400500a0]
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]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x38]
cmp rdx, r8
je 0x140059ad3
mov rax, qword [rbp - 0x20]
cmp qword [rbp - 0x28], rax
je 0x140059ad3
mov rcx, qword [0x140109058]
test rcx, rcx
je 0x1400595ee
mov rdx, qword [0x140109068]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400595e1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059acc
mov rcx, r8
call fcn.1400b5934
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
mov qword [0x140109058], rdx
mov qword [0x140109060], r8
mov rax, qword [rbp - 0x30]
mov qword [0x140109068], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov rcx, qword [0x140109070]
test rcx, rcx
je 0x140059653
mov rdx, qword [0x140109080]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14005964e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059acc
mov rcx, r8
call fcn.1400b5934
mov rax, qword [rbp - 0x28]
mov qword [0x140109070], rax
mov rax, qword [rbp - 0x20]
mov qword [0x140109078], rax
mov rax, qword [rbp - 0x18]
mov qword [0x140109080], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rdi
xorps xmm1, xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
lea rcx, [rbp - 0x80]
call fcn.14004e2b0
nop
mov eax, dword [0x1400ceec8]
mov dword [rsp + 0x50], eax
movzx ecx, word [0x1400ceecc]
mov word [rsp + 0x54], cx
movzx eax, byte [0x1400ceece]
mov byte [rsp + 0x50], 0x52
xor byte [rsp + 0x51], 0x39
xor byte [rsp + 0x52], 0x3a
xor byte [rsp + 0x53], 0x3b
xor cl, 0x3c
mov byte [rsp + 0x54], cl
xor byte [rsp + 0x55], 0x3d
xor al, 0x3e
mov byte [rsp + 0x56], al
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x1400599d2
mov qword [rsp + 0x70], 0x64
mov ebx, dword [reloc.WS2_32.dll_accept]
movdqa xmm11, xmmword [0x1400cf4b0]
movdqa xmm7, xmmword [0x1400cf470]
movdqa xmm8, xmmword [0x1400cf460]
movdqa xmm9, xmmword [0x1400cf450]
movdqa xmm10, xmmword [0x1400cf420]
movdqa xmm12, xmmword [0x1400cf520]
movdqa xmm13, xmmword [str.1111]
movdqa xmm6, xmmword [0x1400cf8d0]
nop
mov eax, dword [0x1400ceec8]
mov dword [rsp + 0x50], eax
movzx ecx, word [0x1400ceecc]
mov word [rsp + 0x54], cx
movzx eax, byte [0x1400ceece]
mov byte [rsp + 0x50], 0x52
xor byte [rsp + 0x51], 0x39
xor byte [rsp + 0x52], 0x3a
xor byte [rsp + 0x53], 0x3b
xor cl, 0x3c
mov byte [rsp + 0x54], cl
xor byte [rsp + 0x55], 0x3d
xor al, 0x3e
mov byte [rsp + 0x56], al
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbp - 0x80], rax
movups xmm2, xmmword [0x1400cf0f0]
movups xmmword [rsp + 0x58], xmm2
movzx eax, word [0x1400cf100]
mov word [rsp + 0x68], ax
cmp byte [0x1400cf101], 0
je 0x14005999c
mov ecx, edi
cmp ebx, 2
jl 0x140059962
movdqa xmm1, xmm10
punpckldq xmm1, xmm10
pmuldq xmm1, xmm6
movdqa xmm0, xmm10
punpckhdq xmm0, xmm10
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm13
movdqa xmm1, xmm10
psubd xmm1, xmm0
andps xmm1, xmm11
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
movd eax, xmm2
movd xmm0, eax
xorps xmm1, xmm0
movd dword [rsp + 0x58], xmm1
movdqa xmm1, xmm9
punpckldq xmm1, xmm9
pmuldq xmm1, xmm6
movdqa xmm0, xmm9
punpckhdq xmm0, xmm9
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm13
movdqa xmm1, xmm9
psubd xmm1, xmm0
andps xmm1, xmm11
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
movd xmm0, dword [rsp + 0x5c]
xorps xmm1, xmm0
movd dword [rsp + 0x5c], xmm1
movdqa xmm1, xmm8
punpckldq xmm1, xmm8
pmuldq xmm1, xmm6
movdqa xmm0, xmm8
punpckhdq xmm0, xmm8
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm13
movdqa xmm1, xmm8
psubd xmm1, xmm0
andps xmm1, xmm11
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
movd xmm0, dword [rsp + 0x60]
xorps xmm1, xmm0
movd dword [rsp + 0x60], xmm1
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm6
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm13
movdqa xmm1, xmm7
psubd xmm1, xmm0
andps xmm1, xmm11
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm12
movd xmm0, dword [rsp + 0x64]
xorps xmm1, xmm0
movd dword [rsp + 0x64], xmm1
mov ecx, reloc.WS2_32.dll_recv
mov eax, ecx
lea r8, [rsp + 0x58]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x140059970
lea rdx, [rsp + 0x58]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004fec0
lea rdx, [0x1400500a0]
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]
lea rcx, [rsp + 0x70]
call fcn.1400500e0
cmp qword [rbp - 0x80], 0
je 0x140059750
mov byte [0x140108f44], 1
call fcn.14004b010
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_world481.dll_public:_void___cdecl_cv::Mat::constructor_void____ptr64]
nop
lea rbx, [0x140108fb8]
nop word [rax + rax]
mov dword [rsp + 0x40], 0xcc0020
mov eax, dword [0x140108ff0]
mov dword [rsp + 0x38], eax
mov eax, dword [0x140108fec]
mov dword [rsp + 0x30], eax
mov rax, qword [0x140108fa0]
mov qword [rsp + 0x28], rax
mov eax, dword [0x140108fe8]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x140108fe4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140108fa8]
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rbx
mov rax, qword [0x140108ff8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x140108fe8]
xor r8d, r8d
mov rdx, qword [0x140108fb0]
mov rcx, qword [0x140108fa8]
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rdx, qword [0x140109000]
lea rcx, [rbp + 0x10]
call qword [sym.imp.opencv_world481.dll_public:_class_cv::Mat____ptr64___cdecl_cv::Mat::operator_class_cv::Mat_const____ptr64____ptr64]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x80]
call fcn.14004de90
mov ecx, 1
call qword [sym.imp.opencv_world481.dll_int___cdecl_cv::waitKey_int_]
jmp 0x140059a20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.error_66
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004fec0
lea rdx, [0x1400500a0]
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]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3