Function at 0x140036ae8
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x40], 0
xor r14d, r14d
mov r12, rdx
and dword [rbp + 0x48], r14d
and dword [rbp + 0x50], r14d
mov rsi, rcx
mov qword [rbp + 0x58], r14
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x140036b48
test byte [rcx + 0x1c], 1
je 0x140036b48
cmp byte [rcx + 0x19], 4
jb 0x140036b48
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x176
call fcn.14001dd24
test r12, r12
jne 0x140036b65
lea r8, [0x140004248]
lea rcx, [0x140003c50]
mov edx, 0x1fe2
call fcn.1400a8be8
and qword [r12], r14
mov ebx, 0xd0
mov ecx, ebx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
jne 0x140036b8f
mov rcx, qword [0x14017d3a8]
mov ebx, 0x8007000e
jmp 0x140036fec
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
lea rdx, [rdi + 0x10]
xor r8d, r8d
movups xmm5, xmmword [rsi + 0x128]
movdqu xmmword [rdi], xmm5
mov rcx, qword [rsi + 0x138]
call fcn.1400a99e4
mov ebx, eax
test eax, eax
js 0x140036bf4
mov eax, dword [rsi + reloc.ADVAPI32.dll_TraceEvent]
mov ebx, 0x28
mov dword [rdi + 0x18], eax
mov eax, dword [rsi + reloc.ADVAPI32.dll_TraceEvent]
mov ecx, ebx
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x28], 1
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x140036c00
mov ebx, 0x8007000e
mov rcx, qword [0x14017d3a8]
jmp 0x140036fcb
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
lea rcx, [rdi + 0x98]
call fcn.1400b0a7c
mov ebx, eax
test eax, eax
jns 0x140036c5d
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x140036fcb
test byte [rcx + 0x1c], 1
je 0x140036fcb
cmp byte [rcx + 0x19], 2
jb 0x140036fcb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x177
mov r9d, eax
call fcn.14001de24
jmp 0x140036bf4
mov rcx, qword [rsi + 0x158]
lea rdx, [rdi + 0x20]
xor r8d, r8d
call fcn.1400a99e4
mov ebx, eax
test eax, eax
js 0x140036bf4
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x158]
xor r8d, r8d
call fcn.1400a99e4
mov ebx, eax
test eax, eax
js 0x140036bf4
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x160]
xor r8d, r8d
add rdx, 8
call fcn.1400a99e4
mov ebx, eax
test eax, eax
js 0x140036bf4
mov eax, dword [rsi + reloc.ADVAPI32.dll_TraceEvent]
cmp eax, 2
je 0x140036cc8
cmp eax, 3
jne 0x140036cea
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x158]
lea r8, [rdx + 0x18]
add rdx, 0x20
call fcn.1400aca28
mov ebx, eax
test eax, eax
js 0x140036bf4
mov rcx, qword [rsi + 0x158]
lea r8, [rbp - 0x40]
lea rdx, [0x140001800]
call fcn.1400a9ab8
mov r15, qword [rbp - 0x40]
mov ebx, eax
test eax, eax
js 0x140036f93
mov eax, dword [rsi + reloc.ADVAPI32.dll_TraceEvent]
cmp eax, 4
je 0x140036d86
cmp eax, 1
je 0x140036d86
cmp eax, 5
je 0x140036d86
mov rdx, qword [rdi + 0x30]
mov rcx, r15
add rdx, 0x10
call fcn.140153a9c
mov ebx, eax
test eax, eax
jns 0x140036d86
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140036f9a
test byte [rcx + 0x1c], 1
je 0x140036f9a
cmp byte [rcx + 0x19], 2
jb 0x140036f9a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x178
mov r9, r15
mov dword [rsp + 0x20], ebx
call fcn.14001ecbc
jmp 0x140036f93
mov rcx, qword [rsi + 0x168]
lea rdx, [rdi + 0x38]
xor r8d, r8d
call fcn.1400a99e4
mov ebx, eax
test eax, eax
js 0x140036f93
lea r8, [rdi + 0x80]
lea rcx, [0x14017f680]
xor r9d, r9d
xor edx, edx
call fcn.1400ac7e4
mov ebx, eax
test eax, eax
js 0x140036f93
lea rcx, [rbp + 0x58]
call fcn.1400b1bf0
mov ebx, eax
test eax, eax
jns 0x140036e1d
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140036e14
test byte [rcx + 0x1c], 1
je 0x140036e14
cmp byte [rcx + 0x19], 2
jb 0x140036e14
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x179
mov r9d, ebx
call fcn.14001de24
mov r14, qword [rbp + 0x58]
jmp 0x140036f93
mov r14, qword [rbp + 0x58]
jmp 0x140036f9a
mov r14, qword [rbp + 0x58]
lea rdx, [rdi + 0x88]
mov rcx, r14
call fcn.1400ac02c
mov ebx, eax
test eax, eax
js 0x140036f93
lea rcx, [rdi + 0x90]
call fcn.1400b2d34
mov ebx, eax
test eax, eax
js 0x140036f93
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r11d, word [rbp - 0x38]
lea rdx, [rbp + 0x50]
mov word [rdi + 0xa0], r11w
mov rax, qword [rsi + 0x1b8]
lea rcx, [rbp + 0x48]
mov qword [rdi + 0xb0], rax
mov eax, dword [rsi + reloc.ADVAPI32.dll_TraceEvent]
mov dword [rdi + 0xb8], eax
and qword [rsi + 0x1b8], 0
and dword [rsi + reloc.ADVAPI32.dll_TraceEvent], 0
call fcn.1400b1eb8
mov ebx, eax
test eax, eax
jns 0x140036eeb
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x140036f9a
test byte [rcx + 0x1c], 1
je 0x140036f9a
cmp byte [rcx + 0x19], 2
jb 0x140036f9a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x17a
mov r9d, ebx
call fcn.14001de24
jmp 0x140036f93
and qword [rdi + 0x48], 0
and dword [rdi + 0x40], 0
and dword [rdi + 0x50], 0
and qword [rdi + 0x58], 0
mov eax, dword [rbp + 0x48]
mov dword [rdi + 0xc0], eax
mov eax, dword [rbp + 0x50]
mov dword [rdi + 0xc4], eax
movzx eax, word [rsi + 0x17c]
mov word [rdi + 0x60], ax
mov rax, qword [rsi + 0x188]
mov qword [rdi + 0x64], rax
mov eax, dword [rsi + reloc.ADVAPI32.dll_TraceEvent]
mov dword [rdi + 0xa4], eax
mov al, byte [rsi + 0x184]
mov byte [rdi + 0xa2], al
mov al, byte [rsi + 0x186]
mov byte [rdi + 0xa8], al
movups xmm0, xmmword [0x14000ab48]
movdqu xmmword [rdi + 0x6c], xmm0
cmp qword [rsi + 0x190], 0
jne 0x140036f77
lea r8, [0x140004258]
lea rcx, [0x140003c50]
mov edx, 0x2077
call fcn.1400a8be8
mov rcx, qword [rsi + 0x190]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140036f93
mov qword [r12], rdi
xor edi, edi
mov rcx, qword [0x14017d3a8]
test r15, r15
je 0x140036faf
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14017d3a8]
test r14, r14
je 0x140036fc4
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
test rdi, rdi
je 0x140036fe8
mov rcx, rdi
call fcn.140122834
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14017d3a8]
test ebx, ebx
jns 0x14003701c
cmp rcx, r15
je 0x140037042
test byte [rcx + 0x1c], 1
je 0x14003701c
cmp byte [rcx + 0x19], 2
jb 0x14003701c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x17b
mov r9d, ebx
call fcn.14001de24
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x140037042
test byte [rcx + 0x1c], 1
je 0x140037042
cmp byte [rcx + 0x19], 4
jb 0x140037042
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003c28]
mov edx, 0x17c
call fcn.14001dd24
mov eax, ebx
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret