Function at 0x140001000
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0xd8
mov byte [rsp + 0x64], 0x61
mov byte [rsp + 0x65], 0x2e
mov byte [rsp + 0x66], 0x69
mov byte [rsp + 0x67], 0x6e
mov byte [rsp + 0x68], 0x69
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x88], rax
lea rdx, [0x140003270]
lea rcx, [rsp + 0x64]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14000105f
lea rcx, str.Error_opening_file
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x1400013c5
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov dword [rsp + 0x60], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
mov ecx, 0x14044ae
call fcn.14000144c
mov dword [rsp + 0x90], eax
movzx ecx, word [rsp + 0x90]
call fcn.140001760
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, [0x1400040a0]
mov rcx, qword [rsp + 0x88]
call fcn.140001771
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0xb0]
xor r8d, r8d
lea rdx, [0x1400040a8]
mov rcx, qword [rsp + 0x88]
call fcn.140001771
mov rdx, qword [0x1400040a0]
lea rcx, str.DeAddress:_p_n
call fcn.1400016f0
mov rdx, qword [0x1400040a8]
lea rcx, str.ScAddress:_p_n
call fcn.1400016f0
cmp qword [0x1400040a0], 0
jne 0x140001172
lea rcx, str.Error_allocating_memory
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400013c5
mov eax, dword [rsp + 0x60]
mov r9, qword [rsp + 0x78]
mov r8d, eax
mov edx, 1
mov rcx, qword [0x1400040a0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor edx, edx
mov eax, dword [rsp + 0x60]
mov ecx, 2
div ecx
mov eax, edx
mov dword [rsp + 0x94], eax
xor edx, edx
mov eax, dword [rsp + 0x60]
mov ecx, 2
div ecx
mov ecx, dword [rsp + 0x94]
add ecx, eax
mov eax, ecx
mov eax, eax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x70], 0
jmp 0x1400011eb
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x60]
cmp qword [rsp + 0x70], rax
jae 0x140001266
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x70], rax
jae 0x140001239
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov rdx, qword [0x1400040a8]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [0x1400040a0]
mov al, byte [rdx + rax - 1]
mov byte [rcx], al
jmp 0x140001261
mov rax, qword [rsp + 0x70]
mov rcx, qword [0x1400040a8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x70]
mov rdx, qword [0x1400040a0]
add rdx, rcx
mov rcx, rdx
mov cl, byte [rcx]
mov byte [rax], cl
jmp 0x1400011de
mov qword [rsp + 0x80], 0
jmp 0x140001287
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x60]
cmp qword [rsp + 0x80], rax
jae 0x1400012d8
mov rax, qword [rsp + 0x80]
inc rax
mov rcx, qword [rsp + 0x80]
mov rdx, qword [0x1400040a8]
add rdx, rcx
mov rcx, rdx
movsx rcx, byte [rcx]
xor rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov rdx, qword [0x1400040a8]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x140001274
mov ecx, 0xe584c0de
call fcn.14000144c
mov dword [rsp + 0x98], eax
movzx ecx, word [rsp + 0x98]
call fcn.140001760
mov r9d, 0x4000
lea r8, [rsp + 0xb0]
lea rdx, [0x1400040a0]
mov rcx, qword [rsp + 0x88]
call fcn.140001771
mov ecx, 0x93ec9d3d
call fcn.14000144c
mov dword [rsp + 0x9c], eax
movzx ecx, word [rsp + 0x9c]
call fcn.140001760
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [0x1400040a8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0xc0]
call fcn.140001771
mov ecx, 0xc6f6afcd
call fcn.14000144c
mov dword [rsp + 0xa0], eax
movzx ecx, word [rsp + 0xa0]
call fcn.140001760
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call fcn.140001771
add rsp, 0xd8
ret