Function at 0x14003dbe0
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, 0x198
cmp qword [rcx + 0x10], 0
jne 0x14003e48f
mov edi, edx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x170], xmm0
movaps xmmword [rsp + 0x160], xmm0
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r13d, word [rsp + 0x160]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], dil
mov qword [rsp + 0x140], rsi
jb 0x14003ddf7
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
movzx eax, byte [0x141d019e8]
xor r13d, r13d
mov edx, 0x50
xor ecx, ecx
call fcn.14003c8f0
test rax, rax
je 0x14003e4d1
mov r8, rax
mov qword [rsp + 0xb0], 5
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 0
mov ebx, 0x80000000
mov r12d, 0xc
mov edi, 0x80000000
mov r9d, dword [rsp + 0x30]
nop dword [rax]
cmp ebx, r9d
adc edi, 0
mov eax, ebx
xor ecx, ecx
mov rsi, rbx
cpuid
xchg rbx, rsi
mov ebp, ecx
mov r14d, edx
mov r15d, eax
cmp r13, qword [rsp + 0xb0]
jne 0x14003dcfe
lea rcx, [rsp + 0xb0]
call fcn.140042590
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0xb8]
inc r13
mov dword [r8 + r12 - 0xc], r15d
mov dword [r8 + r12 - 8], esi
mov dword [r8 + r12 - 4], ebp
mov dword [r8 + r12], r14d
mov qword [rsp + 0xc0], r13
cmp ebx, r9d
jae 0x14003dd2c
add r12, 0x10
mov ebx, edi
cmp edi, r9d
jbe 0x14003dcc0
movzx eax, byte [0x141d019e8]
mov edx, 0x30
xor ecx, ecx
call fcn.14003c8f0
test rax, rax
je 0x14003e4d1
mov rsi, rax
mov qword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
mov r15, qword [rsp + 0xb8]
cmp r13, 3
jb 0x14003de45
shl r13, 4
add r13, r15
mov edx, dword [r15 + 0x20]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.1400424e0
mov edx, dword [r15 + 0x24]
mov rcx, rsi
call fcn.1400424e0
mov edx, dword [r15 + 0x28]
mov rcx, rsi
call fcn.1400424e0
lea rdi, [r15 + 0x2c]
xor ebx, ebx
nop word [rax + rax]
mov edx, dword [rdi + rbx]
mov rcx, rsi
call fcn.1400424e0
cmp rbx, 0x20
je 0x14003de0b
lea r14, [rdi + rbx]
add r14, 4
cmp r14, r13
je 0x14003de0b
mov edx, dword [r14]
mov rcx, rsi
call fcn.1400424e0
mov edx, dword [r14 + 4]
mov rcx, rsi
call fcn.1400424e0
mov edx, dword [r14 + 8]
mov rcx, rsi
call fcn.1400424e0
add rbx, 0x10
jmp 0x14003ddb0
mov r12d, 1
mov qword [rsp + 0x30], 0
jmp 0x14003deb7
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14003de45
xor r8d, r8d
movzx edi, byte [rsp + 0x27]
mov r13, qword [rsp + 0x28]
nop word [rax + rax]
cmp byte [rsi + r8], 0
je 0x14003e4c8
inc r8
cmp rax, r8
jne 0x14003de30
jmp 0x14003de51
xor eax, eax
movzx edi, byte [rsp + 0x27]
mov r13, qword [rsp + 0x28]
mov r8, rax
lea rcx, [rsp + 0xf8]
mov rdx, rsi
call fcn.14001ba40
test byte [rsp + 0xf8], 1
je 0x14003dfcf
mov r12d, 1
xor r14d, r14d
cmp qword [rsp + 0x60], 0
je 0x14003de95
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0xb0], 0
je 0x14003deb2
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, r15
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0x30], r14
xor ecx, ecx
xor eax, eax
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x141d019e8]
mov edx, 0xc
xor ecx, ecx
call fcn.14003c8f0
test rax, rax
je 0x14003e4d1
mov qword [rsp + 0x60], 0xc
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
lea r14, [rsp + 0x60]
mov rcx, r14
mov edx, ebp
call fcn.1400424e0
mov rcx, r14
mov edx, ebx
call fcn.1400424e0
mov rcx, r14
mov edx, esi
call fcn.1400424e0
mov rsi, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x14003df4c
xor eax, eax
nop
cmp byte [rsi + rax], 0
je 0x14003df40
inc rax
cmp r8, rax
jne 0x14003df30
jmp 0x14003df4c
cmp rax, r8
mov r8, rax
ja 0x14003e4d1
lea rcx, [rsp + 0xf8]
mov rdx, rsi
call fcn.14001ba40
test byte [rsp + 0xf8], 1
je 0x14003df92
cmp r13w, 0xe
ja 0x14003e013
shl r13d, 3
lea rax, [0x141cf43c0]
mov r15, qword [r13 + rax]
lea rax, [0x141cf4438]
mov rbx, qword [r13 + rax]
jmp 0x14003e020
mov r15, qword [rsp + 0x108]
test r15, r15
js 0x14003e4d1
mov rbx, qword [rsp + 0x100]
je 0x14003e044
movzx eax, byte [0x141d019e8]
xor ecx, ecx
mov rdx, r15
call fcn.14003c8f0
mov rcx, rax
test rax, rax
jne 0x14003e049
jmp 0x14003e4d1
mov rax, qword [rsp + 0x108]
test rax, rax
js 0x14003e4d1
mov r14, rax
mov rbx, qword [rsp + 0x100]
je 0x14003e4a3
movzx eax, byte [0x141d019e8]
xor ecx, ecx
mov rdx, r14
call fcn.14003c8f0
mov r12, rax
test rax, rax
jne 0x14003e4a9
jmp 0x14003e4d1
lea rbx, [0x141cf4157]
mov r15d, 7
movzx eax, byte [0x141d019e8]
xor ecx, ecx
mov rdx, r15
call fcn.14003c8f0
test rax, rax
je 0x14003e4d1
mov qword [rsp + 0x28], rax
mov rcx, rax
jmp 0x14003e04e
mov ecx, 1
mov qword [rsp + 0x28], rcx
mov rdx, rbx
mov r8, r15
call fcn.140048510
cmp qword [rsp + 0x60], 0
je 0x14003e073
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [rsp + 0x180]
test dil, dil
je 0x14003e091
lea rcx, [rsp + 0xe0]
mov rdx, rsi
call fcn.140042640
jmp 0x14003e0d6
test rsi, rsi
je 0x14003e0b9
lea rdx, [rsi*8]
movzx eax, byte [0x141d019e8]
mov ecx, 8
call fcn.14003c8f0
test rax, rax
jne 0x14003e0be
jmp 0x14003e4d1
mov eax, 8
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0x40], r12
inc rsi
imul rdx, rsi, 0x70
movzx eax, byte [0x141d019e8]
xor ecx, ecx
call fcn.14003c8f0
test rax, rax
je 0x14003e4d1
mov rbp, rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
mov rsi, qword [rsp + 0xf0]
test rsi, rsi
je 0x14003e356
shl rsi, 3
mov r12d, 0xd
xor r13d, r13d
jmp 0x14003e1b2
mov rax, qword [rsp + 0xa0]
mov qword [rbp + r12*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 [rbp + r12*8 - 0x38], xmm3
movups xmmword [rbp + r12*8 - 0x48], xmm2
movups xmmword [rbp + r12*8 - 0x58], xmm1
movups xmmword [rbp + r12*8 - 0x68], xmm0
movabs rax, 0x8000000000000000
mov qword [rbp + r12*8 - 0x20], rax
mov dword [rbp + r12*8 - 8], 0
mov qword [rbp + r12*8], rbx
mov qword [rsp + 0x58], rdi
add r12, 0xe
mov r13, rdi
add rsi, 0xfffffffffffffff8
je 0x14003e356
lea rdi, [r13 + 1]
mov qword [rsp + 0x148], rdi
lea rax, [rsp + 0x148]
mov qword [rsp + 0x150], rax
lea rax, [0x14001b920]
mov qword [rsp + 0x158], rax
lea rax, [0x141cf4170]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 1
mov qword [rsp + 0xd0], 0
lea rax, [rsp + 0x150]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 1
lea rcx, [rsp + 0xf8]
lea rdx, [rsp + 0xb0]
call fcn.140011250
mov r14d, 1
mov ebx, 1
test r15, r15
je 0x14003e262
movzx eax, byte [0x141d019e8]
xor ecx, ecx
mov rdx, r15
call fcn.14003c8f0
test rax, rax
je 0x14003e4d1
mov rbx, rax
mov rcx, rbx
mov rdx, qword [rsp + 0x28]
mov r8, r15
call fcn.140048510
mov qword [rsp + 0x110], r15
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], r15
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14003e2b1
movzx eax, byte [0x141d019e8]
xor ecx, ecx
mov rdx, rbx
call fcn.14003c8f0
test rax, rax
je 0x14003e4d1
mov r14, rax
mov rcx, r14
mov rdx, qword [rsp + 0x40]
mov r8, rbx
call fcn.140048510
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], r14
mov qword [rsp + 0x138], rbx
mov rcx, rbx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + r13*8]
movups xmm0, xmmword [rsp + 0xf8]
movups xmm1, xmmword [rsp + 0x108]
movups xmm2, xmmword [rsp + 0x118]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x80], xmm2
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rcx
cmp r13, qword [rsp + 0x48]
jne 0x14003e140
lea rcx, [rsp + 0x48]
call fcn.140042830
mov rbp, qword [rsp + 0x50]
jmp 0x14003e140
cmp qword [rsp + 0xe0], 0
je 0x14003e375
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x30], 0
mov r12, qword [rsp + 0x140]
je 0x14003e399
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r15, r15
je 0x14003e3b2
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [r12 + 8]
mov rdi, qword [r12 + 0x10]
test rdi, rdi
je 0x14003e458
lea rbx, [rsi + 0x50]
mov r14, qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14003e3e9
add rbx, 0x70
dec rdi
je 0x14003e458
cmp qword [rbx - 0x50], 0
je 0x14003e400
mov r8, qword [rbx - 0x48]
mov rcx, qword [0x141d019d0]
xor edx, edx
call r14
cmp qword [rbx - 0x38], 0
je 0x14003e417
mov r8, qword [rbx - 0x30]
mov rcx, qword [0x141d019d0]
xor edx, edx
call r14
mov rax, qword [rbx - 8]
shl rax, 1
test rax, rax
jne 0x14003e430
cmp qword [rbx - 0x20], 0
jne 0x14003e446
jmp 0x14003e3e0
mov r8, qword [rbx]
mov rcx, qword [0x141d019d0]
xor edx, edx
call r14
cmp qword [rbx - 0x20], 0
je 0x14003e3e0
mov r8, qword [rbx - 0x18]
mov rcx, qword [0x141d019d0]
xor edx, edx
call r14
jmp 0x14003e3e0
cmp qword [r12], 0
je 0x14003e471
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x58]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r12], xmm0
movzx eax, byte [rsp + 0x27]
mov byte [r12 + 0x38], al
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12d, 1
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.140048510
cmp qword [rsp + 0x60], 0
jne 0x14003de83
jmp 0x14003de95
cmp r8, rax
jbe 0x14003de54
ud2