Function at 0x1400a4c72
Capabilities:
Get file size
Get graphical window text
Read file on windows

Disassembly:
jmp 0x1400e8ee0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x9e8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1aa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa08]
mov rax, qword [0x140248940]
xor rax, rbp
mov qword [rbp + 0x998], rax
lea rcx, [0x140266107]
call fcn.1400a4e07
mov dword [rbp + 4], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0xa8], 0xffffffffffffffff
lea rax, [rbp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x202
rep stosb byte [rdi], al
lea rax, [rbp + 0x300]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov dword [rbp + 0x604], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rax, qword [rbp + 0x9c0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, 0x104
lea rdx, [rbp + 0x300]
mov rax, qword [rbp + 0x9c0]
mov rcx, qword [rax + 0x48]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0xffffffffffffffff
jne 0x1400e9001
jmp 0x1400e943b
lea rdx, [rbp + 0x528]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1400e9023
jmp 0x1400e943b
mov dword [rbp + 0x84], 0x2000
mov eax, dword [rbp + 0x84]
mov ecx, eax
call fcn.1400a2e31
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400e904f
jmp 0x1400e943b
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x68]
lea r8, [rbp + 0x28]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x9c0]
call fcn.1400a290e
test eax, eax
jne 0x1400e9082
jmp 0x1400e943b
mov r8d, 0x20
lea rdx, [rbp + 0x300]
mov ecx, dword [rbp + 0x28]
call fcn.1400a0db1
lea rdx, [rbp + 0x300]
mov rax, qword [rbp + 0x9c0]
mov rcx, qword [rax + 0x60]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov qword [rbp + 0x548], 0x1c
xor r9d, r9d
lea r8, [rbp + 0x568]
mov rdx, qword [rbp + 0x548]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1400e90e6
jmp 0x1400e943b
mov r8d, 0x58
xor edx, edx
lea rcx, [rbp + 0x630]
call fcn.1400a39d0
mov dword [rbp + 0x630], 1
mov dword [rbp + 0x5a4], 0x1c
mov eax, dword [rbp + 0x5a4]
cmp rax, qword [rbp + 0x528]
jge 0x1400e9434
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x5c4]
mov r8d, 4
lea rdx, [rbp + 0x584]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e9159
jmp 0x1400e943b
mov eax, dword [rbp + 0x584]
mov ecx, dword [rbp + 0x5a4]
add ecx, eax
mov eax, ecx
mov eax, eax
cmp rax, qword [rbp + 0x528]
jge 0x1400e9180
cmp dword [rbp + 0x584], 0x200
jb 0x1400e918a
jmp 0x1400e943b
mov eax, dword [rbp + 0x5a4]
add rax, 4
mov dword [rbp + 0x5a4], eax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x5c4]
mov r8d, dword [rbp + 0x584]
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e91d3
jmp 0x1400e943b
mov eax, dword [rbp + 0x5c4]
mov ecx, dword [rbp + 0x5a4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x5a4], eax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x5c4]
mov r8d, 4
lea rdx, [rbp + 0x584]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e9221
jmp 0x1400e943b
mov eax, dword [rbp + 0x5a4]
add rax, 4
mov dword [rbp + 0x5a4], eax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x5c4]
mov r8d, 4
lea rdx, [rbp + 0x5ec]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e9269
jmp 0x1400e943b
mov eax, dword [rbp + 0x5a4]
add rax, 4
mov dword [rbp + 0x5a4], eax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x5c4]
mov r8d, 4
lea rdx, [rbp + 0x5e8]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400e92b1
jmp 0x1400e943b
mov eax, dword [rbp + 0x5a4]
add rax, 4
mov dword [rbp + 0x5a4], eax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x9c8]
lea r8, str._s_s
mov edx, 0x104
lea rcx, [rbp + 0x300]
call fcn.1400a1806
lea rax, [rbp + 0x5e8]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x584]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x68]
lea r8, [rbp + 0x300]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x9c0]
call fcn.1400a2d82
test eax, eax
jne 0x1400e9338
jmp 0x1400e943b
mov eax, dword [rbp + 0x584]
mov ecx, dword [rbp + 0x5a4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x5a4], eax
mov eax, dword [rbp + 0x604]
mov dword [rbp + 0x634], eax
mov dword [rbp + 0x638], 0
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x648], rax
lea r9, [rbp + 0x630]
xor r8d, r8d
mov edx, 0x104d
mov rax, qword [rbp + 0x9c0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0x634], eax
mov eax, dword [rbp + 0x638]
inc eax
mov dword [rbp + 0x638], eax
lea rax, [rbp + 0x300]
mov qword [rbp + 0x648], rax
lea r9, [rbp + 0x630]
xor r8d, r8d
mov edx, 0x104c
mov rax, qword [rbp + 0x9c0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [rbp + 0x584]
lea r8, [0x1401f5d6c]
mov edx, 0x20
lea rcx, [rbp + 0x300]
call fcn.1400a1806
mov eax, dword [rbp + 0x638]
inc eax
mov dword [rbp + 0x638], eax
lea r9, [rbp + 0x630]
xor r8d, r8d
mov edx, 0x104c
mov rax, qword [rbp + 0x9c0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rbp + 0x634]
inc eax
mov dword [rbp + 0x604], eax
jmp 0x1400e910e
mov dword [rbp + 4], 1
cmp qword [rbp + 0xa8], 0xffffffffffffffff
je 0x1400e9452
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x68], 0
je 0x1400e9462
mov rcx, qword [rbp + 0x68]
call fcn.1400a1bcb
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x140200b30]
call fcn.1400a3fe8
mov eax, edi
mov rcx, qword [rbp + 0x998]
xor rcx, rbp
call fcn.1400a25bc
lea rsp, [rbp + 0x9a8]
pop rdi
pop rbp
ret