Function at 0x14004c5e0
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, 0x158
cmp qword [rcx + 0x80], 0
jne 0x14004ceba
mov r12d, edx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
lea rcx, [rsp + 0x120]
call sub.KERNEL32.dll_GetSystemInfo
movzx r15d, word [rsp + 0x120]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r12b
mov qword [rsp + 0xe0], rdi
jb 0x14004c831
mov esi, eax
mov qword [rsp + 0x40], r15
movzx eax, byte [0x1401b51a8]
xor edi, edi
mov edx, 0x50
xor ecx, ecx
call fcn.14003e800
test rax, rax
je 0x14004cf2c
mov r8, rax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
nop dword [rax]
cmp ebp, esi
adc r13d, 0
mov eax, ebp
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov r14d, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x28]
jne 0x14004c6e9
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.140051860
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rax, rdi
shl rax, 4
inc rdi
mov dword [r8 + rax], r12d
mov dword [r8 + rax + 4], ebx
mov dword [r8 + rax + 8], r15d
mov dword [r8 + rax + 0xc], r14d
mov qword [rsp + 0x38], rdi
cmp ebp, esi
jae 0x14004c717
mov ebp, r13d
cmp r13d, esi
jbe 0x14004c6b0
movzx eax, byte [0x1401b51a8]
mov edx, 0x30
xor ecx, ecx
call fcn.14003e800
test rax, rax
je 0x14004cf3b
mov rsi, rax
mov qword [rsp + 0x48], 0x30
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov r15, qword [rsp + 0x30]
cmp rdi, 3
jb 0x14004c83b
mov edx, dword [r15 + 0x20]
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1400517a0
mov edx, dword [r15 + 0x24]
mov rcx, rsi
call fcn.1400517a0
mov edx, dword [r15 + 0x28]
mov rcx, rsi
call fcn.1400517a0
mov edx, dword [r15 + 0x2c]
mov rcx, rsi
call fcn.1400517a0
cmp rdi, 3
je 0x14004c7fa
shl rdi, 4
add rdi, r15
lea rbx, [r15 + 0x30]
xor r14d, r14d
lea rsi, [rsp + 0x48]
nop word [rax + rax]
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.1400517a0
mov edx, dword [rbx + r14 + 4]
mov rcx, rsi
call fcn.1400517a0
mov edx, dword [rbx + r14 + 8]
mov rcx, rsi
call fcn.1400517a0
mov edx, dword [rbx + r14 + 0xc]
mov rcx, rsi
call fcn.1400517a0
cmp r14, 0x10
je 0x14004c7fa
lea rax, [rbx + r14]
add rax, 0x10
add r14, 0x10
cmp rax, rdi
jne 0x14004c7b0
mov rsi, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
movzx r12d, byte [rsp + 0x27]
je 0x14004c848
xor r8d, r8d
nop word cs:[rax + rax]
cmp byte [rsi + r8], 0
je 0x14004c84f
inc r8
cmp rdx, r8
jne 0x14004c820
jmp 0x14004c84a
mov r13d, 1
xor edi, edi
jmp 0x14004c8b6
xor edx, edx
movzx r12d, byte [rsp + 0x27]
mov r8, rdx
jmp 0x14004c858
xor edx, edx
mov r8, rdx
jmp 0x14004c858
cmp r8, rdx
ja 0x14004cf5c
lea rcx, [rsp + 0x80]
mov rdx, rsi
call fcn.1400084a0
cmp qword [rsp + 0x80], 0
je 0x14004ca5f
mov r13d, 1
xor edi, edi
cmp qword [rsp + 0x48], 0
je 0x14004c898
mov rcx, qword [0x1401b5178]
xor edx, edx
mov r8, rsi
call fcn.140053cc4
cmp qword [rsp + 0x28], 0
je 0x14004c8b1
mov rcx, qword [0x1401b5178]
xor edx, edx
mov r8, r15
call fcn.140053cc4
mov r15, qword [rsp + 0x40]
xor eax, eax
xor ecx, ecx
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x1401b51a8]
mov edx, 0xc
xor ecx, ecx
call fcn.14003e800
test rax, rax
je 0x14004cf1d
mov qword [rsp + 0x48], 0xc
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
lea r14, [rsp + 0x48]
mov rcx, r14
mov edx, ebp
call fcn.1400517a0
mov rcx, r14
mov edx, ebx
call fcn.1400517a0
mov rcx, r14
mov edx, esi
call fcn.1400517a0
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x14004c94c
xor ecx, ecx
nop dword [rax]
cmp byte [rsi + rcx], 0
je 0x14004c940
inc rcx
cmp r8, rcx
jne 0x14004c930
jmp 0x14004c94c
cmp rcx, r8
ja 0x14004cf4a
mov r8, rcx
lea rcx, [rsp + 0x80]
mov rdx, rsi
call fcn.1400084a0
cmp qword [rsp + 0x80], 0
je 0x14004c98c
cmp r15w, 0xe
ja 0x14004c9c9
lea rax, [0x1401adfa0]
mov rcx, r15
mov r15, qword [rax + r15*8]
lea rax, [0x1401ae018]
movsxd rbx, dword [rax + rcx*4]
add rbx, rax
jmp 0x14004c9d6
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x90]
test r15, r15
je 0x14004cece
js 0x14004cefe
movzx eax, byte [0x1401b51a8]
xor ecx, ecx
mov rdx, r15
call fcn.14003e800
mov r14, rax
test rax, rax
jne 0x14004c9f3
jmp 0x14004cf03
lea rbx, [0x1401ad9ef]
mov r15d, 7
movzx eax, byte [0x1401b51a8]
xor ecx, ecx
mov rdx, r15
call fcn.14003e800
test rax, rax
je 0x14004cf03
mov r14, rax
mov rcx, r14
mov rdx, rbx
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x48], 0
je 0x14004ca1a
mov rcx, qword [0x1401b5178]
xor edx, edx
mov r8, rsi
call fcn.140053cc4
mov esi, dword [rsp + 0x140]
test r12b, r12b
je 0x14004ca3b
lea rcx, [rsp + 0xc8]
mov rdx, rsi
call fcn.140051920
jmp 0x14004cac5
test rsi, rsi
je 0x14004caa8
lea rbx, [rsi*8]
mov ecx, 8
mov rdx, rbx
call fcn.14003e800
test rax, rax
jne 0x14004caad
jmp 0x14004cf10
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x14004ced9
js 0x14004cefe
movzx eax, byte [0x1401b51a8]
xor ecx, ecx
mov rdx, rdi
call fcn.14003e800
mov r13, rax
test rax, rax
jne 0x14004cedf
mov ecx, 1
mov rdx, rdi
call fcn.140005ca0
mov eax, 8
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x78], r13
inc rsi
imul rbx, rsi, 0x70
movzx eax, byte [0x1401b51a8]
xor ecx, ecx
mov rdx, rbx
call fcn.14003e800
test rax, rax
je 0x14004cf10
mov rbp, rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov r13, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
test rsi, rsi
je 0x14004ccfa
shl rsi, 3
mov r14d, 1
xor ebx, ebx
jmp 0x14004cbb0
imul rax, rbx, 0x70
mov rcx, qword [rsp + 0xc0]
mov qword [rbp + rax + 0x40], rcx
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movups xmm2, xmmword [rsp + 0xa0]
movups xmm3, xmmword [rsp + 0xb0]
movups xmmword [rbp + rax + 0x30], xmm3
movups xmmword [rbp + rax + 0x20], xmm2
movups xmmword [rbp + rax + 0x10], xmm1
movups xmmword [rbp + rax], xmm0
movabs rcx, 0x8000000000000000
mov qword [rbp + rax + 0x48], rcx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + rax + 0x50], xmm0
mov qword [rbp + rax + 0x60], r12
mov dword [rbp + rax + 0x68], 0
inc rbx
mov qword [rsp + 0x38], rbx
inc r14
add rsi, 0xfffffffffffffff8
je 0x14004ccfa
mov qword [rsp + 0xe8], r14
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x110], rax
lea rax, [fcn.140006fe0]
mov qword [rsp + 0x118], rax
lea rax, str.CPU
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x48]
call fcn.140006410
mov r12d, 1
test r15, r15
je 0x14004cc4b
js 0x14004cefe
movzx eax, byte [0x1401b51a8]
xor ecx, ecx
mov rdx, r15
call fcn.14003e800
mov r12, rax
test rax, rax
je 0x14004cf03
mov rcx, r12
mov rdx, qword [rsp + 0x40]
mov r8, r15
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r15
test rdi, rdi
je 0x14004cca0
js 0x14004cefe
movzx eax, byte [0x1401b51a8]
xor ecx, ecx
mov rdx, rdi
call fcn.14003e800
mov r12, rax
test rax, rax
jne 0x14004cca6
jmp 0x14004ca9b
mov r12d, 1
mov rcx, r12
mov rdx, qword [rsp + 0x78]
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], rdi
mov r12, qword [r13 + r14*8 - 8]
cmp rbx, qword [rsp + 0x28]
jne 0x14004cb30
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.140051ab0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
jmp 0x14004cb30
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0xc8], 0
je 0x14004cd3d
mov rcx, qword [0x1401b5178]
xor edx, edx
mov r8, r13
call fcn.140053cc4
mov r13, qword [rsp + 0xe0]
lea rbx, [r13 + 0x70]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x100], rax
mov rsi, qword [r13 + 0x78]
mov r14, qword [r13 + 0x80]
test r14, r14
je 0x14004ce2c
lea r12, [rsi + 0x50]
jmp 0x14004cdad
add r12, 0x70
dec r14
je 0x14004ce2c
cmp qword [r12 - 0x50], 0
je 0x14004cdc8
mov r8, qword [r12 - 0x48]
mov rcx, qword [0x1401b5178]
xor edx, edx
call fcn.140053cc4
mov rax, qword [r12 - 8]
shl rax, 1
test rax, rax
jne 0x14004ce10
cmp qword [r12 - 0x38], 0
je 0x14004cdf0
mov r8, qword [r12 - 0x30]
mov rcx, qword [0x1401b5178]
xor edx, edx
call fcn.140053cc4
cmp qword [r12 - 0x20], 0
je 0x14004cda0
mov r8, qword [r12 - 0x18]
mov rcx, qword [0x1401b5178]
xor edx, edx
call fcn.140053cc4
jmp 0x14004cda0
mov r8, qword [r12]
mov rcx, qword [0x1401b5178]
xor edx, edx
call fcn.140053cc4
cmp qword [r12 - 0x38], 0
jne 0x14004cddd
jmp 0x14004cdf0
cmp qword [rbx], 0
je 0x14004ce43
mov rcx, qword [0x1401b5178]
xor edx, edx
mov r8, rsi
call fcn.140053cc4
mov rax, qword [rsp + 0x100]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rbx], xmm0
cmp qword [r13 + 0x18], 0
movzx ebx, byte [rsp + 0x27]
mov rsi, qword [rsp + 0x40]
je 0x14004ce7d
mov r8, qword [r13 + 0x20]
mov rcx, qword [0x1401b5178]
xor edx, edx
call fcn.140053cc4
mov qword [r13 + 0x18], r15
mov qword [r13 + 0x20], rsi
mov qword [r13 + 0x28], r15
cmp qword [r13 + 0x30], 0
je 0x14004cea2
mov r8, qword [r13 + 0x38]
mov rcx, qword [0x1401b5178]
xor edx, edx
call fcn.140053cc4
mov qword [r13 + 0x30], rdi
mov rax, qword [rsp + 0x78]
mov qword [r13 + 0x38], rax
mov qword [r13 + 0x40], rdi
mov byte [r13 + 0x88], bl
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 1
jmp 0x14004c9f3
mov r13d, 1
mov rcx, r13
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x48], 0
jne 0x14004c887
jmp 0x14004c898
call fcn.140005c60
mov ecx, 1
mov rdx, r15
call fcn.140005ca0
mov ecx, 8
mov rdx, rbx
call fcn.140005ca0
mov ecx, 1
mov edx, 0xc
call fcn.140005ca0
mov ecx, 4
mov edx, 0x50
call fcn.140005ca0
mov ecx, 1
mov edx, 0x30
call fcn.140005ca0
lea rax, [0x1401ada70]
mov rdx, r8
mov r8, rax
call fcn.140007970
lea rax, [0x1401ada58]
mov rcx, r8
mov r8, rax
call fcn.140007970
int3