Function at 0x1400112c1
Capabilities:
Read file on windows

Disassembly:
jmp 0x140016e40
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
mov eax, 0x140f8
call fcn.1400110cd
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4eb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x14118]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x140b8], rax
lea rcx, [0x1400250c1]
call fcn.1400113ed
lea r8, [0x14001bc10]
lea rdx, str.E:my_data_vs2022ConsoleApplication1x64Debugcalc.bin
lea rcx, [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fopen_s]
cmp qword [rbp + 8], 0
jne 0x140016ec7
lea rcx, str.Failed___open_file._n
call fcn.1400111d6
mov eax, 1
jmp 0x1400171d5
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_ftell]
mov dword [rbp + 0x44], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
movsxd rax, dword [rbp + 0x44]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140016f2d
lea rcx, str.Memory_allocation_failed._n
call fcn.1400111d6
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
mov eax, 1
jmp 0x1400171d5
movsxd rax, dword [rbp + 0x44]
mov r9, qword [rbp + 8]
mov r8, rax
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fread]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
mov edx, dword [rbp + 0x44]
lea rcx, str.File_size:__ld_bytes_n
call fcn.1400111d6
lea rcx, str.File_content__first_16_bytes_or_less_:_n
call fcn.1400111d6
mov dword [rbp + 0x64], 0
jmp 0x140016f7d
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x64], eax
jge 0x140016fa7
cmp dword [rbp + 0x64], 0x10
jge 0x140016fa7
movsxd rax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, str._02x
call fcn.1400111d6
jmp 0x140016f75
lea rcx, [0x14001c6c8]
call fcn.1400111d6
cmp dword [rbp + 0x140e0], 2
jne 0x1400170a0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x140e8]
mov rax, qword [rcx + rax]
mov qword [rbp + 0x88], rax
mov rdx, qword [rbp + 0x88]
lea rcx, str.Received_string:__s_n
call fcn.1400111d6
mov rcx, qword [rbp + 0x88]
call fcn.1400111ae
mov dword [rbp + 0xa4], eax
mov edx, dword [rbp + 0xa4]
lea rcx, str.String_length:__d_n
call fcn.1400111d6
movsxd rax, dword [rbp + 0xa4]
movsxd rcx, dword [rbp + 0x44]
mov r9, rax
mov r8, qword [rbp + 0x88]
mov rdx, rcx
mov rcx, qword [rbp + 0x28]
call fcn.140011325
mov dword [rbp + 0x14064], 0x40
mov dword [rbp + 0x14084], 0x3000
mov qword [rbp + 0x140a4], 0
lea rax, [rbp + 0x14064]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x14084]
lea r8, [rbp + 0x44]
lea rdx, [rbp + 0x140a4]
lea rcx, [rbp + 0x14044]
call fcn.1400114b0
mov qword [rbp + 0xc8], rax
movsxd rax, dword [rbp + 0x44]
mov r8, rax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0xc8]
call fcn.1400111f4
call qword [rbp + 0xc8]
mov dword [rbp + 0x13a24], 0
jmp 0x1400170ba
mov eax, dword [rbp + 0x13a24]
inc eax
mov dword [rbp + 0x13a24], eax
cmp dword [rbp + 0x13a24], 0x2710
jge 0x140017104
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x2710
idiv ecx
mov dword [rbp + 0x140b4], edx
movsxd rax, dword [rbp + 0x13a24]
mov ecx, dword [rbp + 0x140b4]
mov dword [rbp + rax*4 + 0x9d50], ecx
movsxd rax, dword [rbp + 0x13a24]
mov ecx, dword [rbp + 0x140b4]
mov dword [rbp + rax*4 + 0xf0], ecx
jmp 0x1400170ac
call qword [sym.imp.ucrtbased.dll_clock]
mov dword [rbp + 0x139a4], eax
mov r8d, 0x270f
xor edx, edx
lea rcx, [rbp + 0xf0]
call fcn.14001105a
call qword [sym.imp.ucrtbased.dll_clock]
mov dword [rbp + 0x139c4], eax
mov eax, dword [rbp + 0x139a4]
mov ecx, dword [rbp + 0x139c4]
sub ecx, eax
mov eax, ecx
cvtsi2sd xmm0, eax
divsd xmm0, qword [0x14001bc28]
movsd qword [rbp + 0x139e8], xmm0
movsd xmm1, qword [rbp + 0x139e8]
movq rdx, xmm1
lea rcx, str.Quick_Sort_time:__.6f_seconds_n
call fcn.1400111d6
call qword [sym.imp.ucrtbased.dll_clock]
mov dword [rbp + 0x139a4], eax
mov edx, 0x2710
lea rcx, [rbp + 0x9d50]
call fcn.140011104
call qword [sym.imp.ucrtbased.dll_clock]
mov dword [rbp + 0x139c4], eax
mov eax, dword [rbp + 0x139a4]
mov ecx, dword [rbp + 0x139c4]
sub ecx, eax
mov eax, ecx
cvtsi2sd xmm0, eax
divsd xmm0, qword [0x14001bc28]
movsd qword [rbp + 0x13a08], xmm0
movsd xmm1, qword [rbp + 0x13a08]
movq rdx, xmm1
lea rcx, str.Bubble_Sort_time:__.6f_seconds_n
call fcn.1400111d6
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001cd28]
call fcn.14001135c
mov rax, rdi
mov rcx, qword [rbp + 0x140b8]
xor rcx, rbp
call fcn.1400111ef
lea rsp, [rbp + 0x140c8]
pop rdi
pop rbp
ret