Function at 0x140079c20
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1c0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401b4040]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401d0a80]
mov ecx, dword [0x1401c31d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140079fa7
mov rax, qword [0x1401d0a78]
test rax, rax
je 0x140079d0b
lea rdx, [rsp + 0x30]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1401a61b0]
test eax, eax
je 0x140079caf
cmp dword [rsp + 0x30], 0
setne byte [rsi + 0xd1]
je 0x140079d12
mov byte [rsi + 0xd0], 0
mov dl, 1
jmp 0x140079d46
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140079d0b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov r8d, 0x4e
mov r9d, 2
call fcn.140118ff0
lea rcx, [rsp + 0x90]
lea rdx, [0x1401a008b]
mov r8d, 0xe
call fcn.14007ee10
mov rcx, rbx
call fcn.140119060
mov byte [rsi + 0xd1], 0
movaps xmm0, xmmword [0x14017f960]
lea rbx, [rsp + 0x80]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0xd0]
mov dl, byte [rsi + 0xd1]
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
and dl, 1
mov rcx, rdi
mov r8, rsi
call fcn.14014a250
test al, al
jne 0x140079dd7
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140079db8
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov r8d, 0x222
mov r9d, 2
call fcn.140046020
lea rcx, [rsp + 0x90]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.14007ee10
mov rcx, rsi
call fcn.140046630
xor esi, esi
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1400c2d30
mov eax, esi
add rsp, 0x1c0
pop rbx
pop rdi
pop rsi
ret
mov rdx, qword [rsi + 0x28]
cmp byte [rsi + 0xd0], 1
jne 0x140079df1
mov rcx, rdi
mov r8, rsi
call fcn.14014a490
jmp 0x140079dfc
mov rcx, rdi
mov r8, rsi
call fcn.14014ab00
test al, al
jne 0x140079e4b
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140079db8
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov r8d, 0x22b
mov r9d, 2
call fcn.140046020
lea rcx, [rsp + 0x90]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x140079dab
mov dl, byte [rsi + 0xd0]
mov rcx, rdi
mov r8, rsi
call fcn.140149740
test al, al
jne 0x140079eaf
mov ecx, 2
call fcn.14009abb0
test al, al
je 0x140079db8
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov r8d, 0x230
mov r9d, 2
call fcn.140046020
lea rcx, [rsp + 0x90]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x140079dab
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
mov dword [rdx], 0x50
mov rcx, rdi
mov r8d, 0x50
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x140079f2c
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x80], rax
mov al, 1
mov byte [rsi + 0x88], al
mov rcx, qword [rsp + 0x70]
mov qword [rsi + 0x90], rcx
mov byte [rsi + 0x98], al
mov rcx, qword [rsp + 0x40]
mov qword [rsi + 0xa0], rcx
mov byte [rsi + 0xa8], al
mov rcx, qword [rsp + 0x38]
mov qword [rsi + 0xb0], rcx
mov byte [rsi + 0xb8], al
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x80]
mov qword [r8 + 0x50], rax
movaps xmm0, xmmword [0x14017f960]
movaps xmmword [r8 + 0x40], xmm0
movaps xmmword [r8 + 0x30], xmm0
movaps xmmword [r8 + 0x20], xmm0
movaps xmmword [r8 + 0x10], xmm0
movaps xmmword [r8], xmm0
lea rax, [rsp + 0x2c]
mov dword [rax], 0xaaaaaaaa
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x20], rax
mov edx, 3
mov r9d, 0x58
call fcn.14014b230
test eax, eax
js 0x140079f9f
mov rax, qword [rsp + 0x88]
mov qword [rsi + 0xc0], rax
mov byte [rsi + 0xc8], 1
mov sil, 1
jmp 0x140079dba
lea rcx, [0x1401d0a80]
call fcn.1400c22fc
cmp dword [0x1401d0a80], 0xffffffff
jne 0x140079c6b
lea rcx, [0x140189e9a]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140079960
mov qword [0x1401d0a78], rax
lea rcx, [0x1401d0a80]
call fcn.1400c23b0
jmp 0x140079c6b