Function at 0x180110680
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, 0x158
cmp qword [rcx + 0x80], 0
jne 0x1801110b1
mov r12d, edx
mov rbx, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
lea rcx, [rsp + 0x120]
call sub.kernel32.dll_GetSystemInfo
movsx r15, word [rsp + 0x120]
mov eax, 0x80000000
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
cmp eax, 0x80000004
mov byte [rsp + 0x27], r12b
mov qword [rsp + 0xe0], rbx
jb 0x1801108cb
mov esi, eax
movzx eax, byte [0x180221a30]
mov rcx, qword [0x1802219b8]
test rcx, rcx
jne 0x18011072d
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180111131
mov rcx, rax
mov qword [0x1802219b8], rax
xor edi, edi
mov r8d, 0x50
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x180111131
mov r8, rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 5
mov qword [rsp + 0x38], 0
mov ebp, 0x80000000
mov r13d, 0x80000000
cmp ebp, esi
adc r13d, 0
xor ecx, ecx
mov eax, ebp
mov rbx, rbx
cpuid
xchg rbx, rbx
mov r15d, ecx
mov r14d, edx
mov r12d, eax
cmp rdi, qword [rsp + 0x30]
jne 0x1801107a9
lea rcx, [rsp + 0x28]
mov rdx, rdi
call fcn.180114ec0
mov r8, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
mov rax, rdi
shl rax, 4
inc rdi
mov dword [r8 + rax], r12d
mov dword [r8 + rax + 4], ebx
mov dword [r8 + rax + 8], r15d
mov dword [r8 + rax + 0xc], r14d
mov qword [rsp + 0x38], rdi
cmp ebp, esi
jae 0x1801107d7
mov ebp, r13d
cmp r13d, esi
jbe 0x180110770
movzx eax, byte [0x180221a30]
mov rcx, qword [0x1802219b8]
test rcx, rcx
jne 0x180110803
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180111142
mov rcx, rax
mov qword [0x1802219b8], rax
mov r8d, 0x30
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x180111142
mov rsi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], 0
mov r15, qword [rsp + 0x28]
cmp rdi, 3
jb 0x180110905
shl rdi, 4
add rdi, r15
mov edx, dword [r15 + 0x20]
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.180114e00
mov edx, dword [r15 + 0x24]
mov rcx, rsi
call fcn.180114e00
mov edx, dword [r15 + 0x28]
mov rcx, rsi
call fcn.180114e00
lea rbx, [r15 + 0x2c]
xor r14d, r14d
nop word [rax + rax]
mov edx, dword [rbx + r14]
mov rcx, rsi
call fcn.180114e00
cmp r14, 0x20
je 0x1801108d8
lea r12, [rbx + r14]
add r12, 4
cmp r12, rdi
je 0x1801108d8
mov edx, dword [r12]
mov rcx, rsi
call fcn.180114e00
mov edx, dword [r12 + 4]
mov rcx, rsi
call fcn.180114e00
mov edx, dword [r12 + 8]
mov rcx, rsi
call fcn.180114e00
add r14, 0x10
jmp 0x180110880
mov r13d, 1
xor edi, edi
jmp 0x180110970
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x180110905
xor r8d, r8d
movzx r12d, byte [rsp + 0x27]
cmp byte [rsi + r8], 0
je 0x1801110d0
inc r8
cmp rax, r8
jne 0x1801108f0
jmp 0x18011090d
xor eax, eax
movzx r12d, byte [rsp + 0x27]
mov r8, rax
lea rcx, [rsp + 0x80]
mov rdx, rsi
call fcn.180027bf0
cmp qword [rsp + 0x80], 0
je 0x180110bd1
mov r13d, 1
xor edi, edi
cmp qword [rsp + 0x50], 0
je 0x180110951
mov rcx, qword [0x1802219b8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x30], 0
je 0x18011096b
mov rcx, qword [0x1802219b8]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
mov r15, qword [rsp + 0x40]
xor eax, eax
xor ecx, ecx
mov rbp, rbx
cpuid
xchg rbx, rbp
mov esi, ecx
mov ebx, edx
movzx eax, byte [0x180221a30]
mov rcx, qword [0x1802219b8]
test rcx, rcx
jne 0x1801109ac
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180111120
mov rcx, rax
mov qword [0x1802219b8], rax
mov r8d, 0xc
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x180111120
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.180114e00
mov rcx, r14
mov edx, ebx
call fcn.180114e00
mov rcx, r14
mov edx, esi
call fcn.180114e00
mov rsi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x180110a2c
xor eax, eax
nop
cmp byte [rsi + rax], 0
je 0x180110a20
inc rax
cmp r8, rax
jne 0x180110a10
jmp 0x180110a2c
cmp rax, r8
mov r8, rax
ja 0x1801110d9
lea rcx, [rsp + 0x80]
mov rdx, rsi
call fcn.180027bf0
cmp qword [rsp + 0x80], 0
je 0x180110a87
cmp r15w, 0xe
ja 0x180110aea
lea rax, [0x18020ddf8]
mov rcx, r15
mov r15, qword [rax + r15*8]
lea rax, str.Intel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64
mov rbx, qword [rax + rcx*8]
movzx eax, byte [0x180221a30]
mov rcx, qword [0x1802219b8]
test rcx, rcx
jne 0x180110b23
jmp 0x180110b0a
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x90]
test r15, r15
je 0x1801110c5
js 0x1801110d9
movzx eax, byte [0x180221a30]
mov rcx, qword [0x1802219b8]
test rcx, rcx
jne 0x180110ad2
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180111102
mov rcx, rax
mov qword [0x1802219b8], rax
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x180110b3a
jmp 0x180111102
lea rbx, [0x1801e6fa6]
mov r15d, 7
movzx eax, byte [0x180221a30]
mov rcx, qword [0x1802219b8]
test rcx, rcx
jne 0x180110b23
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180111102
mov rcx, rax
mov qword [0x1802219b8], rax
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x180111102
mov r14, rax
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.180181ff0
cmp qword [rsp + 0x50], 0
je 0x180110b62
mov rcx, qword [0x1802219b8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [rsp + 0x140]
test r12b, r12b
je 0x180110b83
lea rcx, [rsp + 0xc8]
mov rdx, rsi
call fcn.180114f80
jmp 0x180110c5b
test rsi, rsi
je 0x180110c3e
lea rbx, [rsi*8]
mov rcx, qword [0x1802219b8]
test rcx, rcx
jne 0x180110bb9
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180111111
mov rcx, rax
mov qword [0x1802219b8], rax
mov edx, 8
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
jne 0x180110c43
jmp 0x180111111
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x1801110dd
js 0x1801110d9
movzx eax, byte [0x180221a30]
mov rcx, qword [0x1802219b8]
test rcx, rcx
jne 0x180110c18
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180110c2f
mov rcx, rax
mov qword [0x1802219b8], rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r13, rax
test rax, rax
jne 0x1801110e3
mov ecx, 1
mov rdx, rdi
call fcn.180183f50
ud2
mov eax, 8
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0x78], r13
inc rsi
imul rbx, rsi, 0x70
movzx eax, byte [0x180221a30]
mov rcx, qword [0x1802219b8]
test rcx, rcx
jne 0x180110c93
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180111111
mov rcx, rax
mov qword [0x1802219b8], rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x180111111
mov r13, rax
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0
mov r12, qword [rsp + 0xd8]
test r12, r12
je 0x180110f0a
mov rbx, qword [rsp + 0xc8]
shl r12, 3
mov esi, 1
xor ebp, ebp
jmp 0x180110d70
imul rax, rbp, 0x70
mov rcx, qword [rsp + 0xc0]
mov qword [r13 + rax + 0x40], rcx
movups xmm0, xmmword [rsp + 0x80]
movups xmm1, xmmword [rsp + 0x90]
movups xmm2, xmmword [rsp + 0xa0]
movups xmm3, xmmword [rsp + 0xb0]
movups xmmword [r13 + rax + 0x30], xmm3
movups xmmword [r13 + rax + 0x20], xmm2
movups xmmword [r13 + rax + 0x10], xmm1
movups xmmword [r13 + rax], xmm0
mov qword [r13 + rax + 0x48], 0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r13 + rax + 0x50], xmm0
mov qword [r13 + rax + 0x60], r14
mov dword [r13 + rax + 0x68], 0
inc rbp
mov qword [rsp + 0x38], rbp
inc rsi
add r12, 0xfffffffffffffff8
je 0x180110f0a
mov qword [rsp + 0xe8], rsi
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x110], rax
lea rax, [0x18002b950]
mov qword [rsp + 0x118], rax
lea rax, str.CPU
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x48]
call fcn.18001e780
mov r14d, 1
test r15, r15
je 0x180110e31
js 0x1801110d9
movzx eax, byte [0x180221a30]
mov rax, qword [0x1802219b8]
test rax, rax
jne 0x180110e17
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180111102
mov qword [0x1802219b8], rax
mov rcx, rax
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x180111102
mov rcx, r14
mov rdx, qword [rsp + 0x40]
mov r8, r15
call fcn.180181ff0
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xa8], r15
test rdi, rdi
je 0x180110eb0
js 0x1801110d9
movzx eax, byte [0x180221a30]
mov rax, qword [0x1802219b8]
test rax, rax
jne 0x180110e8d
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180110c2f
mov qword [0x1802219b8], rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x180110eb6
jmp 0x180110c2f
mov r14d, 1
mov rcx, r14
mov rdx, qword [rsp + 0x78]
mov r8, rdi
call fcn.180181ff0
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rdi
mov r14, qword [rbx + rsi*8 - 8]
cmp rbp, qword [rsp + 0x30]
jne 0x180110cf0
lea rcx, [rsp + 0x28]
mov rdx, rbp
call fcn.1801151a0
mov r13, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x38]
jmp 0x180110cf0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0xd0], 0
je 0x180110f53
mov r8, qword [rsp + 0xc8]
mov rcx, qword [0x1802219b8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x100], rax
mov r13, qword [rsp + 0xe0]
mov rsi, qword [r13 + 0x70]
mov rbx, qword [r13 + 0x80]
test rbx, rbx
je 0x18011101b
lea r14, [rsi + 0x50]
mov r12, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x180110fb9
add r14, 0x70
dec rbx
je 0x18011101b
cmp qword [r14 - 0x48], 0
je 0x180110fd0
mov r8, qword [r14 - 0x50]
mov rcx, qword [0x1802219b8]
xor edx, edx
call r12
mov r8, qword [r14 - 8]
test r8, r8
je 0x180110feb
cmp qword [r14], 0
je 0x180110feb
mov rcx, qword [0x1802219b8]
xor edx, edx
call r12
cmp qword [r14 - 0x30], 0
je 0x180111002
mov r8, qword [r14 - 0x38]
mov rcx, qword [0x1802219b8]
xor edx, edx
call r12
cmp qword [r14 - 0x18], 0
je 0x180110fb0
mov r8, qword [r14 - 0x20]
mov rcx, qword [0x1802219b8]
xor edx, edx
call r12
jmp 0x180110fb0
lea rbx, [r13 + 0x70]
cmp qword [r13 + 0x78], 0
je 0x180111038
mov rcx, qword [0x1802219b8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rsp + 0x100]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rbx], xmm0
cmp qword [r13 + 0x20], 0
movzx ebx, byte [rsp + 0x27]
mov rsi, qword [rsp + 0x40]
je 0x180111073
mov r8, qword [r13 + 0x18]
mov rcx, qword [0x1802219b8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov qword [r13 + 0x18], rsi
mov qword [r13 + 0x20], r15
mov qword [r13 + 0x28], r15
cmp qword [r13 + 0x38], 0
je 0x180111099
mov r8, qword [r13 + 0x30]
mov rcx, qword [0x1802219b8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rsp + 0x78]
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], rdi
mov qword [r13 + 0x40], rdi
mov byte [r13 + 0x88], bl
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 1
jmp 0x180110b3a
cmp r8, rax
jbe 0x180110910
ud2
mov r13d, 1
mov rcx, r13
mov rdx, rbx
mov r8, rdi
call fcn.180181ff0
cmp qword [rsp + 0x50], 0
jne 0x18011093f
jmp 0x180110951
mov ecx, 1
mov rdx, r15
call fcn.180183f50
ud2
mov ecx, 8
mov rdx, rbx
call fcn.180183f50
ud2
mov ecx, 1
mov edx, 0xc
call fcn.180183f50
ud2
mov ecx, 4
mov edx, 0x50
call fcn.180183f50
ud2
mov ecx, 1
mov edx, 0x30
call fcn.180183f50
ud2