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

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x1c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x1e0], rbx
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rsi, r9
mov rdi, r8
mov rbp, rdx
mov qword [rsp + 0xe0], r8
lea rcx, [0x18012eb74]
call fcn.1800010d0
mov qword [rsp + 0x20], rax
lea r9, [0x18012eb74]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rcx, rdi
call fcn.180009f10
test eax, eax
je 0x180042da7
mov rcx, rdi
call fcn.180002b30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x180042da7
test al, 0x10
je 0x180042da7
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.180007cc0
mov rcx, rax
call fcn.18004e2a0
mov rbx, rax
lea rcx, [rax + 0x38]
mov rdx, rsi
call fcn.180003c80
mov esi, dword [rbx + 8]
test esi, esi
je 0x180042b59
mov rcx, rdi
call fcn.180002b10
mov eax, esi
jmp 0x180042db4
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.18004a8a0
nop
mov esi, dword [rbx + 8]
test esi, esi
jne 0x180042bb4
lea rcx, [rbx + 0xe8]
lea rdx, [rsp + 0x68]
call fcn.180003c80
lea rcx, [rbx + 0x110]
lea rdx, [rsp + 0x90]
call fcn.180003c80
lea rcx, [rbx + 0x138]
lea rdx, [rsp + 0xb8]
call fcn.180003c80
mov rcx, rbx
call fcn.18004c1e0
mov esi, eax
mov dword [rbx + 8], eax
test esi, esi
je 0x180042bf8
lea rax, vtable.LicenseSession.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xb8]
call fcn.180002b10
lea rcx, [rsp + 0x90]
call fcn.180002b10
lea rcx, [rsp + 0x68]
call fcn.180002b10
nop
mov rcx, rdi
call fcn.180002b10
mov eax, esi
jmp 0x180042db4
lea rdx, [rsp + 0xf0]
mov rcx, rbp
call fcn.18004a910
nop
mov esi, dword [rbx + 8]
test esi, esi
jne 0x180042c9a
mov eax, dword [rsp + 0xf8]
mov dword [rbx + 0x168], eax
lea rcx, [rbx + 0x170]
lea rdx, [rsp + 0x100]
call fcn.180003c80
lea rcx, [rbx + 0x198]
lea rdx, [rsp + 0x128]
call fcn.180003c80
lea rcx, [rbx + 0x1c0]
lea rdx, [rsp + 0x150]
call fcn.180003c80
mov r11d, dword [rsp + 0x178]
mov dword [rbx + 0x1e8], r11d
mov eax, dword [rsp + 0x17c]
mov dword [rbx + 0x1ec], eax
lea rcx, [rbx + 0x1f0]
lea rdx, [rsp + 0x180]
call fcn.180003c80
mov rcx, rbx
call fcn.18004c1e0
mov esi, eax
mov dword [rbx + 8], eax
test esi, esi
je 0x180042d26
lea rax, vtable.LicenseInfo.0
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x180]
call fcn.180002b10
lea rcx, [rsp + 0x150]
call fcn.180002b10
lea rcx, [rsp + 0x128]
call fcn.180002b10
lea rcx, [rsp + 0x100]
call fcn.180002b10
nop
lea rax, vtable.LicenseSession.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xb8]
call fcn.180002b10
lea rcx, [rsp + 0x90]
call fcn.180002b10
lea rcx, [rsp + 0x68]
call fcn.180002b10
nop
mov rcx, rdi
call fcn.180002b10
mov eax, esi
jmp 0x180042db4
lea rax, vtable.LicenseInfo.0
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x180]
call fcn.180002b10
lea rcx, [rsp + 0x150]
call fcn.180002b10
lea rcx, [rsp + 0x128]
call fcn.180002b10
lea rcx, [rsp + 0x100]
call fcn.180002b10
nop
lea rax, vtable.LicenseSession.0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0xb8]
call fcn.180002b10
lea rcx, [rsp + 0x90]
call fcn.180002b10
lea rcx, [rsp + 0x68]
call fcn.180002b10
nop
mov rcx, rdi
call fcn.180002b10
xor eax, eax
jmp 0x180042db4
mov rcx, rdi
call fcn.180002b10
mov eax, 0x109
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1c0
pop rdi
pop rsi
pop rbp
ret