Function at 0x140066af8
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xe0
xor edi, edi
lea rcx, [rbp - 0x41]
xor eax, eax
mov dword [rsp + 0x48], edi
mov r15d, edi
mov qword [rbp - 0x71], rdi
mov r14d, edi
mov qword [rbp + 0x57], rdi
mov qword [rbp - 0x79], rdi
mov r12, r9
mov qword [rsp + 0x40], rdi
mov r13d, r8d
mov qword [rbp - 0x41], rax
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x140066b82
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140066b68
mov esi, 0x80004005
jmp 0x140066b76
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, esi
call fcn.140082a8c
jmp 0x140066f15
test rbx, rbx
jne 0x140066b90
mov ecx, 0x80070057
mov esi, ecx
jmp 0x140066b78
test r13d, r13d
je 0x140066b87
test r12, r12
je 0x140066b87
mov eax, dword [rbp + 0x77]
test eax, eax
je 0x140066b87
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140066b87
lea rdx, [0x140012ddc]
mov qword [rbp + 7], rcx
mov qword [rbp - 0x19], rdx
xor r9d, r9d
lea rdx, [rbp - 0x49]
mov qword [rbp - 0x21], 3
mov qword [rbp - 0x11], rdx
mov ecx, 0xb9
lea rdx, [rbp - 0x21]
mov dword [rbp - 9], r13d
lea r8d, [r9 + 0x30]
mov qword [rbp - 5], r12
mov dword [rbp + 3], eax
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x49]
cmp esi, 0x8007000d
jne 0x140066bfe
mov esi, 0xc004f307
jmp 0x140066b76
test esi, esi
js 0x140066b76
mov rsi, qword [0x1404517b0]
lea rcx, [0x140451770]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x28]
call fcn.140057f44
mov rdi, rax
mov rcx, rbx
mov rax, qword [0x1403cf6d0]
call rax
lea rcx, [rbp - 0x79]
mov rax, rbx
mov qword [rsp + 0x20], rcx
lea r9, [0x1403da740]
mov rcx, rsi
lea r8, str.msft:rm_algorithm_volume_1.0
mov rdx, rdi
call rax
mov esi, eax
test eax, eax
jns 0x140066c5e
mov ecx, eax
jmp 0x140066b78
mov rdi, qword [0x1404517b0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
call rax
lea rcx, [rsp + 0x40]
mov rax, rbx
mov qword [rsp + 0x20], rcx
lea r8, [0x1403da960]
mov rcx, rdi
lea rdx, str.msft:spp_stockobjects_plugins_params_named
xor r9d, r9d
call rax
xor edi, edi
mov esi, eax
test eax, eax
js 0x140066c57
mov rcx, qword [rbp + 0x5f]
lea rdx, [rbp + 0x57]
call fcn.14005739c
mov esi, eax
test eax, eax
jns 0x140066cbd
mov ecx, eax
jmp 0x140066f0c
mov rax, qword [0x140451770]
test rax, rax
je 0x140066f05
lea r15, [rax + 8]
mov dword [rsp + 0x48], edi
test r15, r15
je 0x140066cea
mov rcx, r15
call fcn.140077dac
mov dword [rsp + 0x48], 1
mov r14, qword [rbp + 0x57]
lea r9, [rbp - 0x71]
mov rdx, r14
lea r8, str.applicationId
call fcn.1400ddbfc
mov esi, eax
test eax, eax
js 0x140066c57
lea r8, [rbp + 0x57]
mov rcx, r14
lea rdx, str.Volume:GVLK
call fcn.1400f4ae0
test eax, eax
jns 0x140066d2c
mov ecx, 0xc004f306
jmp 0x140066b8c
cmp dword [rbp + 0x57], edi
jne 0x140066d4d
lea r8, [rbp + 0x57]
mov rcx, r14
lea rdx, str.Volume:CSVLK
call fcn.1400f4ae0
test eax, eax
js 0x140066d22
cmp dword [rbp + 0x57], edi
je 0x140066d22
mov rax, qword [rbp - 0x71]
lea rcx, str.SppBindingAppId
mov rbx, qword [rsp + 0x40]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x69], rcx
mov dword [rbp - 0x61], 2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x69]
mov r8d, 1
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x140066c57
mov rbx, qword [rsp + 0x40]
lea rax, str.SppBindingSkuId
lea rdx, [0x14044b9a4]
mov qword [rbp - 0x69], rax
lea rcx, [0x14043b468]
mov dword [rbp - 0x61], 2
mov qword [rbp - 0x59], r14
mov rdi, qword [rbx]
call fcn.1400f7184
mov rax, qword [0x1403cf6d0]
mov rcx, qword [rdi + 0x48]
call rax
mov rax, qword [rdi + 0x48]
lea rdx, [rbp - 0x69]
mov r8d, 1
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x140066c57
mov rbx, qword [rsp + 0x40]
lea rax, str.SppBindingActivationType
mov qword [rbp - 0x69], rax
lea rax, str.Token
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x61], 2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x69]
mov r8d, 1
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x140066c57
mov rbx, qword [rsp + 0x40]
lea rax, str.SppBindingActivationResponse
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x61], 4
mov qword [rbp - 0x59], r12
mov rax, qword [rbx]
mov dword [rbp - 0x51], r13d
mov rdi, qword [rax + 0x48]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x69]
mov r8d, 1
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
js 0x140066c57
mov rdi, qword [0x140451800]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rax, qword [0x1403cf6d0]
mov rcx, rbx
call rax
mov rdx, qword [rbp - 0x71]
mov rax, rbx
mov rcx, rdi
call rax
mov esi, eax
test eax, eax
js 0x140066c57
mov rbx, qword [rbp - 0x79]
lea rdx, [0x14044fe70]
lea rcx, [0x140430308]
mov rdi, qword [rbx]
call fcn.1400f6ac8
mov rax, qword [0x1403cf6d0]
mov rcx, qword [rdi + 0x28]
call rax
mov rax, qword [rdi + 0x28]
mov rcx, rbx
mov rdx, qword [rsp + 0x40]
call rax
mov esi, eax
test eax, eax
jns 0x140066f15
jmp 0x140066c57
mov esi, 0x8000ffff
mov ecx, esi
call fcn.140082a8c
mov r14, qword [rbp + 0x57]
cmp dword [0x140448890], 5
jbe 0x140066fc2
movabs rax, 0x400000000000
test qword [0x1404488a0], rax
je 0x140066fc2
mov rbx, qword [0x1404488a8]
lea rdx, [0x14044d158]
lea rcx, [0x140431488]
and rbx, rax
call fcn.1400f7830
cmp rbx, qword [0x1404488a8]
jne 0x140066fc2
mov rcx, qword [rbp - 0x41]
call fcn.140081938
lea rdx, [0x14044bf8c]
mov qword [rbp - 0x39], rax
lea rcx, [0x14042c940]
call fcn.1400f6e28
mov rax, qword [rbp + 0x5f]
lea rdx, [0x14043bef6]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x57]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x57], esi
mov qword [rbp - 0x29], 0x1000000
call fcn.140001008
mov ecx, esi
call fcn.140082b34
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140066ff4
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rsp + 0x40], 0
mov rbx, qword [rbp - 0x79]
test rbx, rbx
je 0x14006701d
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403cf6d0]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rbp - 0x79], 0
test r14, r14
je 0x14006702b
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14006703a
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x140067061
cmp dword [rsp + 0x48], 0
je 0x140067061
mov rcx, r15
call fcn.14007ae68
lea rdx, [0x14044d728]
lea rcx, [0x140425d1c]
call fcn.1400f74d8
mov rbx, qword [rsp + 0x130]
mov eax, esi
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret