Function at 0x180043100
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 [0x1801c3938]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800127f0
nop
lea rdx, [0x180153dfc]
lea rcx, [rsp + 0x30]
call fcn.18001d620
mov rcx, rax
mov edx, ebx
call fcn.180010db0
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x28]
call fcn.1800104c0
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x50]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180012930
mov rbx, rax
call fcn.180014440
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.1800322f0
nop
lea rcx, [rbp + 0x78]
call fcn.18008f070
nop
lea rcx, [rbp + 0x50]
call fcn.18008f070
nop
lea rcx, [rbp + 0x28]
call fcn.18008f070
nop
lea rcx, [rbp - 0x48]
call fcn.1800128d0
lea rcx, [rbp - 0x48]
call fcn.180012100
xor edi, edi
lea r8, [0x18014934a]
mov edx, 0x400
lea rcx, [0x1801daa10]
call fcn.1800c191c
xor edx, edx
mov r8d, VarUI4FromDisp
lea rcx, [rbp + 0xa0]
call fcn.1800c7520
mov dword [rbp + 0xa0], VarUI4FromDisp
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp + 0xb0], 2
jne 0x180043616
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800127f0
nop
lea rdx, [0x180153dfc]
lea rcx, [rsp + 0x30]
call fcn.18001d620
mov rcx, rax
mov edx, ebx
call fcn.180010db0
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.1800104c0
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180012930
mov rbx, rax
call fcn.180014440
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.1800322f0
nop
lea rcx, [rbp + 0x78]
call fcn.18008f070
nop
lea rcx, [rbp + 0x28]
call fcn.18008f070
nop
lea rcx, [rbp + 0x50]
call fcn.18008f070
nop
lea rcx, [rbp - 0x48]
call fcn.1800128d0
lea rcx, [rbp - 0x48]
call fcn.180012100
call fcn.1800420f0
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800127f0
nop
lea rdx, [0x180153dfc]
lea rcx, [rsp + 0x30]
call fcn.18001d620
mov rcx, rax
mov edx, ebx
call fcn.180010db0
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.1800104c0
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180012930
mov rbx, rax
call fcn.180014440
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.1800322f0
nop
lea rcx, [rbp + 0x78]
call fcn.18008f070
nop
lea rcx, [rbp + 0x28]
call fcn.18008f070
nop
lea rcx, [rbp + 0x50]
call fcn.18008f070
nop
lea rcx, [rbp - 0x48]
call fcn.1800128d0
lea rcx, [rbp - 0x48]
call fcn.180012100
test edi, edi
jne 0x1800433c9
call fcn.180042f50
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800127f0
nop
lea rdx, [0x180153dfc]
lea rcx, [rsp + 0x30]
call fcn.18001d620
mov rcx, rax
mov edx, ebx
call fcn.180010db0
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.1800104c0
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180012930
mov rbx, rax
call fcn.180014440
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.1800322f0
nop
lea rcx, [rbp + 0x78]
call fcn.18008f070
nop
lea rcx, [rbp + 0x28]
call fcn.18008f070
nop
lea rcx, [rbp + 0x50]
call fcn.18008f070
nop
lea rcx, [rbp - 0x48]
call fcn.1800128d0
lea rcx, [rbp - 0x48]
call fcn.180012100
test edi, edi
jne 0x180043490
call fcn.1800429c0
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800127f0
nop
lea rdx, [0x180153dfc]
lea rcx, [rsp + 0x30]
call fcn.18001d620
mov rcx, rax
mov edx, ebx
call fcn.180010db0
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.1800104c0
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180012930
mov rbx, rax
call fcn.180014440
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.1800322f0
nop
lea rcx, [rbp + 0x78]
call fcn.18008f070
nop
lea rcx, [rbp + 0x28]
call fcn.18008f070
nop
lea rcx, [rbp + 0x50]
call fcn.18008f070
nop
lea rcx, [rbp - 0x48]
call fcn.1800128d0
lea rcx, [rbp - 0x48]
call fcn.180012100
test edi, edi
jne 0x180043555
call fcn.1800424e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800127f0
nop
lea rdx, [0x180153dfc]
lea rcx, [rsp + 0x30]
call fcn.18001d620
mov rcx, rax
mov edx, ebx
call fcn.180010db0
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.1800104c0
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180012930
mov rbx, rax
call fcn.180014440
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.1800322f0
nop
lea rcx, [rbp + 0x78]
call fcn.18008f070
nop
lea rcx, [rbp + 0x28]
call fcn.18008f070
nop
lea rcx, [rbp + 0x50]
call fcn.18008f070
nop
lea rcx, [rbp - 0x48]
call fcn.1800128d0
lea rcx, [rbp - 0x48]
call fcn.180012100
jmp 0x1800436ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800127f0
nop
lea rdx, [0x180153dfc]
lea rcx, [rsp + 0x30]
call fcn.18001d620
mov rcx, rax
mov edx, ebx
call fcn.180010db0
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.1800104c0
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180012930
mov rbx, rax
call fcn.180014440
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.1800322f0
nop
lea rcx, [rbp + 0x78]
call fcn.18008f070
nop
lea rcx, [rbp + 0x28]
call fcn.18008f070
nop
lea rcx, [rbp + 0x50]
call fcn.18008f070
nop
lea rcx, [rbp - 0x48]
call fcn.1800128d0
lea rcx, [rbp - 0x48]
call fcn.180012100
mov ebx, edi
test edi, edi
jne 0x1800436ef
cmp byte [0x1801daa10], dil
jne 0x1800436ef
call fcn.180042dd0
mov edi, eax
inc ebx
cmp ebx, 0xa
jl 0x1800436d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1800127f0
nop
lea rdx, [0x180153dfc]
lea rcx, [rsp + 0x30]
call fcn.18001d620
mov rcx, rax
mov edx, ebx
call fcn.180010db0
lea rdx, str.GetHardDriveComputerID
lea rcx, [rbp + 0x50]
call fcn.1800104c0
nop
lea rdx, str.DiskID.cpp
lea rcx, [rbp + 0x28]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.180012930
mov rbx, rax
call fcn.180014440
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.1800322f0
nop
lea rcx, [rbp + 0x78]
call fcn.18008f070
nop
lea rcx, [rbp + 0x28]
call fcn.18008f070
nop
lea rcx, [rbp + 0x50]
call fcn.18008f070
nop
lea rcx, [rbp - 0x48]
call fcn.1800128d0
lea rcx, [rbp - 0x48]
call fcn.180012100
lea rax, [0x1801daa10]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800be9b0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret