Function at 0x14004b500
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, 0x1c8
cmp qword [rcx + 0x80], 0
jne 0x14004be55
mov r14d, edx
mov r15, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1b0], xmm0
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmmword [rsp + 0x190], xmm0
lea rcx, [rsp + 0x190]
call sub.KERNEL32.dll_GetSystemInfo
movzx r12d, word [rsp + 0x190]
xor ecx, ecx
mov eax, 0x80000000
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r14b
mov qword [rsp + 0x150], r15
jb 0x14004b717
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], r12
movzx eax, byte [0x141d94108]
xor r12d, r12d
mov edx, 0x50
xor ecx, ecx
call fcn.1400321b0
test rax, rax
je 0x14004be98
mov r8, rax
mov qword [rsp + 0x118], 5
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], 0
mov ebx, 0x80000000
mov r13d, 0xc
mov edi, 0x80000000
mov r9d, dword [rsp + 0x28]
nop
cmp ebx, r9d
adc edi, 0
xor ecx, ecx
mov eax, ebx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov ebp, ecx
mov r14d, edx
mov r15d, eax
cmp r12, qword [rsp + 0x118]
jne 0x14004b61e
lea rcx, [rsp + 0x118]
call fcn.140045410
mov r9d, dword [rsp + 0x28]
mov r8, qword [rsp + 0x120]
inc r12
mov dword [r8 + r13 - 0xc], r15d
mov dword [r8 + r13 - 8], esi
mov dword [r8 + r13 - 4], ebp
mov dword [r8 + r13], r14d
mov qword [rsp + 0x128], r12
cmp ebx, r9d
jae 0x14004b64c
add r13, 0x10
mov ebx, edi
cmp edi, r9d
jbe 0x14004b5e0
movzx eax, byte [0x141d94108]
mov edx, 0x30
xor ecx, ecx
call fcn.1400321b0
test rax, rax
je 0x14004be98
mov rsi, rax
mov qword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
cmp r12, 3
jb 0x14004b765
mov rdi, qword [rsp + 0x120]
shl r12, 4
add r12, rdi
mov edx, dword [rdi + 0x20]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.14004bed0
mov edx, dword [rdi + 0x24]
mov rcx, rsi
call fcn.14004bed0
mov edx, dword [rdi + 0x28]
mov rcx, rsi
call fcn.14004bed0
add rdi, 0x2c
xor ebx, ebx
nop word [rax + rax]
mov edx, dword [rdi + rbx]
mov rcx, rsi
call fcn.14004bed0
cmp rbx, 0x20
je 0x14004b72b
lea r14, [rdi + rbx]
add r14, 4
cmp r14, r12
je 0x14004b72b
mov edx, dword [r14]
mov rcx, rsi
call fcn.14004bed0
mov edx, dword [r14 + 4]
mov rcx, rsi
call fcn.14004bed0
mov edx, dword [r14 + 8]
mov rcx, rsi
call fcn.14004bed0
add rbx, 0x10
jmp 0x14004b6d0
mov eax, 1
mov qword [rsp + 0x28], rax
xor r13d, r13d
xor edi, edi
jmp 0x14004b7dd
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14004b765
xor r8d, r8d
movzx r14d, byte [rsp + 0x27]
mov r12, qword [rsp + 0x30]
nop dword [rax + rax]
cmp byte [rsi + r8], 0
je 0x14004be8f
inc r8
cmp rax, r8
jne 0x14004b750
jmp 0x14004b772
xor eax, eax
movzx r14d, byte [rsp + 0x27]
mov r12, qword [rsp + 0x30]
mov r8, rax
lea rcx, [rsp + 0xb0]
mov rdx, rsi
call fcn.140016e30
cmp qword [rsp + 0xb0], 0
je 0x14004b9a0
mov eax, 1
mov qword [rsp + 0x28], rax
xor r13d, r13d
xor edi, edi
cmp qword [rsp + 0x60], 0
je 0x14004b7bc
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x118], 0
je 0x14004b7dd
mov r8, qword [rsp + 0x120]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov qword [rsp + 0x168], rdi
xor eax, eax
xor ecx, ecx
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x141d94108]
mov edx, 0xc
xor ecx, ecx
call fcn.1400321b0
test rax, rax
je 0x14004be98
mov qword [rsp + 0x60], 0xc
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov edx, ebp
call fcn.14004bed0
mov rcx, rdi
mov edx, ebx
call fcn.14004bed0
mov rcx, rdi
mov edx, esi
call fcn.14004bed0
mov rsi, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14004b87c
xor eax, eax
nop dword [rax]
cmp byte [rsi + rax], 0
je 0x14004b870
inc rax
cmp r8, rax
jne 0x14004b860
jmp 0x14004b87c
cmp rax, r8
mov r8, rax
ja 0x14004be98
lea rcx, [rsp + 0xb0]
mov rdx, rsi
call fcn.140016e30
cmp qword [rsp + 0xb0], 0
je 0x14004b8b9
cmp r12w, 0xe
ja 0x14004b8fe
lea rax, [0x141d8eef8]
mov rcx, qword [rax + r12*8]
lea rax, [0x141d8ef70]
mov rbx, qword [rax + r12*8]
mov r12, rcx
jmp 0x14004b90b
mov rbx, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xc0]
test r12, r12
sete dil
je 0x14004be69
js 0x14004be98
movzx eax, byte [0x141d94108]
xor ecx, ecx
mov rdx, r12
call fcn.1400321b0
test rax, rax
je 0x14004be98
mov rcx, rax
jmp 0x14004be6e
lea rbx, [0x141d8ed3b]
mov r12d, 7
movzx eax, byte [0x141d94108]
xor ecx, ecx
mov rdx, r12
call fcn.1400321b0
test rax, rax
je 0x14004be98
mov qword [rsp + 0x38], rax
mov rcx, rax
mov rdx, rbx
mov r8, r12
call sub.msvcrt.dll_memcpy
xor edi, edi
cmp qword [rsp + 0x60], 0
je 0x14004b953
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov esi, dword [rsp + 0x1b0]
test r14b, r14b
mov qword [rsp + 0x148], r13
je 0x14004b97c
lea rcx, [rsp + 0x100]
mov rdx, rsi
call fcn.14004bf80
jmp 0x14004ba03
test rsi, rsi
je 0x14004b9e4
lea rdx, [rsi*8]
mov ecx, 8
call fcn.1400321b0
mov rcx, rsi
test rax, rax
jne 0x14004b9eb
jmp 0x14004be98
mov rbx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
test rdi, rdi
je 0x14004be9a
js 0x14004be98
movzx eax, byte [0x141d94108]
xor ecx, ecx
mov rdx, rdi
call fcn.1400321b0
test rax, rax
je 0x14004be98
mov rcx, rax
mov r13, rdi
jmp 0x14004bea2
mov eax, 8
xor ecx, ecx
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rsi
mov dword [rsp + 0x44], edi
inc rsi
imul rdx, rsi, 0x70
movzx eax, byte [0x141d94108]
xor ecx, ecx
call fcn.1400321b0
test rax, rax
je 0x14004be98
mov r13, rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov rdi, qword [rsp + 0x110]
test rdi, rdi
mov rbx, qword [rsp + 0x38]
je 0x14004bcea
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x158], rax
shl rdi, 3
mov r15d, 0xd
xor ebp, ebp
mov qword [rsp + 0x160], r12
jmp 0x14004baf7
mov rax, qword [rsp + 0xa0]
mov qword [r13 + r15*8 - 0x28], rax
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movaps xmm2, xmmword [rsp + 0x80]
movaps xmm3, xmmword [rsp + 0x90]
movups xmmword [r13 + r15*8 - 0x38], xmm3
movups xmmword [r13 + r15*8 - 0x48], xmm2
movups xmmword [r13 + r15*8 - 0x58], xmm1
movups xmmword [r13 + r15*8 - 0x68], xmm0
movabs rax, 0x8000000000000000
mov qword [r13 + r15*8 - 0x20], rax
mov qword [r13 + r15*8 - 8], rsi
mov dword [r13 + r15*8], 0
mov qword [rsp + 0x58], rbp
add r15, 0xe
add rdi, 0xfffffffffffffff8
mov r12, qword [rsp + 0x160]
je 0x14004bcea
lea r14, [rbp + 1]
mov qword [rsp + 0x178], r14
lea rax, [rsp + 0x178]
mov qword [rsp + 0x180], rax
lea rax, [0x14000f820]
mov qword [rsp + 0x188], rax
lea rax, [0x141d8ed50]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], 1
mov qword [rsp + 0x138], 0
lea rax, [rsp + 0x180]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], 1
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x118]
call fcn.1400088d0
mov esi, 1
test r12, r12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x170], r14
je 0x14004bbc0
js 0x14004be98
movzx eax, byte [0x141d94108]
xor ecx, ecx
mov rdx, r12
call fcn.1400321b0
test rax, rax
je 0x14004be98
mov rdi, rax
mov r14, r12
jmp 0x14004bbc8
xor r14d, r14d
mov edi, 1
mov rcx, rdi
mov rdx, rbx
mov r8, r12
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], r12
mov rdi, qword [rsp + 0x168]
test rdi, rdi
je 0x14004bc30
mov r14, qword [rsp + 0x28]
js 0x14004be98
movzx eax, byte [0x141d94108]
xor ecx, ecx
mov rdx, rdi
call fcn.1400321b0
test rax, rax
je 0x14004be98
mov rsi, rax
mov r12, rdi
mov rdx, r14
mov rbx, qword [rsp + 0x38]
jmp 0x14004bc38
xor r12d, r12d
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
mov qword [rsp + 0x28], rdx
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], rdi
mov rax, qword [rsp + 0x158]
mov rsi, qword [rax + rbp*8]
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x80], xmm2
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rdi
cmp rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x170]
jne 0x14004ba80
lea rcx, [rsp + 0x48]
call fcn.140045530
mov r13, qword [rsp + 0x50]
jmp 0x14004ba80
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0x100], 0
je 0x14004bd32
mov r8, qword [rsp + 0x108]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x148], 0
movzx ebp, byte [rsp + 0x27]
mov r14, qword [rsp + 0x150]
mov r8, qword [rsp + 0x28]
je 0x14004bd5d
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp byte [rsp + 0x44], 0
jne 0x14004bd77
mov rcx, qword [0x141d940e8]
xor edx, edx
mov r8, qword [rsp + 0x38]
call sub.KERNEL32.dll_HeapFree
lea rsi, [r14 + 0x70]
mov rdi, qword [r14 + 0x80]
test rdi, rdi
je 0x14004be1f
mov rbx, qword [r14 + 0x78]
add rbx, 0x50
jmp 0x14004bda9
add rbx, 0x70
dec rdi
je 0x14004be1f
cmp qword [rbx - 0x50], 0
je 0x14004bdc2
mov r8, qword [rbx - 0x48]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rbx - 8]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x14004bdeb
test rax, rax
je 0x14004bdeb
mov r8, qword [rbx]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rbx - 0x38], 0
je 0x14004be04
mov r8, qword [rbx - 0x30]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rbx - 0x20], 0
je 0x14004bda0
mov r8, qword [rbx - 0x18]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x14004bda0
cmp qword [rsi], 0
je 0x14004be37
mov r8, qword [r14 + 0x78]
mov rcx, qword [0x141d940e8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rsp + 0xc0]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rsi], xmm0
mov byte [r14 + 0x88], bpl
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
mov qword [rsp + 0x38], rcx
mov rdx, rbx
mov r8, r12
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x60], 0
jne 0x14004b942
jmp 0x14004b953
cmp r8, rax
jbe 0x14004b775
ud2
mov ecx, 1
xor r13d, r13d
mov qword [rsp + 0x28], rcx
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x60], 0
jne 0x14004b7ab
jmp 0x14004b7bc