Function at 0x140004550
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140062040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
test ecx, ecx
je 0x140004808
sub ecx, 5
je 0x1400047dd
mov qword [rdi + 0x10], rbx
mov qword [rsp + 0x88], rsi
movabs rsi, 0x7fffffffffffffff
mov qword [rdi + 0x18], 0xf
mov rax, rsi
mov rdx, qword [rdi + 0x18]
sub ecx, 1
je 0x14000472f
cmp ecx, 3
mov rcx, rdx
je 0x140004691
shr rcx, 1
sub rax, rcx
cmp rdx, rax
jbe 0x1400045ef
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140004619
lea rax, [rdx + rcx]
mov esi, 0x1f
cmp rax, rsi
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140004638
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004833
mov rcx, rax
call fcn.14004f680
test rax, rax
je 0x140004792
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140004645
test rcx, rcx
je 0x140004645
call fcn.14004f680
mov rbx, rax
mov qword [rdi], rbx
mov qword [rdi + 0x10], 0x14
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [str.Unknown_architecture]
movups xmmword [rbx], xmm0
mov ecx, dword [0x140052be0]
mov dword [rbx + 0x10], ecx
mov byte [rbx + 0x14], 0
mov rsi, qword [rsp + 0x88]
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004f540
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
shr rcx, 1
sub rax, rcx
cmp rdx, rax
jbe 0x1400046ac
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x1400046d6
lea rax, [rcx + rdx]
mov esi, 0x1f
cmp rax, rsi
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1400046f5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004833
mov rcx, rax
call fcn.14004f680
test rax, rax
je 0x140004792
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140004702
test rcx, rcx
je 0x140004702
call fcn.14004f680
mov rbx, rax
mov qword [rdi], rbx
mov qword [rdi + 0x10], 0x12
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [str.x64__AMD_or_Intel_]
movups xmmword [rbx], xmm0
movzx eax, word [0x140052bb0]
mov word [rbx + 0x10], ax
mov byte [rbx + 0x12], 0
jmp 0x14000466b
mov rcx, rdx
shr rcx, 1
sub rax, rcx
cmp rdx, rax
jbe 0x140004766
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14004f680
test rax, rax
je 0x140004792
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400047a6
lea rax, [rcx + rdx]
mov esi, 0x1f
cmp rax, rsi
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140004799
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004833
jmp 0x14000474b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400047a6
call fcn.14004f680
mov rbx, rax
mov qword [rdi], rbx
mov qword [rdi + 0x10], 0x13
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [str.Intel_Itanium_based]
movups xmmword [rbx], xmm0
movzx eax, word [0x140052bc8]
mov word [rbx + 0x10], ax
movzx eax, byte [0x140052bca]
mov byte [rbx + 0x12], al
mov byte [rbx + 0x13], 0
jmp 0x14000466b
mov qword [rdi + 0x10], 3
mov qword [rdi + 0x18], 0xf
mov eax, dword [0x140052bb4]
mov word [rdi], ax
movzx eax, byte [0x140052bb6]
mov byte [rdi + 2], al
mov byte [rdi + 3], bl
jmp 0x140004673
mov qword [rdi + 0x10], 3
mov qword [rdi + 0x18], 0xf
mov eax, dword [0x140052bcc]
mov word [rdi], ax
movzx eax, byte [0x140052bce]
mov byte [rdi + 2], al
mov byte [rdi + 3], bl
jmp 0x140004673
call fcn.140001a90
int3