Function at 0x140003c90
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, 0x1c8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], 0xfffffffffffffffe
cmp qword [rcx + 0x80], 0
jne 0x14000448d
mov r12, rcx
mov byte [rbp + 0x13f], dl
lea rsi, [rbp - 0x58]
mov rcx, rsi
call fcn.140011a30
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetSystemInfo]
movzx r13d, word [rbp - 0x58]
xor ecx, ecx
mov eax, 0x80000000
mov r8, rbx
cpuid
xchg rbx, r8
mov dword [rbp + 0x130], eax
cmp eax, 0x80000004
mov qword [rbp + 0xd0], r12
jb 0x140003dd2
mov word [rbp + 0x120], r13w
movzx eax, byte [0x140065181]
mov ecx, 0x50
mov edx, 4
call fcn.140003180
test rax, rax
je 0x1400044f3
mov qword [rbp + 0x108], 5
mov qword [rbp + 0x110], rax
mov eax, 0x80000000
xor r12d, r12d
xor r13d, r13d
jmp 0x140003d84
mov rax, qword [rbp + 0x110]
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 + 0x118], r12
test r13b, 1
jne 0x140003dee
cmp eax, dword [rbp + 0x130]
ja 0x140003dee
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 + 0x118]
cmp r12, qword [rbp + 0x108]
jne 0x140003d60
lea rcx, [rbp + 0x108]
call fcn.140007af0
jmp 0x140003d60
mov eax, 1
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], 0
jmp 0x140003f83
movzx eax, byte [0x140065181]
mov ecx, 0x30
mov edx, 1
call fcn.140003180
test rax, rax
je 0x140004502
mov qword [rbp + 0xd8], 0x30
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], 0
mov rdi, qword [rbp + 0x110]
mov rbx, qword [rbp + 0x118]
shl rbx, 4
add rbx, rdi
mov eax, 2
mov r14d, 5
xor r15d, r15d
lea rsi, [rbp + 0xd8]
mov r12, qword [rbp + 0xd0]
movzx r13d, word [rbp + 0x120]
nop word cs:[rax + rax]
test r15b, 1
je 0x140003e90
test r14, r14
je 0x140003eea
cmp rdi, rbx
je 0x140003eea
dec r14
jmp 0x140003eb4
cmp r14, rax
jbe 0x140003eea
mov rcx, rbx
sub rcx, rdi
shr rcx, 4
cmp rcx, rax
jbe 0x140003eea
mov rcx, rax
not rcx
add r14, rcx
shl rax, 4
add rdi, rax
mov edx, dword [rdi]
mov rcx, rsi
call fcn.140004920
mov edx, dword [rdi + 4]
mov rcx, rsi
call fcn.140004920
mov edx, dword [rdi + 8]
mov rcx, rsi
call fcn.140004920
mov edx, dword [rdi + 0xc]
add rdi, 0x10
mov r15b, 1
mov rcx, rsi
call fcn.140004920
xor eax, eax
jmp 0x140003e70
mov rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xe8]
test r8, r8
je 0x140003f1c
xor ecx, ecx
nop
cmp byte [rdx + rcx], 0
je 0x140003f10
inc rcx
cmp r8, rcx
jne 0x140003f00
jmp 0x140003f1c
cmp rcx, r8
ja 0x140004555
mov r8, rcx
mov rcx, rbp
call fcn.140044e60
test byte [rbp], 1
je 0x140004175
mov eax, 1
mov qword [rbp + 0x128], rax
xor ebx, ebx
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
je 0x140003f5a
mov rcx, qword [rbp + 0xe0]
mov r8d, 1
call fcn.140003190
mov rdx, qword [rbp + 0x108]
test rdx, rdx
je 0x140003f7c
mov rcx, qword [rbp + 0x110]
shl rdx, 4
mov r8d, 4
call fcn.140003190
mov qword [rbp + 0x130], rbx
xor ecx, ecx
xor eax, eax
mov rbx, rbx
cpuid
xchg rbx, rbx
mov esi, ecx
mov edi, edx
movzx eax, byte [0x140065181]
mov ecx, 0xc
mov edx, 1
call fcn.140003180
test rax, rax
je 0x1400044d0
mov qword [rbp + 0xd8], 0xc
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], 0
lea rcx, [rbp + 0xd8]
mov edx, ebx
call fcn.140004920
lea rcx, [rbp + 0xd8]
mov edx, edi
call fcn.140004920
lea rcx, [rbp + 0xd8]
mov edx, esi
call fcn.140004920
mov rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xe8]
test r8, r8
je 0x14000402c
xor ecx, ecx
nop
cmp byte [rdx + rcx], 0
je 0x140004020
inc rcx
cmp r8, rcx
jne 0x140004010
jmp 0x14000402c
cmp rcx, r8
ja 0x140004532
mov r8, rcx
mov rcx, rbp
call fcn.140044e60
test byte [rbp], 1
je 0x140004060
cmp r13w, 0xe
ja 0x14000409b
movzx eax, r13w
lea rcx, [0x14004dcf0]
mov rsi, qword [rcx + rax*8]
lea rcx, [0x14004dd68]
movsxd rbx, dword [rcx + rax*4]
add rbx, rcx
jmp 0x1400040a7
mov rsi, qword [rbp + 0x10]
test rsi, rsi
js 0x140004513
mov rbx, qword [rbp + 8]
je 0x1400041b3
movzx eax, byte [0x140065181]
mov r14d, 1
mov edx, 1
mov rcx, rsi
call fcn.140003180
test rax, rax
jne 0x1400040c4
jmp 0x140004516
lea rbx, [0x14004dc2b]
mov esi, 7
movzx eax, byte [0x140065181]
mov edx, 1
mov rcx, rsi
call fcn.140003180
test rax, rax
je 0x140004523
mov rdi, rax
mov rcx, rdi
mov rdx, rbx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
mov rbx, qword [rbp + 0x130]
je 0x1400040fa
mov rcx, qword [rbp + 0xe0]
mov r8d, 1
call fcn.140003190
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0x70], rbx
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rbx
mov esi, dword [rbp - 0x38]
cmp byte [rbp + 0x13f], 0
je 0x140004145
lea rcx, [rbp + 0xa0]
mov rdx, rsi
call fcn.1400049d0
jmp 0x1400041d7
test esi, esi
je 0x1400041bd
lea rdi, [rsi*8]
mov edx, 8
mov rcx, rdi
call fcn.1400031b0
test rax, rax
jne 0x1400041c2
mov ecx, 8
mov rdx, rdi
call fcn.14004bb00
jmp 0x140004567
mov rbx, qword [rbp + 0x10]
test rbx, rbx
js 0x140004546
mov rsi, qword [rbp + 8]
je 0x1400044a1
movzx eax, byte [0x140065181]
mov edi, 1
mov edx, 1
mov rcx, rbx
call fcn.140003180
test rax, rax
jne 0x1400044a6
jmp 0x140004548
mov edi, 1
jmp 0x1400040c7
mov eax, 8
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rsi
lea rdi, [rsi + 1]
imul rsi, rdi, 0x70
movzx eax, byte [0x140065181]
mov edx, 8
mov rcx, rsi
call fcn.140003180
test rax, rax
je 0x1400044e4
lea rcx, [r12 + 0x70]
mov qword [rbp + 0x120], rcx
mov qword [rbp + 0xb8], rdi
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], 0
mov r12, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xb0]
lea rsi, [r12 + rax*8]
lea rbx, [rbp + 0x18]
xor r14d, r14d
lea rdi, [rbp + 0x108]
lea r15, [rbp + 0xd8]
mov qword [rbp - 8], r12
jmp 0x1400042a7
add r12, 8
mov rax, qword [rbp + 0xc0]
imul rcx, r13, 0x70
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rax + rcx + 0x60], xmm0
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rax + rcx + 0x50], xmm0
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rax + rcx + 0x40], xmm0
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
movups xmm2, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 0x30]
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 + 0xc8], r13
cmp r12, rsi
je 0x1400043ce
inc r14
mov qword [rbp - 0x10], r14
lea rax, [rbp - 0x10]
mov qword [rbp + 0x108], rax
lea rax, [fcn.140046fd0]
mov qword [rbp + 0x110], rax
lea rax, str.CPU
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], 1
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xe8], rdi
mov qword [rbp + 0xf0], 1
lea rcx, [rbp - 0x28]
mov rdx, r15
call fcn.140042350
mov rax, qword [rbp - 0x28]
mov qword [rbp + 0x130], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x128], rax
mov r13, qword [rbp - 0x18]
mov rcx, rdi
lea rdx, [rbp + 0x88]
call fcn.1400427a0
mov rcx, r15
lea rdx, [rbp + 0x70]
call fcn.1400427a0
mov rax, qword [r12]
mov rcx, qword [rbp + 0x118]
mov qword [rbx + 0x10], rcx
movups xmm0, xmmword [rbp + 0x108]
movups xmmword [rbx], xmm0
mov rcx, qword [rbp + 0xe8]
mov qword [rbx + 0x28], rcx
movups xmm0, xmmword [rbp + 0xd8]
movups xmmword [rbx + 0x18], xmm0
mov rcx, qword [rbp + 0x130]
mov qword [rbp], rcx
mov rcx, qword [rbp + 0x128]
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], r13
movabs rcx, 0x8000000000000000
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x68], 0
mov r13, qword [rbp + 0xc8]
cmp r13, qword [rbp + 0xb8]
jne 0x140004250
lea rcx, [rbp + 0xb8]
call fcn.140007de0
jmp 0x140004250
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rbp + 0xb8]
movaps xmmword [rbp], xmm0
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x140004403
shl rdx, 3
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140003190
mov rdx, qword [rbp + 0x70]
test rdx, rdx
mov rsi, qword [rbp + 0x120]
je 0x140004422
mov rcx, qword [rbp + 0x78]
mov r8d, 1
call fcn.140003190
mov rdx, qword [rbp + 0x88]
test rdx, rdx
je 0x140004440
mov rcx, qword [rbp + 0x90]
mov r8d, 1
call fcn.140003190
mov rcx, rsi
call fcn.1400060f0
mov rdi, qword [rbp + 0x120]
mov rax, qword [rdi]
test rax, rax
mov rsi, qword [rbp + 0xd0]
je 0x140004471
mov rcx, qword [rsi + 0x78]
imul rdx, rax, 0x70
mov r8d, 8
call fcn.140003190
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rbp]
movups xmmword [rdi], xmm0
movzx eax, byte [rbp + 0x13f]
mov byte [rsi + 0x88], al
add rsp, 0x1c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, 1
mov qword [rbp + 0x128], rax
mov rcx, rax
mov rdx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
jne 0x140003f48
jmp 0x140003f5a
mov ecx, 1
mov edx, 0xc
call fcn.14004bb00
jmp 0x140004567
mov ecx, 8
mov rdx, rsi
call fcn.14004bb00
jmp 0x140004567
mov ecx, 4
mov edx, 0x50
call fcn.14004bb00
mov ecx, 1
mov edx, 0x30
call fcn.14004bb00
jmp 0x140004567
xor r14d, r14d
mov rcx, r14
mov rdx, rsi
call fcn.14004bb00
jmp 0x140004567
mov ecx, 1
mov rdx, rsi
call fcn.14004bb00
jmp 0x140004567
lea rax, [0x14004dcc0]
mov rdx, r8
mov r8, rax
call fcn.14004c080
jmp 0x140004567
xor edi, edi
mov rcx, rdi
mov rdx, rbx
call fcn.14004bb00
jmp 0x140004567
lea rax, [0x14004dca8]
mov rdx, r8
mov r8, rax
call fcn.14004c080
ud2