Function at 0x1401806d0
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, 0x178
cmp qword [rcx + 0x80], 0
jne 0x140180f9e
mov r14d, edx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
lea rcx, [rsp + 0x140]
call sub.KERNEL32.dll_GetSystemInfo
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r14b
mov qword [rsp + 0xf8], rdi
jb 0x1401808b7
mov esi, eax
movzx eax, byte [0x141ada129]
xor r12d, r12d
mov edx, 0x50
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x140180fe9
mov r8, rax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ebx, 0x80000000
mov r13d, 0x80000000
nop dword [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 + 0x28]
jne 0x1401807c5
lea rcx, [rsp + 0x28]
call fcn.14006b9d0
mov r8, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
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 + 0x38]
inc r12
mov qword [rsp + 0x38], r12
cmp ebx, esi
jae 0x1401807f5
mov ebx, r13d
cmp r13d, esi
jbe 0x140180790
movzx eax, byte [0x141ada129]
mov edx, 0x30
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x140180fe9
mov rsi, rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
cmp r12, 3
jb 0x1401808f5
mov rdi, qword [rsp + 0x30]
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 dword [rax]
mov edx, dword [rdi + rbx]
mov rcx, rsi
call fcn.140174e40
cmp rbx, 0x20
je 0x1401808c7
lea r14, [rdi + rbx]
add r14, 4
cmp r14, r12
je 0x1401808c7
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 0x140180870
mov edi, 1
xor r13d, r13d
xor r12d, r12d
jmp 0x14018095e
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1401808f5
xor r8d, r8d
movzx r14d, byte [rsp + 0x27]
nop
cmp byte [rsi + r8], 0
je 0x140180fe0
inc r8
cmp rax, r8
jne 0x1401808e0
jmp 0x1401808fd
xor eax, eax
movzx r14d, byte [rsp + 0x27]
mov r8, rax
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.140047590
cmp qword [rsp + 0xa0], 0
je 0x140180b31
mov edi, 1
xor r13d, r13d
xor r12d, r12d
cmp qword [rsp + 0x50], 0
je 0x140180943
mov rcx, qword [0x141ada118]
xor edx, edx
mov r8, rsi
call fcn.1401cdfe4
cmp qword [rsp + 0x28], 0
je 0x14018095e
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
xor ecx, ecx
xor eax, eax
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 0x140180fe9
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 0x1401809fc
xor eax, eax
nop word cs:[rax + rax]
cmp byte [rsi + rax], 0
je 0x1401809f0
inc rax
cmp r8, rax
jne 0x1401809e0
jmp 0x1401809fc
cmp rax, r8
mov r8, rax
ja 0x140180fe9
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.140047590
cmp qword [rsp + 0xa0], 0
je 0x140180a3d
movzx eax, word [rsp + 0x140]
cmp rax, 0xe
ja 0x140180a8b
lea rcx, [0x141a99dc8]
mov r15, qword [rcx + rax*8]
lea rcx, case.0x14013408b.460
mov rbx, qword [rcx + rax*8]
jmp 0x140180a98
mov rbx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140180fb2
mov rbp, qword [rsp + 0x40]
js 0x140180fe9
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, rbp
call fcn.14014fee0
test rax, rax
je 0x140180fe9
mov rcx, rax
mov r15, rbp
jmp 0x140180fbf
lea rbx, case.0x14013408b.471
mov r15d, 7
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, r15
call fcn.14014fee0
test rax, rax
je 0x140180fe9
mov qword [rsp + 0x48], rax
mov rcx, rax
mov rdx, rbx
mov r8, r15
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x40], r15
cmp qword [rsp + 0x50], 0
je 0x140180ae3
mov rcx, qword [0x141ada118]
xor edx, edx
mov r8, rsi
call fcn.1401cdfe4
mov esi, dword [rsp + 0x160]
test r14b, r14b
mov qword [rsp + 0xf0], r15
je 0x140180b0c
lea rcx, [rsp + 0x88]
mov rdx, rsi
call fcn.140181020
jmp 0x140180b94
test rsi, rsi
je 0x140180b75
lea rdx, [rsi*8]
mov ecx, 8
call fcn.14014fee0
test rax, rax
je 0x140180fe9
mov rcx, rsi
jmp 0x140180b7c
mov rbx, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
test r12, r12
je 0x140180feb
js 0x140180fe9
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, r12
call fcn.14014fee0
test rax, rax
je 0x140180fe9
mov rdi, rax
mov r13, r12
jmp 0x140180ff3
mov eax, 8
xor ecx, ecx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0x80], rdi
inc rsi
imul rdx, rsi, 0x70
movzx eax, byte [0x141ada129]
xor ecx, ecx
call fcn.14014fee0
test rax, rax
je 0x140180fe9
mov rbp, rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov r13, qword [rsp + 0x98]
test r13, r13
mov rdi, qword [rsp + 0x40]
je 0x140180e03
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x100], rax
shl r13, 3
mov r15d, 1
xor r14d, r14d
mov rbx, r12
jmp 0x140180ca0
imul rax, r14, 0x70
mov rcx, qword [rsp + 0xe0]
mov qword [rbp + rax + 0x40], rcx
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xc0]
movups xmm3, xmmword [rsp + 0xd0]
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
mov qword [rbp + rax + 0x60], rsi
mov dword [rbp + rax + 0x68], 0
mov r14, qword [rsp + 0x38]
inc r14
mov qword [rsp + 0x38], r14
inc r15
add r13, 0xfffffffffffffff8
mov rdi, qword [rsp + 0x40]
je 0x140180e03
mov qword [rsp + 0x108], r15
lea rax, [rsp + 0x108]
mov qword [rsp + 0x130], rax
lea rax, [0x140048240]
mov qword [rsp + 0x138], rax
lea rax, [0x141a5e238]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x130]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x50]
call fcn.140036e80
test rdi, rdi
je 0x140180d40
js 0x140180fe9
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, rdi
call fcn.14014fee0
test rax, rax
je 0x140180fe9
mov rsi, rax
mov r12, rdi
jmp 0x140180d48
xor r12d, r12d
mov esi, 1
mov rcx, rsi
mov rdx, qword [rsp + 0x48]
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xc8], rdi
mov r12, rbx
test rbx, rbx
je 0x140180da0
js 0x140180fe9
movzx eax, byte [0x141ada129]
xor ecx, ecx
mov rdx, r12
call fcn.14014fee0
test rax, rax
je 0x140180fe9
mov rsi, rax
mov rdi, r12
jmp 0x140180da7
mov esi, 1
xor edi, edi
mov rcx, rsi
mov rdx, qword [rsp + 0x80]
mov r8, r12
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], r12
mov rax, qword [rsp + 0x100]
mov rsi, qword [rax + r15*8 - 8]
cmp r14, qword [rsp + 0x28]
jne 0x140180c20
lea rcx, [rsp + 0x28]
call fcn.14017bf70
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
jmp 0x140180c20
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x88], 0
je 0x140180e4b
mov r8, qword [rsp + 0x90]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
mov r15, qword [rsp + 0xf8]
lea rsi, [r15 + 0x70]
mov rbx, qword [r15 + 0x80]
test rbx, rbx
mov rdi, qword [rsp + 0x80]
mov r13, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xf0]
je 0x140180f0f
mov r14, qword [r15 + 0x78]
add r14, 0x50
jmp 0x140180e99
add r14, 0x70
dec rbx
je 0x140180f0f
cmp qword [r14 - 0x50], 0
je 0x140180eb2
mov r8, qword [r14 - 0x48]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
mov rax, qword [r14 - 8]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x140180edb
test rax, rax
je 0x140180edb
mov r8, qword [r14]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
cmp qword [r14 - 0x38], 0
je 0x140180ef4
mov r8, qword [r14 - 0x30]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
cmp qword [r14 - 0x20], 0
je 0x140180e90
mov r8, qword [r14 - 0x18]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
jmp 0x140180e90
cmp qword [rsi], 0
je 0x140180f27
mov r8, qword [r15 + 0x78]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
mov rax, qword [rsp + 0x120]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x110]
movups xmmword [rsi], xmm0
cmp qword [r15 + 0x18], 0
movzx ebx, byte [rsp + 0x27]
je 0x140180f5c
mov r8, qword [r15 + 0x20]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
mov qword [r15 + 0x18], rbp
mov rax, qword [rsp + 0x48]
mov qword [r15 + 0x20], rax
mov rax, qword [rsp + 0x40]
mov qword [r15 + 0x28], rax
cmp qword [r15 + 0x30], 0
je 0x140180f8b
mov r8, qword [r15 + 0x38]
mov rcx, qword [0x141ada118]
xor edx, edx
call fcn.1401cdfe4
mov qword [r15 + 0x30], r13
mov qword [r15 + 0x38], rdi
mov qword [r15 + 0x40], r12
mov byte [r15 + 0x88], bl
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
xor r15d, r15d
mov rbp, qword [rsp + 0x40]
mov qword [rsp + 0x48], rcx
mov rdx, rbx
mov r8, rbp
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x140180ad2
jmp 0x140180ae3
cmp r8, rax
jbe 0x140180900
ud2
mov edi, 1
xor r13d, r13d
mov rcx, rdi
mov rdx, rbx
mov r8, r12
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x140180932
jmp 0x140180943