Function at 0x1400046f0
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1d8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x150], 0xfffffffffffffffe
cmp qword [rcx + 0x80], 0
jne 0x140004ed9
mov rbx, rcx
mov byte [rbp + 0x14f], r8b
lea rsi, [rbp - 0x60]
mov rcx, rsi
call fcn.14001ab20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r12d, word [rbp - 0x60]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
mov dword [rbp + 0x140], eax
cmp eax, 0x80000004
mov qword [rbp + 0x120], rbx
jb 0x140004839
movzx eax, byte [0x14005e1c1]
mov ecx, 0x50
mov edx, 4
call fcn.1400040b0
test rax, rax
je 0x140004f9e
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], 5
mov eax, 0x80000000
xor ecx, ecx
xor ebx, ebx
jmp 0x1400047e4
mov rdx, qword [rbp + 0x138]
mov rax, qword [rbp + 0x128]
shl rdx, 4
mov dword [rax + rdx], r12d
mov dword [rax + rdx + 4], edi
mov dword [rax + rdx + 8], r15d
mov dword [rax + rdx + 0xc], r14d
mov rcx, qword [rbp + 0x138]
inc rcx
mov eax, r13d
mov r12d, esi
mov qword [rbp + 0x138], rcx
test bl, 1
jne 0x14000484d
cmp eax, dword [rbp + 0x140]
ja 0x14000484d
mov esi, r12d
setae bl
mov r13d, eax
adc r13d, 0
xor ecx, ecx
mov rdi, rbx
cpuid
xchg rbx, rdi
mov r12d, eax
mov r15d, ecx
mov r14d, edx
mov rdx, qword [rbp + 0x138]
cmp rdx, qword [rbp + 0x130]
jne 0x1400047b7
lea rcx, [rbp + 0x128]
call fcn.14000ea70
jmp 0x1400047b0
mov r14d, 1
xor eax, eax
mov qword [rbp + 0xb0], rax
jmp 0x1400049d6
movzx eax, byte [0x14005e1c1]
mov ecx, 0x30
mov edx, 1
call fcn.1400040b0
test rax, rax
je 0x140004faf
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 0x30
mov qword [rbp + 0x100], 0
mov rdi, qword [rbp + 0x128]
mov rbx, qword [rbp + 0x138]
shl rbx, 4
add rbx, rdi
mov eax, 2
mov r14d, 5
xor r15d, r15d
lea rsi, [rbp + 0xf0]
nop word cs:[rax + rax]
test r15b, 1
je 0x1400048e0
test r14, r14
je 0x14000493a
cmp rdi, rbx
je 0x14000493a
dec r14
jmp 0x140004904
cmp r14, rax
jbe 0x14000493a
mov rcx, rbx
sub rcx, rdi
shr rcx, 4
cmp rcx, rax
jbe 0x14000493a
mov rcx, rax
not rcx
add r14, rcx
shl rax, 4
add rdi, rax
mov edx, dword [rdi]
mov rcx, rsi
call fcn.140005380
mov edx, dword [rdi + 4]
mov rcx, rsi
call fcn.140005380
mov edx, dword [rdi + 8]
mov rcx, rsi
call fcn.140005380
mov edx, dword [rdi + 0xc]
add rdi, 0x10
mov r15b, 1
mov rcx, rsi
call fcn.140005380
xor eax, eax
jmp 0x1400048c0
mov rdx, qword [rbp + 0xf0]
mov r8, qword [rbp + 0x100]
test r8, r8
je 0x14000496c
xor ecx, ecx
nop
cmp byte [rdx + rcx], 0
je 0x140004960
inc rcx
cmp r8, rcx
jne 0x140004950
jmp 0x14000496c
cmp rcx, r8
ja 0x140004fdb
mov r8, rcx
lea rcx, [rbp - 0x10]
call fcn.140038680
cmp qword [rbp - 0x10], 0
je 0x140004eed
mov r14d, 1
xor edi, edi
mov rbx, qword [rbp + 0x120]
mov rdx, qword [rbp + 0xf8]
test rdx, rdx
je 0x1400049ad
mov rcx, qword [rbp + 0xf0]
mov r8d, 1
call fcn.1400040c0
mov rdx, qword [rbp + 0x130]
test rdx, rdx
je 0x1400049cf
mov rcx, qword [rbp + 0x128]
shl rdx, 4
mov r8d, 4
call fcn.1400040c0
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0x140], r14
xor eax, eax
xor ecx, ecx
mov r14, rbx
cpuid
xchg rbx, r14
mov esi, ecx
mov edi, edx
movzx eax, byte [0x14005e1c1]
mov ecx, 0xc
mov edx, 1
call fcn.1400040b0
test rax, rax
je 0x140004f6f
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 0xc
mov qword [rbp + 0x100], 0
lea rcx, [rbp + 0xf0]
mov edx, r14d
call fcn.140005380
lea rcx, [rbp + 0xf0]
mov edx, edi
call fcn.140005380
lea rcx, [rbp + 0xf0]
mov edx, esi
call fcn.140005380
mov rdx, qword [rbp + 0xf0]
mov r8, qword [rbp + 0x100]
test r8, r8
je 0x140004a8c
xor ecx, ecx
nop dword [rax]
cmp byte [rdx + rcx], 0
je 0x140004a80
inc rcx
cmp r8, rcx
jne 0x140004a70
jmp 0x140004a8c
cmp rcx, r8
ja 0x140004fc0
mov r8, rcx
lea rcx, [rbp - 0x10]
call fcn.140038680
cmp qword [rbp - 0x10], 0
je 0x140004ac2
cmp r12w, 0xe
ja 0x140004b0e
movsx rax, r12w
lea rcx, [0x1400489b0]
mov rsi, qword [rcx + rax*8]
lea rcx, [0x140048a28]
movsxd r14, dword [rcx + rax*4]
add r14, rcx
jmp 0x140004b1a
mov r14, qword [rbp - 8]
mov rsi, qword [rbp]
test rsi, rsi
je 0x140004f35
mov r15, qword [rbp + 0x140]
js 0x140004fd4
movzx eax, byte [0x14005e1c1]
mov edx, 1
mov rcx, rsi
call fcn.1400040b0
mov rdi, rax
test rax, rax
jne 0x140004b41
mov ecx, 1
mov rdx, rsi
call fcn.14003f6e0
jmp 0x140004ff4
lea r14, [0x1400488eb]
mov esi, 7
mov r15, qword [rbp + 0x140]
movzx eax, byte [0x14005e1c1]
mov edx, 1
mov rcx, rsi
call fcn.1400040b0
test rax, rax
je 0x140004f8f
mov rdi, rax
mov rcx, rdi
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp + 0xf8]
test rdx, rdx
mov r14, qword [rbp + 0xb0]
je 0x140004b74
mov rcx, qword [rbp + 0xf0]
mov r8d, 1
call fcn.1400040c0
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r14
mov esi, dword [rbp - 0x40]
cmp byte [rbp + 0x14f], 0
je 0x140004bc0
mov qword [rbp + 0xc8], r14
mov qword [rbp + 0xc0], r15
lea rcx, [rbp + 0x98]
mov rdx, rsi
call fcn.140005430
jmp 0x140004c18
test esi, esi
je 0x140004bfe
lea rdi, [rsi*8]
mov edx, 8
mov rcx, rdi
call fcn.1400040e0
test rax, rax
jne 0x140004c03
mov qword [rbp + 0xc8], r14
mov qword [rbp + 0xc0], r15
mov ecx, 8
mov rdx, rdi
call fcn.14003f6e0
jmp 0x140004ff4
mov eax, 8
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], rsi
lea rdi, [rsi + 1]
imul rsi, rdi, 0x70
movzx eax, byte [0x14005e1c1]
mov edx, 8
mov rcx, rsi
call fcn.1400040b0
test rax, rax
je 0x140004f80
lea rcx, [rbx + 0x70]
mov qword [rbp + 0xe8], rcx
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], 0
mov r15, qword [rbp + 0x98]
mov rax, qword [rbp + 0xa8]
lea rbx, [r15 + rax*8]
lea rsi, [rbp + 8]
xor r13d, r13d
lea rdi, [rbp + 0x128]
lea r14, [rbp + 0xf0]
lea r12, [rbp + 0x68]
mov qword [rbp - 0x18], r15
jmp 0x140004cf7
add r15, 8
mov rax, qword [rbp + 0xd0]
imul rcx, rdx, 0x70
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rax + rcx + 0x60], xmm0
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rax + rcx + 0x50], xmm0
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rax + rcx + 0x40], xmm0
movups xmm0, xmmword [rbp - 0x10]
movups xmm1, xmmword [rbp]
movups xmm2, xmmword [rbp + 0x10]
movups xmm3, xmmword [rbp + 0x20]
movups xmmword [rax + rcx + 0x30], xmm3
movups xmmword [rax + rcx + 0x20], xmm2
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdx
mov qword [rbp + 0xe0], rdx
cmp r15, rbx
je 0x140004e1a
inc r13
mov qword [rbp - 0x20], r13
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [fcn.14003a8a0]
mov qword [rbp - 0x28], rax
lea rax, str.CPU
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 1
mov qword [rbp + 0x110], 0
lea rax, [rbp - 0x30]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], 1
mov rcx, rdi
mov rdx, r14
call fcn.140035900
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x140], rax
movups xmm0, xmmword [rbp + 0x130]
movaps xmmword [rbp + 0xb0], xmm0
mov rcx, rdi
lea rdx, [rbp + 0x80]
call fcn.140035d30
mov rcx, r14
mov rdx, r12
call fcn.140035d30
mov rax, qword [r15]
mov rcx, qword [rbp + 0x138]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rbp + 0x128]
movups xmmword [rsi], xmm0
mov rcx, qword [rbp + 0x100]
mov qword [rsi + 0x28], rcx
movups xmm0, xmmword [rbp + 0xf0]
movups xmmword [rsi + 0x18], xmm0
mov rcx, qword [rbp + 0x140]
mov qword [rbp - 0x10], rcx
movdqa xmm0, xmmword [rbp + 0xb0]
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 0
mov rdx, qword [rbp + 0xe0]
cmp rdx, qword [rbp + 0xd8]
jne 0x140004ca0
lea rcx, [rbp + 0xd0]
call fcn.14000e810
mov rdx, qword [rbp + 0xe0]
jmp 0x140004ca0
mov rax, qword [rbp + 0xe0]
mov qword [rbp], rax
movups xmm0, xmmword [rbp + 0xd0]
movaps xmmword [rbp - 0x10], xmm0
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x140004e4f
shl rdx, 3
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.1400040c0
mov rdx, qword [rbp + 0x70]
test rdx, rdx
mov rsi, qword [rbp + 0xe8]
je 0x140004e6e
mov rcx, qword [rbp + 0x68]
mov r8d, 1
call fcn.1400040c0
mov rdx, qword [rbp + 0x88]
test rdx, rdx
je 0x140004e8c
mov rcx, qword [rbp + 0x80]
mov r8d, 1
call fcn.1400040c0
mov rcx, rsi
call fcn.140003d40
mov rsi, qword [rbp + 0x120]
mov rax, qword [rsi + 0x78]
test rax, rax
mov rdi, qword [rbp + 0xe8]
je 0x140004ebd
mov rcx, qword [rdi]
imul rdx, rax, 0x70
mov r8d, 8
call fcn.1400040c0
mov rax, qword [rbp]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rdi], xmm0
movzx eax, byte [rbp + 0x14f]
mov byte [rsi + 0x88], al
add rsp, 0x1d8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rsi, qword [rbp - 8]
mov rdi, qword [rbp]
test rdi, rdi
mov rbx, qword [rbp + 0x120]
je 0x140004f46
js 0x140004fef
movzx eax, byte [0x14005e1c1]
mov edx, 1
mov rcx, rdi
call fcn.1400040b0
mov r14, rax
test rax, rax
jne 0x140004f4c
mov ecx, 1
mov rdx, rdi
call fcn.14003f6e0
jmp 0x140004ff4
mov edi, 1
mov r15, qword [rbp + 0x140]
jmp 0x140004b41
mov r14d, 1
mov rcx, r14
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp + 0xf8]
test rdx, rdx
jne 0x14000499b
jmp 0x1400049ad
mov ecx, 1
mov edx, 0xc
call fcn.14003f6e0
jmp 0x140004ff4
mov ecx, 8
mov rdx, rsi
call fcn.14003f6e0
jmp 0x140004ff4
mov ecx, 1
mov rdx, rsi
call fcn.14003f6e0
jmp 0x140004ff4
mov ecx, 4
mov edx, 0x50
call fcn.14003f6e0
ud2
mov ecx, 1
mov edx, 0x30
call fcn.14003f6e0
jmp 0x140004ff4
lea rax, [0x140048980]
mov rdx, r8
mov r8, rax
call fcn.14003fcc0
jmp 0x140004ff4
call fcn.140035590
jmp 0x140004ff4
lea rax, [0x140048968]
mov rdx, r8
mov r8, rax
call fcn.14003fcc0
jmp 0x140004ff4
call fcn.140035590
ud2