Function at 0x1400bb470
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, 0x118
cmp qword [rcx + 0x80], 0
jne 0x1400bbe47
mov r13d, r8d
mov rbx, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
lea rcx, [rsp + 0xe0]
call sub.KERNEL32.dll_GetSystemInfo
movsx r15, word [rsp + 0xe0]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r13b
mov qword [rsp + 0xa8], rbx
jb 0x1400bb5e4
mov esi, eax
movzx eax, byte [0x1401e61e9]
mov rcx, qword [0x1401e6138]
test rcx, rcx
jne 0x1400bb51c
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bbedf
mov rcx, rax
mov qword [0x1401e6138], rax
xor edi, edi
mov r8d, 0x50
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400bbedf
mov r8, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 5
mov qword [rsp + 0x40], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
nop
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 + 0x38]
jne 0x1400bb599
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.1400badb0
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r15d
mov dword [r8 + rdi + 0xc], r14d
mov rdi, qword [rsp + 0x40]
inc rdi
mov qword [rsp + 0x40], rdi
cmp ebp, esi
jae 0x1400bb5c9
mov ebp, r13d
cmp r13d, esi
jbe 0x1400bb560
movzx eax, byte [0x1401e61e9]
mov rcx, qword [0x1401e6138]
test rcx, rcx
je 0x1400bb5f5
movzx r13d, byte [rsp + 0x27]
jmp 0x1400bb613
mov edi, 1
xor eax, eax
mov qword [rsp + 0x28], rax
jmp 0x1400bb768
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
movzx r13d, byte [rsp + 0x27]
je 0x1400bbef0
mov rcx, rax
mov qword [0x1401e6138], rax
mov r8d, 0x30
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400bbef0
mov rsi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
cmp rdi, 3
jb 0x1400bb705
mov rbx, qword [rsp + 0x30]
shl rdi, 4
add rdi, rbx
mov edx, dword [rbx + 0x20]
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.1400bbf20
mov edx, dword [rbx + 0x24]
mov rcx, rsi
call fcn.1400bbf20
mov edx, dword [rbx + 0x28]
mov rcx, rsi
call fcn.1400bbf20
add rbx, 0x2c
xor r14d, r14d
nop word cs:[rax + rax]
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.1400bbf20
cmp r14, 0x20
je 0x1400bb6d8
lea r15, [rbx + r14]
add r15, 4
cmp r15, rdi
je 0x1400bb6d8
mov edx, dword [r15]
mov rcx, rsi
call fcn.1400bbf20
mov edx, dword [r15 + 4]
mov rcx, rsi
call fcn.1400bbf20
mov edx, dword [r15 + 8]
mov rcx, rsi
call fcn.1400bbf20
add r14, 0x10
jmp 0x1400bb690
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400bb705
xor r8d, r8d
mov r15, qword [rsp + 0x28]
nop
cmp byte [rsi + r8], 0
je 0x1400bbe66
inc r8
cmp rdx, r8
jne 0x1400bb6f0
jmp 0x1400bb70c
xor edx, edx
mov r15, qword [rsp + 0x28]
mov r8, rdx
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.1400057a0
cmp qword [rsp + 0x60], 0
je 0x1400bb9ce
mov edi, 1
xor eax, eax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x50], 0
je 0x1400bb74d
mov rcx, qword [0x1401e6138]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x38], 0
je 0x1400bb768
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x1401e6138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
xor eax, eax
xor ecx, ecx
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x1401e61e9]
mov rcx, qword [0x1401e6138]
test rcx, rcx
jne 0x1400bb7a3
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bbece
mov rcx, rax
mov qword [0x1401e6138], rax
mov r8d, 0xc
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400bbece
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0xc
mov qword [rsp + 0x58], 0
lea r14, [rsp + 0x48]
mov rcx, r14
mov edx, ebp
call fcn.1400bbf20
mov rcx, r14
mov edx, ebx
call fcn.1400bbf20
mov rcx, r14
mov edx, esi
call fcn.1400bbf20
mov rbx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x1400bb82c
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [rbx + rcx], 0
je 0x1400bb820
inc rcx
cmp r8, rcx
jne 0x1400bb810
jmp 0x1400bb82c
cmp rcx, r8
ja 0x1400bbf01
mov r8, rcx
lea rcx, [rsp + 0x60]
mov rdx, rbx
call fcn.1400057a0
cmp qword [rsp + 0x60], 0
je 0x1400bb87e
cmp r15w, 0xe
ja 0x1400bb8d9
lea rax, [0x1401aaaa0]
mov rcx, qword [rax + r15*8]
lea rax, [0x1401aab18]
mov rsi, qword [rax + r15*8]
mov r15, rcx
movzx eax, byte [0x1401e61e9]
mov rcx, qword [0x1401e6138]
test rcx, rcx
jne 0x1400bb911
jmp 0x1400bb8f9
mov rsi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1400bbe5b
js 0x1400bbea9
movzx eax, byte [0x1401e61e9]
mov rcx, qword [0x1401e6138]
test rcx, rcx
jne 0x1400bb8c2
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bbeb0
mov rcx, rax
mov qword [0x1401e6138], rax
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapAlloc
mov r12, rax
test rax, rax
jne 0x1400bb927
jmp 0x1400bbeb0
lea rsi, [0x14016d5eb]
mov r15d, 7
movzx eax, byte [0x1401e61e9]
mov rcx, qword [0x1401e6138]
test rcx, rcx
jne 0x1400bb911
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bbeb0
mov rcx, rax
mov qword [0x1401e6138], rax
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400bbeb0
mov r12, rax
mov rcx, r12
mov rdx, rsi
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
je 0x1400bb94e
mov rcx, qword [0x1401e6138]
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapFree
mov esi, dword [rsp + 0x100]
test r13b, r13b
je 0x1400bb97f
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.1400bbfe0
mov r14, qword [rsp + 0x90]
mov r13, qword [rsp + 0xa0]
jmp 0x1400bba60
test rsi, rsi
je 0x1400bba3f
lea rbx, [rsi*8]
mov rcx, qword [0x1401e6138]
test rcx, rcx
jne 0x1400bb9b4
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bbebf
mov rcx, rax
mov qword [0x1401e6138], rax
mov edx, 8
mov r8, rbx
call sub.KERNEL32.dll_HeapAlloc
mov r14, rax
test rax, rax
jne 0x1400bba45
jmp 0x1400bbebf
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mov qword [rsp + 0x28], rcx
test rcx, rcx
je 0x1400bbe83
js 0x1400bbea9
movzx eax, byte [0x1401e61e9]
mov rcx, qword [0x1401e6138]
test rcx, rcx
jne 0x1400bba16
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bba2e
mov rcx, rax
mov qword [0x1401e6138], rax
xor edx, edx
mov r8, qword [rsp + 0x28]
call sub.KERNEL32.dll_HeapAlloc
mov rdi, rax
test rax, rax
jne 0x1400bbe88
mov ecx, 1
mov rdx, qword [rsp + 0x28]
call fcn.140002ac0
ud2
mov r14d, 8
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rsi
mov r13, rsi
inc rsi
imul rbx, rsi, 0x70
movzx eax, byte [0x1401e61e9]
mov rcx, qword [0x1401e6138]
test rcx, rcx
jne 0x1400bba92
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bbebf
mov rcx, rax
mov qword [0x1401e6138], rax
xor edx, edx
mov r8, rbx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x1400bbebf
mov rbp, rax
mov qword [rsp + 0xb8], r14
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 0
test r13, r13
je 0x1400bbd00
mov rsi, r13
shl rsi, 3
mov r13d, 1
xor r14d, r14d
mov qword [rsp + 0xb0], r12
jmp 0x1400bbb6e
imul rax, r14, 0x70
mov rcx, qword [rsp + 0x70]
mov qword [rbp + rax + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp + rax], xmm0
mov qword [rbp + rax + 0x18], rbx
mov qword [rbp + rax + 0x20], r15
mov qword [rbp + rax + 0x28], r15
mov qword [rbp + rax + 0x30], rsi
mov rcx, qword [rsp + 0x28]
mov qword [rbp + rax + 0x38], rcx
mov qword [rbp + rax + 0x40], rcx
mov qword [rbp + rax + 0x48], 0
mov qword [rbp + rax + 0x60], rdi
mov dword [rbp + rax + 0x68], 0
mov r14, qword [rsp + 0x40]
inc r14
mov qword [rsp + 0x40], r14
inc r13
mov rsi, qword [rsp + 0xc0]
add rsi, 0xfffffffffffffff8
mov rdi, r12
mov r12, qword [rsp + 0xb0]
je 0x1400bbd00
mov qword [rsp + 0xc8], r13
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea rax, [fcn.1400042b0]
mov qword [rsp + 0xd8], rax
lea rax, [0x14016d6d8]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.1400030f0
mov ebx, 1
test r15, r15
je 0x1400bbc2c
js 0x1400bbea9
movzx eax, byte [0x1401e61e9]
mov rax, qword [0x1401e6138]
test rax, rax
jne 0x1400bbc13
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bbeb0
mov qword [0x1401e6138], rax
mov rcx, rax
xor edx, edx
mov r8, r15
call sub.KERNEL32.dll_HeapAlloc
mov rbx, rax
test rax, rax
je 0x1400bbeb0
mov rcx, rbx
mov rdx, r12
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x28], 0
mov qword [rsp + 0xc0], rsi
je 0x1400bbca0
js 0x1400bbea9
movzx eax, byte [0x1401e61e9]
mov rax, qword [0x1401e6138]
test rax, rax
jne 0x1400bbc78
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bba2e
mov qword [0x1401e6138], rax
mov rcx, rax
xor edx, edx
mov r8, qword [rsp + 0x28]
call sub.KERNEL32.dll_HeapAlloc
mov rsi, rax
test rax, rax
jne 0x1400bbca5
jmp 0x1400bba2e
mov esi, 1
mov rcx, rsi
mov r12, rdi
mov rdx, rdi
mov r8, qword [rsp + 0x28]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0xb8]
mov rdi, qword [rax + r13*8 - 8]
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
cmp r14, qword [rsp + 0x38]
jne 0x1400bbaf0
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.1400bac20
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
jmp 0x1400bbaf0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x98], 0
je 0x1400bbd3f
mov r8, qword [rsp + 0x90]
mov rcx, qword [0x1401e6138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x28], 0
movzx ebx, byte [rsp + 0x27]
mov r14, qword [rsp + 0xa8]
je 0x1400bbd65
mov rcx, qword [0x1401e6138]
xor edx, edx
mov r8, rdi
call sub.KERNEL32.dll_HeapFree
test r15, r15
je 0x1400bbd7b
mov rcx, qword [0x1401e6138]
xor edx, edx
mov r8, r12
call sub.KERNEL32.dll_HeapFree
mov rsi, qword [r14 + 0x80]
test rsi, rsi
je 0x1400bbe13
mov rdi, qword [r14 + 0x70]
add rdi, 0x50
jmp 0x1400bbda9
add rdi, 0x70
dec rsi
je 0x1400bbe13
cmp qword [rdi - 0x48], 0
je 0x1400bbdc2
mov r8, qword [rdi - 0x50]
mov rcx, qword [0x1401e6138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov r8, qword [rdi - 8]
test r8, r8
je 0x1400bbddf
cmp qword [rdi], 0
je 0x1400bbddf
mov rcx, qword [0x1401e6138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rdi - 0x30], 0
je 0x1400bbdf8
mov r8, qword [rdi - 0x38]
mov rcx, qword [0x1401e6138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rdi - 0x18], 0
je 0x1400bbda0
mov r8, qword [rdi - 0x20]
mov rcx, qword [0x1401e6138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x1400bbda0
lea rsi, [r14 + 0x70]
cmp qword [r14 + 0x78], 0
je 0x1400bbe2f
mov r8, qword [rsi]
mov rcx, qword [0x1401e6138]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0x70]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi], xmm0
mov byte [r14 + 0x88], bl
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12d, 1
jmp 0x1400bb927
cmp r8, rdx
jbe 0x1400bb70f
lea rax, [0x14016d660]
mov rcx, r8
mov r8, rax
call fcn.140004b30
ud2
mov edi, 1
mov rcx, rdi
mov rdx, rbx
mov r8, qword [rsp + 0x28]
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x50], 0
jne 0x1400bb73c
jmp 0x1400bb74d
call fcn.140002a80
ud2
mov ecx, 1
mov rdx, r15
call fcn.140002ac0
ud2
mov ecx, 8
mov rdx, rbx
call fcn.140002ac0
ud2
mov ecx, 1
mov edx, 0xc
call fcn.140002ac0
ud2
mov ecx, 4
mov edx, 0x50
call fcn.140002ac0
ud2
mov ecx, 1
mov edx, 0x30
call fcn.140002ac0
ud2
lea rax, [0x14016d678]
mov rdx, r8
mov r8, rax
call fcn.140004b30
ud2