Function at 0x1401744e0
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, 0x168
cmp qword [rcx + 0x80], 0
jne 0x140174dcb
mov r13d, edx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
lea rcx, [rsp + 0x130]
call sub.KERNEL32.dll_GetSystemInfo
movzx r12d, word [rsp + 0x130]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r13b
mov qword [rsp + 0x108], rdi
jb 0x1401746e7
mov esi, eax
mov qword [rsp + 0x28], r12
movzx eax, byte [0x141ada129]
xor r12d, r12d
mov edx, 0x50
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov r8, rax
mov qword [rsp + 0x30], 5
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov ebx, 0x80000000
mov r13d, 0x80000000
nop word [rax + rax]
cmp ebx, esi
adc r13d, 0
mov eax, ebx
xor ecx, ecx
mov rdi, rbx
cpuid
xchg rbx, rdi
mov ebp, ecx
mov r14d, edx
mov r15d, eax
cmp r12, qword [rsp + 0x30]
jne 0x1401745e5
lea rcx, [rsp + 0x30]
call fcn.14006b9d0
mov r8, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
shl r12, 4
mov dword [r8 + r12], r15d
mov dword [r8 + r12 + 4], edi
mov dword [r8 + r12 + 8], ebp
mov dword [r8 + r12 + 0xc], r14d
mov r12, qword [rsp + 0x40]
inc r12
mov qword [rsp + 0x40], r12
cmp ebx, esi
jae 0x140174615
mov ebx, r13d
cmp r13d, esi
jbe 0x1401745b0
movzx eax, byte [0x141ada129]
mov edx, 0x30
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov rsi, rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
cmp r12, 3
movzx r13d, byte [rsp + 0x27]
jb 0x140174735
mov rdi, qword [rsp + 0x38]
shl r12, 4
add r12, rdi
mov edx, dword [rdi + 0x20]
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.140174e40
mov edx, dword [rdi + 0x24]
mov rcx, rsi
call fcn.140174e40
mov edx, dword [rdi + 0x28]
mov rcx, rsi
call fcn.140174e40
add rdi, 0x2c
xor ebx, ebx
nop word cs:[rax + rax]
mov edx, dword [rdi + rbx]
mov rcx, rsi
call fcn.140174e40
cmp rbx, 0x20
je 0x1401746fb
lea r14, [rdi + rbx]
add r14, 4
cmp r14, r12
je 0x1401746fb
mov edx, dword [r14]
mov rcx, rsi
call fcn.140174e40
mov edx, dword [r14 + 4]
mov rcx, rsi
call fcn.140174e40
mov edx, dword [r14 + 8]
mov rcx, rsi
call fcn.140174e40
add rbx, 0x10
jmp 0x1401746a0
mov eax, 1
mov qword [rsp + 0x28], rax
xor edi, edi
xor r14d, r14d
jmp 0x1401747a1
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140174735
xor r8d, r8d
mov r12, qword [rsp + 0x28]
nop word cs:[rax + rax]
cmp byte [rsi + r8], 0
je 0x140174e04
inc r8
cmp rax, r8
jne 0x140174720
jmp 0x14017473c
xor eax, eax
mov r12, qword [rsp + 0x28]
mov r8, rax
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.140047590
cmp qword [rsp + 0xa0], 0
je 0x14017495b
mov eax, 1
mov qword [rsp + 0x28], rax
xor edi, edi
xor r14d, r14d
cmp qword [rsp + 0x50], 0
je 0x140174786
mov rcx, qword [0x141ada118]
xor edx, edx
mov r8, rsi
call fcn.1401cdfe4
cmp qword [rsp + 0x30], 0
je 0x1401747a1
mov r8, qword [rsp + 0x38]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
xor eax, eax
xor ecx, ecx
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x141ada129]
mov edx, 0xc
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea r15, [rsp + 0x50]
mov rcx, r15
mov edx, ebp
call fcn.140174e40
mov rcx, r15
mov edx, ebx
call fcn.140174e40
mov rcx, r15
mov edx, esi
call fcn.140174e40
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x14017483c
xor eax, eax
nop dword [rax + rax]
cmp byte [rsi + rax], 0
je 0x140174830
inc rax
cmp r8, rax
jne 0x140174820
jmp 0x14017483c
cmp rax, r8
mov r8, rax
ja 0x140174e0d
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.140047590
cmp qword [rsp + 0xa0], 0
mov qword [rsp + 0x100], rdi
je 0x14017487e
cmp r12w, 0xe
ja 0x1401748c3
lea rax, [0x141a99cd8]
mov rbx, qword [rax + r12*8]
lea rax, case.0x14013408b.460
mov rdi, qword [rax + r12*8]
jmp 0x1401748cf
mov rdi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
test rbx, rbx
sete bpl
je 0x140174ddf
js 0x140174e0d
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, rbx
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov r15, rax
jmp 0x140174de5
lea rdi, case.0x14013408b.471
mov ebx, 7
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, rbx
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov r15, rax
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call sub.msvcrt.dll_memcpy
xor ebp, ebp
cmp qword [rsp + 0x50], 0
je 0x140174915
mov rcx, qword [0x141ada118]
xor edx, edx
mov r8, rsi
call fcn.1401cdfe4
mov esi, dword [rsp + 0x150]
test r13b, r13b
je 0x140174936
lea rcx, [rsp + 0xe8]
mov rdx, rsi
call fcn.140174f00
jmp 0x1401749be
test rsi, rsi
je 0x14017499f
lea rdx, [rsi*8]
mov ecx, 8
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov rcx, rsi
jmp 0x1401749a6
mov rbx, qword [rsp + 0xa8]
mov r14, qword [rsp + 0xb0]
test r14, r14
je 0x140174e0f
js 0x140174e0d
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, r14
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov rcx, rax
mov rdi, r14
jmp 0x140174e16
mov eax, 8
xor ecx, ecx
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rsi
mov dword [rsp + 0x4c], ebp
mov qword [rsp + 0x98], r15
inc rsi
imul rdx, rsi, 0x70
movzx eax, byte [0x141ada129]
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov r13, rax
movabs r12, 0x8000000000000000
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov rbp, qword [rsp + 0xf8]
test rbp, rbp
je 0x140174c70
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x110], rax
shl rbp, 3
mov edi, 1
xor r15d, r15d
jmp 0x140174ab7
imul rax, r15, 0x70
mov rcx, qword [rsp + 0x90]
mov qword [r13 + rax + 0x40], rcx
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movaps xmm3, xmmword [rsp + 0x80]
movups xmmword [r13 + rax + 0x30], xmm3
movups xmmword [r13 + rax + 0x20], xmm2
movups xmmword [r13 + rax + 0x10], xmm1
movups xmmword [r13 + rax], xmm0
movabs r12, 0x8000000000000000
mov qword [r13 + rax + 0x48], r12
mov qword [r13 + rax + 0x60], rsi
mov dword [r13 + rax + 0x68], 0
mov r15, qword [rsp + 0x40]
inc r15
mov qword [rsp + 0x40], r15
inc rdi
add rbp, 0xfffffffffffffff8
je 0x140174c70
mov qword [rsp + 0x118], rdi
lea rax, [rsp + 0x118]
mov qword [rsp + 0x120], rax
lea rax, [0x140048240]
mov qword [rsp + 0x128], rax
lea rax, [0x141a5e238]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x120]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
call fcn.140036e80
test rbx, rbx
je 0x140174b60
js 0x140174e0d
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, rbx
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov rsi, rax
mov r12, rbx
jmp 0x140174b68
xor r12d, r12d
mov esi, 1
mov rcx, rsi
mov rdx, qword [rsp + 0x98]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rbx
test r14, r14
je 0x140174bc0
js 0x140174e0d
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, r14
call fcn.14014fee0
test rax, rax
je 0x140174e0d
mov rsi, rax
mov r12, r14
jmp 0x140174bc8
mov esi, 1
xor r12d, r12d
mov rcx, rsi
mov rdx, qword [rsp + 0x28]
mov r8, r14
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xd0], r12
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], r14
mov rax, qword [rsp + 0x110]
mov rsi, qword [rax + rdi*8 - 8]
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x70], xmm2
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], r14
cmp r15, qword [rsp + 0x30]
jne 0x140174a40
lea rcx, [rsp + 0x30]
call fcn.14017bf70
mov r13, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
jmp 0x140174a40
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xe8], 0
je 0x140174cb8
mov r8, qword [rsp + 0xf0]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
cmp qword [rsp + 0x100], 0
movzx ebp, byte [rsp + 0x27]
mov r14, qword [rsp + 0x108]
je 0x140174ce3
mov rcx, qword [0x141ada118]
xor edx, edx
mov r8, qword [rsp + 0x28]
call fcn.1401cdfe4
cmp byte [rsp + 0x4c], 0
jne 0x140174d00
mov rcx, qword [0x141ada118]
xor edx, edx
mov r8, qword [rsp + 0x98]
call fcn.1401cdfe4
lea rsi, [r14 + 0x70]
mov rdi, qword [r14 + 0x80]
test rdi, rdi
je 0x140174d95
mov rbx, qword [r14 + 0x78]
add rbx, 0x50
jmp 0x140174d29
add rbx, 0x70
dec rdi
je 0x140174d95
cmp qword [rbx - 0x50], 0
je 0x140174d42
mov r8, qword [rbx - 0x48]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
mov rax, qword [rbx - 8]
cmp rax, r12
je 0x140174d61
test rax, rax
je 0x140174d61
mov r8, qword [rbx]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
cmp qword [rbx - 0x38], 0
je 0x140174d7a
mov r8, qword [rbx - 0x30]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
cmp qword [rbx - 0x20], 0
je 0x140174d20
mov r8, qword [rbx - 0x18]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
jmp 0x140174d20
cmp qword [rsi], 0
je 0x140174dad
mov r8, qword [r14 + 0x78]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
mov rax, qword [rsp + 0xb0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rsi], xmm0
mov byte [r14 + 0x88], bpl
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15d, 1
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x140174904
jmp 0x140174915
cmp r8, rax
jbe 0x14017473f
ud2
mov ecx, 1
xor edi, edi
mov qword [rsp + 0x28], rcx
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x140174775
jmp 0x140174786