Function at 0x140099210
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword gs:[0x58]
mov rbx, rdx
mov r14d, 4
mov rbp, rcx
add r14, qword [rax]
mov eax, dword [r14]
cmp dword [0x14059e078], eax
jg 0x140099403
mov eax, dword [r14]
cmp dword [0x14059e088], eax
jg 0x140099451
mov eax, dword [r14]
xor r15d, r15d
cmp dword [0x14059e098], eax
mov edi, 0x8664
mov esi, 0x14c
jg 0x14009949f
mov rax, qword [0x14059e090]
test rax, rax
je 0x140099338
lea r8, [rbx + 2]
mov rdx, rbx
mov rcx, rbp
call rax
test eax, eax
je 0x140099357
cmp word [rbx], r15w
je 0x1400992ba
mov byte [rbx + 4], 1
jmp 0x14009938c
movzx esi, word [rbx + 2]
mov byte [rbx + 4], r15b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rbp, rax
je 0x140099333
mov eax, dword [r14]
cmp dword [0x14059e068], eax
jg 0x1400993b5
mov rax, qword [0x14059e070]
test rax, rax
je 0x140099330
xorps xmm0, xmm0
mov dword [rsp + 0x30], r15d
lea rdx, [rsp + 0x30]
mov r9d, 0x40
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov rcx, rbp
movups xmmword [rsp + 0x40], xmm0
lea edx, [r9 - 0x1b]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call rax
test eax, eax
js 0x140099330
movzx edi, word [rsp + 0x70]
test di, di
jne 0x140099333
movzx edi, si
mov word [rbx], di
jmp 0x14009938c
mov rax, qword [0x14059e080]
test rax, rax
je 0x14009937a
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], r15d
mov rcx, rbp
call rax
test eax, eax
jne 0x14009935b
xor al, al
jmp 0x14009938e
mov ecx, dword [rsp + 0x30]
cmp ecx, 1
sete al
mov byte [rbx + 4], al
movzx eax, word [0x14059e09c]
test ecx, ecx
jne 0x140099375
mov esi, eax
mov word [rbx], si
jmp 0x140099388
movzx eax, word [0x14059e09c]
mov word [rbx], ax
mov byte [rbx + 4], r15b
mov word [rbx + 2], ax
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14014f4f0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x14059e068]
call fcn.14014f708
cmp dword [0x14059e068], 0xffffffff
jne 0x1400992dc
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14059e068]
mov qword [0x14059e070], rax
call fcn.14014f69c
jmp 0x1400992dc
lea rcx, [0x14059e078]
call fcn.14014f708
cmp dword [0x14059e078], 0xffffffff
jne 0x14009925c
lea rcx, [0x1404fb0a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140502ac8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14059e078]
mov qword [0x14059e080], rax
call fcn.14014f69c
jmp 0x14009925c
lea rcx, [0x14059e088]
call fcn.14014f708
cmp dword [0x14059e088], 0xffffffff
jne 0x14009926b
lea rcx, [0x1404fb0a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14059e088]
mov qword [0x14059e090], rax
call fcn.14014f69c
jmp 0x14009926b
lea rcx, [0x14059e098]
call fcn.14014f708
cmp dword [0x14059e098], 0xffffffff
jne 0x140099287
xorps xmm0, xmm0
mov dword [rsp + 0x30], r15d
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x1400994fb
cmp dword [rsp + 0x30], r15d
je 0x1400994fb
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x140099506
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x40]
test eax, eax
je 0x140099537
cmp eax, 6
je 0x140099530
cmp eax, 9
je 0x14009952b
cmp eax, 0xc
je 0x140099524
movzx eax, r15w
jmp 0x14009953a
mov eax, 0xaa64
jmp 0x14009953a
movzx eax, di
jmp 0x14009953a
mov eax, 0x200
jmp 0x14009953a
movzx eax, si
lea rcx, [0x14059e098]
mov word [0x14059e09c], ax
call fcn.14014f69c
jmp 0x140099287