Function at 0x1403b0dc0
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 [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x140518e40]
mov ecx, dword [0x14050f5f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1403b104a
mov rax, qword [0x140518e38]
test rax, rax
je 0x1403b0eab
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [case.0x1403053b8.0]
test eax, eax
je 0x1403b0e55
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1403b0eb2
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1403b0ee3
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1403b0eab
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, 0x4d
mov r9d, 2
call fcn.14030e0f0
lea rcx, [rsp + 0x40]
lea rdx, [0x1404ccf10]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401e0d00
mov rcx, rbx
call fcn.14030e160
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x140470090]
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.1403b10a0
test al, al
jne 0x1403b0f76
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1403b0f4f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x221
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1401e0d00
mov rcx, rsi
call fcn.140114c90
xor eax, eax
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1403b0f6b
call fcn.140297b50
int3
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov rdx, qword [rsi + 0x28]
cmp byte [rsi + 0x80], 1
jne 0x1403b0f90
mov rcx, rdi
mov r8, rsi
call fcn.1403b12e0
jmp 0x1403b0f9b
mov rcx, rdi
mov r8, rsi
call fcn.1403b1990
test al, al
jne 0x1403b0fe4
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1403b0f4f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22a
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1403b0f42
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1403b0280
mov ecx, eax
mov al, 1
test cl, cl
jne 0x1403b0f51
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1403b0f4f
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22f
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1403b0f42
lea rcx, [0x140518e40]
call fcn.14029664c
cmp dword [0x140518e40], 0xffffffff
jne 0x1403b0e0b
lea rcx, [0x14047fa30]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140166650
mov qword [0x140518e38], rax
lea rcx, [0x140518e40]
call fcn.140296700
jmp 0x1403b0e0b