Function at 0x140060860
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x1400a3010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, r8
mov r15, rdx
mov esi, ecx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
xor eax, eax
mov qword [rsp + 0x64], rax
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov dword [rbp - 0x74], eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ebx, 0x94
mov eax, 0xf8
cmp word [rsp + 0x60], 9
cmove ebx, eax
mov dword [rsp + 0x44], r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea eax, [rbx + 8]
mov byte [rsp + 0x30], r13b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov r12d, eax
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140060270
nop
mov r14, qword [rsp + 0x48]
xor eax, eax
lea rcx, str.ntdll.dll
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
cmp dword [rsp + 0x44], eax
je 0x140060aa3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWow64QueryInformationProcess64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x40], r13d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
lea r9d, [r13 + 0x58]
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, r15
call rax
test eax, eax
jne 0x140060be0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWow64ReadVirtualMemory64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8, r14
mov rdx, qword [rbp - 0x40]
mov rcx, r15
call r13
test eax, eax
jne 0x140060be0
mov r12, qword [rbx + r14]
test r12, r12
je 0x140060be0
lea rcx, [rbp - 0x70]
call fcn.140060c20
nop
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x60000
mov rbx, qword [rbp - 0x70]
mov r8, rbx
mov rdx, r12
mov rcx, r15
call r13
test eax, eax
je 0x140060a4b
test rbx, rbx
je 0x140060be0
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_1486]
jmp 0x140060be0
mov r10, rbx
mov r9d, 0x4000
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [r10]
movups xmmword [rsp + 0x48], xmm0
movsd xmm1, qword [r10 + 0x10]
movsd qword [rsp + 0x58], xmm1
pextrw eax, xmm0, 4
movzx ecx, ax
cmp ecx, esi
jne 0x140060a95
mov rax, qword [rsp + 0x50]
shr rax, 0x30
mov rdx, rdi
movzx ecx, ax
call fcn.1400607c0
add r10, 0x18
dec r9
jne 0x140060a60
jmp 0x140060bce
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x40], r13d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x30
lea r8, [rbp - 0x50]
xor edx, edx
mov rcx, r15
call rax
test eax, eax
jne 0x140060be0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtReadVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8, r14
mov rdx, qword [rbp - 0x48]
mov rcx, r15
call r13
test eax, eax
jne 0x140060be0
mov r12, qword [rbx + r14]
test r12, r12
je 0x140060be0
lea rcx, [rbp - 0x70]
call fcn.140060cc0
nop
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x60000
mov rbx, qword [rbp - 0x70]
mov r8, rbx
mov rdx, r12
mov rcx, r15
call r13
test eax, eax
je 0x140060b7d
jmp 0x140060a34
mov r10, rbx
mov r9d, 0x4000
nop word [rax + rax]
movups xmm0, xmmword [r10]
movups xmmword [rsp + 0x48], xmm0
movsd xmm1, qword [r10 + 0x10]
movsd qword [rsp + 0x58], xmm1
pextrw eax, xmm0, 4
movzx ecx, ax
cmp ecx, esi
jne 0x140060bc5
mov rax, qword [rsp + 0x50]
shr rax, 0x30
mov rdx, rdi
movzx ecx, ax
call fcn.1400607c0
add r10, 0x18
dec r9
jne 0x140060b90
test rbx, rbx
je 0x140060bdc
mov rcx, rbx
call qword [sym.imp.mfc120u.dll_Ordinal_1486]
mov bl, 1
jmp 0x140060be2
xor bl, bl
test r14, r14
je 0x140060bf0
mov rcx, r14
call qword [sym.imp.mfc120u.dll_Ordinal_1486]
movzx eax, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140065260
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret