Function at 0x483008
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 0x483708
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 0x483134
mov dword [rsp + 0x30], eax
mov ecx, 0x50
mov edx, 4
call fcn.00427146
test rax, rax
je 0x483726
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 0x483151
cmp ebp, r8d
ja 0x483151
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 0x483107
lea rcx, [rsp + 0x70]
mov rdx, rdi
call fcn.00481e60
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 0x4830ae
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 0x4832d2
xor r15d, r15d
mov ecx, 0x30
xor edx, edx
call fcn.00441038
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 0x483197
test rbx, rbx
je 0x4831f8
cmp r14, rdi
je 0x4831f8
dec rbx
jmp 0x4831bb
cmp rbx, rax
jbe 0x4831f8
mov rcx, rdi
sub rcx, r14
shr rcx, 4
cmp rcx, rax
jbe 0x4831f8
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.00483737
mov edx, dword [r14 + 4]
mov rcx, rsi
call fcn.00483737
mov edx, dword [r14 + 8]
mov rcx, rsi
call fcn.00483737
mov edx, dword [r14 + 0xc]
mov rcx, rsi
call fcn.00483737
mov r15b, 1
xor eax, eax
mov r14, r12
jmp 0x483182
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 0x48321e
cmp byte [rsi + r8], 0
je 0x483221
inc r8
jmp 0x48320d
mov r8, rdx
lea r9, [0x004a2708]
mov rcx, rsi
call fcn.0048377c
mov r8, rdx
lea rdi, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rax
call fcn.00429850
cmp qword [rdi], 0
je 0x483266
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 0x4832a2
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
mov rcx, rdi
xor edx, edx
call fcn.00441038
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.0044a8f3
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x4832d2
shl rdx, 4
mov rcx, qword [rsp + 0x78]
mov r8d, 4
call fcn.00416f40
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.00441038
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.00483737
mov rcx, r12
mov edx, edi
call fcn.00483737
mov rcx, r12
mov edx, ebx
call fcn.00483737
mov rcx, qword [r12 + 8]
mov rdx, qword [r12 + 0x10]
cmp rdx, r14
je 0x48333f
cmp byte [rcx + r14], 0
je 0x483342
inc r14
jmp 0x48332e
mov r14, rdx
lea r9, [0x004a2720]
mov r8, r14
call fcn.0048377c
mov r8, rdx
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rax
call fcn.00429850
cmp qword [rsi], 0
mov qword [rsp + 0x100], r15
je 0x48339c
movsx rax, word [rsp + 0x180]
cmp rax, 0xe
ja 0x4833ae
lea rcx, [0x004a6b68]
mov rdi, qword [rcx + rax*8]
lea rcx, [0x004a6be0]
mov rsi, qword [rcx + rax*8]
jmp 0x4833ba
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
jmp 0x4833ba
lea rsi, [0x004a2685]
mov edi, 7
mov rcx, rdi
xor edx, edx
call fcn.00441038
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.0044a8f3
mov r13d, dword [rsp + 0x1a0]
test bpl, bpl
mov qword [rsp + 0x90], rdi
je 0x483420
lea rsi, [rsp + 0x108]
mov rcx, rsi
mov rdx, r13
call fcn.0048379d
mov rbx, qword [rsi + 8]
mov rdi, qword [rsi + 0x10]
jmp 0x483448
mov rcx, r13
mov dl, 1
call fcn.00481c7c
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.00427146
test rax, rax
je 0x48371c
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 0x483630
mov qword [rsp + 0xe0], rbp
lea rax, [0x004a2980]
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.00428110]
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.0047ed7d
mov rcx, r15
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x90]
call fcn.00426b30
mov rcx, r13
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
call fcn.00426b30
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 0x4835af
lea rcx, [rsp + 0x98]
mov rdx, r14
call fcn.00481da5
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 0x483496
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.00439ec1
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rdi + 0x78]
mov rdx, qword [rdi + 0x80]
mov rcx, rsi
call fcn.00481fd1
mov rcx, qword [rdi + 0x70]
mov rdx, rsi
call fcn.00482146
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.0044a8f3
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.0044a8f3
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 0x483730
mov ecx, 0x50
mov edx, 4
call fcn.00425ea0
ud2