Function at 0x1402bf180
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 [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1403bfaa8]
mov ecx, dword [0x1403b24e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1402bf422
mov rax, qword [0x1403bfaa0]
test rax, rax
jne 0x1402bf2c0
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x14033b990]
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]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.1402bf470
test al, al
je 0x1402bf33e
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1402bf3d4
call fcn.140102090
test al, al
je 0x1402bf36f
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140101660
mov sil, 1
test al, al
jne 0x1402bf352
mov ecx, 2
call fcn.14017e5e0
test al, al
je 0x1402bf350
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1402bf410
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1403db008]
test eax, eax
jne 0x1402bf3b1
mov ecx, 2
call fcn.14017e5e0
test al, al
je 0x1402bf1db
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4b
mov r9d, 2
call fcn.14023e670
lea rcx, [rsp + 0x40]
lea rdx, [0x140384b5c]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.14020f8f0
mov rcx, rbx
call fcn.14023e6f0
jmp 0x1402bf1db
mov ecx, 2
call fcn.14017e5e0
test al, al
jne 0x1402bf3de
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1401d1390
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14017e5e0
test al, al
je 0x1402bf350
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1402bf410
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1402bf1e2
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1402bf217
call fcn.140102740
jmp 0x1402bf253
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.14020f8f0
mov rcx, rsi
call fcn.14007d550
jmp 0x1402bf350
lea rcx, [0x1403bfaa8]
call fcn.1401cfee0
cmp dword [0x1403bfaa8], 0xffffffff
jne 0x1402bf1cb
lea rcx, [0x1403443d6]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140104020
mov qword [0x1403bfaa0], rax
lea rcx, [0x1403bfaa8]
call fcn.1401cff78
jmp 0x1402bf1cb