Function at 0x140002ee0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x1b8
mov rax, qword [0x140040020]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp dword [rsp + 0x1d0], 3
je 0x140002f21
lea rcx, str._n____usage:_NtRemoteLoad.exe__file.bin___PID__n
call fcn.1400012b0
xor eax, eax
jmp 0x140003401
call fcn.1400067d0
movzx eax, al
test eax, eax
jne 0x140002f37
mov eax, 0xffffffff
jmp 0x140003401
lea rax, [rsp + 0x170]
lea rcx, str.eliFdaeRtN
mov rdi, rax
mov rsi, rcx
mov ecx, 0xb
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, str.yromeMlautriVtcetorPtN
mov rdi, rax
mov rsi, rcx
mov ecx, 0x17
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x190]
lea rcx, str.yromeMlautriVetirWtN
mov rdi, rax
mov rsi, rcx
mov ecx, 0x15
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x180]
lea rcx, str.ssecorPnepOtN
mov rdi, rax
mov rsi, rcx
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x100], 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 + 0x1d8]
mov rcx, qword [rcx + rax]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x14000300c
mov eax, 0xffffffff
jmp 0x140003401
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov qword [rsp + 0x158], rax
cmp qword [rsp + 0x158], 0
jne 0x140003038
mov eax, 0xffffffff
jmp 0x140003401
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x78], 0xffffffffffffffff
mov edx, 0x17
lea rcx, str.yromeMlautriVetacollAtN
call fcn.140002e70
lea rcx, str.yromeMlautriVetacollAtN
call fcn.140006370
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 + 0x158]
xor r8d, r8d
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x80]
mov edx, 0xa
lea rcx, [rsp + 0x170]
call fcn.140002e70
lea rcx, [rsp + 0x170]
call fcn.140006370
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 + 0x158]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x160]
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 + 0x1d8]
mov rcx, qword [rcx + rax]
call fcn.140012588
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x128], 0x30
mov qword [rsp + 0x130], 0
mov dword [rsp + 0x140], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x150], 0
movsxd rax, dword [rsp + 0x64]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], 0
mov edx, 0xd
lea rcx, [rsp + 0x180]
call fcn.140002e70
lea rcx, [rsp + 0x180]
call fcn.140006370
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea r9, [rsp + 0x118]
lea r8, [rsp + 0x128]
mov edx, 0x1fffff
lea rcx, [rsp + 0xf8]
call qword [rsp + 0xa0]
cmp qword [rsp + 0xf8], 0
jne 0x140003226
lea rcx, str.Failed_to_open_process
call fcn.1400012b0
mov eax, 0xffffffff
jmp 0x140003401
mov qword [rsp + 0x108], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0x158]
xor r8d, r8d
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
call qword [rsp + 0xa8]
mov dword [rsp + 0x60], eax
mov edx, 0x14
lea rcx, [rsp + 0x190]
call fcn.140002e70
lea rcx, [rsp + 0x190]
call fcn.140006370
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x158]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xf8]
call qword [rsp + 0xb8]
mov dword [rsp + 0x60], eax
mov edx, 0x10
lea rcx, str.xEdaerhTetaerCtN
call fcn.140002e70
lea rcx, str.xEdaerhTetaerCtN
call fcn.140006370
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 + 0x108]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xf8]
xor r8d, r8d
mov edx, 0x10000000
lea rcx, [rsp + 0x110]
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 + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140006840
movzx eax, al
test eax, eax
je 0x1400033d0
lea rdx, str.All_good_:D
lea rcx, [0x140041320]
call fcn.140004260
mov qword [rsp + 0xd0], rax
lea rdx, [0x140004630]
mov rcx, qword [rsp + 0xd0]
call fcn.140003420
jmp 0x1400033ff
lea rdx, str.Something_went_wrong_:d
lea rcx, [0x1400414c0]
call fcn.140004260
mov qword [rsp + 0xd8], rax
lea rdx, [0x140004630]
mov rcx, qword [rsp + 0xd8]
call fcn.140003420
xor eax, eax
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1400090e0
add rsp, 0x1b8
pop rdi
pop rsi
ret