Function at 0x1400a05e0
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, 0x138
cmp qword [rcx + 0x80], 0
jne 0x1400a0e4f
mov r13d, edx
mov r12, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
lea rcx, [rsp + 0x100]
call sub.KERNEL32.dll_GetSystemInfo
movzx r9d, word [rsp + 0x100]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r13b
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0x58], r9
jb 0x1400a07e8
mov esi, eax
movzx eax, byte [0x140254141]
xor edi, edi
mov edx, 0x50
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x1400a0e77
mov r8, rax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
nop dword [rax]
cmp ebp, esi
adc r13d, 0
mov eax, ebp
xor ecx, ecx
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r14d, ecx
mov r15d, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x28]
jne 0x1400a06e9
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.1400a1350
mov r8, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shl rdi, 4
mov dword [r8 + rdi], r12d
mov dword [r8 + rdi + 4], ebx
mov dword [r8 + rdi + 8], r14d
mov dword [r8 + rdi + 0xc], r15d
mov rdi, qword [rsp + 0x38]
inc rdi
mov qword [rsp + 0x38], rdi
cmp ebp, esi
jae 0x1400a0719
mov ebp, r13d
cmp r13d, esi
jbe 0x1400a06b0
movzx eax, byte [0x140254141]
mov edx, 0x30
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x1400a0e77
mov rsi, rax
mov qword [rsp + 0x40], 0x30
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
cmp rdi, 3
movzx r13d, byte [rsp + 0x27]
jb 0x1400a0825
mov rbx, qword [rsp + 0x30]
shl rdi, 4
add rdi, rbx
mov edx, dword [rbx + 0x20]
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.1400a0ea0
mov edx, dword [rbx + 0x24]
mov rcx, rsi
call fcn.1400a0ea0
mov edx, dword [rbx + 0x28]
mov rcx, rsi
call fcn.1400a0ea0
add rbx, 0x2c
xor r14d, r14d
nop dword [rax + rax]
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.1400a0ea0
cmp r14, 0x20
je 0x1400a07f5
lea r15, [rbx + r14]
add r15, 4
cmp r15, rdi
je 0x1400a07f5
mov edx, dword [r15]
mov rcx, rsi
call fcn.1400a0ea0
mov edx, dword [r15 + 4]
mov rcx, rsi
call fcn.1400a0ea0
mov edx, dword [r15 + 8]
mov rcx, rsi
call fcn.1400a0ea0
add r14, 0x10
jmp 0x1400a07a0
mov r15d, 1
xor edi, edi
jmp 0x1400a087f
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x1400a0825
xor r8d, r8d
nop word [rax + rax]
cmp byte [rsi + r8], 0
je 0x1400a0e6e
inc r8
cmp rax, r8
jne 0x1400a0810
jmp 0x1400a0827
xor eax, eax
mov r8, rax
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.140018900
cmp qword [rsp + 0x60], 0
je 0x1400a0a46
mov r15d, 1
xor edi, edi
cmp qword [rsp + 0x40], 0
je 0x1400a0864
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x28], 0
je 0x1400a087f
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x1402540f8]
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 [0x140254141]
mov edx, 0xc
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x1400a0e77
mov qword [rsp + 0x40], 0xc
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
lea r14, [rsp + 0x40]
mov rcx, r14
mov edx, ebp
call fcn.1400a0ea0
mov rcx, r14
mov edx, ebx
call fcn.1400a0ea0
mov rcx, r14
mov edx, esi
call fcn.1400a0ea0
mov rsi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x1400a091c
xor eax, eax
nop word cs:[rax + rax]
cmp byte [rsi + rax], 0
je 0x1400a0910
inc rax
cmp r8, rax
jne 0x1400a0900
jmp 0x1400a091c
cmp rax, r8
mov r8, rax
ja 0x1400a0e77
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.140018900
cmp qword [rsp + 0x60], 0
mov qword [rsp + 0x98], r15
je 0x1400a095c
mov rcx, qword [rsp + 0x58]
cmp cx, 0xe
ja 0x1400a0993
lea rax, [0x1402125c0]
mov r15, qword [rax + rcx*8]
lea rax, [0x140212638]
mov rbx, qword [rax + rcx*8]
jmp 0x1400a09a0
mov rbx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x1400a0e63
js 0x1400a0e77
movzx eax, byte [0x140254141]
xor ecx, ecx
mov rdx, r15
call fcn.14008bd10
mov r14, rax
test rax, rax
jne 0x1400a09bd
jmp 0x1400a0e77
lea rbx, [0x1401d6cbc]
mov r15d, 7
movzx eax, byte [0x140254141]
xor ecx, ecx
mov rdx, r15
call fcn.14008bd10
test rax, rax
je 0x1400a0e77
mov r14, rax
mov rcx, r14
mov rdx, rbx
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x40], 0
je 0x1400a09e4
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
mov esi, dword [rsp + 0x120]
test r13b, r13b
mov qword [rsp + 0xa0], r14
je 0x1400a0a25
lea rcx, [rsp + 0xa8]
mov rdx, rsi
call fcn.1400a0f60
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x90], rax
mov r12, qword [rsp + 0xb8]
jmp 0x1400a0aa9
test rsi, rsi
je 0x1400a0a81
lea rdx, [rsi*8]
mov ecx, 8
call fcn.14008bd10
test rax, rax
jne 0x1400a0a86
jmp 0x1400a0e77
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x1400a0e79
js 0x1400a0e77
movzx eax, byte [0x140254141]
xor ecx, ecx
mov rdx, rdi
call fcn.14008bd10
mov r15, rax
test rax, rax
jne 0x1400a0e7f
jmp 0x1400a0e77
mov eax, 8
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rsi
mov r12, rsi
mov qword [rsp + 0x58], rdi
inc rsi
imul rdx, rsi, 0x70
movzx eax, byte [0x140254141]
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x1400a0e77
mov rbp, rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
test r12, r12
je 0x1400a0cfa
shl r12, 3
mov r13d, 1
xor ebx, ebx
jmp 0x1400a0b77
imul rax, rbx, 0x70
movaps xmm0, xmmword [rsp + 0xe0]
mov rcx, qword [rsp + 0xf0]
mov qword [rbp + rax + 0x10], rcx
movups xmmword [rbp + rax], xmm0
mov qword [rbp + rax + 0x18], r15
mov qword [rbp + rax + 0x20], r14
mov qword [rbp + rax + 0x28], r15
mov rcx, qword [rsp + 0x58]
mov qword [rbp + rax + 0x30], rcx
mov qword [rbp + rax + 0x38], rsi
mov qword [rbp + rax + 0x40], rcx
movabs rcx, 0x8000000000000000
mov qword [rbp + rax + 0x48], rcx
mov qword [rbp + rax + 0x60], rdi
mov dword [rbp + rax + 0x68], 0
mov rbx, qword [rsp + 0x38]
inc rbx
mov qword [rsp + 0x38], rbx
inc r13
add r12, 0xfffffffffffffff8
je 0x1400a0cfa
mov qword [rsp + 0xc8], r13
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea rax, [0x140018f00]
mov qword [rsp + 0xd8], rax
lea rax, [0x1401d6cd0]
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
movzx eax, byte [0x140254141]
mov edx, 8
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x1400a0e77
mov qword [rsp + 0x40], 8
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
lea rdx, [0x1401b97c8]
lea r8, [rsp + 0x60]
call fcn.14000da30
test al, al
mov rdi, qword [rsp + 0x58]
jne 0x1400a0e77
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xe0], xmm0
mov esi, 1
mov r14d, 1
test r15, r15
je 0x1400a0c78
js 0x1400a0e77
movzx eax, byte [0x140254141]
xor ecx, ecx
mov rdx, r15
call fcn.14008bd10
mov r14, rax
test rax, rax
je 0x1400a0e77
mov rcx, r14
mov rdx, qword [rsp + 0xa0]
mov r8, r15
call sub.msvcrt.dll_memcpy
test rdi, rdi
je 0x1400a0cb3
js 0x1400a0e77
movzx eax, byte [0x140254141]
xor ecx, ecx
mov rdx, rdi
call fcn.14008bd10
mov rsi, rax
test rax, rax
je 0x1400a0e77
mov rcx, rsi
mov rdx, qword [rsp + 0x98]
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x90]
mov rdi, qword [rax + r13*8 - 8]
cmp rbx, qword [rsp + 0x28]
jne 0x1400a0b00
lea rcx, [rsp + 0x28]
mov rdx, rbx
call fcn.1400a14b0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
jmp 0x1400a0b00
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0xa8], 0
je 0x1400a0d39
mov r8, qword [rsp + 0xb0]
mov rcx, qword [0x1402540f8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rsp + 0x58], 0
movzx ebp, byte [rsp + 0x27]
mov r14, qword [rsp + 0xc0]
je 0x1400a0d64
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, qword [rsp + 0x98]
call sub.KERNEL32.dll_HeapFree
test r15, r15
je 0x1400a0d7f
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, qword [rsp + 0xa0]
call sub.KERNEL32.dll_HeapFree
lea rsi, [r14 + 0x70]
mov rdi, qword [r14 + 0x80]
test rdi, rdi
je 0x1400a0e1f
mov rbx, qword [r14 + 0x78]
add rbx, 0x50
jmp 0x1400a0da9
add rbx, 0x70
dec rdi
je 0x1400a0e1f
cmp qword [rbx - 0x50], 0
je 0x1400a0dc2
mov r8, qword [rbx - 0x48]
mov rcx, qword [0x1402540f8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
mov rax, qword [rbx - 8]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x1400a0deb
test rax, rax
je 0x1400a0deb
mov r8, qword [rbx]
mov rcx, qword [0x1402540f8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rbx - 0x38], 0
je 0x1400a0e04
mov r8, qword [rbx - 0x30]
mov rcx, qword [0x1402540f8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
cmp qword [rbx - 0x20], 0
je 0x1400a0da0
mov r8, qword [rbx - 0x18]
mov rcx, qword [0x1402540f8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x1400a0da0
cmp qword [rsi], 0
je 0x1400a0e37
mov r8, qword [r14 + 0x78]
mov rcx, qword [0x1402540f8]
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], bpl
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 1
jmp 0x1400a09bd
cmp r8, rax
jbe 0x1400a082a
ud2
mov r15d, 1
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call sub.msvcrt.dll_memcpy
cmp qword [rsp + 0x40], 0
jne 0x1400a0853
jmp 0x1400a0864