Function at 0x1402405ec
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
mov eax, 0x120
call fcn.14024eae0
sub rsp, rax
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm7
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [rsp + 0x48]
call fcn.14000fb20
lea rax, str.Microsoft.Office.C2RSvcMgr.ChangeGate.AllowTriggerLocalLogging
mov qword [rsp + 0x50], rax
mov word [rsp + 0x58], 0x100
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.1401680a8
mov rbx, qword [rsp + 0x48]
test al, al
je 0x140240691
test rbx, rbx
je 0x140240ea9
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x80]
call qword [case.0x14004a846.0]
test al, al
je 0x1402406b2
lea rcx, [rsp + 0x30]
call fcn.140124e14
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1402406b2
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov qword [rbp - 0x30], r15
movdqa xmm0, xmmword [0x14031bbe0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r15w
lea rdx, [rbp - 0x30]
lea rcx, [0x140000000]
call fcn.140011164
mov dword [rsp + 0x30], 0x40
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov esi, 0x60
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x140240703
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
int3
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x38], rax
lea rax, str.ModulePath
mov qword [rsp + 0x78], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.14000ad78
nop
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140241560
nop
lea rcx, [rbp - 0x80]
call fcn.14000ac30
mov r12, qword [rsp + 0x38]
lea rax, [rsp + 0x38]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r15
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x14024077a
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
int3
mov qword [rbp - 0x48], rsi
lea r14, [rax + 0x20]
mov qword [rsp + 0x50], r14
mov qword [r14], r15
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 7
lea rdx, str.CommandLine
mov rcx, r14
call fcn.14000ae4c
lea r15, [r14 + 0x20]
and qword [r15], 0
and qword [r15 + 0x10], 0
mov qword [r15 + 0x18], 7
mov rdx, r13
mov rcx, r15
call fcn.14000ae4c
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
xor r12d, r12d
mov word [rsi + 0x18], r12w
mov r8, r14
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.14004891c
movups xmm6, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm0
mov rdx, qword [rsp + 0x60]
cmp byte [rdx + 0x19], r12b
jne 0x140240813
add rdx, 0x20
mov rcx, r14
call fcn.14000d54c
test al, al
je 0x140240816
mov dil, r12b
test dil, dil
je 0x140240836
mov rcx, r15
call fcn.14000ac30
mov rcx, r14
call fcn.14000ac30
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140240861
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [rsp + 0x40], rax
je 0x140240ea0
movdqu xmmword [rbp - 0x50], xmm6
mov r8, rsi
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.14000d1a4
lea r8, [rsp + 0x30]
lea r14, [0x140301ad4]
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140023d0c
lea rcx, str.Bitness
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov esi, 7
mov qword [rax + 0x18], rsi
mov word [rax], r12w
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140241560
mov edi, 0x1000
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x140240904
nop dword [rax + rax]
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
cmp rax, rdi
jb 0x1402408fd
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x1402408fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x78]
call fcn.14000ac30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.14018884c
nop
lea rcx, str.ProcessId
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rsi
mov word [rax], r12w
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140241560
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x1402409a6
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
cmp rax, rdi
jb 0x14024099f
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14024099f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x78]
call fcn.14000ac30
call fcn.140188170
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
lea rdx, str.0x_x
lea rcx, [rsp + 0x78]
call fcn.14018884c
nop
lea rcx, str.IntegrityLevel
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rsi
mov word [rax], r12w
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140241560
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x140240a4b
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
cmp rax, rdi
jb 0x140240a44
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140240a44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x78]
call fcn.14000ac30
call fcn.1401880e8
mov dword [rsp + 0x30], eax
lea r9, [rsp + 0x30]
mov r8d, 2
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.14018978c
nop
movups xmm7, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x50], xmm7
movups xmm6, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x60], xmm6
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rsi
mov word [rsp + 0x78], r12w
lea rcx, [rsp + 0x78]
call fcn.14000ac30
lea rax, str.SecuritySessionId
mov qword [rsp + 0x78], rax
movups xmmword [rbp - 0x80], xmm7
movups xmmword [rbp - 0x70], xmm6
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x50], r12w
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140241560
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x140240b16
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rdx, rcx
cmp rax, rdi
jb 0x140240b0f
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140240b0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x78]
call fcn.14018b75c
lea rcx, str.ExeVer
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rsi
mov word [rax], r12w
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
nop dword [rax + rax]
call fcn.140241560
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x140240ba4
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
cmp rax, rdi
jb 0x140240b9d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140240b9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x78]
call fcn.14000ac30
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x78]
mov word [rsp + 0x30], ax
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rsi
mov word [rsp + 0x78], r12w
mov edx, 4
lea rcx, [rsp + 0x78]
call fcn.14000aa00
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
lea r8, [0x140301ad8]
mov rdx, r14
lea rcx, [rbp - 0x50]
call fcn.14018c274
nop
mov rax, qword [rbp - 0x70]
cmp rax, 8
jb 0x140240c55
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
cmp rax, rdi
jb 0x140240c4f
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140240c4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rsi
mov word [rsp + 0x78], r12w
movups xmm7, xmmword [rbp - 0x50]
movups xmmword [rsp + 0x50], xmm7
movups xmm6, xmmword [rbp - 0x40]
movups xmmword [rsp + 0x60], xmm6
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], rsi
mov word [rbp - 0x50], r12w
lea rcx, [rbp - 0x50]
call fcn.14000ac30
lea rax, str.ProcessorArch
mov qword [rsp + 0x78], rax
movups xmmword [rbp - 0x80], xmm7
movups xmmword [rbp - 0x70], xmm6
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x50], r12w
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140241560
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x140240cff
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rdx, rcx
cmp rax, rdi
jb 0x140240cf8
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140240cf8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.14018884c
lea rcx, str.Locale
mov qword [rsp + 0x50], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rsi
mov word [rax], r12w
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140241560
mov rax, qword [rsp + 0x70]
cmp rax, 8
jb 0x140240d96
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
cmp rax, rdi
jb 0x140240d8f
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140240d8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x78]
call fcn.14000ac30
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.140240eb8
mov rdi, rax
xor r9d, r9d
lea esi, [r9 + 0x32]
mov r8d, esi
mov r14d, 0x921
mov edx, r14d
mov r15d, 0x31402c5
mov ecx, r15d
call fcn.140239eb0
test al, al
je 0x140240e1f
mov qword [rsp + 0x30], rdi
lea rax, vtable.Mso::Logging::CompositeStructuredTrace.0
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x40], rax
xor r9d, r9d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.C2RMan::InitLogging
mov qword [rsp + 0x20], rax
mov r8d, esi
mov edx, r14d
mov ecx, r15d
call fcn.14023a0ec
lea rcx, [rbp - 0x80]
call fcn.14000ac30
mov r8, qword [rsp + 0x38]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.14004808c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x30]
call fcn.14000ac30
test rbx, rbx
je 0x140240e69
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004a846.0]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14024c6d0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000d588
nop
jmp 0x140240ea8
nop
xor edx, edx
mov ecx, 0x152139a
call fcn.1400b3928
int3