Function at 0x10002b518
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x70
and qword [rax - 0x68], 0
xor ebp, ebp
mov r13, rdx
and dword [rax + 0x10], ebp
and dword [rax + 0x18], ebp
mov rsi, rcx
mov qword [rax + 0x20], rbp
mov rcx, qword [0x1001653b8]
lea r12, [0x1001653b8]
cmp rcx, r12
je 0x10002b575
test byte [rcx + 0x1c], 1
je 0x10002b575
cmp byte [rcx + 0x19], 4
jb 0x10002b575
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003d08]
mov edx, 0x154
call fcn.10001c7b8
test r13, r13
jne 0x10002b592
lea r8, [0x100004b78]
lea rcx, [0x1000046e0]
mov edx, 0x1c21
call fcn.100099ad8
and qword [r13], rbp
mov ebx, 0xd0
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rdi, rax
test rax, rax
jne 0x10002b5bd
mov rcx, qword [0x1001653b8]
mov ebx, 0x8007000e
jmp 0x10002ba41
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
lea rdx, [rdi + 0x10]
xor r8d, r8d
movdqu xmm5, xmmword [rsi + 0x130]
movdqu xmmword [rdi], xmm5
mov rcx, qword [rsi + 0x140]
call fcn.10009b4ec
mov ebx, eax
test eax, eax
js 0x10002b624
mov eax, dword [rsi + 0x148]
mov ebx, 0x28
mov dword [rdi + 0x18], eax
mov eax, dword [rsi + 0x14c]
mov rcx, rbx
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 0x10002b630
mov ebx, 0x8007000e
mov rcx, qword [0x1001653b8]
jmp 0x10002ba20
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
lea rcx, [rdi + 0x98]
call fcn.1000a06f0
mov ebx, eax
test eax, eax
jns 0x10002b68d
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10002ba20
test byte [rcx + 0x1c], 1
je 0x10002ba20
cmp byte [rcx + 0x19], 2
jb 0x10002ba20
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003d08]
mov edx, 0x155
mov r9d, eax
call fcn.10001c7dc
jmp 0x10002b624
mov rcx, qword [rsi + 0x158]
lea rdx, [rdi + 0x20]
xor r8d, r8d
call fcn.10009b4ec
mov ebx, eax
test eax, eax
js 0x10002b624
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x158]
xor r8d, r8d
call fcn.10009b4ec
mov ebx, eax
test eax, eax
js 0x10002b624
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x160]
xor r8d, r8d
add rdx, 8
call fcn.10009b4ec
mov ebx, eax
test eax, eax
js 0x10002b624
mov eax, dword [rsi + 0x14c]
cmp eax, 2
je 0x10002b6f8
cmp eax, 3
jne 0x10002b71a
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rsi + 0x158]
lea r8, [rdx + 0x18]
add rdx, 0x20
call fcn.10009c81c
mov ebx, eax
test eax, eax
js 0x10002b624
mov rcx, qword [rsi + 0x158]
lea r8, [rsp + 0x30]
lea rdx, [0x100002954]
call fcn.10009b5b0
mov r12, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
js 0x10002b9e8
mov eax, dword [rsi + 0x14c]
cmp eax, 4
je 0x10002b7b8
cmp eax, 1
je 0x10002b7b8
cmp eax, 5
je 0x10002b7b8
mov rdx, qword [rdi + 0x30]
mov rcx, r12
add rdx, 0x10
call fcn.100136af8
mov ebx, eax
test eax, eax
jns 0x10002b7b8
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x10002b9ef
test byte [rcx + 0x1c], 1
je 0x10002b9ef
cmp byte [rcx + 0x19], 2
jb 0x10002b9ef
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003d08]
mov edx, 0x156
mov r9, r12
mov dword [rsp + 0x20], ebx
call fcn.10001daa4
jmp 0x10002b9e8
mov rcx, qword [rsi + 0x168]
lea rdx, [rdi + 0x38]
xor r8d, r8d
call fcn.10009b4ec
mov ebx, eax
test eax, eax
js 0x10002b9e8
lea r8, [rdi + 0x80]
lea rcx, [0x100166a40]
xor r9d, r9d
xor edx, edx
call fcn.10009c5ec
mov ebx, eax
test eax, eax
js 0x10002b9e8
lea rcx, [rsp + 0xb8]
call fcn.1000a1840
mov ebx, eax
test eax, eax
jns 0x10002b85b
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x10002b84e
test byte [rcx + 0x1c], 1
je 0x10002b84e
cmp byte [rcx + 0x19], 2
jb 0x10002b84e
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003d08]
mov edx, 0x157
mov r9d, ebx
call fcn.10001c7dc
mov rbp, qword [rsp + 0xb8]
jmp 0x10002b9e8
mov rbp, qword [rsp + 0xb8]
jmp 0x10002b9ef
mov rbp, qword [rsp + 0xb8]
lea rdx, [rdi + 0x88]
mov rcx, rbp
call fcn.10009be88
mov ebx, eax
test eax, eax
js 0x10002b9e8
lea rcx, [rdi + 0x90]
call fcn.1000a2a08
mov ebx, eax
test eax, eax
js 0x10002b9e8
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r11d, word [rsp + 0x38]
lea rdx, [rsp + 0xb0]
mov word [rdi + 0xa0], r11w
mov rax, qword [rsi + 0x1b8]
lea rcx, [rsp + 0xa8]
mov qword [rdi + 0xb0], rax
mov eax, dword [rsi + 0x1c0]
mov dword [rdi + 0xb8], eax
and qword [rsi + 0x1b8], 0
and dword [rsi + 0x1c0], 0
call fcn.1000a1b0c
mov ebx, eax
test eax, eax
jns 0x10002b937
mov rcx, qword [0x1001653b8]
lea rax, [0x1001653b8]
cmp rcx, rax
je 0x10002b9ef
test byte [rcx + 0x1c], 1
je 0x10002b9ef
cmp byte [rcx + 0x19], 2
jb 0x10002b9ef
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003d08]
mov edx, 0x158
mov r9d, ebx
call fcn.10001c7dc
jmp 0x10002b9e8
and qword [rdi + 0x48], 0
and dword [rdi + 0x40], 0
and dword [rdi + 0x50], 0
and qword [rdi + 0x58], 0
mov eax, dword [rsp + 0xa8]
mov dword [rdi + 0xc0], eax
mov eax, dword [rsp + 0xb0]
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 + 0x180]
mov dword [rdi + 0xa4], eax
mov al, byte [rsi + 0x184]
mov byte [rdi + 0xa2], al
mov al, byte [rsi + 0x185]
mov byte [rdi + 0xa8], al
movdqu xmm0, xmmword [0x100001fe0]
movdqu xmmword [rdi + 0x6c], xmm0
cmp qword [rsi + 0x190], 0
jne 0x10002b9cc
lea r8, [0x100004b88]
lea rcx, [0x1000046e0]
mov edx, 0x1cb6
call fcn.100099ad8
mov rcx, qword [rsi + 0x190]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x10002b9e8
mov qword [r13], rdi
xor edi, edi
mov rcx, qword [0x1001653b8]
test r12, r12
je 0x10002ba04
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
test rbp, rbp
je 0x10002ba19
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
lea r12, [0x1001653b8]
test rdi, rdi
je 0x10002ba3d
mov rcx, rdi
call fcn.10012c9fc
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
test ebx, ebx
jns 0x10002ba71
cmp rcx, r12
je 0x10002ba97
test byte [rcx + 0x1c], 1
je 0x10002ba71
cmp byte [rcx + 0x19], 2
jb 0x10002ba71
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003d08]
mov edx, 0x159
mov r9d, ebx
call fcn.10001c7dc
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10002ba97
test byte [rcx + 0x1c], 1
je 0x10002ba97
cmp byte [rcx + 0x19], 4
jb 0x10002ba97
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003d08]
mov edx, 0x15a
call fcn.10001c7b8
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret