Function at 0x140094550
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1d0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401c8018]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401dbbc8]
mov ecx, dword [0x1401d17f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400948db
mov rax, qword [0x1401dbbc0]
test rax, rax
je 0x14009461f
lea rdx, [rsp + 0x30]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1401e9010]
test eax, eax
jne 0x1400946e3
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x14009461f
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 + 0x80]
mov rcx, rbx
mov r8d, 0x4c
mov r9d, 2
call fcn.140126e40
lea rcx, [rsp + 0x90]
lea rdx, [0x1401b6d4b]
mov r8d, 0xe
call fcn.1400a5d10
mov rcx, rbx
call fcn.140126ec0
mov byte [rsi + 0xf9], 0
movaps xmm0, xmmword [0x1401a01c0]
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 + 0xf8]
cmp byte [rsi + 0xf9], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.14015fd10
test al, al
je 0x140094694
cmp byte [rsi + 0xf8], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x140094703
call fcn.140094930
jmp 0x140094708
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x1400947c4
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov r8d, 0x21f
mov r9d, 2
call fcn.140050ec0
lea rcx, [rsp + 0x90]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x1400947b7
cmp dword [rsp + 0x30], 0
setne byte [rsi + 0xf9]
je 0x140094626
mov byte [rsi + 0xf8], 0
mov dl, 1
jmp 0x14009465e
call fcn.140094fd0
test al, al
je 0x140094771
mov dl, byte [rsi + 0xf8]
mov rcx, rdi
mov r8, rsi
call fcn.140093b00
test al, al
jne 0x1400947e3
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x1400947c4
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov r8d, 0x22d
mov r9d, 2
call fcn.140050ec0
lea rcx, [rsp + 0x90]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1400947b7
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x1400947c4
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov r8d, 0x228
mov r9d, 2
call fcn.140050ec0
lea rcx, [rsp + 0x90]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.1400a5d10
mov rcx, rsi
call fcn.140051360
xor esi, esi
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.1400d5720
mov eax, esi
add rsp, 0x1d0
pop rbx
pop rdi
pop rsi
ret
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 0x140094860
mov rax, qword [rsp + 0x78]
mov cl, 1
mov byte [rsi + 0x80], cl
mov qword [rsi + 0x88], rax
mov rax, qword [rsp + 0x70]
mov byte [rsi + 0x98], cl
mov qword [rsi + 0xa0], rax
mov rax, qword [rsp + 0x40]
mov byte [rsi + 0xb0], cl
mov qword [rsi + 0xb8], rax
mov rax, qword [rsp + 0x38]
mov byte [rsi + 0xc8], cl
mov qword [rsi + 0xd0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x80]
mov qword [r8 + 0x50], rax
movaps xmm0, xmmword [0x1401a01c0]
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.14015ff40
test eax, eax
js 0x1400948d3
mov rax, qword [rsp + 0x88]
mov byte [rsi + 0xe0], 1
mov qword [rsi + 0xe8], rax
mov sil, 1
jmp 0x1400947c6
lea rcx, [0x1401dbbc8]
call fcn.1400d5010
cmp dword [0x1401dbbc8], 0xffffffff
jne 0x14009459b
lea rcx, [0x1401ae6f6]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140093850
mov qword [0x1401dbbc0], rax
lea rcx, [0x1401dbbc8]
call fcn.1400d50a8
jmp 0x14009459b