Function at 0x140048b10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x478
mov rax, qword [0x140067040]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov dword [rsp + 0x30], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], 0
mov edx, 0x104
lea rcx, [rsp + 0x108]
call fcn.140004ad0
nop
lea rax, [rsp + 0x108]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
sar rax, 1
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x60], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x60]
add rax, qword [rcx]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140048c2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140048c53
lea rdx, str.Could_not_get_path_to_loader.
lea rcx, [rsp + 0x160]
call fcn.1400018a0
lea rdx, [0x140065290]
lea rcx, [rsp + 0x160]
call fcn.1400269fc
nop
lea rax, [rsp + 0x108]
mov qword [rsp + 0x80], rax
xor eax, eax
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rdx, rax
mov rcx, qword [rsp + 0x488]
call fcn.140002e70
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov r8, 0xffffffffffffffff
lea rdx, [0x14005db38]
mov rcx, qword [rsp + 0x488]
call fcn.140002b90
inc rax
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x35]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x98]
xor r8d, r8d
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x1a8]
call fcn.1400038b0
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x488]
call fcn.140002d50
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x1a8]
call fcn.140003350
nop
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x490]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x490]
mov rcx, rax
call fcn.1400039f0
mov qword [rsp + 0xc0], rax
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x488]
call fcn.1400034a0
nop
mov rax, qword [rsp + 0x488]
mov rcx, rax
call fcn.1400039f0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
xor r9d, r9d
lea r8, [rsp + 0x250]
mov edx, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x140048e32
lea rdx, str.Could_not_get_full_path_to_module.
lea rcx, [rsp + 0x178]
call fcn.1400018a0
lea rdx, [0x140065290]
lea rcx, [rsp + 0x178]
call fcn.1400269fc
nop
mov eax, 2
imul rax, rax, 0
lea rax, [rsp + rax + 0x250]
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call fcn.140002e70
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x488]
call fcn.140002d50
nop
lea rcx, [rsp + 0x1e8]
call fcn.140003350
nop
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x488]
mov rcx, rax
call fcn.1400039f0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140048fd3
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x1c8]
call fcn.14004a0b0
nop
lea r8, [rsp + 0x1c8]
lea rdx, str.Could_not_find_module._Path:_
lea rcx, [rsp + 0x228]
call fcn.140004770
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
lea r8, [0x14005db64]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x208]
call fcn.1400048b0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x190]
call fcn.140001850
lea rdx, [0x140065290]
lea rcx, [rsp + 0x190]
call fcn.1400269fc
nop
lea rcx, [rsp + 0x208]
call fcn.140003a60
nop
lea rax, [rsp + 0x208]
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x228]
call fcn.140003a60
nop
lea rax, [rsp + 0x228]
mov qword [rsp + 0x148], rax
lea rcx, [rsp + 0x1c8]
call fcn.140003a60
nop
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x108]
call fcn.140003080
nop
mov rax, qword [rsp + 0x488]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140024c50
add rsp, 0x478
ret