Function at 0x14005f168
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 r14d, r14d
lea rcx, [rbp - 0x41]
and qword [rbp - 0x79], r14
xor r15d, r15d
and dword [rsp + 0x48], r15d
xor eax, eax
and qword [rbp - 0x71], r15
mov r12, r9
and qword [rsp + 0x40], r14
mov r13d, r8d
mov qword [rbp + 0x57], r14
mov rbx, rdx
mov qword [rbp - 0x41], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14005f1f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14005f1d7
mov esi, 0x80004005
jmp 0x14005f1e5
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, esi
call fcn.14007ac40
jmp 0x14005f2e8
test rbx, rbx
jne 0x14005f1ff
mov ecx, 0x80070057
mov esi, ecx
jmp 0x14005f1e7
test r13d, r13d
je 0x14005f1f6
test r12, r12
je 0x14005f1f6
mov eax, dword [rbp + 0x77]
test eax, eax
je 0x14005f1f6
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14005f1f6
lea rdx, [0x14000211c]
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 0x14005f26d
mov esi, 0xc004f307
jmp 0x14005f1e5
test esi, esi
js 0x14005f1e5
mov rsi, qword [0x14045c9c0]
lea rcx, [0x14045c980]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x28]
call fcn.14004eaa4
mov rdi, rax
mov rcx, rbx
mov rax, qword [0x1403d25b8]
call rax
lea rcx, [rbp - 0x79]
mov rax, rbx
mov qword [rsp + 0x20], rcx
lea r9, [0x1403dd5e0]
mov rcx, rsi
lea r8, str.msft:rm_algorithm_volume_1.0
mov rdx, rdi
call rax
mov esi, eax
test eax, eax
jns 0x14005f420
lea rdx, [0x140452820]
lea rcx, [0x140437414]
call fcn.1400f3670
mov ecx, esi
call fcn.14007ac40
mov rbx, qword [rbp + 0x5f]
cmp dword [0x140451890], 5
jbe 0x14005f363
movabs rdx, 0x400000000000
test qword [0x1404518a0], rdx
je 0x14005f363
mov rax, qword [0x1404518a8]
and rax, rdx
cmp rax, qword [0x1404518a8]
jne 0x14005f363
mov rcx, qword [rbp - 0x41]
call fcn.140079a88
mov qword [rbp - 0x39], rax
lea rdx, [0x140444b16]
lea rax, [rbp - 0x39]
mov dword [rbp + 0x57], esi
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 qword [rbp - 0x31], rbx
mov qword [rbp - 0x29], 0x1000000
call fcn.140001008
mov ecx, esi
call fcn.14007ace8
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14005f395
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
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 0x14005f3be
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
and qword [rbp - 0x79], 0
test r14, r14
je 0x14005f3cc
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14005f3db
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x14005f402
cmp dword [rsp + 0x48], 0
je 0x14005f402
lea rdx, [0x140451fd0]
lea rcx, [0x1404388e0]
call fcn.1400f50fc
mov rcx, r15
call fcn.1400734c0
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
mov rdi, qword [0x14045c9c0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
lea rcx, [rsp + 0x40]
mov rax, rbx
mov qword [rsp + 0x20], rcx
lea r8, [0x1403dd800]
mov rcx, rdi
lea rdx, str.msft:spp_stockobjects_plugins_params_named
xor r9d, r9d
call rax
mov esi, eax
test eax, eax
jns 0x14005f46a
mov ecx, eax
jmp 0x14005f2df
mov rbx, qword [rbp + 0x5f]
lea rdx, [rbp + 0x57]
mov rcx, rbx
call fcn.14004df1c
mov esi, eax
test eax, eax
jns 0x14005f490
mov ecx, eax
call fcn.14007ac40
mov r14, qword [rbp + 0x57]
jmp 0x14005f2e8
mov rax, qword [0x14045c980]
test rax, rax
je 0x14005f77b
and dword [rsp + 0x48], r14d
lea r15, [rax + 8]
test r15, r15
je 0x14005f4be
mov rcx, r15
call fcn.1400705c0
mov dword [rsp + 0x48], 1
mov r14, qword [rbp + 0x57]
lea r9, [rbp - 0x71]
mov rdx, r14
lea r8, str.applicationId
call fcn.1400d797c
lea rdx, [0x140455698]
mov esi, eax
lea rcx, [0x14044404c]
call fcn.1400f4080
test esi, esi
js 0x14005f1e5
lea r8, [rbp + 0x57]
mov rcx, r14
lea rdx, str.Volume:GVLK
call fcn.1400f1000
test eax, eax
jns 0x14005f52d
mov ecx, 0xc004f306
mov esi, ecx
call fcn.14007ac40
lea rdx, [0x140457394]
lea rcx, [0x140437ac8]
call fcn.1400f4710
jmp 0x14005f2e8
cmp dword [rbp + 0x57], 0
jne 0x14005f56d
lea rdx, [0x14045ac50]
lea rcx, [0x140436864]
call fcn.1400f39cc
lea r8, [rbp + 0x57]
mov rcx, r14
lea rdx, str.Volume:CSVLK
call fcn.1400f1000
test eax, eax
jns 0x14005f567
mov ecx, 0xc004f306
jmp 0x14005f1fb
cmp dword [rbp + 0x57], 0
je 0x14005f55d
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 [0x1403d25b8]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 0x69]
mov r8d, 1
mov rcx, rbx
call rax
lea rdx, [0x14045862c]
mov esi, eax
lea rcx, [0x1404346e8]
call fcn.1400f3318
test esi, esi
jns 0x14005f5e2
lea rdx, [0x14045a464]
lea rcx, [0x140436268]
call fcn.1400f4a68
jmp 0x14005f2dd
lea rax, str.SppBindingSkuId
lea rdx, [0x140457b50]
mov qword [rbp - 0x69], rax
lea rcx, [0x14042a678]
call fcn.1400f43c8
mov rbx, qword [rsp + 0x40]
lea rdx, [0x14045b4b4]
lea rcx, [0x140440578]
mov dword [rbp - 0x61], 2
mov qword [rbp - 0x59], r14
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
call fcn.1400f4710
mov rax, qword [0x1403d25b8]
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
jns 0x14005f666
lea rdx, [0x1404523b8]
lea rcx, [0x14042f748]
call fcn.1400f4dac
jmp 0x14005f2dd
mov rbx, qword [rsp + 0x40]
lea rax, str.SppBindingActivationType
mov qword [rbp - 0x69], rax
lea rdx, [0x140455dac]
lea rax, str.Token
mov dword [rbp - 0x61], 2
mov qword [rbp - 0x59], rax
lea rcx, [0x1404326c4]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x48]
call fcn.1400f3d28
mov rax, qword [0x1403d25b8]
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 0x14005f463
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 [0x1403d25b8]
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 0x14005f463
mov rdi, qword [0x14045ca10]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rax, qword [0x1403d25b8]
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 0x14005f463
mov rbx, qword [rbp - 0x79]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x28]
mov rax, qword [0x1403d25b8]
mov rcx, rdi
call rax
mov rdx, qword [rsp + 0x40]
mov rax, rdi
mov rcx, rbx
call rax
mov esi, eax
test eax, eax
jns 0x14005f2e4
jmp 0x14005f463
mov esi, 0x8000ffff
mov ecx, esi
jmp 0x14005f482