Function at 0x1400b5e30
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, 0x1b8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x130], 0xfffffffffffffffe
cmp qword [rcx + 0x10], 0
jne 0x1400b65d0
mov r12d, edx
mov qword [rbp + 0xf8], rcx
lea rsi, [rbp - 0x60]
mov rcx, rsi
call fcn.1400c1040
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r13d, word [rbp - 0x60]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
mov dword [rbp + 0x120], eax
cmp eax, 0x80000004
mov byte [rbp + 0x12f], r12b
jb 0x1400b5f72
mov word [rbp + 0xc0], r13w
movzx eax, byte [0x14033c4a1]
mov ecx, 0x50
mov edx, 4
call fcn.1400b32d0
test rax, rax
je 0x1400b6685
mov qword [rbp + 0x100], 5
mov qword [rbp + 0x108], rax
mov eax, 0x80000000
xor r12d, r12d
xor r13d, r13d
jmp 0x1400b5f24
mov rax, qword [rbp + 0x108]
mov rcx, r12
shl rcx, 4
mov dword [rax + rcx], r15d
mov dword [rax + rcx + 4], esi
mov dword [rax + rcx + 8], ebx
mov dword [rax + rcx + 0xc], r14d
inc r12
mov eax, edi
mov qword [rbp + 0x110], r12
test r13b, 1
jne 0x1400b5f8c
cmp eax, dword [rbp + 0x120]
ja 0x1400b5f8c
setae r13b
mov edi, eax
adc edi, 0
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov r15d, eax
mov ebx, ecx
mov r14d, edx
mov r12, qword [rbp + 0x110]
cmp r12, qword [rbp + 0x100]
jne 0x1400b5f00
lea rcx, [rbp + 0x100]
call fcn.1400ba5f0
jmp 0x1400b5f00
mov eax, 1
mov qword [rbp + 0x118], rax
xor eax, eax
mov qword [rbp + 0x120], rax
jmp 0x1400b6125
movzx eax, byte [0x14033c4a1]
mov ecx, 0x30
mov edx, 1
call fcn.1400b32d0
test rax, rax
je 0x1400b6694
mov qword [rbp + 0xc8], 0x30
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0
mov rdi, qword [rbp + 0x108]
mov rbx, qword [rbp + 0x110]
shl rbx, 4
add rbx, rdi
mov eax, 2
mov r14d, 5
xor r15d, r15d
lea rsi, [rbp + 0xc8]
movzx r12d, byte [rbp + 0x12f]
movzx r13d, word [rbp + 0xc0]
nop word cs:[rax + rax]
test r15b, 1
je 0x1400b6030
test r14, r14
je 0x1400b608a
cmp rdi, rbx
je 0x1400b608a
dec r14
jmp 0x1400b6054
cmp r14, rax
jbe 0x1400b608a
mov rcx, rbx
sub rcx, rdi
shr rcx, 4
cmp rcx, rax
jbe 0x1400b608a
mov rcx, rax
not rcx
add r14, rcx
shl rax, 4
add rdi, rax
mov edx, dword [rdi]
mov rcx, rsi
call fcn.1400b6aa0
mov edx, dword [rdi + 4]
mov rcx, rsi
call fcn.1400b6aa0
mov edx, dword [rdi + 8]
mov rcx, rsi
call fcn.1400b6aa0
mov edx, dword [rdi + 0xc]
add rdi, 0x10
mov r15b, 1
mov rcx, rsi
call fcn.1400b6aa0
xor eax, eax
jmp 0x1400b6010
mov rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xd8]
test r8, r8
je 0x1400b60bc
xor ecx, ecx
nop
cmp byte [rdx + rcx], 0
je 0x1400b60b0
inc rcx
cmp r8, rcx
jne 0x1400b60a0
jmp 0x1400b60bc
cmp rcx, r8
ja 0x1400b66c9
mov r8, rcx
lea rcx, [rbp - 0x10]
call fcn.140223d40
cmp qword [rbp - 0x10], 0
je 0x1400b65e4
mov eax, 1
mov qword [rbp + 0x118], rax
xor ebx, ebx
mov rdx, qword [rbp + 0xc8]
test rdx, rdx
je 0x1400b60fc
mov rcx, qword [rbp + 0xd0]
mov r8d, 1
call fcn.1400b32e0
mov rdx, qword [rbp + 0x100]
test rdx, rdx
je 0x1400b611e
mov rcx, qword [rbp + 0x108]
shl rdx, 4
mov r8d, 4
call fcn.1400b32e0
mov qword [rbp + 0x120], rbx
xor eax, eax
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov esi, ecx
mov edi, edx
movzx eax, byte [0x14033c4a1]
mov ecx, 0xc
mov edx, 1
call fcn.1400b32d0
test rax, rax
je 0x1400b6653
mov qword [rbp + 0xc8], 0xc
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0
lea rcx, [rbp + 0xc8]
mov edx, ebx
call fcn.1400b6aa0
lea rcx, [rbp + 0xc8]
mov edx, edi
call fcn.1400b6aa0
lea rcx, [rbp + 0xc8]
mov edx, esi
call fcn.1400b6aa0
mov rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xd8]
test r8, r8
je 0x1400b61cc
xor ecx, ecx
cmp byte [rdx + rcx], 0
je 0x1400b61c0
inc rcx
cmp r8, rcx
jne 0x1400b61b0
jmp 0x1400b61cc
cmp rcx, r8
ja 0x1400b66a5
mov r8, rcx
lea rcx, [rbp - 0x10]
call fcn.140223d40
cmp qword [rbp - 0x10], 0
je 0x1400b6202
cmp r13w, 0xe
ja 0x1400b623d
movzx eax, r13w
lea rcx, [0x14024e568]
mov rsi, qword [rcx + rax*8]
lea rcx, [0x14024e5e0]
movsxd rbx, dword [rcx + rax*4]
add rbx, rcx
jmp 0x1400b6249
mov rbx, qword [rbp - 8]
mov rsi, qword [rbp]
test rsi, rsi
je 0x1400b661a
js 0x1400b66b9
movzx eax, byte [0x14033c4a1]
mov r14d, 1
mov edx, 1
mov rcx, rsi
call fcn.1400b32d0
test rax, rax
jne 0x1400b6266
jmp 0x1400b66bc
lea rbx, [0x14024e4a2]
mov esi, 7
movzx eax, byte [0x14033c4a1]
mov edx, 1
mov rcx, rsi
call fcn.1400b32d0
test rax, rax
je 0x1400b6676
mov rdi, rax
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp + 0xc8]
test rdx, rdx
mov rbx, qword [rbp + 0x120]
je 0x1400b629c
mov rcx, qword [rbp + 0xd0]
mov r8d, 1
call fcn.1400b32e0
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x60], rbx
mov rax, qword [rbp + 0x118]
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rbx
mov esi, dword [rbp - 0x40]
test r12b, r12b
je 0x1400b62da
lea rcx, [rbp + 0x90]
mov rdx, rsi
call fcn.1400b6b50
jmp 0x1400b6324
test esi, esi
je 0x1400b630a
lea rdi, [rsi*8]
mov edx, 8
mov rcx, rdi
call fcn.1400b3300
test rax, rax
jne 0x1400b630f
mov ecx, 8
mov rdx, rdi
call fcn.14023db50
jmp 0x1400b66ea
mov eax, 8
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rsi
lea rdi, [rsi + 1]
imul rsi, rdi, 0x70
movzx eax, byte [0x14033c4a1]
mov edx, 8
mov rcx, rsi
call fcn.1400b32d0
test rax, rax
je 0x1400b6667
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], 0
mov r12, qword [rbp + 0x98]
mov rax, qword [rbp + 0xa0]
lea rsi, [r12 + rax*8]
lea rbx, [rbp + 8]
xor r14d, r14d
lea rdi, [rbp + 0x100]
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xc0], r12
jmp 0x1400b63f7
add r12, 8
mov rax, qword [rbp + 0xb0]
imul rcx, r13, 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 r13
mov qword [rbp + 0xb8], r13
cmp r12, rsi
je 0x1400b651b
inc r14
mov qword [rbp - 0x18], r14
lea rax, [rbp - 0x18]
mov qword [rbp + 0x100], rax
lea rax, [fcn.140227ea0]
mov qword [rbp + 0x108], rax
lea rax, str.CPU
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], 1
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xd8], rdi
mov qword [rbp + 0xe0], 1
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.140219310
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0x118], rax
mov r13, qword [rbp - 0x20]
mov rcx, rdi
lea rdx, [rbp + 0x78]
call fcn.14021a500
mov rcx, r15
lea rdx, [rbp + 0x60]
call fcn.14021a500
mov rax, qword [r12]
mov rcx, qword [rbp + 0x110]
mov qword [rbx + 0x10], rcx
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [rbx], xmm0
mov rcx, qword [rbp + 0xd8]
mov qword [rbx + 0x28], rcx
movups xmm0, xmmword [rbp + 0xc8]
movups xmmword [rbx + 0x18], xmm0
mov rcx, qword [rbp + 0x120]
mov qword [rbp - 0x10], rcx
mov rcx, qword [rbp + 0x118]
mov qword [rbp - 8], rcx
mov qword [rbp], r13
movabs rcx, 0x8000000000000000
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x50], 0
mov qword [rbp + 0x58], rax
mov r13, qword [rbp + 0xb8]
cmp r13, qword [rbp + 0xa8]
jne 0x1400b63a0
lea rcx, [rbp + 0xa8]
call fcn.1400ba530
jmp 0x1400b63a0
mov rax, qword [rbp + 0xb8]
mov qword [rbp], rax
movups xmm0, xmmword [rbp + 0xa8]
movaps xmmword [rbp - 0x10], xmm0
mov rdx, qword [rbp + 0x90]
test rdx, rdx
je 0x1400b6553
shl rdx, 3
mov r8d, 8
mov rcx, qword [rbp + 0xc0]
call fcn.1400b32e0
mov rdx, qword [rbp + 0x60]
test rdx, rdx
mov rsi, qword [rbp + 0xf8]
movzx ebx, byte [rbp + 0x12f]
je 0x1400b6579
mov rcx, qword [rbp + 0x68]
mov r8d, 1
call fcn.1400b32e0
mov rdx, qword [rbp + 0x78]
test rdx, rdx
je 0x1400b6594
mov rcx, qword [rbp + 0x80]
mov r8d, 1
call fcn.1400b32e0
mov rcx, rsi
call fcn.140028060
mov rsi, qword [rbp + 0xf8]
mov rax, qword [rsi]
test rax, rax
je 0x1400b65be
mov rcx, qword [rsi + 8]
imul rdx, rax, 0x70
mov r8d, 8
call fcn.1400b32e0
mov rax, qword [rbp]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x38], bl
add rsp, 0x1b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rsi, qword [rbp - 8]
mov rbx, qword [rbp]
test rbx, rbx
je 0x1400b6624
js 0x1400b66dd
movzx eax, byte [0x14033c4a1]
mov edi, 1
mov edx, 1
mov rcx, rbx
call fcn.1400b32d0
test rax, rax
jne 0x1400b6629
jmp 0x1400b66df
mov edi, 1
jmp 0x1400b6269
mov eax, 1
mov qword [rbp + 0x118], rax
mov rcx, rax
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp + 0xc8]
test rdx, rdx
jne 0x1400b60ea
jmp 0x1400b60fc
mov ecx, 1
mov edx, 0xc
call fcn.14023db50
jmp 0x1400b66ea
mov ecx, 8
mov rdx, rsi
call fcn.14023db50
jmp 0x1400b66ea
mov ecx, 1
mov rdx, rsi
call fcn.14023db50
jmp 0x1400b66ea
mov ecx, 4
mov edx, 0x50
call fcn.14023db50
mov ecx, 1
mov edx, 0x30
call fcn.14023db50
jmp 0x1400b66ea
lea rax, [0x14024e538]
mov rdx, r8
mov r8, rax
call fcn.14023e360
jmp 0x1400b66ea
xor r14d, r14d
mov rcx, r14
mov rdx, rsi
call fcn.14023db50
jmp 0x1400b66ea
lea rax, [0x14024e520]
mov rdx, r8
mov r8, rax
call fcn.14023e360
jmp 0x1400b66ea
xor edi, edi
mov rcx, rdi
mov rdx, rbx
call fcn.14023db50
ud2