Function at 0x1400a0f80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x618
mov dword [rsp + 0x34], 0
xor eax, eax
cmp eax, 1
je 0x1400a1038
mov byte [rsp + 0x39], 0
mov rax, qword [rsp + 0x620]
add rax, 0x8a
mov rcx, rax
call fcn.1400a0570
mov byte [rsp + 0x3a], al
lea r8, [0x14017a450]
lea rdx, [rsp + 0x39]
lea rcx, [rsp + 0x3a]
call fcn.1400594e0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400a1038
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x1f6
lea r8, [0x14017a4c0]
lea rdx, [0x140179118]
lea rcx, [rsp + 0x108]
call fcn.1400b5fe0
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140004910
nop
lea rcx, [rsp + 0x108]
call fcn.1400b60e0
mov rax, qword [rsp + 0x620]
mov rcx, qword [rsp + 0x628]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x628]
call fcn.1400a36b0
mov rcx, qword [rsp + 0x620]
mov byte [rcx + 0x89], al
mov rax, qword [rsp + 0x620]
movzx eax, byte [rax + 0x89]
test eax, eax
je 0x1400a108b
mov rax, qword [rsp + 0x620]
mov byte [rax + 0x88], 0
jmp 0x1400a10d5
lea rcx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 9
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0xd8]
cmp eax, 9
jne 0x1400a10ba
mov dword [rsp + 0x40], 1
jmp 0x1400a10c2
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x620]
movzx ecx, byte [rsp + 0x40]
mov byte [rax + 0x88], cl
mov rax, qword [rsp + 0x620]
add rax, 0x38
mov rcx, qword [rsp + 0x620]
add rcx, 0x30
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8, qword [rsp + 0x620]
mov rax, qword [rsp + 0x620]
movzx edx, byte [rax + 0x89]
mov rcx, qword [rsp + 0x628]
call fcn.1400a3f80
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400a11e3
call fcn.1400a0d10
cmp eax, 2
jle 0x1400a1139
jmp 0x1400a11bf
lea rcx, [rsp + 0x3d]
call fcn.140004910
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x21e
lea r8, [0x14017a5b0]
lea rdx, [0x1401792f8]
lea rcx, [rsp + 0x208]
call fcn.1400b5f40
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x70]
call fcn.140004910
lea rdx, str.GetProcessBasicInformation_failed
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.140004830
nop
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x1400a11dc
and dword [rsp + 0x34], 0xfffffffe
lea rcx, [rsp + 0x208]
call fcn.1400b60e0
xor al, al
jmp 0x1400a14ca
mov rax, qword [rsp + 0x620]
movzx eax, byte [rax + 0x88]
test eax, eax
je 0x1400a121d
mov r8, qword [rsp + 0x620]
mov rax, qword [rsp + 0x620]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x628]
call fcn.1400a4850
mov byte [rsp + 0x38], al
jmp 0x1400a1242
mov r8, qword [rsp + 0x620]
mov rax, qword [rsp + 0x620]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x628]
call fcn.1400a4500
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400a1323
call fcn.1400a0d10
cmp eax, 2
jle 0x1400a1267
jmp 0x1400a12ff
lea rcx, [rsp + 0x3e]
call fcn.140004910
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x227
lea r8, [0x14017a660]
lea rdx, [0x140179498]
lea rcx, [rsp + 0x308]
call fcn.1400b5f40
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x34]
or eax, 2
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x90]
call fcn.140004910
lea rdx, str.ReadProcessData_failed
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.140004830
nop
mov eax, dword [rsp + 0x34]
and eax, 2
test eax, eax
je 0x1400a131c
and dword [rsp + 0x34], 0xfffffffd
lea rcx, [rsp + 0x308]
call fcn.1400b60e0
xor al, al
jmp 0x1400a14ca
mov r8, qword [rsp + 0x620]
mov rax, qword [rsp + 0x620]
movzx edx, byte [rax + 0x88]
mov rcx, qword [rsp + 0x628]
call fcn.1400a2040
movzx eax, al
test eax, eax
jne 0x1400a141d
call fcn.1400a0d10
cmp eax, 2
jle 0x1400a1361
jmp 0x1400a13f9
lea rcx, [rsp + 0x3f]
call fcn.140004910
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x22c
lea r8, [0x14017a710]
lea rdx, [0x140179638]
lea rcx, [rsp + 0x408]
call fcn.1400b5f40
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x34]
or eax, 4
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0xb0]
call fcn.140004910
lea rdx, str.ReadMemoryInfo_failed
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc0]
call fcn.140004830
nop
mov eax, dword [rsp + 0x34]
and eax, 4
test eax, eax
je 0x1400a1416
and dword [rsp + 0x34], 0xfffffffb
lea rcx, [rsp + 0x408]
call fcn.1400b60e0
xor al, al
jmp 0x1400a14ca
xor eax, eax
cmp eax, 1
je 0x1400a14c8
mov byte [rsp + 0x3b], 1
mov rax, qword [rsp + 0x620]
add rax, 0x8a
mov rcx, rax
call fcn.1400a05b0
mov byte [rsp + 0x3c], al
lea r8, [0x1401796c8]
lea rdx, [rsp + 0x3b]
lea rcx, [rsp + 0x3c]
call fcn.1400594e0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400a14c8
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x230
lea r8, [0x14017a7e0]
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rsp + 0x508]
call fcn.1400b5fe0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140004910
nop
lea rcx, [rsp + 0x508]
call fcn.1400b60e0
mov al, 1
add rsp, 0x618
ret