Function at 0x140005380
Capabilities:
Read file on windows

Disassembly:
test rcx, rcx
je 0x14000547b
push rbp
sub rsp, 0xc0
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, qword [0x14002b0b8]
lea rdx, [0x140020a8c]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0xd8], rbx
call fcn.140002de0
mov rbx, rax
test rax, rax
je 0x14000545b
xor edx, edx
mov qword [rsp + 0xe8], rdi
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400056c6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400056c6
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400056c6
mov rdx, qword [0x14002b0b8]
lea eax, [rdi + 1]
movsxd rcx, eax
mov qword [rsp + 0xb0], r13
inc dword [rdx + 0x34c]
call qword [rdx + 0xe8]
mov r13, rax
test rax, rax
jne 0x14000547c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r13, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14001e5e0
add rsp, 0xc0
pop rbp
ret
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400054b6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14002b0b8]
mov rcx, r13
dec dword [rax + 0x34c]
call qword [rax + 0xf0]
jmp 0x14000544b
xor eax, eax
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xa0], r15
lea r15, [rdi + r13]
mov byte [r15], al
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor esi, esi
mov rdi, r13
cmp r13, r15
jae 0x14000569b
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xa8], r14
mov rbx, rdi
cmp rdi, r15
jae 0x140005513
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x140005513
cmp al, 0xd
je 0x140005513
inc rbx
cmp rbx, r15
jb 0x140005500
cmp byte [rdi], 0x5b
jne 0x1400055d5
cmp rbx, rdi
jbe 0x1400055d5
cmp byte [rbx - 1], 0x5d
jne 0x1400055d5
mov r9d, ebx
lea rax, [rdi + 1]
sub r9d, edi
mov qword [rsp + 0x20], rax
sub r9d, 2
lea r8, str._.s
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.1400026a0
mov rbp, qword [0x14002b0b8]
lea rcx, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call fcn.1400027f0
mov ecx, dword [rbp + 0x17e0]
xor edi, edi
mov r12d, eax
test ecx, ecx
je 0x1400055be
xor r14d, r14d
cmp edi, ecx
jl 0x14000559e
mov r8d, 0x35f
lea rdx, str.C:UserskyhxdOneDriveDocumentscoding_sources_spoofers_applecleanercpp_mainImGuiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rbp + 0x17e8]
add rsi, r14
cmp dword [rsi + 8], r12d
je 0x1400055cb
mov ecx, dword [rbp + 0x17e0]
inc edi
add r14, 0x20
cmp edi, ecx
jne 0x140005582
lea rcx, [rsp + 0x50]
call fcn.140005210
mov rsi, rax
mov rbp, qword [rsp + 0x30]
jmp 0x14000567e
test rsi, rsi
je 0x14000567e
lea r9, [rsp + 0x3c]
mov rcx, rdi
lea r8, [rsp + 0x38]
lea rdx, str.Pos_f__f
call fcn.1400012e0
cmp eax, 2
jne 0x140005614
movss xmm0, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x3c]
movss dword [rsi + 0xc], xmm0
movss dword [rsi + 0x10], xmm1
jmp 0x14000567e
lea r9, [rsp + 0x3c]
mov rcx, rdi
lea r8, [rsp + 0x38]
lea rdx, str.Size_f__f
call fcn.1400012e0
cmp eax, 2
jne 0x14000565a
movss xmm1, dword [rsp + 0x38]
maxss xmm1, dword [rbp + 0x140c]
movss xmm0, dword [rsp + 0x3c]
maxss xmm0, dword [rbp + 0x1410]
movss dword [rsi + 0x14], xmm1
movss dword [rsi + 0x18], xmm0
jmp 0x14000567e
lea r8, [rsp + 0x40]
mov rcx, rdi
lea rdx, str.Collapsed_d
call fcn.1400012e0
cmp eax, 1
jne 0x14000567e
cmp dword [rsp + 0x40], 0
setne al
mov byte [rsi + 0x1c], al
lea rdi, [rbx + 1]
cmp rdi, r15
jb 0x1400054f3
mov r14, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb8]
mov rax, qword [0x14002b0b8]
mov rcx, r13
dec dword [rax + 0x34c]
call qword [rax + 0xf0]
mov r15, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xe0]
jmp 0x14000544b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140005453