Function at 0x4863f9
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, 0x1b8
cmp qword [rcx + 0x80], 0
jne 0x486af9
mov ebp, edx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x180]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call sub.KERNEL32.dll_GetSystemInfo
xor r14d, r14d
xor ecx, ecx
mov eax, 0x80000000
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x2f], bpl
mov qword [rsp + 0x60], rdi
jb 0x486525
mov dword [rsp + 0x30], eax
mov ecx, 0x50
mov edx, 4
call fcn.004272a6
test rax, rax
je 0x486b17
mov r14, rax
lea rax, [rsp + 0x70]
mov qword [rax], 5
mov qword [rax + 8], r14
mov sil, 1
mov ebp, 0x80000000
xor edi, edi
mov r8d, dword [rsp + 0x30]
mov qword [rsp + 0x80], rdi
test sil, 1
je 0x486542
cmp ebp, r8d
ja 0x486542
setb sil
xor ecx, ecx
mov eax, ebp
mov r12, rbx
cpuid
xchg rbx, r12
mov r13d, ecx
mov r15d, edx
mov ebx, eax
cmp rdi, qword [rsp + 0x70]
jne 0x4864f8
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.0048526e
mov r8d, dword [rsp + 0x30]
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
movzx eax, sil
add ebp, eax
shl rdi, 4
mov dword [r14 + rdi], ebx
mov dword [r14 + rdi + 4], r12d
mov dword [r14 + rdi + 8], r13d
mov dword [r14 + rdi + 0xc], r15d
mov rdi, qword [rsp + 0x80]
inc rdi
jmp 0x48649f
mov eax, 1
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x38], rax
jmp 0x4866c3
xor r15d, r15d
mov ecx, 0x30
xor edx, edx
call fcn.0044420a
lea rsi, [rsp + 0x40]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
and qword [rsi + 0x10], 0
shl rdi, 4
add rdi, r14
mov ebx, 5
mov eax, 2
test r15b, 1
je 0x486588
test rbx, rbx
je 0x4865e9
cmp r14, rdi
je 0x4865e9
dec rbx
jmp 0x4865ac
cmp rbx, rax
jbe 0x4865e9
mov rcx, rdi
sub rcx, r14
shr rcx, 4
cmp rcx, rax
jbe 0x4865e9
mov rcx, rax
not rcx
add rbx, rcx
shl rax, 4
add r14, rax
lea r12, [r14 + 0x10]
mov edx, dword [r14]
mov rcx, rsi
call fcn.00486b28
mov edx, dword [r14 + 4]
mov rcx, rsi
call fcn.00486b28
mov edx, dword [r14 + 8]
mov rcx, rsi
call fcn.00486b28
mov edx, dword [r14 + 0xc]
mov rcx, rsi
call fcn.00486b28
mov r15b, 1
xor eax, eax
mov r14, r12
jmp 0x486573
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
xor r8d, r8d
mov bpl, byte [rsp + 0x2f]
xor r14d, r14d
cmp rdx, r8
je 0x48660f
cmp byte [rsi + r8], 0
je 0x486612
inc r8
jmp 0x4865fe
mov r8, rdx
lea r9, [0x004a6cd8]
mov rcx, rsi
call fcn.00486b6d
mov r8, rdx
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rax
call fcn.00429990
cmp qword [rdi], 0
je 0x486657
mov eax, 1
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x38], rax
jmp 0x486693
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
mov rcx, rdi
xor edx, edx
call fcn.0044420a
mov qword [rsp + 0x58], rax
mov rcx, rdx
mov qword [rsp + 0x30], rdx
mov rdx, rsi
mov qword [rsp + 0x38], rdi
mov r8, rdi
call sub.ntdll.dll_memcpy
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.0043cd31
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x4866c3
shl rdx, 4
mov rcx, qword [rsp + 0x78]
mov r8d, 4
call fcn.00416e8c
lea r15, [rdi + 0x70]
xor eax, eax
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov edi, edx
mov ebx, ecx
mov ecx, 0xc
xor edx, edx
call fcn.0044420a
lea r12, [rsp + 0x40]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rcx, r12
mov edx, esi
call fcn.00486b28
mov rcx, r12
mov edx, edi
call fcn.00486b28
mov rcx, r12
mov edx, ebx
call fcn.00486b28
mov rcx, qword [r12 + 8]
mov rdx, qword [r12 + 0x10]
cmp rdx, r14
je 0x486730
cmp byte [rcx + r14], 0
je 0x486733
inc r14
jmp 0x48671f
mov r14, rdx
lea r9, [0x004a6cf0]
mov r8, r14
call fcn.00486b6d
mov r8, rdx
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rax
call fcn.00429990
cmp qword [rsi], 0
mov qword [rsp + 0x100], r15
je 0x48678d
movsx rax, word [rsp + 0x180]
cmp rax, 0xe
ja 0x48679f
lea rcx, [0x004ab228]
mov rdi, qword [rcx + rax*8]
lea rcx, [0x004ab2a0]
mov rsi, qword [rcx + rax*8]
jmp 0x4867ab
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
jmp 0x4867ab
lea rsi, [0x004a6c55]
mov edi, 7
mov rcx, rdi
xor edx, edx
call fcn.0044420a
mov qword [rsp + 0x88], rax
mov rcx, rdx
mov qword [rsp + 0x68], rdx
mov rdx, rsi
mov r8, rdi
call sub.ntdll.dll_memcpy
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.0043cd31
mov r13d, dword [rsp + 0x1a0]
test bpl, bpl
mov qword [rsp + 0x90], rdi
je 0x486811
lea rsi, [rsp + 0x108]
mov rcx, rsi
mov rdx, r13
call fcn.00486b8e
mov rbx, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
jmp 0x486839
mov rcx, r13
mov dl, 1
call fcn.0048506c
mov rbx, rdx
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rdx
mov qword [rsp + 0x118], r13
mov rdi, r13
inc r13
imul r14, r13, 0x70
mov edx, 8
mov rcx, r14
call fcn.004272a6
test rax, rax
je 0x486b0d
mov rsi, rax
lea rax, [rsp + 0x98]
mov qword [rax], r13
mov qword [rax + 8], rsi
and qword [rax + 0x10], 0
shl rdi, 3
mov r12d, 1
xor r14d, r14d
lea r13, [rsp + 0xb0]
mov ebp, 1
test rdi, rdi
je 0x486a21
mov qword [rsp + 0xe0], rbp
lea rax, [0x004a6f50]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], r12
and qword [rsp + 0xb0], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
lea rax, [fcn.00428250]
mov qword [rsp + 0x48], rax
lea r15, [rsp + 0x40]
mov qword [rsp + 0xd0], r15
mov qword [rsp + 0xd8], r12
lea rcx, [rsp + 0x70]
mov rdx, r13
call fcn.0048216d
mov rcx, r15
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x90]
call fcn.00426c90
mov rcx, r13
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
call fcn.00426c90
mov r15, qword [rbx + rbp*8 - 8]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x160], xmm0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x170], rax
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x140], xmm0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x150], rax
cmp r14, qword [rsp + 0x98]
jne 0x4869a0
lea rcx, [rsp + 0x98]
mov rdx, r14
call fcn.004851b3
mov rsi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
imul rax, r14, 0x70
and qword [rsi + rax + 8], 0
mov qword [rsi + rax + 0x18], r15
mov rcx, qword [rsp + 0xf0]
mov qword [rsi + rax + 0x30], rcx
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsi + rax + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x160]
movups xmmword [rsi + rax + 0x38], xmm0
mov rcx, qword [rsp + 0x170]
mov qword [rsi + rax + 0x48], rcx
mov rcx, qword [rsp + 0x150]
mov qword [rsi + rax + 0x60], rcx
movaps xmm0, xmmword [rsp + 0x140]
movups xmmword [rsi + rax + 0x50], xmm0
and dword [rsi + rax + 0x68], 0
mov r14, qword [rsp + 0xa8]
inc r14
mov qword [rsp + 0xa8], r14
inc rbp
add rdi, 0xfffffffffffffff8
jmp 0x486887
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x130], rax
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x120], xmm0
mov rcx, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
call fcn.00485168
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov rcx, rsi
call fcn.004853df
mov rcx, qword [rdi + 0x70]
mov rdx, rsi
call fcn.00485554
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x100]
mov qword [rcx + 0x10], rax
movaps xmm0, xmmword [rsp + 0x120]
movups xmmword [rcx], xmm0
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x40]
call fcn.0043cd31
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x40], rax
mov rax, qword [rsp + 0x90]
mov qword [rdi + 0x48], rax
mov rcx, qword [rdi + 0x50]
mov rdx, qword [rdi + 0x58]
call fcn.0043cd31
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x58], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x60], rax
mov al, byte [rsp + 0x2f]
mov byte [rdi + 0x88], al
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 8
mov rcx, r14
jmp 0x486b21
mov ecx, 0x50
mov edx, 4
call fcn.00426000
ud2