Function at 0x140119540
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
cmp qword [rcx + 0x80], 0
jne 0x140119d8c
mov r13d, r8d
mov rsi, rcx
lea rdi, [rsp + 0x158]
mov rcx, rdi
call fcn.140127450
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x158]
mov word [rsp + 0x26], ax
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x25], r13b
mov qword [rsp + 0x100], rsi
jb 0x140119785
mov edi, eax
movzx eax, byte [0x140230ff1]
mov ecx, 0x50
mov edx, 4
call fcn.140001410
test rax, rax
je 0x140119e1d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 5
mov qword [rsp + 0x38], 0
mov ebp, 0x80000000
lea rbx, [rsp + 0x28]
mov esi, 0x80000000
nop dword [rax + rax]
cmp ebp, edi
adc esi, 0
mov eax, ebp
xor ecx, ecx
mov r13, rbx
cpuid
xchg rbx, r13
mov r12d, eax
mov r15d, ecx
mov r14d, edx
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsp + 0x30]
jne 0x140119633
mov rcx, rbx
call fcn.1401217c0
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x28]
shl rdx, 4
mov dword [rax + rdx], r12d
mov dword [rax + rdx + 4], r13d
mov dword [rax + rdx + 8], r15d
mov dword [rax + rdx + 0xc], r14d
inc qword [rsp + 0x38]
cmp ebp, edi
jae 0x14011965e
mov ebp, esi
cmp esi, edi
jbe 0x140119600
movzx eax, byte [0x140230ff1]
mov ecx, 0x30
mov edx, 1
call fcn.140001410
test rax, rax
je 0x140119e2e
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x30
mov qword [rsp + 0x50], 0
mov rsi, qword [rsp + 0x38]
cmp rsi, 3
jb 0x14011978f
mov rbx, qword [rsp + 0x28]
mov edx, dword [rbx + 0x20]
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140119e60
mov edx, dword [rbx + 0x24]
mov rcx, rdi
call fcn.140119e60
mov edx, dword [rbx + 0x28]
mov rcx, rdi
call fcn.140119e60
mov edx, dword [rbx + 0x2c]
mov rcx, rdi
call fcn.140119e60
cmp rsi, 3
je 0x14011974a
shl rsi, 4
add rsi, rbx
add rbx, 0x30
xor r14d, r14d
lea rdi, [rsp + 0x40]
nop word cs:[rax + rax]
mov edx, dword [rbx + r14]
mov rcx, rdi
call fcn.140119e60
mov edx, dword [rbx + r14 + 4]
mov rcx, rdi
call fcn.140119e60
mov edx, dword [rbx + r14 + 8]
mov rcx, rdi
call fcn.140119e60
mov edx, dword [rbx + r14 + 0xc]
mov rcx, rdi
call fcn.140119e60
cmp r14, 0x10
je 0x14011974a
lea rax, [rbx + r14]
add rax, 0x10
add r14, 0x10
cmp rax, rsi
jne 0x140119700
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
movzx r13d, byte [rsp + 0x25]
je 0x140119799
xor r8d, r8d
nop word cs:[rax + rax]
cmp byte [rax + r8], 0
je 0x140119daa
inc r8
cmp rdx, r8
jne 0x140119770
jmp 0x14011979b
mov r14d, 1
xor edi, edi
jmp 0x1401197fd
xor edx, edx
movzx r13d, byte [rsp + 0x25]
jmp 0x14011979b
xor edx, edx
mov r8, rdx
lea rcx, [rsp + 0xa0]
mov rdx, rax
call fcn.1401590f0
cmp qword [rsp + 0xa0], 0
je 0x140119a1e
mov r14d, 1
xor edi, edi
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1401197df
mov rcx, qword [rsp + 0x40]
mov r8d, 1
call fcn.140001420
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1401197fd
mov rcx, qword [rsp + 0x28]
shl rdx, 4
mov r8d, 4
call fcn.140001420
xor eax, eax
xor ecx, ecx
mov r15, rbx
cpuid
xchg rbx, r15
mov ebx, ecx
mov ebp, edx
movzx eax, byte [0x140230ff1]
mov ecx, 0xc
mov edx, 1
call fcn.140001410
test rax, rax
je 0x140119dee
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xc
mov qword [rsp + 0x50], 0
lea r12, [rsp + 0x40]
mov rcx, r12
mov edx, r15d
call fcn.140119e60
mov rcx, r12
mov edx, ebp
call fcn.140119e60
mov rcx, r12
mov edx, ebx
call fcn.140119e60
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x14011988e
xor ecx, ecx
nop dword [rax + rax]
cmp byte [rdx + rcx], 0
je 0x1401198d4
inc rcx
cmp r8, rcx
jne 0x140119880
lea rcx, [rsp + 0xa0]
call fcn.1401590f0
cmp qword [rsp + 0xa0], 0
je 0x1401198f8
movzx eax, word [rsp + 0x26]
cmp ax, 0xe
ja 0x140119938
movsx rax, ax
lea rcx, [0x1402161b8]
mov r15, qword [rcx + rax*8]
lea rcx, [0x140216230]
movsxd r12, dword [rcx + rax*4]
add r12, rcx
jmp 0x140119945
cmp rcx, r8
ja 0x140119e46
mov r8, rcx
lea rcx, [rsp + 0xa0]
call fcn.1401590f0
cmp qword [rsp + 0xa0], 0
jne 0x1401198a6
mov r12, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xb0]
test r15, r15
je 0x140119da0
js 0x140119e3f
movzx eax, byte [0x140230ff1]
mov edx, 1
mov rcx, r15
call fcn.140001410
mov rbx, rax
test rax, rax
jne 0x140119965
jmp 0x140119e0e
lea r12, [0x1402160fb]
mov r15d, 7
movzx eax, byte [0x140230ff1]
mov edx, 1
mov rcx, r15
call fcn.140001410
test rax, rax
je 0x140119e0e
mov rbx, rax
mov rcx, rbx
mov rdx, r12
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14011998d
mov rcx, qword [rsp + 0x40]
mov r8d, 1
call fcn.140001420
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x118], r15
mov qword [rsp + 0x120], r14
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x130], rdi
mov esi, dword [rsp + 0x178]
test r13b, r13b
je 0x1401199ee
lea rcx, [rsp + 0xe8]
mov rdx, rsi
call fcn.140119f10
mov rdi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xf8]
jmp 0x140119a8c
test esi, esi
je 0x140119a6c
lea r14, [rsi*8]
mov edx, 8
mov rcx, r14
call fcn.140001440
mov rdi, rax
test rax, rax
jne 0x140119a71
mov ecx, 8
mov rdx, r14
call fcn.1401688d0
ud2
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
je 0x140119dc7
js 0x140119e3f
movzx eax, byte [0x140230ff1]
mov edx, 1
mov rcx, rdi
call fcn.140001410
mov r14, rax
test rax, rax
jne 0x140119dcd
mov ecx, 1
mov rdx, rdi
call fcn.1401688d0
ud2
mov edi, 8
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0xf8], rsi
mov rbx, rsi
lea r14, [rsi + 1]
imul rsi, r14, 0x70
movzx eax, byte [0x140230ff1]
mov edx, 8
mov rcx, rsi
call fcn.140001410
test rax, rax
je 0x140119dff
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], 0
test rbx, rbx
je 0x140119cac
lea rsi, [rsp + 0xb8]
shl rbx, 3
mov r15d, 1
lea r14, [rsp + 0x28]
lea r12, [rsp + 0x40]
lea rbp, [rsp + 0x120]
jmp 0x140119b6b
mov rax, qword [rsp + 0x88]
imul rcx, rdx, 0x70
mov rdx, qword [rsp + 0x80]
mov qword [rax + rcx + 0x40], rdx
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x70]
movups xmmword [rax + rcx + 0x30], xmm3
movups xmmword [rax + rcx + 0x20], xmm2
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
mov qword [rax + rcx + 0x48], 0
mov qword [rax + rcx + 0x60], r13
mov dword [rax + rcx + 0x68], 0
inc qword [rsp + 0x98]
inc r15
add rbx, 0xfffffffffffffff8
je 0x140119cac
mov qword [rsp + 0x138], r15
lea rax, [rsp + 0x138]
mov qword [rsp + 0x28], rax
lea rax, [fcn.14015cbf0]
mov qword [rsp + 0x30], rax
lea rax, str.CPU
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 1
lea rcx, [rsp + 0x140]
mov rdx, r12
call fcn.14014e6a0
mov rcx, r14
lea rdx, [rsp + 0x108]
call fcn.14014f710
mov rcx, r12
mov rdx, rbp
call fcn.14014f710
mov r13, qword [rdi + r15*8 - 8]
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x28], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x18], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmm1, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x98]
cmp rdx, qword [rsp + 0x90]
jne 0x140119b00
lea rcx, [rsp + 0x88]
call fcn.1401216f0
mov rdx, qword [rsp + 0x98]
jmp 0x140119b00
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xf0]
test rdx, rdx
je 0x140119cfb
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140001420
mov rdx, qword [rsp + 0x128]
test rdx, rdx
movzx ebx, byte [rsp + 0x25]
mov rsi, qword [rsp + 0x100]
je 0x140119d28
mov rcx, qword [rsp + 0x120]
mov r8d, 1
call fcn.140001420
lea rdi, [rsi + 0x70]
mov rdx, qword [rsp + 0x110]
test rdx, rdx
je 0x140119d4c
mov rcx, qword [rsp + 0x108]
mov r8d, 1
call fcn.140001420
mov rcx, rdi
call fcn.140002e60
mov rax, qword [rsi + 0x78]
test rax, rax
je 0x140119d6f
mov rcx, qword [rdi]
imul rdx, rax, 0x70
mov r8d, 8
call fcn.140001420
mov rax, qword [rsp + 0xb0]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rdi], xmm0
mov byte [rsi + 0x88], bl
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebx, 1
jmp 0x140119965
cmp r8, rdx
jbe 0x14011979e
lea rax, [0x140216170]
mov rcx, r8
mov r8, rax
call fcn.140169090
ud2
mov r14d, 1
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x1401197cf
jmp 0x1401197df
mov ecx, 1
mov edx, 0xc
call fcn.1401688d0
ud2
mov ecx, 8
mov rdx, rsi
call fcn.1401688d0
ud2
mov ecx, 1
mov rdx, r15
call fcn.1401688d0
ud2
mov ecx, 4
mov edx, 0x50
call fcn.1401688d0
ud2
mov ecx, 1
mov edx, 0x30
call fcn.1401688d0
ud2
call fcn.14014e2b0
ud2
lea rax, str._ta__
mov rdx, r8
mov r8, rax
call fcn.140169090
ud2