Function at 0x140045fc0
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 [0x1400c9040]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r14, rdx
mov rsi, rcx
xor r12d, r12d
mov ebx, r12d
mov dword [rsp + 0x30], ebx
mov qword [rcx + 8], rdx
mov r8d, dword [0x1400ccbd0]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1400cc740], ecx
jg 0x1400463e3
mov rax, qword [0x1400cc738]
test rax, rax
je 0x1400460ad
lea rdx, [rsp + 0x34]
mov rcx, r14
call rax
test eax, eax
jne 0x1400460a5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x4c
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::IsProcessWow64_void__
lea rcx, [rbp + 0xa0]
call fcn.14004c600
nop
mov dword [rsp + 0x30], 8
lea rdx, [0x1400a2b08]
mov rcx, rax
call fcn.1400012e0
nop
mov ebx, r12d
lea rcx, [rbp + 0xa0]
call fcn.14004c8d0
xor al, al
jmp 0x1400460ad
cmp dword [rsp + 0x34], 0
setne al
mov byte [rsi + 0x89], al
test al, al
je 0x1400460bb
xor al, al
jmp 0x1400460d3
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbp + 0x2b0], 9
sete al
mov byte [rsi + 0x88], al
lea rax, [rsi + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x30]
mov r8, rsi
movzx edx, byte [rsi + 0x89]
mov rcx, r14
call fcn.140043720
test al, al
jne 0x140046141
mov dword [rsp + 0x20], 2
mov r9d, 0x21f
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.14004c460
nop
or ebx, 1
mov dword [rsp + 0x30], ebx
lea rdx, str.GetProcessBasicInformation_failed
mov rcx, rax
call fcn.1400012e0
nop
test bl, 1
jmp 0x1400463d1
mov rdx, qword [rsi + 0x30]
mov r8, rsi
mov rcx, r14
cmp byte [rsi + 0x88], 0
je 0x14004615b
call fcn.1400440e0
jmp 0x140046160
call fcn.140043a30
test al, al
jne 0x1400461a9
mov dword [rsp + 0x20], 2
mov r9d, 0x228
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.14004c460
nop
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, str.ReadProcessData_failed
mov rcx, rax
call fcn.1400012e0
nop
test bl, 2
jmp 0x1400463d1
movzx edi, byte [rsi + 0x88]
test bl, 0x10
je 0x1400461c4
and ebx, 0xffffffef
lea rcx, [rbp + 0xa0]
call fcn.14004c680
mov eax, 0xffffffff
mov r15, 0xffffffffffffffff
test dil, dil
cmove r15, rax
mov rdi, r12
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140046325
lea rcx, [rsi + 0x58]
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
mov rdx, qword [rsi + 0x60]
cmp rdx, qword [rsi + 0x68]
je 0x140046287
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx + 0x20], xmm2
add qword [rsi + 0x60], 0x30
jmp 0x140046293
lea r8, [rbp + 0x2b0]
call fcn.1400450b0
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1400462d5
add rdi, rax
cmp rdi, r15
jbe 0x1400461e0
mov al, 1
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140055780
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, 0x153
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp - 0x60]
call fcn.14004c460
nop
or ebx, 0x40
mov dword [rsp + 0x30], ebx
lea rdx, str.RegionSize__0
mov rcx, rax
call fcn.1400012e0
nop
test bl, 0x40
je 0x140046391
and ebx, 0xffffffbf
lea rcx, [rbp - 0x60]
call fcn.14004c680
jmp 0x140046391
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x1400462a8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x14a
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp + 0x1a8]
call fcn.14004c600
nop
or ebx, 0x20
mov dword [rsp + 0x30], ebx
lea rdx, [0x1400a3698]
mov rcx, rax
call fcn.1400012e0
nop
test bl, 0x20
je 0x140046391
and ebx, 0xffffffdf
lea rcx, [rbp + 0x1a8]
call fcn.14004c8d0
mov dword [rsp + 0x20], 2
mov r9d, 0x22d
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.14004c460
nop
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rdx, str.ReadMemoryInfo_failed
mov rcx, rax
call fcn.1400012e0
nop
test bl, 4
je 0x1400463dc
lea rcx, [rbp - 0x60]
call fcn.14004c680
xor al, al
jmp 0x1400462aa
lea rcx, [0x1400cc740]
call fcn.1400555f8
cmp dword [0x1400cc740], 0xffffffff
jne 0x14004602e
xor r8d, r8d
lea rdx, str.::IsWow64Process
lea rcx, [0x14009d848]
call fcn.140047880
mov qword [0x1400cc738], rax
lea rcx, [0x1400cc740]
call fcn.14005558c
jmp 0x14004602e