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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140100258]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, qword [rcx + 0x30]
mov r12d, edx
mov r15, qword [rcx + 0x38]
mov r13, rcx
mov qword [rsp + 0x20], r8
cmp r14, r15
je 0x14004a0ac
lea rbx, [r14 + 0x90]
xor edi, edi
cmp dword [rbx - 0x10], r12d
jne 0x14004a095
cmp qword [rbx - 0x60], 8
lea rcx, [rbx - 0x78]
jb 0x140049d1e
mov rcx, qword [rbx - 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov eax, 1
cmove ecx, eax
test ecx, ecx
jne 0x14004a095
lea rcx, [rbp - 8]
mov dword [rbp - 0x30], 3
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 0xf
call fcn.140013d30
movups xmm0, xmmword [rbx - 0x8c]
lea rax, [rbx - 8]
mov qword [rbp + 0x38], rdi
lea rcx, [rbp - 8]
mov qword [rbp + 0x48], rdi
movaps xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0x50], 0xf
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], 0xf
mov dword [rbp + 0x78], 2
mov word [rbp + 0x7c], 0x100
movups xmmword [rsp + 0x28], xmm0
cmp rcx, rax
je 0x140049ddf
mov r8, qword [rbx]
lea rcx, [rbp]
mov eax, dword [rax]
mov dword [rbp - 8], eax
mov rdx, qword [r8]
call fcn.140012c70
mov rdx, qword [rbp + 8]
lea rcx, [rbp - 8]
call fcn.140015cc0
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140015d60
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rbx - 0x8c]
mov edi, dword [r13 + 0x48]
lea rdx, [rbx - 0x78]
mov eax, dword [r14]
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x44], xmm0
mov dword [rbp - 0x30], edi
mov dword [rsp + 0x40], eax
call fcn.140026ce0
lea rdx, [rbx - 0x58]
lea rcx, [rsp + 0x78]
call fcn.140009b60
mov rax, qword [rbx - 0x38]
lea rdx, [rbp - 0x28]
movups xmm0, xmmword [rsp + 0x28]
mov qword [rbp - 0x68], rax
lea rcx, [rbp + 0x98]
movzx eax, byte [rbx - 0x30]
mov byte [rbp - 0x60], al
mov rax, qword [rbx - 0x28]
mov qword [rbp - 0x58], rax
mov eax, dword [rbx - 0x20]
mov dword [rbp - 0x50], eax
movzx eax, byte [rbx - 0x1c]
mov byte [rbp - 0x4c], al
mov rax, qword [rbx - 0x18]
mov qword [rbp - 0x48], rax
movaps xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0x90], edi
call fcn.140009b60
lea rdx, [rbp - 8]
lea rcx, [rbp + 0xb8]
call fcn.14001a0c0
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0xf8]
call fcn.140009b60
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x118]
call fcn.140009b60
mov eax, dword [rbp + 0x78]
lea rdx, [rsp + 0x58]
movups xmm0, xmmword [rsp + 0x44]
mov dword [rbp + 0x138], eax
lea rcx, [rbp + 0x158]
movzx eax, byte [rbp + 0x7c]
mov byte [rbp + 0x13c], al
movzx eax, byte [rbp + 0x7d]
mov byte [rbp + 0x13d], al
mov eax, dword [rsp + 0x40]
mov dword [rbp + 0x140], eax
movups xmmword [rbp + 0x144], xmm0
call fcn.140026ce0
mov rax, qword [rbp - 0x68]
lea rdx, [rbp + 0x80]
movups xmm1, xmmword [rbp - 0x78]
mov rcx, qword [rsp + 0x20]
xor edi, edi
movups xmm0, xmmword [rsp + 0x78]
mov qword [rbp + 0x198], rax
movzx eax, byte [rbp - 0x60]
mov byte [rbp + 0x1a0], al
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x1a8], rax
mov eax, dword [rbp - 0x50]
mov dword [rbp + 0x1b0], eax
movzx eax, byte [rbp - 0x4c]
mov byte [rbp + 0x1b4], al
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x1b8], rax
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp - 0x78], rdi
movups xmmword [rbp + 0x188], xmm1
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], dil
call fcn.1400470e0
lea rcx, [rbp + 0x140]
call fcn.14001a4a0
lea rcx, [rbp + 0x80]
call fcn.140014290
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140049fa4
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049f9f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a0d8
call fcn.14008df80
lea rcx, [rsp + 0x58]
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], dil
call fcn.140026dd0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x140049ffa
mov rcx, qword [rbp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ff5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a0de
call fcn.14008df80
mov rdx, qword [rbp + 0x50]
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], dil
cmp rdx, 0x10
jb 0x14004a045
mov rcx, qword [rbp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a040
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a0de
call fcn.14008df80
lea rcx, [rbp - 8]
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], dil
call fcn.1400140a0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14004a095
mov rcx, qword [rbp - 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a090
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a0de
call fcn.14008df80
add r14, 0xc8
add rbx, 0xc8
cmp r14, r15
jne 0x140049d05
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14008e050
mov rbx, qword [rsp + 0x318]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14009464c
int3
call fcn.14009464c
int3