Function at 0x140009464
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd18]
sub rsp, 0xe18
mov rax, qword [0x1400b6018]
xor rax, rsp
mov qword [rbp + 0xd00], rax
mov r15, qword [rbp + 0xd80]
xor ebx, ebx
mov r13, r8
mov dword [rsp + 0x6c], ebx
mov rdi, rdx
mov dword [rsp + 0x68], ebx
mov r14, rcx
mov dword [rsp + 0x64], ebx
lea r8d, [rbx + 0x30]
mov dword [rsp + 0x60], ebx
xor edx, edx
lea rcx, [rsp + 0x78]
mov r12d, r9d
mov esi, ebx
call fcn.1400547d0
xor edx, edx
lea rcx, [rbp + 0xbe0]
mov r8d, 0x11c
call fcn.1400547d0
xor edx, edx
mov qword [rsp + 0x70], rbx
mov r8d, 0xc28
mov dword [rsp + 0x54], ebx
lea rcx, [rbp - 0x50]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x58], ebx
call fcn.1400547d0
xor ecx, ecx
mov dword [rbp - 0x40], 0x48
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
call fcn.14006848c
lea rcx, [0x140007d10]
call fcn.140001234
xor edx, edx
lea ecx, [rbx + 3]
call fcn.1400687e0
lea r8, [rbp + 0xb58]
mov rcx, r13
lea rdx, [rbp + 0xb50]
call fcn.1400667c0
mov ebx, eax
test eax, eax
jns 0x14000957d
lea rax, str.Failed_to_parse_command_line.
mov edx, 0x89
mov r8d, 5
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_src_burnengineengine.cpp
mov r9d, 0x100
mov dword [rsp + 0x20], ebx
call fcn.1400012b4
jmp 0x140009903
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140008018
mov ebx, eax
test eax, eax
jns 0x14000959d
lea rax, str.Failed_to_initialize_engine_state.
mov edx, 0x8c
jmp 0x140009557
cmp dword [rbp + 0xb84], 3
mov dword [rbp - 0x28], r12d
je 0x1400095be
cmp dword [rbp - 0x38], 2
jle 0x1400095be
lea r8, [rbp - 0x20]
xor edx, edx
mov rcx, r14
call fcn.140035628
call fcn.140009b5c
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x1400095e4
lea rax, str.Failed_to_initialize_COM.
mov edx, 0x9a
jmp 0x140009557
mov esi, 1
call fcn.1400676f8
mov ebx, eax
test eax, eax
jns 0x140009605
lea rax, str.Failed_to_initialize_Cryputil.
mov edx, 0x9f
jmp 0x140009557
mov dword [rsp + 0x6c], esi
call fcn.14006fa90
call fcn.14006a280
mov ebx, eax
test eax, eax
jns 0x14000962a
lea rax, str.Failed_to_initialize_Regutil.
mov edx, 0xa6
jmp 0x140009557
mov dword [rsp + 0x68], esi
call fcn.14006dac4
mov ebx, eax
test eax, eax
jns 0x14000964a
lea rax, str.Failed_to_initialize_Wiutil.
mov edx, 0xaa
jmp 0x140009557
mov dword [rsp + 0x64], esi
call fcn.14006ee14
mov ebx, eax
test eax, eax
jns 0x14000966a
lea rax, str.Failed_to_initialize_XML_util.
mov edx, 0xae
jmp 0x140009557
lea rcx, [rbp + 0xbe0]
mov dword [rsp + 0x60], esi
call fcn.140068c94
mov ebx, eax
test eax, eax
jns 0x140009691
lea rax, str.Failed_to_get_OS_info.
mov edx, 0xb2
jmp 0x140009557
lea rcx, [rsp + 0x78]
lea rbx, str.unknown_architecture
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x78]
lea rcx, [0x140081f90]
mov edi, 5
test eax, eax
je 0x1400096dd
cmp eax, edi
je 0x1400096d4
cmp eax, 9
je 0x1400096cf
cmp eax, 0xc
jne 0x1400096e4
lea rbx, str.ARM64
jmp 0x1400096e4
mov rbx, rcx
jmp 0x1400096e4
lea rbx, [0x140081fb0]
jmp 0x1400096e4
lea rbx, [0x140081fbc]
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.14000543c
movzx ecx, word [rbp + 0xcf4]
lea rax, [0x140081f90]
mov r9d, dword [rbp + 0xbe4]
lea r8, str.4.0.3b9b68be290f544475f9d0f853344be38ef006993
mov qword [rsp + 0x48], rbx
mov edx, 0x20000001
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0xbec]
mov dword [rsp + 0x30], ecx
mov ecx, 2
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0xbe8]
mov dword [rsp + 0x20], eax
call fcn.140009b38
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000975c
call fcn.140004278
and qword [rsp + 0x70], 0
lea rcx, [rbp - 0x50]
call fcn.14002aafc
mov ebx, eax
test eax, eax
jns 0x14000977f
lea rax, str.Failed_to_initialize_core.
mov r8d, edi
mov edx, 0xd4
jmp 0x14000955d
mov ecx, dword [rbp + 0xb84]
sub ecx, esi
je 0x1400098d3
sub ecx, esi
je 0x1400098a9
sub ecx, esi
je 0x14000987c
sub ecx, esi
je 0x1400097ec
cmp ecx, esi
je 0x1400097be
mov ebx, 0x8000ffff
lea rax, str.Invalid_run_mode.
mov r8d, edi
mov edx, 0xfe
jmp 0x14000955d
mov edx, r12d
mov dword [rsp + 0x58], esi
lea rcx, [rbp - 0x50]
call fcn.140008d08
mov ebx, eax
test eax, eax
jns 0x1400098fa
lea rax, str.Failed_to_run_RunOnce_mode.
mov r8d, edi
mov edx, 0xf9
jmp 0x14000955d
xor edx, edx
mov dword [rsp + 0x50], esi
lea rcx, [rbp + 0xad8]
call fcn.14001fed4
mov ebx, eax
test eax, eax
jns 0x140009812
lea rax, str.Failed_to_connect_to_parent_of_embedded_process.
mov edx, 0x2e9
jmp 0x140009842
mov eax, dword [rbp + 0x130]
lea rdx, [rbp - 0x50]
cmp dword [rbp - 0x38], esi
mov rcx, r14
cmove eax, esi
mov dword [rbp + 0x130], eax
call fcn.1400089d0
mov ebx, eax
test eax, eax
jns 0x140009860
lea rax, str.Failed_to_run_bootstrapper_application_embedded.
mov edx, 0x2f3
mov qword [rsp + 0x28], rax
lea rcx, str.d:_awixwix_src_burnengineengine.cpp
mov r9d, 0x100
mov dword [rsp + 0x20], ebx
mov r8d, edi
call fcn.1400012b4
test ebx, ebx
jns 0x1400098fa
lea rax, str.Failed_to_run_embedded_mode.
mov r8d, edi
mov edx, 0xf2
jmp 0x14000955d
lea r8, [rbp - 0x50]
mov dword [rsp + 0x5c], esi
mov rdx, r13
mov rcx, r14
call fcn.1400086c8
mov ebx, eax
test eax, eax
jns 0x1400098fa
lea rax, str.Failed_to_run_per_machine_mode.
mov r8d, edi
mov edx, 0xeb
jmp 0x14000955d
lea rdx, [rbp - 0x50]
mov dword [rsp + 0x50], esi
mov rcx, r14
call fcn.1400089d0
mov ebx, eax
test eax, eax
jns 0x1400098fa
lea rax, str.Failed_to_run_per_user_mode.
mov r8d, edi
mov edx, 0xe4
jmp 0x14000955d
lea rcx, [rbp - 0x50]
mov dword [rsp + 0x54], esi
call fcn.140008e70
mov ebx, eax
test eax, eax
jns 0x1400098fa
lea rax, str.Failed_to_run_untrusted_mode.
mov r8d, edi
mov edx, 0xdd
jmp 0x14000955d
mov eax, dword [rbp + 0x120]
mov dword [r15], eax
mov rcx, qword [rsp + 0x70]
xor r14d, r14d
test rcx, rcx
je 0x140009915
call fcn.140004278
test ebx, ebx
jns 0x140009927
cmp dword [rbp + 0x680], r14d
jne 0x140009927
call fcn.14001f0c8
lea rcx, [rbp + 0xa8]
call fcn.140019270
lea rcx, [rbp + 0x570]
call fcn.1400256ac
lea rcx, [rbp + 0x570]
call fcn.1400259ac
mov ecx, dword [rbp - 0x44]
test ecx, ecx
je 0x140009989
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x140009989
cmp eax, 7
je 0x140009989
mov ecx, eax
call fcn.14001f584
mov r8, rax
mov edx, 0xa0000008
mov ecx, 2
call fcn.140009b38
sar ebx, 0x1f
mov ecx, r14d
and ebx, 7
mov dword [rbp - 0x44], ecx
sub ebx, 0x7ff8f43e
cmp dword [rsp + 0x50], r14d
je 0x1400099b5
mov edi, ebx
test ebx, ebx
js 0x140009999
mov edi, dword [r15]
call fcn.14001e7f8
mov r9, rax
mov r8d, edi
mov edx, 0x20000007
mov ecx, 2
call fcn.140009b38
jmp 0x1400099ed
cmp dword [rsp + 0x54], r14d
je 0x1400099cd
mov r8d, ebx
test ebx, ebx
js 0x1400099c6
mov r8d, dword [r15]
mov edx, 0x20000011
jmp 0x1400099e3
cmp dword [rsp + 0x58], r14d
je 0x1400099ed
mov r8d, ebx
test ebx, ebx
js 0x1400099de
mov r8d, dword [r15]
mov edx, 0x20000012
mov ecx, 2
call fcn.140009b38
call fcn.140068188
mov edi, dword [rsp + 0x5c]
test edi, edi
jne 0x140009a19
cmp qword [rbp + 0xac0], 0xffffffffffffffff
je 0x140009a19
mov r8d, dword [rbp - 0x44]
lea rcx, [rbp + 0xaa0]
mov edx, dword [r15]
call fcn.140020c78
jmp 0x140009a57
cmp dword [rbp - 0x44], r14d
je 0x140009a57
mov edx, 0xa0000005
mov ecx, 2
call fcn.140009b38
lea rcx, [rbp - 0x50]
call fcn.1400082a8
test eax, eax
jns 0x140009a57
mov qword [rsp + 0x28], r14
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov edx, 0xe0000017
mov ecx, eax
call fcn.140067f90
lea rcx, [rbp - 0x50]
call fcn.140035dc0
test edi, edi
jne 0x140009a72
mov rcx, qword [rbp + 0xa90]
call fcn.14002d1c4
jmp 0x140009abf
lea rcx, [rbp - 0x50]
call fcn.140029c68
xor edx, edx
xor ecx, ecx
call fcn.14006879c
mov rcx, qword [rbp + 0xa68]
test rcx, rcx
je 0x140009aa6
call fcn.14006888c
mov rcx, qword [rbp + 0xa68]
test rcx, rcx
je 0x140009aa6
call fcn.140004278
mov r8d, ebx
test ebx, ebx
js 0x140009ab0
mov r8d, dword [r15]
mov edx, 0x20000015
mov ecx, 2
call fcn.140009b38
lea rcx, [rbp - 0x50]
call fcn.140009124
cmp dword [rsp + 0x60], r14d
je 0x140009ad4
call fcn.14006f7e0
cmp dword [rsp + 0x64], r14d
je 0x140009ae0
call fcn.14006e260
cmp dword [rsp + 0x68], r14d
je 0x140009aec
call fcn.14006b32c
cmp dword [rsp + 0x6c], r14d
je 0x140009afd
call fcn.14006fb84
call fcn.1400678a0
test esi, esi
je 0x140009b07
call qword [sym.imp.ole32.dll_CoUninitialize]
call fcn.140001274
xor ecx, ecx
call fcn.140068a44
mov eax, ebx
mov rcx, qword [rbp + 0xd00]
xor rcx, rsp
call fcn.140053b50
add rsp, 0xe18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret