Function at 0x18003f7c0
Capabilities:
Check if file exists
Check os version

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1801c2938]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180014590
nop
lea rdx, [0x180152edc]
lea rcx, [rsp + 0x30]
call fcn.180021c60
mov rcx, rax
mov edx, ebx
call fcn.180012f50
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x28]
call fcn.180012480
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800146d0
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x36d
lea r8, [rbp + 0x50]
mov edx, 3
call fcn.18002ff90
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp + 0x28]
call fcn.180001850
nop
lea rcx, [rbp - 0x48]
call fcn.180014670
lea rcx, [rbp - 0x48]
call fcn.180013e40
xor edi, edi
lea r8, [0x18014830a]
mov edx, 0x400
lea rcx, [0x1801d99e0]
call fcn.1800c0248
xor edx, edx
mov r8d, VarUI4FromDisp
lea rcx, [rbp + 0xa0]
call fcn.1800c6a90
mov dword [rbp + 0xa0], VarUI4FromDisp
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp + 0xb0], 2
jne 0x18003fcd6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180014590
nop
lea rdx, [0x180152edc]
lea rcx, [rsp + 0x30]
call fcn.180021c60
mov rcx, rax
mov edx, ebx
call fcn.180012f50
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.180012480
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800146d0
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x378
lea r8, [rbp + 0x28]
lea edx, [rdi + 3]
call fcn.18002ff90
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x28]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp - 0x48]
call fcn.180014670
lea rcx, [rbp - 0x48]
call fcn.180013e40
call fcn.18003e7b0
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180014590
nop
lea rdx, [0x180152edc]
lea rcx, [rsp + 0x30]
call fcn.180021c60
mov rcx, rax
mov edx, ebx
call fcn.180012f50
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.180012480
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800146d0
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x37a
lea r8, [rbp + 0x28]
mov edx, 3
call fcn.18002ff90
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x28]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp - 0x48]
call fcn.180014670
lea rcx, [rbp - 0x48]
call fcn.180013e40
test edi, edi
jne 0x18003fa89
call fcn.18003f610
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180014590
nop
lea rdx, [0x180152edc]
lea rcx, [rsp + 0x30]
call fcn.180021c60
mov rcx, rax
mov edx, ebx
call fcn.180012f50
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.180012480
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800146d0
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x37d
lea r8, [rbp + 0x28]
mov edx, 3
call fcn.18002ff90
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x28]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp - 0x48]
call fcn.180014670
lea rcx, [rbp - 0x48]
call fcn.180013e40
test edi, edi
jne 0x18003fb50
call fcn.18003f080
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180014590
nop
lea rdx, [0x180152edc]
lea rcx, [rsp + 0x30]
call fcn.180021c60
mov rcx, rax
mov edx, ebx
call fcn.180012f50
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.180012480
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800146d0
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x380
lea r8, [rbp + 0x28]
mov edx, 3
call fcn.18002ff90
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x28]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp - 0x48]
call fcn.180014670
lea rcx, [rbp - 0x48]
call fcn.180013e40
test edi, edi
jne 0x18003fc15
call fcn.18003eba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180014590
nop
lea rdx, [0x180152edc]
lea rcx, [rsp + 0x30]
call fcn.180021c60
mov rcx, rax
mov edx, ebx
call fcn.180012f50
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.180012480
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800146d0
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x383
lea r8, [rbp + 0x28]
mov edx, 3
call fcn.18002ff90
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x28]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp - 0x48]
call fcn.180014670
lea rcx, [rbp - 0x48]
call fcn.180013e40
jmp 0x18003fdaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180014590
nop
lea rdx, [0x180152edc]
lea rcx, [rsp + 0x30]
call fcn.180021c60
mov rcx, rax
mov edx, ebx
call fcn.180012f50
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.180012480
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800146d0
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x387
lea r8, [rbp + 0x28]
mov edx, 3
call fcn.18002ff90
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x28]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp - 0x48]
call fcn.180014670
lea rcx, [rbp - 0x48]
call fcn.180013e40
mov ebx, edi
test edi, edi
jne 0x18003fdaf
cmp byte [0x1801d99e0], dil
jne 0x18003fdaf
call fcn.18003f490
mov edi, eax
inc ebx
cmp ebx, 0xa
jl 0x18003fd94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.180014590
nop
lea rdx, [0x180152edc]
lea rcx, [rsp + 0x30]
call fcn.180021c60
mov rcx, rax
mov edx, ebx
call fcn.180012f50
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.180012480
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.180012480
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1800146d0
mov rbx, rax
call fcn.180016d70
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x390
lea r8, [rbp + 0x28]
mov edx, 3
call fcn.18002ff90
nop
lea rcx, [rbp + 0x78]
call fcn.180001850
nop
lea rcx, [rbp + 0x28]
call fcn.180001850
nop
lea rcx, [rbp + 0x50]
call fcn.180001850
nop
lea rcx, [rbp - 0x48]
call fcn.180014670
lea rcx, [rbp - 0x48]
call fcn.180013e40
lea rax, [0x1801d99e0]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800bdf20
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret