Function at 0x1400495b0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x340], rbx
mov rax, qword [0x1400da088]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov qword [rcx + 8], rdx
mov r8d, dword [0x1400ddd68]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov edx, dword [rcx + rax]
cmp dword [0x1400dd728], edx
jg 0x1400499b8
mov rax, qword [0x1400dd720]
test rax, rax
jne 0x140049632
xor dl, dl
jmp 0x14004969c
lea rdx, [rsp + 0x34]
mov rcx, rsi
call rax
test eax, eax
jne 0x140049694
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x4b
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::IsProcessWow64_void__
lea rcx, [rbp - 0x58]
call fcn.14004fc20
nop
mov dword [rsp + 0x30], 8
lea rdx, [0x1400a7c60]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rbp - 0x58]
call fcn.14004ff50
xor dl, dl
jmp 0x14004969c
cmp dword [rsp + 0x34], 0
setne dl
mov byte [rdi + 0x89], dl
test dl, dl
je 0x1400496af
mov byte [rdi + 0x88], 0
jmp 0x1400496d4
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbp + 0x1c0], 9
sete al
mov byte [rdi + 0x88], al
movzx edx, byte [rdi + 0x89]
lea rax, [rdi + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rdi + 0x30]
mov r8, rdi
mov rcx, rsi
call fcn.140046d70
test al, al
jne 0x14004973e
mov dword [rsp + 0x20], 2
mov r9d, 0x21e
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x58]
call fcn.14004fa70
nop
mov dword [rsp + 0x30], 1
lea rdx, str.GetProcessBasicInformation_failed
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rbp - 0x58]
call fcn.14004fcb0
xor al, al
jmp 0x14004989a
mov r8, rdi
mov rdx, qword [rdi + 0x30]
mov rcx, rsi
cmp byte [rdi + 0x88], 0
je 0x140049758
call fcn.1400476f0
jmp 0x14004975d
call fcn.140047090
test al, al
jne 0x1400497af
mov dword [rsp + 0x20], 2
mov r9d, 0x227
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x58]
call fcn.14004fa70
nop
mov dword [rsp + 0x30], 2
lea rdx, str.ReadProcessData_failed
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rbp - 0x58]
call fcn.14004fcb0
xor al, al
jmp 0x14004989a
mov eax, 0xffffffff
mov r14, 0xffffffffffffffff
cmp byte [rdi + 0x88], 0
cmove r14, rax
mov rbx, r15
nop dword [rax]
mov r9d, 0x30
lea r8, [rsp + 0x70]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140049909
mov dword [rsp + 0x54], r15d
mov dword [rsp + 0x6c], r15d
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 + 0x1c0], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x1d0], xmm1
movaps xmm2, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x1e0], xmm2
lea rcx, [rdi + 0x58]
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x140049877
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx + 0x20], xmm2
add qword [rcx + 8], 0x30
jmp 0x140049883
lea r8, [rbp + 0x1c0]
call fcn.140048700
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1400498c0
add rbx, rax
cmp rbx, r14
jbe 0x1400497d0
mov al, 1
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14005a430
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x20], 2
mov r9d, 0x152
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp - 0x58]
call fcn.14004fa70
nop
mov dword [rsp + 0x30], 0x40
lea rdx, str.RegionSize__0
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rbp - 0x58]
call fcn.14004fcb0
jmp 0x14004996a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x140049898
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x149
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp + 0xb0]
call fcn.14004fc20
nop
mov dword [rsp + 0x30], 0x20
lea rdx, [0x1400a8c28]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rbp + 0xb0]
call fcn.14004ff50
mov dword [rsp + 0x20], 2
mov r9d, 0x22c
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x58]
call fcn.14004fa70
nop
mov dword [rsp + 0x30], 4
lea rdx, str.ReadMemoryInfo_failed
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rbp - 0x58]
call fcn.14004fcb0
xor al, al
jmp 0x14004989a
lea rcx, [0x1400dd728]
call fcn.14005a1e8
cmp dword [0x1400dd728], 0xffffffff
jne 0x140049622
xor r8d, r8d
lea rdx, str.::IsWow64Process
lea rcx, [0x1400a1a98]
call fcn.14004af20
mov qword [0x1400dd720], rax
lea rcx, [0x1400dd728]
call fcn.14005a188
jmp 0x140049622