Function at 0x1400f9090
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1406fe698]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
mov ebx, r12d
mov dword [rsp + 0x30], ebx
mov qword [rcx + 8], rdx
mov r8d, dword [0x14070b620]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov ecx, dword [rcx + rax]
cmp dword [0x14070aad8], ecx
jg 0x1400f94b3
mov rax, qword [0x14070aad0]
test rax, rax
jne 0x1400f910e
xor dl, dl
jmp 0x1400f9181
lea rdx, [rsp + 0x34]
mov rcx, r15
call rax
test eax, eax
jne 0x1400f9179
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, Ordinal_79
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::IsProcessWow64_void__
lea rcx, [rbp + 0xa0]
call fcn.1400fd6c0
nop
mov dword [rsp + 0x30], 8
lea rdx, [0x1404282d8]
mov rcx, rax
call fcn.1400dbf30
nop
mov ebx, r12d
lea rcx, [rbp + 0xa0]
call fcn.1400fd990
xor dl, dl
jmp 0x1400f9181
cmp dword [rsp + 0x34], 0
setne dl
mov byte [rsi + 0x89], dl
test dl, dl
je 0x1400f918f
xor al, al
jmp 0x1400f91ae
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbp + 0x2b0], 9
sete al
movzx edx, byte [rsi + 0x89]
mov byte [rsi + 0x88], al
lea rax, [rsi + 0x38]
lea r9, [rsi + 0x30]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, r15
call fcn.1400f5eb0
test al, al
jne 0x1400f9215
mov dword [rsp + 0x20], 2
mov r9d, 0x21e
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.1400fd530
nop
or ebx, 1
mov dword [rsp + 0x30], ebx
lea rdx, str.GetProcessBasicInformation_failed
mov rcx, rax
call fcn.1400dbf30
nop
test bl, 1
jmp 0x1400f94a1
mov rdx, qword [rsi + 0x30]
mov r8, rsi
mov rcx, r15
cmp byte [rsi + 0x88], 0
je 0x1400f922f
call fcn.1400f6b10
jmp 0x1400f9234
call fcn.1400f6300
test al, al
jne 0x1400f927d
mov dword [rsp + 0x20], 2
mov r9d, 0x227
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.1400fd530
nop
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, str.ReadProcessData_failed
mov rcx, rax
call fcn.1400dbf30
nop
test bl, 2
jmp 0x1400f94a1
movzx edi, byte [rsi + 0x88]
test bl, 0x10
je 0x1400f9298
and ebx, 0xffffffef
lea rcx, [rbp + 0xa0]
call fcn.1400fd740
mov eax, 0xffffffff
mov r14, 0xffffffffffffffff
test dil, dil
cmove r14, rax
mov rdi, r12
nop
mov r9d, Ordinal_50
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400f93f5
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x6c], r12d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x50], eax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x58], rax
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp - 0x6c]
mov dword [rsp + 0x64], eax
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x68], eax
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0x2b0], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x2c0], xmm1
movaps xmm2, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x2d0], xmm2
lea rcx, [rsi + 0x58]
mov rdx, qword [rsi + 0x60]
cmp rdx, qword [rsi + 0x68]
je 0x1400f9357
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx + 0x20], xmm2
add qword [rcx + 8], 0x30
jmp 0x1400f9363
lea r8, [rbp + 0x2b0]
call fcn.1400f7ec0
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1400f93a5
add rdi, rax
cmp rdi, r14
jbe 0x1400f92b0
mov al, 1
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140134a90
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rsp + 0x20], 2
mov r9d, 0x152
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp - 0x60]
call fcn.1400fd530
nop
or ebx, 0x40
mov dword [rsp + 0x30], ebx
lea rdx, str.RegionSize__0
mov rcx, rax
call fcn.1400dbf30
nop
test bl, 0x40
je 0x1400f9461
and ebx, 0xffffffbf
lea rcx, [rbp - 0x60]
call fcn.1400fd740
jmp 0x1400f9461
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x1400f9378
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x149
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp + 0x1a8]
call fcn.1400fd6c0
nop
or ebx, 0x20
mov dword [rsp + 0x30], ebx
lea rdx, [0x1404284c8]
mov rcx, rax
call fcn.1400dbf30
nop
test bl, 0x20
je 0x1400f9461
and ebx, 0xffffffdf
lea rcx, [rbp + 0x1a8]
call fcn.1400fd990
mov dword [rsp + 0x20], 2
mov r9d, 0x22c
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.1400fd530
nop
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rdx, str.ReadMemoryInfo_failed
mov rcx, rax
call fcn.1400dbf30
nop
test bl, 4
je 0x1400f94ac
lea rcx, [rbp - 0x60]
call fcn.1400fd740
xor al, al
jmp 0x1400f937a
lea rcx, [0x14070aad8]
call fcn.140134534
cmp dword [0x14070aad8], 0xffffffff
jne 0x1400f90fe
xor r8d, r8d
lea rdx, str.::IsWow64Process
lea rcx, [0x140424af0]
call fcn.1400f4fb0
mov qword [0x14070aad0], rax
lea rcx, [0x14070aad8]
call fcn.1401344d4
jmp 0x1400f90fe