Function at 0x1400112ee
Capabilities:
Accept command line arguments
Check if file exists
Get file attributes
Print debug messages
Terminate process

Disassembly:
jmp 0x140013130
push rbp
push rdi
sub rsp, 0xfb8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2c6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140026008]
xor rax, rbp
mov qword [rbp + 0xf88], rax
lea rcx, [0x14002c00b]
call fcn.140011433
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x44], 0
lea rdx, [rbp + 0x44]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rbp + 0x68], rax
cmp dword [rbp + 0x44], 3
jge 0x1400131c2
mov rcx, qword [rbp + 0x28]
call fcn.1400111a4
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, 1
jmp 0x140013483
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rax, [rbp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x208
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.140011343
lea rax, [rbp + 0x2c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x208
xor edx, edx
lea rcx, [rbp + 0x2c0]
call fcn.140011343
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rcx + rax]
lea rcx, [rbp + 0x2c0]
call fcn.14001114f
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rcx + rax]
lea rcx, [rbp + 0x90]
call fcn.14001114f
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x4e4], eax
cmp dword [rbp + 0x4e4], 0xffffffff
je 0x14001327d
mov eax, dword [rbp + 0x4e4]
and eax, 0x10
test eax, eax
je 0x1400132a0
lea rcx, str.Cant_get_file_attributes
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dx, 0xa
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rax, [rbp + 0x510]
mov rdi, rax
xor eax, eax
mov ecx, 0x478
rep stosb byte [rdi], al
mov r8d, 0x478
xor edx, edx
lea rcx, [rbp + 0x510]
call fcn.140011343
lea rcx, [rbp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
mov r9d, 0x208
lea r8, [rbp + 0x90]
mov edx, 0x478
lea rcx, [rbp + 0x510]
call fcn.1400135a0
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rax, [rbp + 0x718]
mov r9d, 0x208
lea r8, [rbp + 0x2c0]
mov edx, 0x478
mov rcx, rax
call fcn.1400135a0
lea rax, [rbp + 0x9b0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc8
rep stosb byte [rdi], al
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rcx + rax]
lea rcx, [rbp + 0x9b0]
call fcn.14001100f
lea rax, [rbp + 0x920]
mov r9d, 0x64
lea r8, [rbp + 0x9b0]
mov edx, 0x478
mov rcx, rax
call fcn.1400135a0
mov dword [rbp + 0xa94], 0
mov eax, 2
imul rax, rax, 0
movzx ecx, word [rbp + rax + 0x9b0]
call qword [sym.imp.ucrtbased.dll_iswdigit]
test eax, eax
je 0x1400133cf
lea r8, [rbp + 0xa94]
xor edx, edx
lea rcx, [rbp + 0x9b0]
call qword [sym.imp.SHLWAPI.dll_StrToIntExW]
lea rax, [rbp + 0x984]
mov r9d, 4
lea r8, [rbp + 0xa94]
mov edx, 0x478
mov rcx, rax
call fcn.1400135a0
jmp 0x1400133db
lea rcx, [rbp + 0x9b0]
call fcn.140011497
xor edx, edx
lea rcx, str.Progman
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rbp + 0xab8], rax
cmp qword [rbp + 0xab8], 0
jne 0x140013408
lea rcx, str.Cant_find_progman
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rbp + 0xad4], 0
lea rdx, [rbp + 0xad4]
mov rcx, qword [rbp + 0xab8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rbp + 0xad4], 0
je 0x14001347d
mov r8d, dword [rbp + 0xad4]
xor edx, edx
mov ecx, 0x2a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0xaf8], rax
cmp qword [rbp + 0xaf8], 0xffffffffffffffff
je 0x140013470
lea r8, [0x1400128f0]
mov rdx, qword [rbp + 0xaf8]
lea rcx, [rbp + 0x510]
call fcn.14001112c
jmp 0x14001347d
lea rcx, str.OpenProcess_error
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140013481
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c390]
call fcn.1400113a7
mov rax, rdi
mov rcx, qword [rbp + 0xf88]
xor rcx, rbp
call fcn.140011203
lea rsp, [rbp + 0xf98]
pop rdi
pop rbp
ret