Function at 0x14012d830
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, 0xa8
mov r15, r9
mov r14, rdx
mov qword [rsp + 0xa0], rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x90], 0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x38], r8
cmp rdx, r8
je 0x14012daa9
lea rbx, [rsp + 0x80]
lea rbp, [rsp + 0x28]
lea r12, [rsp + 0x78]
lea r13, [rsp + 0x40]
mov rsi, r14
jmp 0x14012d903
mov rax, qword [rsp + 0x40]
lea rcx, [r9 + 1]
mov qword [rsp + 0x50], rcx
movzx ecx, byte [rsi]
mov byte [rax + r9*8], cl
movzx ecx, byte [rsi + 1]
mov byte [rax + r9*8 + 1], cl
movzx ecx, byte [rsi + 2]
mov byte [rax + r9*8 + 2], cl
movzx ecx, byte [rsi + 3]
mov byte [rax + r9*8 + 3], cl
movzx ecx, byte [rsi + 4]
mov byte [rax + r9*8 + 4], cl
movzx ecx, byte [rsi + 5]
mov byte [rax + r9*8 + 5], cl
movzx ecx, byte [rsi + 6]
mov byte [rax + r9*8 + 6], cl
movzx ecx, byte [rsi + 7]
mov byte [rax + r9*8 + 7], cl
add rsi, 8
cmp rsi, qword [rsp + 0x38]
je 0x14012d985
mov dword [rsp + 0x28], 0xfffffffd
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov rcx, rbx
mov rdx, rbp
mov r8, r12
call fcn.140131930
test al, al
jne 0x14012d8f4
mov r9, qword [rsp + 0x78]
mov rcx, rbx
mov rdx, rbp
mov r8, rbp
call fcn.140125fb0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
shr rax, 3
cmp r9, rax
jb 0x14012d8a0
jne 0x14012def1
add r9, 1
mov rcx, r9
call fcn.140128930
mov rcx, r13
mov rdx, rax
call fcn.14012ae50
mov r9, qword [rsp + 0x50]
jmp 0x14012d8a0
mov rax, qword [rsp + 0x50]
cmp rax, 2
jb 0x14012daa9
mov rcx, qword [rsp + 0x40]
mov r8d, 1
jmp 0x14012d9bd
add r8, 1
cmp r8, rax
je 0x14012da9f
mov rbp, qword [rcx + r8*8]
mov rdx, r8
nop word cs:[rax + rax]
nop
lea rsi, [rdx - 1]
mov rdi, rsi
shr rdi, 1
mov rbx, qword [rcx + rdi*8]
cmp rbx, rbp
jae 0x14012d9b0
mov qword [rcx + rdx*8], rbx
mov qword [rcx + rdi*8], rbp
mov rdx, rdi
cmp rsi, 1
ja 0x14012d9d0
jmp 0x14012d9b0
mov rdx, qword [rcx]
mov rbp, qword [rcx + rax*8]
mov qword [rcx], rbp
mov qword [rcx + rax*8], rdx
xor edx, edx
mov rbp, rdx
nop word cs:[rax + rax]
nop dword [rax]
lea rbx, [rdx + rdx]
add rbx, 1
cmp rbx, rax
jb 0x14012da50
lea rbx, [rdx + rdx]
add rbx, 2
cmp rbx, rax
jb 0x14012da6d
cmp rbp, rdx
jne 0x14012da87
jmp 0x14012da9f
mov rbp, qword [rcx + rdx*8]
cmp rbp, qword [rcx + rbx*8]
jb 0x14012da5d
mov rbx, rdx
mov rbp, rbx
lea rbx, [rdx + rdx]
add rbx, 2
cmp rbx, rax
jae 0x14012da3a
lea rdi, [rdx + rdx]
mov rsi, qword [rcx + rbp*8]
cmp rsi, qword [rcx + rdi*8 + 0x10]
jb 0x14012da7f
mov rbx, rbp
mov rbp, rbx
cmp rbp, rdx
je 0x14012da9f
mov rbx, qword [rcx + rdx*8]
mov rdi, qword [rcx + rbp*8]
mov qword [rcx + rdx*8], rdi
mov qword [rcx + rbp*8], rbx
mov rdx, rbp
cmp rbp, rax
jb 0x14012da20
add rax, 0xffffffffffffffff
jne 0x14012da00
mov r8, qword [rsp + 0x50]
mov rbx, r8
sub rbx, qword [r15 + 0x10]
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
mov rdi, rbx
nop
sar rdi, 7
cmp rbx, 0x40
jb 0x14012dae0
mov eax, ebx
or al, 0x80
xor esi, esi
cmp rdi, 0xffffffffffffffff
jne 0x14012dae8
mov ebp, ebx
and ebp, 0x40
test rbp, rbp
je 0x14012dae8
and bl, 0x7f
mov sil, 1
mov eax, ebx
cmp rcx, rdx
je 0x14012dec4
mov byte [rcx], al
add rcx, 1
mov rbx, rdi
test sil, sil
je 0x14012dac0
mov qword [r15], rcx
mov qword [r15 + 0x10], r8
mov rax, qword [rsp + 0x50]
xor r12d, r12d
test rax, rax
je 0x14012dc1f
lea rsi, [rsp + 0x80]
lea r13, [rsp + 0x28]
nop word cs:[rax + rax]
nop
cmp rax, r12
jbe 0x14012dea4
mov rax, qword [rsp + 0x40]
mov dword [rsp + 0x28], 0xfffffffd
mov rax, qword [rax + r12*8]
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov rdx, r13
lea r8, [rsp + 0x78]
call fcn.140131930
mov ecx, eax
mov rax, qword [rsp + 0x78]
test cl, cl
jne 0x14012db8a
mov rcx, rsi
mov rdx, r13
mov r8, r13
mov r9, rax
call fcn.140125fb0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], 0
mov dword [rax + 0x10], r12d
mov rax, qword [rsp + 0x50]
cmp rax, r12
jbe 0x14012dea4
mov r9, rsi
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + r12*8]
mov rbp, r8
sub rbp, qword [r15 + 0x10]
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
mov rbx, rbp
nop dword [rax]
sar rbx, 7
cmp rbp, 0x40
jb 0x14012dbe0
mov eax, ebp
or al, 0x80
xor edi, edi
cmp rbx, 0xffffffffffffffff
jne 0x14012dbe9
mov esi, ebp
and esi, 0x40
test rsi, rsi
je 0x14012dbe9
and bpl, 0x7f
mov dil, 1
mov eax, ebp
cmp rcx, rdx
je 0x14012dc1a
mov byte [rcx], al
add rcx, 1
mov rbp, rbx
test dil, dil
je 0x14012dbc0
mov qword [r15], rcx
mov qword [r15 + 0x10], r8
add r12, 1
mov rax, qword [rsp + 0x50]
cmp r12, rax
mov rsi, r9
jne 0x14012db30
jmp 0x14012dc1f
mov rcx, rdx
jmp 0x14012dbfc
mov r9d, dword [rsp + 0x88]
cmp r12, r9
jne 0x14012ded4
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.1400ebae0
cmp r14, qword [rsp + 0x38]
je 0x14012de26
mov dword [rsp + 0x40], 0xfffffffd
mov rax, qword [r14]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x28]
call fcn.140131930
test al, al
je 0x14012dc8d
mov rax, qword [rsp + 0x28]
mov esi, dword [rax + 0x10]
add r14, 8
cmp r14, qword [rsp + 0x38]
jne 0x14012dca1
jmp 0x14012ddbf
xor eax, eax
mov esi, dword [rax + 0x10]
add r14, 8
cmp r14, qword [rsp + 0x38]
je 0x14012ddbf
lea r13, [rsp + 0x80]
lea r12, [rsp + 0x40]
lea rbx, [rsp + 0x28]
jmp 0x14012dcd3
mov esi, dword [r9 + 0x10]
add r14, 8
cmp r14, qword [rsp + 0x38]
je 0x14012ddbf
mov dword [rsp + 0x40], esi
mov rax, qword [r14]
mov qword [rsp + 0x48], rax
mov edi, dword [rsp + 0x88]
mov rcx, r13
mov rdx, r12
mov r8, rbx
call fcn.140131930
mov r9, qword [rsp + 0x28]
test al, al
jne 0x14012dcc0
mov rcx, r13
mov rdx, r12
mov r8, r12
call fcn.140125fb0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], edi
mov r8d, esi
mov rsi, r8
sub rsi, qword [r15 + 0x10]
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
mov rax, rsi
nop word [rax + rax]
sar rax, 7
cmp rsi, 0x40
jb 0x14012dd51
mov ebx, esi
or bl, 0x80
xor edi, edi
cmp rax, 0xffffffffffffffff
jne 0x14012dd5a
mov ebp, esi
and ebp, 0x40
test rbp, rbp
je 0x14012dd5a
and sil, 0x7f
mov dil, 1
mov ebx, esi
cmp rcx, rdx
je 0x14012ddba
mov byte [rcx], bl
add rcx, 1
mov rsi, rax
test dil, dil
je 0x14012dd30
mov qword [r15], rcx
mov qword [r15 + 0x10], r8
mov dword [rsp + 0x40], 0xfffffffd
mov rax, qword [r14]
mov qword [rsp + 0x48], rax
mov rcx, r13
mov rdx, r12
lea rbx, [rsp + 0x28]
mov r8, rbx
call fcn.140131930
test al, al
je 0x14012ddb0
mov rax, qword [rsp + 0x28]
mov esi, dword [rax + 0x10]
jmp 0x14012dcc4
xor eax, eax
mov esi, dword [rax + 0x10]
jmp 0x14012dcc4
mov rcx, rdx
jmp 0x14012dd6d
mov r8d, esi
mov rbx, r8
sub rbx, qword [r15 + 0x10]
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
mov rsi, rbx
nop word cs:[rax + rax]
nop dword [rax]
sar rsi, 7
cmp rbx, 0x40
jb 0x14012de00
mov eax, ebx
or al, 0x80
xor edi, edi
cmp rsi, 0xffffffffffffffff
jne 0x14012de08
mov ebp, ebx
and ebp, 0x40
test rbp, rbp
je 0x14012de08
and bl, 0x7f
mov dil, 1
mov eax, ebx
cmp rcx, rdx
je 0x14012decc
mov byte [rcx], al
add rcx, 1
mov rbx, rsi
test dil, dil
je 0x14012dde0
mov qword [r15], rcx
mov qword [r15 + 0x10], r8
mov rax, qword [r15 + 0x10]
mov rbx, qword [rsp + 0xa0]
mov qword [rbx + 0x10], rax
mov rax, qword [r15]
mov qword [rbx], rax
mov rax, qword [r15 + 8]
mov qword [rbx + 8], rax
mov rsi, qword [rsp + 0x80]
mov edi, dword [rsp + 0x90]
mov rdx, qword [0x140db1fa8]
test rdx, rdx
jne 0x14012de75
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x44]
mov qword [0x140db1fa8], rdx
shl rdi, 3
lea rcx, [rdi + rdi*2]
call fcn.14012e140
mov rcx, rsi
mov rdx, rax
call fcn.1400ebae0
mov rax, rbx
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], rax
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__i_______size___
mov edx, 0x20a
mov r9, r12
call fcn.1400d2b30
mov rcx, rdx
jmp 0x14012daff
mov rcx, rdx
jmp 0x14012de1f
mov qword [rsp + 0x20], r12
lea rcx, str....._sanitizer_common_sanitizer_lzw.h
lea r8, str.__prefix_to_code.size________dict_len1.size____
mov edx, 0x36
call fcn.1400d2b30
mov qword [rsp + 0x20], rax
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size_______capacity____
mov edx, 0x213
call fcn.1400d2b30
int3