Function at 0x140047980
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 [0x1400cc038]
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 [0x1400cf5b0]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1400cf120], ecx
jg 0x140047da3
mov rax, qword [0x1400cf118]
test rax, rax
je 0x140047a6d
lea rdx, [rsp + 0x34]
mov rcx, r14
call rax
test eax, eax
jne 0x140047a65
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x4b
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::IsProcessWow64_void__
lea rcx, [rbp + 0xa0]
call fcn.14004dda0
nop
mov dword [rsp + 0x30], 8
lea rdx, [0x1400a41c0]
mov rcx, rax
call fcn.1400012e0
nop
mov ebx, r12d
lea rcx, [rbp + 0xa0]
call fcn.14004e080
xor al, al
jmp 0x140047a6d
cmp dword [rsp + 0x34], 0
setne al
mov byte [rsi + 0x89], al
test al, al
je 0x140047a7b
xor al, al
jmp 0x140047a93
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.140045040
test al, al
jne 0x140047b01
mov dword [rsp + 0x20], 2
mov r9d, 0x21e
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.14004dc10
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 0x140047d91
mov rdx, qword [rsi + 0x30]
mov r8, rsi
mov rcx, r14
cmp byte [rsi + 0x88], 0
je 0x140047b1b
call fcn.1400459c0
jmp 0x140047b20
call fcn.140045350
test al, al
jne 0x140047b69
mov dword [rsp + 0x20], 2
mov r9d, 0x227
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.14004dc10
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 0x140047d91
movzx edi, byte [rsi + 0x88]
test bl, 0x10
je 0x140047b84
and ebx, 0xffffffef
lea rcx, [rbp + 0xa0]
call fcn.14004de20
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 0x140047ce5
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 0x140047c47
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx + 0x20], xmm2
add qword [rsi + 0x60], 0x30
jmp 0x140047c53
lea r8, [rbp + 0x2b0]
call fcn.1400469f0
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x140047c95
add rdi, rax
cmp rdi, r15
jbe 0x140047ba0
mov al, 1
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140056a30
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:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp - 0x60]
call fcn.14004dc10
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 0x140047d51
and ebx, 0xffffffbf
lea rcx, [rbp - 0x60]
call fcn.14004de20
jmp 0x140047d51
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x140047c68
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x149
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp + 0x1a8]
call fcn.14004dda0
nop
or ebx, 0x20
mov dword [rsp + 0x30], ebx
lea rdx, [0x1400a4e18]
mov rcx, rax
call fcn.1400012e0
nop
test bl, 0x20
je 0x140047d51
and ebx, 0xffffffdf
lea rcx, [rbp + 0x1a8]
call fcn.14004e080
mov dword [rsp + 0x20], 2
mov r9d, 0x22c
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.14004dc10
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 0x140047d9c
lea rcx, [rbp - 0x60]
call fcn.14004de20
xor al, al
jmp 0x140047c6a
lea rcx, [0x1400cf120]
call fcn.1400568ac
cmp dword [0x1400cf120], 0xffffffff
jne 0x1400479ee
xor r8d, r8d
lea rdx, str.::IsWow64Process
lea rcx, [0x14009ec08]
call fcn.140048fb0
mov qword [0x1400cf118], rax
lea rcx, [0x1400cf120]
call fcn.140056840
jmp 0x1400479ee