Function at 0x140043960
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1400c9030]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r14, rdx
mov rsi, rcx
xor r12d, r12d
mov ebx, r12d
mov dword [rsp + 0x30], ebx
mov qword [rcx + 8], rdx
mov r8d, dword [0x1400cc4a8]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1400cbfd0], ecx
jg 0x140043d83
mov rax, qword [0x1400cbfc8]
test rax, rax
je 0x140043a4d
lea rdx, [rsp + 0x34]
mov rcx, r14
call rax
test eax, eax
jne 0x140043a45
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x4b
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::IsProcessWow64_void__
lea rcx, [rbp + 0xa0]
call fcn.140049da0
nop
mov dword [rsp + 0x30], 8
lea rdx, [0x14009f620]
mov rcx, rax
call fcn.1400012e0
nop
mov ebx, r12d
lea rcx, [rbp + 0xa0]
call fcn.14004a080
xor al, al
jmp 0x140043a4d
cmp dword [rsp + 0x34], 0
setne al
mov byte [rsi + 0x89], al
test al, al
je 0x140043a5b
xor al, al
jmp 0x140043a73
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbp + 0x2b0], 9
sete al
mov byte [rsi + 0x88], al
lea rax, [rsi + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsi + 0x30]
mov r8, rsi
movzx edx, byte [rsi + 0x89]
mov rcx, r14
call fcn.140040f40
test al, al
jne 0x140043ae1
mov dword [rsp + 0x20], 2
mov r9d, 0x21e
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.140049c10
nop
or ebx, 1
mov dword [rsp + 0x30], ebx
lea rdx, str.GetProcessBasicInformation_failed
mov rcx, rax
call fcn.1400012e0
nop
test bl, 1
jmp 0x140043d71
mov rdx, qword [rsi + 0x30]
mov r8, rsi
mov rcx, r14
cmp byte [rsi + 0x88], 0
je 0x140043afb
call fcn.140041900
jmp 0x140043b00
call fcn.140041250
test al, al
jne 0x140043b49
mov dword [rsp + 0x20], 2
mov r9d, 0x227
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.140049c10
nop
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, str.ReadProcessData_failed
mov rcx, rax
call fcn.1400012e0
nop
test bl, 2
jmp 0x140043d71
movzx edi, byte [rsi + 0x88]
test bl, 0x10
je 0x140043b64
and ebx, 0xffffffef
lea rcx, [rbp + 0xa0]
call fcn.140049e20
mov eax, 0xffffffff
mov r15, 0xffffffffffffffff
test dil, dil
cmove r15, rax
mov rdi, r12
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x70]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140043cc5
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x6c], r12d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x50], eax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x58], rax
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp - 0x6c]
mov dword [rsp + 0x64], eax
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x68], eax
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0x2b0], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x2c0], xmm1
movaps xmm2, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x2d0], xmm2
lea rcx, [rsi + 0x58]
mov rdx, qword [rsi + 0x60]
cmp rdx, qword [rsi + 0x68]
je 0x140043c27
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx + 0x20], xmm2
add qword [rsi + 0x60], 0x30
jmp 0x140043c33
lea r8, [rbp + 0x2b0]
call fcn.140042890
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x140043c75
add rdi, rax
cmp rdi, r15
jbe 0x140043b80
mov al, 1
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400536a0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rsp + 0x20], 2
mov r9d, 0x152
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp - 0x60]
call fcn.140049c10
nop
or ebx, 0x40
mov dword [rsp + 0x30], ebx
lea rdx, str.RegionSize__0
mov rcx, rax
call fcn.1400012e0
nop
test bl, 0x40
je 0x140043d31
and ebx, 0xffffffbf
lea rcx, [rbp - 0x60]
call fcn.140049e20
jmp 0x140043d31
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x140043c48
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x149
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ReadMemoryInfo_void__bool_class_crashpad::ProcessInfo__
lea rcx, [rbp + 0x1a8]
call fcn.140049da0
nop
or ebx, 0x20
mov dword [rsp + 0x30], ebx
lea rdx, [0x1400a01d8]
mov rcx, rax
call fcn.1400012e0
nop
test bl, 0x20
je 0x140043d31
and ebx, 0xffffffdf
lea rcx, [rbp + 0x1a8]
call fcn.14004a080
mov dword [rsp + 0x20], 2
mov r9d, 0x22c
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutilwinprocess_info.cc
lea rdx, str.bool___cdecl_crashpad::ProcessInfo::Initialize_void__
lea rcx, [rbp - 0x60]
call fcn.140049c10
nop
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rdx, str.ReadMemoryInfo_failed
mov rcx, rax
call fcn.1400012e0
nop
test bl, 4
je 0x140043d7c
lea rcx, [rbp - 0x60]
call fcn.140049e20
xor al, al
jmp 0x140043c4a
lea rcx, [0x1400cbfd0]
call fcn.140053484
cmp dword [0x1400cbfd0], 0xffffffff
jne 0x1400439ce
xor r8d, r8d
lea rdx, str.::IsWow64Process
lea rcx, str.kernel32.dll
call fcn.140046190
mov qword [0x1400cbfc8], rax
lea rcx, [0x1400cbfd0]
call fcn.140053424
jmp 0x1400439ce