Function at 0x140231320
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1402cc920]
mov ecx, dword [0x1402c2670]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402315a1
mov rax, qword [0x1402cc918]
test rax, rax
je 0x14023140b
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1402a3ee8]
test eax, eax
je 0x1402313b5
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x140231412
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140231443
mov ecx, 2
call fcn.14018d910
test al, al
je 0x14023140b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, Ordinal_79
mov r9d, 2
call fcn.1401f8d80
lea rcx, [rsp + 0x40]
lea rdx, [0x14028ab1c]
mov r8d, reloc.WLDAP32.dll_Ordinal_14
call fcn.140172950
mov rcx, rbx
call fcn.1401f8df0
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x14026f080]
lea rbx, [rsp + 0x30]
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 + 0x80]
mov dl, byte [rsi + 0x81]
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
and dl, 1
mov rcx, rdi
mov r8, rsi
call fcn.1402315f0
test al, al
jne 0x1402314ce
mov ecx, 2
call fcn.14018d910
test al, al
je 0x1402314af
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x221
mov r9d, 2
call fcn.140024120
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.140172950
mov rcx, rsi
call fcn.14000b670
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140191d70
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov rdx, qword [rsi + 0x28]
cmp byte [rsi + 0x80], 1
jne 0x1402314e8
mov rcx, rdi
mov r8, rsi
call fcn.140231830
jmp 0x1402314f3
mov rcx, rdi
mov r8, rsi
call fcn.140231eb0
test al, al
jne 0x14023153c
mov ecx, 2
call fcn.14018d910
test al, al
je 0x1402314af
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22a
mov r9d, 2
call fcn.140024120
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, Ordinal_26
jmp 0x1402314a2
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1402308e0
mov sil, 1
test al, al
jne 0x1402314b1
mov ecx, 2
call fcn.14018d910
test al, al
je 0x1402314af
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22f
mov r9d, 2
call fcn.140024120
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, Ordinal_26
jmp 0x1402314a2
lea rcx, [0x1402cc920]
call fcn.14018f720
cmp dword [0x1402cc920], 0xffffffff
jne 0x14023136b
lea rcx, [0x1402783f8]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400efc40
mov qword [0x1402cc918], rax
lea rcx, [0x1402cc920]
call fcn.14018f6b4
jmp 0x14023136b