Function at 0x140059b38
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
xor edi, edi
xorps xmm1, xmm1
mov dword [rbp - 0x61], edi
xorps xmm0, xmm0
mov qword [rbp - 0x41], rdi
mov r13, r9
mov qword [rbp - 0x59], rdi
mov rax, r8
mov qword [rbp - 0x49], rdi
mov r15, rcx
mov qword [rbp - 0x69], rdi
mov r12d, edi
movdqu xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm1
movups xmmword [rbp - 0x19], xmm1
test rdx, rdx
jne 0x140059bab
mov ecx, 0x80070057
mov esi, ecx
call fcn.140079c40
jmp 0x140059de5
test rax, rax
je 0x140059b9a
test r13, r13
je 0x140059b9a
mov rbx, qword [0x14043f520]
mov esi, 1
lea r12, [rbx + 8]
test r12, r12
je 0x140059bd7
mov edx, esi
mov rcx, r12
call fcn.140072570
mov dword [rbp - 0x61], esi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x140059bfc
xorps xmm0, xmm0
movups xmmword [rax], xmm0
jmp 0x140059bff
mov r14, rdi
lea rdx, [0x14043a9fc]
lea rcx, [0x1404255c4]
call fcn.1400ee5fc
mov qword [rbp - 0x49], r14
test r14, r14
jne 0x140059c27
mov esi, 0x8007000e
mov ecx, esi
jmp 0x140059ba1
mov rcx, r14
call qword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
je 0x140059c6b
mov ecx, eax
call qword [sym.imp.RPCRT4.dll_I_RpcMapWin32Status]
lea rdx, [0x140439468]
mov ebx, eax
lea rcx, [0x14041c3c8]
call fcn.1400ed270
movzx esi, bx
mov eax, 0x80004005
or esi, 0x80070000
test ebx, ebx
cmovle esi, ebx
test esi, esi
cmovns esi, eax
jmp 0x140059c20
lea rax, [0x1400028d8]
mov dword [rbp - 0x4d], 0x10000
mov qword [rbp - 1], rax
lea rdx, [0x140437c24]
lea rax, [rbp - 0x51]
mov qword [rbp - 0x19], r15
mov qword [rbp + 7], rax
lea rcx, [0x140422af8]
lea rax, [rbp - 0x39]
mov qword [rbp - 0x11], rbx
mov qword [rbp + 0xf], rax
mov qword [rbp - 9], 3
call fcn.1400ee940
xor r9d, r9d
lea rax, [rbp - 0x41]
lea rdx, [rbp - 9]
mov qword [rbp + 0x17], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x51]
test esi, esi
js 0x140059c20
mov rbx, qword [rbp - 0x41]
mov rax, qword [rbx]
mov rdi, qword [rax + 0xa8]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rdx, qword [rbp + 0x6f]
lea r8, [rbp - 0x69]
mov rax, rdi
mov rcx, rbx
call rax
xor edi, edi
mov esi, eax
test eax, eax
jns 0x140059d11
mov ecx, eax
jmp 0x140059ba1
mov edx, 1
lea r9, [rbp - 0x4d]
lea rcx, [rbp - 0x59]
lea r8d, [rdx + 3]
call fcn.140053cb0
mov esi, eax
test eax, eax
js 0x140059d0a
mov edx, 2
lea rcx, [rbp - 0x59]
mov r9, r14
lea r8d, [rdx + 0xe]
call fcn.140053cb0
mov esi, eax
test eax, eax
js 0x140059d0a
mov rcx, qword [rbp - 0x69]
lea rdx, [rbp + 0x6f]
mov r8d, 0x7fffffff
call fcn.140076d24
mov esi, eax
test eax, eax
js 0x140059d0a
mov r9, qword [rbp - 0x69]
lea rcx, [rbp - 0x59]
mov r8d, dword [rbp + 0x6f]
mov edx, 3
call fcn.140053cb0
mov esi, eax
test eax, eax
js 0x140059d0a
mov r8, qword [rbp + 0x77]
lea rcx, [rbp - 0x59]
mov rdx, r13
call fcn.140053c0c
mov esi, eax
test eax, eax
js 0x140059d0a
mov rbx, qword [r15 + 0x30]
test rbx, rbx
je 0x140059db4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [r15 + 0x38]
mov qword [rbp - 0x49], rdi
mov qword [r15 + 0x30], r14
test rbx, rbx
je 0x140059dd9
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp - 0x69]
mov qword [r15 + 0x38], rax
mov qword [rbp - 0x69], rdi
mov ecx, esi
call fcn.140079c60
lea rcx, [rbp - 0x69]
call fcn.140059f40
lea rcx, [rbp - 0x49]
call fcn.140059e94
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x140059e4a
mov rax, qword [rbx]
lea rdx, [0x1404376e8]
lea rcx, [0x14041ab70]
mov rdi, qword [rax + 0x10]
call fcn.1400eec90
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
lea rdx, [0x14043e984]
lea rcx, [0x14041b7c8]
call fcn.1400eefd4
mov rax, rdi
mov rcx, rbx
call rax
xor edi, edi
lea rcx, [rbp - 0x39]
call fcn.1400578a0
lea rcx, [rbp - 0x41]
call fcn.1400577f4
test r12, r12
je 0x140059e6e
cmp dword [rbp - 0x61], edi
je 0x140059e6e
mov rcx, r12
call fcn.14007240c
mov rbx, qword [rsp + 0xf0]
mov eax, esi
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret