Function at 0x140010950
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 + 0x80], 0
jne 0x140011113
mov rbx, rcx
mov byte [rbp + 0x12f], dl
lea rsi, [rbp - 0x60]
mov rcx, rsi
call fcn.140025830
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 + 0x120], eax
cmp eax, 0x80000004
mov qword [rbp + 0xf8], rbx
jb 0x140010a99
movzx eax, byte [0x1400e51c1]
mov ecx, 0x50
mov edx, 4
call fcn.14000ca40
test rax, rax
je 0x1400111d4
mov qword [rbp + 0x100], 5
mov qword [rbp + 0x108], rax
mov eax, 0x80000000
xor ecx, ecx
xor ebx, ebx
jmp 0x140010a44
mov rdx, qword [rbp + 0x110]
mov rax, qword [rbp + 0x108]
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 + 0x110]
inc rcx
mov eax, r13d
mov r12d, esi
mov qword [rbp + 0x110], rcx
test bl, 1
jne 0x140010ab3
cmp eax, dword [rbp + 0x120]
ja 0x140010ab3
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 + 0x110]
cmp rdx, qword [rbp + 0x100]
jne 0x140010a17
lea rcx, [rbp + 0x100]
call fcn.140018fb0
jmp 0x140010a10
mov eax, 1
mov qword [rbp + 0x118], rax
xor eax, eax
mov qword [rbp + 0x120], rax
jmp 0x140010c3c
movzx eax, byte [0x1400e51c1]
mov ecx, 0x30
mov edx, 1
call fcn.14000ca40
test rax, rax
je 0x1400111e3
mov qword [rbp + 0xc0], 0x30
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], 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 + 0xc0]
nop dword [rax]
test r15b, 1
je 0x140010b40
test r14, r14
je 0x140010b9a
cmp rdi, rbx
je 0x140010b9a
dec r14
jmp 0x140010b64
cmp r14, rax
jbe 0x140010b9a
mov rcx, rbx
sub rcx, rdi
shr rcx, 4
cmp rcx, rax
jbe 0x140010b9a
mov rcx, rax
not rcx
add r14, rcx
shl rax, 4
add rdi, rax
mov edx, dword [rdi]
mov rcx, rsi
call fcn.1400115e0
mov edx, dword [rdi + 4]
mov rcx, rsi
call fcn.1400115e0
mov edx, dword [rdi + 8]
mov rcx, rsi
call fcn.1400115e0
mov edx, dword [rdi + 0xc]
add rdi, 0x10
mov r15b, 1
mov rcx, rsi
call fcn.1400115e0
xor eax, eax
jmp 0x140010b20
mov rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd0]
test r8, r8
je 0x140010bcc
xor ecx, ecx
nop
cmp byte [rdx + rcx], 0
je 0x140010bc0
inc rcx
cmp r8, rcx
jne 0x140010bb0
jmp 0x140010bcc
cmp rcx, r8
ja 0x14001120f
mov r8, rcx
lea rcx, [rbp - 0x10]
call fcn.1400a6a70
cmp qword [rbp - 0x10], 0
je 0x140011127
mov eax, 1
mov qword [rbp + 0x118], rax
xor edi, edi
mov rbx, qword [rbp + 0xf8]
mov rdx, qword [rbp + 0xc0]
test rdx, rdx
je 0x140010c13
mov rcx, qword [rbp + 0xc8]
mov r8d, 1
call fcn.14000ca50
mov rdx, qword [rbp + 0x100]
test rdx, rdx
je 0x140010c35
mov rcx, qword [rbp + 0x108]
shl rdx, 4
mov r8d, 4
call fcn.14000ca50
mov qword [rbp + 0x120], rdi
xor eax, eax
xor ecx, ecx
mov r14, rbx
cpuid
xchg rbx, r14
mov esi, ecx
mov edi, edx
movzx eax, byte [0x1400e51c1]
mov ecx, 0xc
mov edx, 1
call fcn.14000ca40
test rax, rax
je 0x1400111a5
mov qword [rbp + 0xc0], 0xc
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], 0
lea rcx, [rbp + 0xc0]
mov edx, r14d
call fcn.1400115e0
lea rcx, [rbp + 0xc0]
mov edx, edi
call fcn.1400115e0
lea rcx, [rbp + 0xc0]
mov edx, esi
call fcn.1400115e0
mov rdx, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xd0]
test r8, r8
je 0x140010cec
xor ecx, ecx
nop dword [rax + rax]
cmp byte [rdx + rcx], 0
je 0x140010ce0
inc rcx
cmp r8, rcx
jne 0x140010cd0
jmp 0x140010cec
cmp rcx, r8
ja 0x1400111f4
mov r8, rcx
lea rcx, [rbp - 0x10]
call fcn.1400a6a70
cmp qword [rbp - 0x10], 0
je 0x140010d22
cmp r12w, 0xe
ja 0x140010d67
movsx rax, r12w
lea rcx, [0x1400b3518]
mov rsi, qword [rcx + rax*8]
lea rcx, [0x1400b3590]
movsxd r14, dword [rcx + rax*4]
add r14, rcx
jmp 0x140010d73
mov r14, qword [rbp - 8]
mov rsi, qword [rbp]
test rsi, rsi
je 0x14001116c
js 0x140011208
movzx eax, byte [0x1400e51c1]
mov edx, 1
mov rcx, rsi
call fcn.14000ca40
mov rdi, rax
test rax, rax
jne 0x140010d93
mov ecx, 1
mov rdx, rsi
call fcn.1400b0770
jmp 0x140011228
lea r14, [0x1400b343b]
mov esi, 7
movzx eax, byte [0x1400e51c1]
mov edx, 1
mov rcx, rsi
call fcn.14000ca40
test rax, rax
je 0x1400111c5
mov rdi, rax
mov rcx, rdi
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp + 0xc0]
test rdx, rdx
je 0x140010dbf
mov rcx, qword [rbp + 0xc8]
mov r8d, 1
call fcn.14000ca50
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rsi
mov rax, qword [rbp + 0x120]
mov qword [rbp + 0x60], rax
mov rcx, qword [rbp + 0x118]
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], rax
mov esi, dword [rbp - 0x40]
cmp byte [rbp + 0x12f], 0
je 0x140010e08
lea rcx, [rbp + 0x90]
mov rdx, rsi
call fcn.140011690
jmp 0x140010e52
test esi, esi
je 0x140010e38
lea rdi, [rsi*8]
mov edx, 8
mov rcx, rdi
call fcn.14000ca70
test rax, rax
jne 0x140010e3d
mov ecx, 8
mov rdx, rdi
call fcn.1400b0770
jmp 0x140011228
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 [0x1400e51c1]
mov edx, 8
mov rcx, rsi
call fcn.14000ca40
test rax, rax
je 0x1400111b6
lea rcx, [rbx + 0x70]
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], 0
mov r15, qword [rbp + 0x98]
mov rax, qword [rbp + 0xa0]
lea rbx, [r15 + rax*8]
lea rsi, [rbp + 8]
xor r13d, r13d
lea rdi, [rbp + 0x100]
lea r14, [rbp + 0xc0]
mov qword [rbp - 0x18], r15
jmp 0x140010f27
add r15, 8
mov rax, qword [rbp + 0xb0]
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 + 0xb8], rdx
cmp r15, rbx
je 0x140011057
inc r13
mov qword [rbp - 0x20], r13
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [fcn.1400a9bf0]
mov qword [rbp - 0x28], rax
lea rax, str.CPU
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], 1
mov qword [rbp + 0xe0], 0
lea rax, [rbp - 0x30]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 1
mov rcx, rdi
mov rdx, r14
call fcn.1400a1df0
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x118], rax
mov r12, qword [rbp + 0x110]
mov rcx, rdi
lea rdx, [rbp + 0x78]
call fcn.1400a2db0
mov rcx, r14
lea rdx, [rbp + 0x60]
call fcn.1400a2db0
mov rax, qword [r15]
mov rcx, qword [rbp + 0x110]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [rsi], xmm0
mov rcx, qword [rbp + 0xd0]
mov qword [rsi + 0x28], rcx
movups xmm0, xmmword [rbp + 0xc0]
movups xmmword [rsi + 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], r12
movabs rcx, 0x8000000000000000
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, qword [rbp + 0xa8]
jne 0x140010ed0
lea rcx, [rbp + 0xa8]
call fcn.140019440
mov rdx, qword [rbp + 0xb8]
jmp 0x140010ed0
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 0x14001108c
shl rdx, 3
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.14000ca50
mov rdx, qword [rbp + 0x60]
test rdx, rdx
mov rsi, qword [rbp + 0xf0]
je 0x1400110ab
mov rcx, qword [rbp + 0x68]
mov r8d, 1
call fcn.14000ca50
mov rdx, qword [rbp + 0x78]
test rdx, rdx
je 0x1400110c6
mov rcx, qword [rbp + 0x80]
mov r8d, 1
call fcn.14000ca50
mov rcx, rsi
call fcn.14000c5b0
mov rdi, qword [rbp + 0xf0]
mov rax, qword [rdi]
test rax, rax
mov rsi, qword [rbp + 0xf8]
je 0x1400110f7
mov rcx, qword [rsi + 0x78]
imul rdx, rax, 0x70
mov r8d, 8
call fcn.14000ca50
mov rax, qword [rbp]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rdi], xmm0
movzx eax, byte [rbp + 0x12f]
mov byte [rsi + 0x88], al
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 rdi, qword [rbp]
test rdi, rdi
mov rbx, qword [rbp + 0xf8]
je 0x140011176
js 0x140011223
movzx eax, byte [0x1400e51c1]
mov edx, 1
mov rcx, rdi
call fcn.14000ca40
test rax, rax
jne 0x14001117b
mov ecx, 1
mov rdx, rdi
call fcn.1400b0770
jmp 0x140011228
mov edi, 1
jmp 0x140010d93
mov eax, 1
mov qword [rbp + 0x118], rax
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp + 0xc0]
test rdx, rdx
jne 0x140010c01
jmp 0x140010c13
mov ecx, 1
mov edx, 0xc
call fcn.1400b0770
jmp 0x140011228
mov ecx, 8
mov rdx, rsi
call fcn.1400b0770
jmp 0x140011228
mov ecx, 1
mov rdx, rsi
call fcn.1400b0770
jmp 0x140011228
mov ecx, 4
mov edx, 0x50
call fcn.1400b0770
mov ecx, 1
mov edx, 0x30
call fcn.1400b0770
jmp 0x140011228
lea rax, str.I4_v_
mov rdx, r8
mov r8, rax
call fcn.1400b0e00
jmp 0x140011228
call fcn.1400a1770
jmp 0x140011228
lea rax, [0x1400b34d0]
mov rdx, r8
mov r8, rax
call fcn.1400b0e00
jmp 0x140011228
call fcn.1400a1770
ud2