Function at 0x1400cc450
Capabilities:
Check os version

Disassembly:
push rbp
push r13
push r15
lea rbp, [rsp - 0x13c0]
mov eax, 0x14c0
call fcn.140108950
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x14e8], rbx
mov qword [rsp + 0x14f0], rsi
mov qword [rsp + 0x14f8], r12
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rbp + 0x13b0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, fcn.14005daa0
mov qword [rcx], rax
xor r12d, r12d
mov dword [rcx + 0xc], r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
mov dword [rcx + 0x20], r12d
mov qword [rcx + 0x28], r12
mov qword [rcx + 0x30], r12
or dword [rcx + 0x38], 0xffffffff
mov qword [rcx + 0x40], r12
mov qword [rcx + 0x70], r12
mov qword [rcx + 0x78], r12
mov qword [rcx + 0x80], r12
mov qword [rcx + 0xa0], r12
mov qword [rcx + 0xa8], r12
mov qword [rcx + 0xb0], r12
mov qword [rcx + 0xb8], r12
mov qword [rcx + 0xc0], r12
mov qword [rcx + 0xc8], r12
mov dword [rcx + 0xd0], r12d
mov dword [rcx + 0xd4], 0x80000801
mov qword [rcx + 0x2e0], r12
mov qword [rcx + 0x2e8], r12
mov dword [rcx + 0x2f8], r12d
mov dword [rsp + 0x30], r12d
mov word [rbp + 0x280], r12w
xor edx, edx
mov r8d, 0x112e
lea rcx, [rbp + 0x282]
call sub.msvcrt.dll_memset
mov word [rbp + 0x70], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x72]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x50], r12d
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x54]
call sub.msvcrt.dll_memset
mov dword [rbx + 8], r12d
lea rcx, [rbx + 0x48]
mov edx, 0xfa0
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1400cc5e0
lea rsi, [0x14014dd40]
mov rax, qword [0x14014dd40]
cmp rax, rsi
je 0x1400cc93c
test byte [rax + 0x1c], 1
je 0x1400cc93c
call sub.KERNEL32.dll_GetLastError
lea edx, [r12 + 0xb]
mov rcx, qword [0x14014dd40]
mov r9d, eax
lea r8, [0x1401282f8]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
jmp 0x1400cc93c
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call sub.KERNEL32.dll_CreateEventW
mov qword [rbx + 0x70], rax
test rax, rax
jne 0x1400cc627
lea rsi, [0x14014dd40]
mov rax, qword [0x14014dd40]
cmp rax, rsi
je 0x1400cc93c
test byte [rax + 0x1c], 1
je 0x1400cc93c
call sub.KERNEL32.dll_GetLastError
mov edx, SafeArrayGetDim
jmp 0x1400cc5c1
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call sub.KERNEL32.dll_CreateEventW
mov qword [rbx + 0x78], rax
test rax, rax
jne 0x1400cc671
lea rsi, [0x14014dd40]
mov rax, qword [0x14014dd40]
cmp rax, rsi
je 0x1400cc93c
test byte [rax + 0x1c], 1
je 0x1400cc93c
call sub.KERNEL32.dll_GetLastError
mov edx, reloc.Cabinet.dll_FCIFlushCabinet
jmp 0x1400cc5c1
lea r9, [rsp + 0x30]
lea r8, str.SamplingInterval
lea rdx, str.SoftwareMicrosoftSQMClient
mov r15, 0xffffffff80000002
mov rcx, r15
call fcn.1400ca758
lea rsi, [0x14014dd40]
test eax, eax
jne 0x1400cc6dc
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400cc6c8
test byte [rcx + 0x1c], 4
je 0x1400cc6c8
lea edx, [rax + 0xe]
mov r9d, dword [rsp + 0x30]
lea r8, [0x1401282f8]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov eax, dword [rsp + 0x30]
imul rcx, rax, 0x989680
mov qword [rbx + 0x90], rcx
jmp 0x1400cc6ed
movabs rax, 0xb0051c88000
mov qword [rbx + 0x90], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x70]
lea r8, str.CopyUploadedFilesToFolder
lea rdx, str.SoftwareMicrosoftSQMClient
mov rcx, r15
call fcn.1400ca3c0
or r13, 0xffffffffffffffff
test eax, eax
jne 0x1400cc7e4
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400cc744
test byte [rcx + 0x1c], 4
je 0x1400cc744
lea edx, [rax + 0xf]
lea r9, [rbp + 0x70]
lea r8, [0x1401282f8]
mov rcx, qword [rcx + 0x10]
call fcn.140003638
lea rax, [rbp + 0x70]
mov r15, r13
inc r15
cmp word [rax + r15*2], r12w
jne 0x1400cc74b
inc r15
mov eax, 2
mul r15
cmovo rax, r13
mov rcx, rax
call fcn.1401061b8
mov qword [rbx + 0xa8], rax
test rax, rax
jne 0x1400cc7ad
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400cc93c
test byte [rcx + 0x1c], 1
je 0x1400cc93c
lea edx, [rax + 0x10]
mov r9d, r15d
lea r8, [0x1401282f8]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
jmp 0x1400cc93c
lea r8, [rbp + 0x70]
mov rdx, r15
mov rcx, rax
call fcn.140036ea4
test eax, eax
jns 0x1400cc7e4
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400cc93c
test byte [rcx + 0x1c], 1
je 0x1400cc93c
mov edx, SafeArrayUnlock
mov r9d, eax
jmp 0x1400cc798
lea rdx, [rbp + 0x280]
call fcn.1400cffe4
test eax, eax
je 0x1400cc88b
lea rax, [rbp + 0x280]
mov r15, r13
inc r15
cmp word [rax + r15*2], r12w
jne 0x1400cc802
inc r15
mov eax, 2
mul r15
cmovo rax, r13
mov rcx, rax
call fcn.1401061b8
mov qword [rbx + 0xa0], rax
test rax, rax
jne 0x1400cc851
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400cc93c
test byte [rcx + 0x1c], 1
je 0x1400cc93c
lea edx, [rax + 0x12]
jmp 0x1400cc795
lea r8, [rbp + 0x280]
mov rdx, r15
mov rcx, rax
call fcn.140036ea4
test eax, eax
jns 0x1400cc88b
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400cc93c
test byte [rcx + 0x1c], 1
je 0x1400cc93c
mov edx, SafeArrayAccessData
jmp 0x1400cc7df
lea r15, [rbx + 0x98]
mov r9, r15
lea r8, str.MaxRequestSize
lea rdx, str.SoftwareMicrosoftSQMClient
mov rcx, 0xffffffff80000002
call fcn.1400ca758
test eax, eax
jne 0x1400cc8dd
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400cc8e4
test byte [rcx + 0x1c], 4
je 0x1400cc8e4
lea edx, [rax + 0x14]
mov r9d, dword [r15]
lea r8, [0x1401282f8]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
jmp 0x1400cc8e4
mov dword [r15], 0xffc00
mov dword [rsp + 0x50], 0x114
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_GetVersionExW
test eax, eax
jne 0x1400cc91b
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400cc93c
test byte [rcx + 0x1c], 1
je 0x1400cc93c
mov edx, reloc.OLEAUT32.dll_SafeArrayUnlock
jmp 0x1400cc5c8
cmp dword [rsp + 0x54], 6
jb 0x1400cc92b
jne 0x1400cc935
cmp dword [rsp + 0x58], 2
jae 0x1400cc935
mov dword [rbx + 0x2ec], 1
mov dword [rbx + 8], 1
cmp dword [rbx + 8], r12d
jne 0x1400cc998
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1400cc95b
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov qword [rbx + 0xa0], r12
mov rcx, qword [rbx + 0xa8]
test rcx, rcx
je 0x1400cc974
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov qword [rbx + 0xa8], r12
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x1400cc986
call sub.KERNEL32.dll_CloseHandle
mov qword [rbx + 0x70], r12
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x1400cc998
call sub.KERNEL32.dll_CloseHandle
mov qword [rbx + 0x78], r12
mov rax, rbx
mov rcx, qword [rbp + 0x13b0]
xor rcx, rsp
call fcn.140106ed0
lea r11, [rsp + 0x14c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret