Function at 0x14008feb8
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f]
sub rsp, 0xd0
mov r14, r9
mov rax, r8
mov rbx, rdx
mov rsi, rcx
mov rcx, qword [0x14017d3a8]
lea r13, [0x14017d3a8]
mov r15d, 1
cmp rcx, r13
je 0x14008ff26
test byte [rcx + 0x1c], r15b
je 0x14008ff26
cmp byte [rcx + 0x19], 4
jb 0x14008ff26
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x2d]
lea r8, [0x140008c00]
call fcn.14001dd24
mov rax, qword [rbp + 0x57]
and qword [rbp + 0x47], 0
and qword [rbp - 0x49], 0
and qword [rbp - 0x51], 0
xor r12d, r12d
and qword [rbp - 0x59], r12
and dword [rbp - 0x65], r12d
mov qword [rbp - 0x61], r12
mov byte [rbp - 0x69], r12b
test rbx, rbx
je 0x14009062f
test rax, rax
je 0x14009062f
test r14, r14
je 0x14009062f
cmp qword [rbp + 0x6f], r12
je 0x14009062f
cmp qword [rbp + 0x77], r12
je 0x14009062f
cmp qword [rbp + 0x8f], r12
je 0x14009062f
lea rcx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r11d, word [r14 + 0xa0]
cmp r11w, word [rbp - 0x29]
je 0x14008fff0
mov ebx, 0x80780095
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x14008ffe4
test byte [rcx + 0x1c], r15b
je 0x14008ffe4
cmp byte [rcx + 0x19], 2
jb 0x14008ffe4
movzx r9d, word [rbp - 0x29]
mov rcx, qword [rcx + 0x10]
movzx eax, r11w
lea edx, [r12 + 0x2f]
lea r8, [0x140008c00]
mov dword [rsp + 0x28], reloc.ADVAPI32.dll_TraceEvent
mov dword [rsp + 0x20], eax
call fcn.14008ed38
lea r14, [0x14017d3a8]
jmp 0x140090679
mov edx, dword [r14 + 0xc4]
mov ecx, dword [r14 + 0xc0]
lea r8, [rbp + 0x47]
mov byte [rbp + 0x47], r12b
call fcn.1400b59a4
mov ebx, eax
test eax, eax
jns 0x140090043
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x14008ffe4
test byte [rcx + 0x1c], r15b
je 0x14008ffe4
cmp byte [rcx + 0x19], 2
jb 0x14008ffe4
mov edx, 0x30
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
call fcn.14001de24
jmp 0x14008ffe4
cmp byte [rbp + 0x47], r12b
jne 0x140090077
mov ebx, 0x80780095
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x14008ffe4
test byte [rcx + 0x1c], 8
je 0x14008ffe4
cmp byte [rcx + 0x19], 2
jb 0x14008ffe4
mov edx, 0x31
mov r9d, 0x80780095
jmp 0x140090031
mov rcx, qword [rbp + 0x7f]
lea rdx, [rsi + 0x200]
xor r8d, r8d
call fcn.1400a99e4
test eax, eax
jns 0x1400900be
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x1400900be
test byte [rcx + 0x1c], r15b
je 0x1400900be
cmp byte [rcx + 0x19], 2
jb 0x1400900be
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, 0x32
mov r9d, eax
call fcn.14001de24
mov rcx, qword [rbp + 0x87]
lea rdx, [rsi + 0x208]
xor r8d, r8d
call fcn.1400a99e4
test eax, eax
jns 0x140090108
mov rcx, qword [0x14017d3a8]
cmp rcx, r13
je 0x14009010f
test byte [rcx + 0x1c], r15b
je 0x14009010f
cmp byte [rcx + 0x19], 2
jb 0x14009010f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, 0x33
mov r9d, eax
call fcn.14001de24
mov rcx, qword [0x14017d3a8]
cmp dword [r14 + 0x18], r15d
je 0x140090147
mov ebx, 0x80780026
cmp rcx, r13
je 0x14008ffe4
test byte [rcx + 0x1c], r15b
je 0x14008ffe4
cmp byte [rcx + 0x19], 2
jb 0x14008ffe4
mov edx, UnregisterTraceGuids
mov r9d, 0x80780026
jmp 0x140090031
mov r13d, dword [rbp + 0x9f]
mov eax, r13d
shr eax, 2
and al, r15b
mov byte [rsi + 0x1d0], al
test r13b, 8
je 0x1400901e1
cmp al, r15b
jne 0x1400901a6
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
cmp rcx, r14
je 0x14009019c
test byte [rcx + 0x1c], r15b
je 0x14009019c
cmp byte [rcx + 0x19], 2
jb 0x14009019c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, UnregisterTraceGuids
call fcn.14001dd24
mov ebx, 0x80070057
jmp 0x140090679
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x1400901da
test byte [rcx + 0x1c], r15b
je 0x1400901da
cmp byte [rcx + 0x19], 4
jb 0x1400901da
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, EventEnabled
call fcn.14001dd24
mov byte [rsi + 0x1f8], r15b
mov r15d, dword [rbp + 0x67]
mov ecx, reloc.ADVAPI32.dll_TraceEvent
mov eax, r15d
shl rax, 2
cmp rax, rcx
jbe 0x140090200
mov ebx, 0x80070216
jmp 0x14008ffe4
mov ecx, eax
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rbp + 0x47], rax
test rax, rax
jne 0x14009021d
mov ebx, 0x8007000e
jmp 0x14008ffe4
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
xor r11d, r11d
test r15d, r15d
je 0x1400902bd
mov rax, qword [rbp + 0x77]
mov r9, qword [rbp + 0x47]
mov r10, qword [rbp + 0x97]
mov rbx, qword [rbp + 0x8f]
mov r8, rax
sub r9, rax
test byte [r8], 1
je 0x1400902aa
mov eax, r11d
lea rcx, [0x14000ab48]
add rax, rax
mov rdx, qword [rbx + rax*8]
cmp rdx, qword [rcx]
jne 0x14009027d
mov rdx, qword [rbx + rax*8 + 8]
cmp rdx, qword [rcx + 8]
jne 0x14009027d
xor eax, eax
jmp 0x140090282
sbb eax, eax
sbb eax, reloc.ADVAPI32.dll_TraceEvent
test eax, eax
jne 0x14009032a
mov al, byte [rsi + 0x1d0]
test al, al
jne 0x14009029d
test r10, r10
je 0x14009032a
cmp al, 1
jne 0x1400902aa
test r10, r10
jne 0x14009032a
mov eax, dword [r8]
inc r11d
mov dword [r9 + r8], eax
add r8, 4
cmp r11d, r15d
jb 0x140090252
cmp byte [rsi + 0x1d0], r12b
je 0x1400903dc
mov rcx, qword [rbp + 0x4f]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x65]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ebx, eax
test eax, eax
jns 0x140090334
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140090634
test byte [rcx + 0x1c], 8
je 0x140090634
cmp byte [rcx + 0x19], 2
jb 0x140090634
mov edx, EventEnabled
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov r9d, ebx
call fcn.14001de24
jmp 0x140090634
mov ebx, 0x80070057
jmp 0x140090634
mov r8, qword [rbp - 0x59]
mov edx, dword [rbp - 0x65]
mov rcx, qword [rbp + 0x57]
lea r9, [rbp - 0x69]
call fcn.1400ace58
mov ebx, eax
test eax, eax
jns 0x140090380
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140090634
test byte [rcx + 0x1c], 8
je 0x140090634
cmp byte [rcx + 0x19], 2
jb 0x140090634
mov edx, reloc.ADVAPI32.dll_UnregisterTraceGuids
jmp 0x140090312
cmp byte [rbp - 0x69], r12b
je 0x1400903dc
mov ebx, 0x80780130
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140090634
test byte [rcx + 0x1c], 8
je 0x140090634
cmp byte [rcx + 0x19], 2
jb 0x140090634
mov r9, qword [rbp + 0x57]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, reloc.ADVAPI32.dll_EventRegister
mov dword [rsp + 0x20], reloc.ADVAPI32.dll_TraceEvent
call fcn.14001ecbc
jmp 0x140090634
mov eax, dword [rbp + 0xb7]
mov r8, qword [rbp + 0x57]
mov rdx, qword [rbp + 0x4f]
mov dword [rsp + 0x50], eax
mov rax, qword [rbp + 0x47]
mov cl, r13b
and cl, 1
mov r9, r14
mov byte [rsp + 0x48], cl
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x8f]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x77]
mov rcx, rsi
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x6f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
call fcn.14006cf84
mov ebx, eax
test eax, eax
jns 0x14009046a
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140090634
test byte [rcx + 0x1c], 1
je 0x140090634
cmp byte [rcx + 0x19], 2
jb 0x140090634
mov edx, reloc.ADVAPI32.dll_EventEnabled
jmp 0x140090312
mov ebx, dword [rbp + 0xa7]
mov ecx, reloc.ADVAPI32.dll_TraceEvent
mov eax, ebx
mov dword [rsi + reloc.ADVAPI32.dll_TraceEvent], ebx
mov r14d, ebx
shl rax, 4
cmp rax, rcx
jbe 0x140090493
mov ebx, 0x80070216
jmp 0x140090634
mov ecx, eax
mov r15d, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rsi + 0x1d8], rax
test rax, rax
jne 0x1400904b4
mov ebx, 0x8007000e
jmp 0x140090634
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
test ebx, ebx
je 0x1400904e7
mov rdx, qword [rbp + 0xaf]
xor ecx, ecx
movups xmm0, xmmword [rcx + rdx]
mov rax, qword [rsi + 0x1d8]
movdqu xmmword [rax + rcx], xmm0
add rcx, 0x10
dec r14
jne 0x1400904ce
mov r15, qword [rbp + 0x57]
mov r8, qword [rbp + 0x5f]
lea rax, [rbp - 0x61]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x51]
lea r14, [rsi + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
shr r13d, 1
and r13b, 1
mov r9, r14
mov dl, 1
mov rcx, r15
mov qword [rsp + 0x20], rax
mov byte [rsi + 0x1e0], r13b
call fcn.140132608
mov ebx, eax
test eax, eax
jns 0x140090573
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
cmp rcx, r14
je 0x14009056a
test byte [rcx + 0x1c], 1
je 0x14009056a
cmp byte [rcx + 0x19], 2
jb 0x14009056a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, reloc.ADVAPI32.dll_EventUnregister
mov r9, r15
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
mov r12, qword [rbp - 0x61]
jmp 0x14009063b
xor edx, edx
mov rcx, r14
call fcn.14011e208
mov r12, qword [rbp - 0x61]
mov ebx, eax
test eax, eax
js 0x140090634
movups xmm0, xmmword [rsi + 0xd0]
lea r8, [rsi + 0x1f0]
lea rdx, [rbp - 0x39]
mov rcx, r12
movdqu xmmword [rbp - 0x39], xmm0
call fcn.140131e7c
mov ebx, eax
test eax, eax
jns 0x1400905ed
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
cmp rcx, r14
je 0x14009063b
test byte [rcx + 0x1c], 1
je 0x14009063b
cmp byte [rcx + 0x19], 2
jb 0x14009063b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, 0x3c
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
jmp 0x14009063b
mov rcx, r14
call fcn.14011e39c
lea rcx, [0x140008918]
call fcn.1400b5594
test al, al
je 0x14009060c
mov byte [rsi + 0x1e1], 0
lea rcx, [0x140008940]
call fcn.1400b5594
test al, al
je 0x140090623
mov byte [rsi + 0x1e2], 1
mov dword [rsi + reloc.ADVAPI32.dll_TraceEvent], 4
jmp 0x140090634
mov ebx, 0x80004003
lea r14, [0x14017d3a8]
mov rax, qword [rbp + 0x47]
test rax, rax
je 0x14009064d
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14009065c
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14009066b
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r12, r12
je 0x140090679
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp - 0x59], 0
je 0x14009068d
lea rdx, [rbp - 0x65]
lea rcx, [rbp - 0x59]
call fcn.14015fe28
lea rcx, [rsi + 0x18]
call fcn.14011e39c
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x1400906c3
test byte [rcx + 0x1c], 1
je 0x1400906c3
cmp byte [rcx + 0x19], 4
jb 0x1400906c3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008c00]
mov edx, 0x3d
call fcn.14001dd24
mov eax, ebx
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret