Function at 0x1400416c0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1b70
call fcn.140247340
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov r14, r9
mov rbx, r8
mov r15, rdx
mov rsi, rcx
xor edi, edi
mov r12, qword [rsp + 0x1bd0]
mov qword [r12], rdi
test r9, r9
jne 0x140041725
lea eax, [rdi + 1]
add rsp, 0x1b70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
test r15, r15
jne 0x14004174a
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax + 0x530]
mov rax, qword [rcx]
lea r8, str.CSABDiskFileAttributeNTFS::DoIO___NULL_Buffer
lea edx, [r15 + 4]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x140041712
xor edx, edx
call fcn.140042480
mov rcx, qword [rsi + 0x38]
mov eax, 0xc001
test word [rcx + 0xc], ax
jne 0x140041fa1
lea rax, [rbx + r14]
cmp byte [rcx + 8], 0
jne 0x1400417ad
mov edx, dword [rcx + 0x10]
cmp rax, rdx
jbe 0x14004177c
mov r14d, edx
sub r14, rbx
cmp dword [rsp + 0x1bd8], 0xfead
jne 0x14004179f
mov r8d, r14d
movzx edx, word [rcx + 0x14]
add rdx, qword [rsi + 8]
add rdx, rbx
mov rcx, r15
call fcn.1402496a0
mov qword [r12], r14
mov eax, 1
jmp 0x140041712
mov r9, qword [rcx + 0x28]
cmp rax, r9
ja 0x140041f10
mov r13, rdi
mov r12, rdi
mov rdx, rdi
mov r15d, edi
mov r10d, dword [rsi + 0x18]
test r10d, r10d
je 0x140041824
nop
mov ecx, r15d
mov r8, qword [rsi + 0x10]
cmp rbx, rdx
jb 0x1400417ee
lea rax, [rcx + rcx*2]
mov r9d, dword [r8 + rax*8 + 0xc]
lea rax, [r9 + rdx]
cmp rbx, rax
jb 0x140041804
lea rax, [rcx + rcx*2]
mov ecx, dword [r8 + rax*8 + 0xc]
add rdx, rcx
inc r15d
cmp r15d, r10d
jae 0x140041824
jmp 0x1400417d0
sub r9, rbx
lea rax, [r9 + rdx]
mov r13, r14
cmp rax, r14
cmovb r13, rax
lea rax, [rcx + rcx*2]
mov r12, qword [r8 + rax*8 + 0x10]
sub r12, rdx
add r12, rbx
mov qword [rsp + 0x50], r14
mov rbx, rdi
mov qword [rsp + 0x48], rbx
test r14, r14
je 0x140041e4c
cmp r15d, r10d
jae 0x140041e4c
mov dword [rsp + 0x40], edi
mov rcx, qword [rsi + 0x40]
add r12, qword [rcx + 0x538]
mov rax, r12
shr rax, 0x20
mov dword [rsp + 0x44], eax
call fcn.140052fc0
mov rcx, qword [rsi + 0x40]
mov rcx, qword [rcx + 0x40]
mov r10, qword [rcx]
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x44]
mov r8d, r12d
mov rdx, rax
call qword [r10 + 0x80]
cmp eax, 0xffffffff
je 0x140041d86
mov eax, dword [rsp + 0x1bd8]
cmp eax, 0xfead
jne 0x1400418d7
mov rcx, qword [rsi + 0x40]
call fcn.140052fc0
mov rcx, qword [rsi + 0x40]
mov rcx, qword [rcx + 0x40]
mov r10, qword [rcx]
mov r8, qword [rsp + 0x1bb8]
add r8, rbx
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, r13d
mov rdx, rax
call qword [r10 + 0x28]
jmp 0x140041c79
cmp eax, 0x1234
jne 0x140041c79
lea rax, vtable.CSABOSVersion.0
mov qword [rsp + 0x290], rax
lea rax, vtable.CSABString.0
mov qword [rsp + 0xb38], rax
mov qword [rsp + 0xb40], rdi
mov dword [rsp + 0xb48], edi
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov qword [rsp + 0xb40], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rsp + 0xb4c], 1
mov dword [rsp + 0x298], 0x9c
mov dword [rsp + 0xb34], 0xffffffff
lea rcx, [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x29c], 6
jne 0x140041a91
cmp dword [rsp + 0x2a0], 2
jne 0x140041a91
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140041a91
mov dword [rsp + 0x170], 0x11c
lea rcx, [rsp + 0x170]
call rax
mov eax, dword [rsp + 0x180]
mov dword [rsp + reloc.SHELL32.dll_IsUserAnAdmin], eax
mov eax, dword [rsp + 0x17c]
mov dword [rsp + 0x2a4], eax
mov eax, dword [rsp + 0x174]
mov dword [rsp + 0x29c], eax
mov eax, dword [rsp + 0x178]
mov dword [rsp + 0x2a0], eax
movzx eax, byte [rsp + 0x28a]
mov byte [rsp + 0x332], al
movzx eax, byte [rsp + 0x28b]
mov byte [rsp + 0x333], al
movzx eax, word [rsp + 0x284]
mov word [rsp + 0x32c], ax
movzx eax, word [rsp + 0x286]
mov word [rsp + 0x32e], ax
movzx eax, word [rsp + 0x288]
mov word [rsp + 0x330], ax
lea rcx, [rsp + 0x184]
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140041a45
lea r9d, [rax + 1]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
lea rcx, [0x1402860c8]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x2ac]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x184]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rsp + 0xb38]
lea rcx, [rsp + 0x290]
call fcn.140006130
nop
mov rcx, qword [rsi + 0x40]
cmp dword [rsp + 0x29c], 6
jne 0x140041bed
cmp qword [rcx + 0x48], 0
je 0x140041bed
mov rcx, qword [rcx + 0x530]
mov rax, qword [rcx]
lea r8, str.IsVista__
mov edx, 4
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsi + 0x40]
mov r14, qword [0x14034e4d8]
xor edx, edx
mov r8d, 0x1018
lea rcx, [rsp + 0xb50]
call fcn.140249b10
mov rax, qword [rsp + 0x48]
add rax, qword [rsp + 0x1bb8]
mov qword [rsp + 0x1b60], rax
mov dword [rsp + 0x1b58], r13d
mov qword [rsp + 0x1b50], r12
lea rdx, [rbx + 0x5c]
lea rcx, [rsp + 0x60]
call fcn.14000bd30
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantInit]
lea r8d, [rax + rax]
mov rdx, rbx
lea rcx, [rsp + 0xb50]
call fcn.1402496a0
mov rax, qword [r14]
cmp rax, 0xffffffffffffffff
jne 0x140041b89
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rax + 4]
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [r14], rax
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x5c]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x1018
lea rcx, [rsp + 0xb50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x1018
lea r8, [rsp + 0xb50]
mov edx, 0x9c402140
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140041bd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [rsp + 0x40], r13d
mov rbx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
jmp 0x140041c3f
mov rcx, qword [rcx + 0x530]
mov rax, qword [rcx]
lea r8, str.Is_NOT_Vista__
mov edx, 4
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsi + 0x40]
call fcn.140052fc0
mov rcx, qword [rsi + 0x40]
mov rcx, qword [rcx + 0x40]
mov r10, qword [rcx]
mov r8, qword [rsp + 0x1bb8]
add r8, rbx
mov qword [rsp + 0x28], rdi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, r13d
mov rdx, rax
call qword [r10 + PathResolve]
nop
lea rax, vtable.CSABOSVersion.0
mov qword [rsp + 0x290], rax
lea rax, vtable.CSABString.0
mov qword [rsp + 0xb38], rax
add dword [rsp + 0xb4c], 0xffffffff
jne 0x140041c79
mov rcx, qword [rsp + 0xb40]
test rcx, rcx
je 0x140041c79
call fcn.140247060
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x140041cc9
add rbx, rcx
mov qword [rsp + 0x48], rbx
sub r14, rcx
mov qword [rsp + 0x50], r14
inc r15d
mov r10d, dword [rsi + 0x18]
cmp r15d, r10d
jae 0x140041831
lea rcx, [r15 + r15*2]
mov rax, qword [rsi + 0x10]
mov edx, dword [rax + rcx*8 + 0xc]
mov r12, qword [rax + rcx*8 + 0x10]
mov r13, r14
cmp r14, rdx
cmovae r13, rdx
jmp 0x140041831
mov rax, qword [rsi + 0x40]
cmp qword [rax + 0x530], 0
je 0x140041d7f
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x28], rbx
mov rax, qword [rsp + 0x1bb8]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8, r12
lea rdx, str.CDFANTFS::DoIO___failed_to_transfer_data___DiskOffset___I64x___Size___I64x___pvBuffer___x___TotalRead___I64x___Error___x__
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x530]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 4
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 1
mov rcx, rsi
call fcn.140042480
cmp edi, dword [rsi + 0x18]
jae 0x140041d77
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x10]
mov r9d, dword [rax + rcx*8 + 0xc]
mov r8d, edi
lea rdx, str.CDFANTFS::DoIO___LCN_Group___x_____Size___x__
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x530]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 4
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc edi
jmp 0x140041d30
mov rcx, rsi
call fcn.140041fb0
xor eax, eax
jmp 0x140041712
mov rax, qword [rsi + 0x40]
cmp qword [rax + 0x530], 0
je 0x140041e45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1bb8]
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8, r12
lea rdx, str.CDFANTFS::DoIO___failed_to_set_file_pointer___DiskOffset___I64x___Size___I64x___pvBuffer___x___TotalRead___x___Error___x__
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x530]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 4
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 1
mov rcx, rsi
call fcn.140042480
cmp edi, dword [rsi + 0x18]
jae 0x140041e3d
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x10]
mov r9d, dword [rax + rcx*8 + 0xc]
mov r8d, edi
lea rdx, str.CDFANTFS::DoIO___LCN_Group___x_____Size___x__
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x530]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 4
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc edi
jmp 0x140041df6
mov rcx, rsi
call fcn.140041fb0
xor eax, eax
jmp 0x140041712
mov rax, qword [rsp + 0x1bd0]
mov qword [rax], rbx
test rbx, rbx
jne 0x140041f06
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, qword [rsp + 0x1bc8]
lea rdx, str.CSABDiskFileAttributeNTFS::DoIO___NonResident___Requested___I64x___Read___I64x___ulGroupIndex___x___m_ulTotalLCNGroups___x__
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x530]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea edx, [rbx + 4]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea edx, [rbx + 1]
mov rcx, rsi
call fcn.140042480
nop dword [rax]
cmp edi, dword [rsi + 0x18]
jae 0x140041ef7
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x10]
mov r9d, dword [rax + rcx*8 + 0xc]
mov r8d, edi
lea rdx, str.CDFANTFS::DoIO___LCN_Group___x_____Size___x__
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x530]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 4
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc edi
jmp 0x140041eb0
mov rcx, rsi
call fcn.140041fb0
xor eax, eax
jmp 0x140041712
mov eax, 1
jmp 0x140041712
mov qword [rsp + 0x20], r14
mov r8, rbx
lea rdx, str.CDFANTFS::DoIO___Failed___Outside_of_attribute_range___Offset___I64x___AllocatedSize___I64x___Size___I64x__
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x530]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 4
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 1
mov rcx, rsi
call fcn.140042480
cmp edi, dword [rsi + 0x18]
jae 0x140041f98
mov eax, edi
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x10]
mov r9d, dword [rax + rcx*8 + 0xc]
mov r8d, edi
lea rdx, str.CDFANTFS::DoIO___LCN_Group___x_____Size___x__
lea rcx, [rsp + 0x70]
call fcn.140006bc0
mov rax, qword [rsi + 0x40]
mov rcx, qword [rax + 0x530]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
mov edx, 4
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc edi
jmp 0x140041f51
mov rcx, rsi
call fcn.140041fb0
nop
xor eax, eax
jmp 0x140041712