Function at 0x140052d70
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 - 0x300]
sub rsp, 0x400
mov rax, qword [0x14018a048]
xor rax, rsp
mov qword [rbp + 0x2f0], 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 [0x14018e418]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov ecx, dword [rcx + rax]
cmp dword [0x14018ddf0], ecx
jg 0x1400531af
mov rax, qword [0x14018dde8]
test rax, rax
je 0x140052e5b
lea rdx, [rbp + 0x280]
mov rcx, r14
call rax
test eax, eax
jne 0x140052e51
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x4b
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::IsProcessWow64_void__
lea rcx, [rbp + 0x70]
call fcn.14005b5a0
nop
mov dword [rsp + 0x30], 8
lea rdx, [0x140148480]
mov rcx, rax
call fcn.140001300
nop
mov ebx, r12d
lea rcx, [rbp + 0x70]
call fcn.14005b8e0
xor al, al
jmp 0x140052e5b
cmp dword [rbp + 0x280], 0
setne al
mov byte [rsi + 0x89], al
test al, al
je 0x140052e69
xor al, al
jmp 0x140052e81
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbp + 0x2c0], 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.14004fe40
test al, al
jne 0x140052ef0
mov dword [rsp + 0x20], 2
mov r9d, 0x21e
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rsp + 0x70]
call fcn.14005b410
nop
or ebx, 1
mov dword [rsp + 0x30], ebx
lea rdx, str.GetProcessBasicInformation_failed
mov rcx, rax
call fcn.140001300
nop
test bl, 1
jmp 0x14005319c
mov rdx, qword [rsi + 0x30]
mov r8, rsi
mov rcx, r14
cmp byte [rsi + 0x88], 0
je 0x140052f0a
call fcn.140050920
jmp 0x140052f0f
call fcn.1400502b0
test al, al
jne 0x140052f59
mov dword [rsp + 0x20], 2
mov r9d, 0x227
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rsp + 0x70]
call fcn.14005b410
nop
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, str.ReadProcessData_failed
mov rcx, rax
call fcn.140001300
nop
test bl, 2
jmp 0x14005319c
movzx edi, byte [rsi + 0x88]
test bl, 0x10
je 0x140052f71
and ebx, 0xffffffef
lea rcx, [rbp + 0x70]
call fcn.14005b620
mov eax, 0xffffffff
mov r15, 0xffffffffffffffff
test dil, dil
cmove r15, rax
mov rdi, r12
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rbp + 0x288]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400530ef
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x6c], r12d
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x290]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0x298]
mov dword [rsp + 0x50], eax
mov rax, qword [rbp + 0x2a0]
mov qword [rsp + 0x58], rax
mov eax, dword [rbp + 0x2a8]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp + 0x2ac]
mov dword [rsp + 0x64], eax
mov eax, dword [rbp + 0x2b0]
mov dword [rsp + 0x68], eax
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0x2c0], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x2d0], xmm1
movaps xmm2, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x2e0], xmm2
lea rcx, [rsi + 0x58]
mov rdx, qword [rsi + 0x60]
cmp rdx, qword [rsi + 0x68]
je 0x14005304c
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx + 0x20], xmm2
add qword [rsi + 0x60], 0x30
jmp 0x140053058
lea r8, [rbp + 0x2c0]
call fcn.140051b90
mov rax, qword [rbp + 0x2a0]
test rax, rax
je 0x14005309d
add rdi, rax
cmp rdi, r15
jbe 0x140052f90
mov al, 1
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.14009bde0
lea r11, [rsp + 0x400]
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.E:.conan7ca4bd1_sourcesexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rsp + 0x70]
call fcn.14005b410
nop
or ebx, 0x40
mov dword [rsp + 0x30], ebx
lea rdx, str.RegionSize__0
mov rcx, rax
call fcn.140001300
nop
test bl, 0x40
je 0x14005315b
and ebx, 0xffffffbf
lea rcx, [rsp + 0x70]
call fcn.14005b620
jmp 0x14005315b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x140053070
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x149
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp + 0x178]
call fcn.14005b5a0
nop
or ebx, 0x20
mov dword [rsp + 0x30], ebx
lea rdx, [0x140149438]
mov rcx, rax
call fcn.140001300
nop
test bl, 0x20
je 0x14005315b
and ebx, 0xffffffdf
lea rcx, [rbp + 0x178]
call fcn.14005b8e0
mov dword [rsp + 0x20], 2
mov r9d, 0x22c
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rsp + 0x70]
call fcn.14005b410
nop
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rdx, str.ReadMemoryInfo_failed
mov rcx, rax
call fcn.140001300
nop
test bl, 4
je 0x1400531a8
lea rcx, [rsp + 0x70]
call fcn.14005b620
xor al, al
jmp 0x140053072
lea rcx, [0x14018ddf0]
call fcn.14009bb9c
cmp dword [0x14018ddf0], 0xffffffff
jne 0x140052dde
xor r8d, r8d
lea rdx, str.::IsWow64Process
lea rcx, str.kernel32.dll
call fcn.140056e20
mov qword [0x14018dde8], rax
lea rcx, [0x14018ddf0]
call fcn.14009bb3c
jmp 0x140052dde