Function at 0x140125510
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 0x140125789
lea rbx, [rsp + 0x80]
lea rbp, [rsp + 0x28]
lea r12, [rsp + 0x78]
lea r13, [rsp + 0x40]
mov rsi, r14
jmp 0x1401255e3
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 0x140125665
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.140129610
test al, al
jne 0x1401255d4
mov r9, qword [rsp + 0x78]
mov rcx, rbx
mov rdx, rbp
mov r8, rbp
call fcn.14011dc90
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 0x140125580
jne 0x140125bd1
add r9, 1
mov rcx, r9
call fcn.140120610
mov rcx, r13
mov rdx, rax
call fcn.140122b30
mov r9, qword [rsp + 0x50]
jmp 0x140125580
mov rax, qword [rsp + 0x50]
cmp rax, 2
jb 0x140125789
mov rcx, qword [rsp + 0x40]
mov r8d, 1
jmp 0x14012569d
add r8, 1
cmp r8, rax
je 0x14012577f
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 0x140125690
mov qword [rcx + rdx*8], rbx
mov qword [rcx + rdi*8], rbp
mov rdx, rdi
cmp rsi, 1
ja 0x1401256b0
jmp 0x140125690
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 0x140125730
lea rbx, [rdx + rdx]
add rbx, 2
cmp rbx, rax
jb 0x14012574d
cmp rbp, rdx
jne 0x140125767
jmp 0x14012577f
mov rbp, qword [rcx + rdx*8]
cmp rbp, qword [rcx + rbx*8]
jb 0x14012573d
mov rbx, rdx
mov rbp, rbx
lea rbx, [rdx + rdx]
add rbx, 2
cmp rbx, rax
jae 0x14012571a
lea rdi, [rdx + rdx]
mov rsi, qword [rcx + rbp*8]
cmp rsi, qword [rcx + rdi*8 + 0x10]
jb 0x14012575f
mov rbx, rbp
mov rbp, rbx
cmp rbp, rdx
je 0x14012577f
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 0x140125700
add rax, 0xffffffffffffffff
jne 0x1401256e0
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 0x1401257c0
mov eax, ebx
or al, 0x80
xor esi, esi
cmp rdi, 0xffffffffffffffff
jne 0x1401257c8
mov ebp, ebx
and ebp, 0x40
test rbp, rbp
je 0x1401257c8
and bl, 0x7f
mov sil, 1
mov eax, ebx
cmp rcx, rdx
je 0x140125ba4
mov byte [rcx], al
add rcx, 1
mov rbx, rdi
test sil, sil
je 0x1401257a0
mov qword [r15], rcx
mov qword [r15 + 0x10], r8
mov rax, qword [rsp + 0x50]
xor r12d, r12d
test rax, rax
je 0x1401258ff
lea rsi, [rsp + 0x80]
lea r13, [rsp + 0x28]
nop word cs:[rax + rax]
nop
cmp rax, r12
jbe 0x140125b84
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.140129610
mov ecx, eax
mov rax, qword [rsp + 0x78]
test cl, cl
jne 0x14012586a
mov rcx, rsi
mov rdx, r13
mov r8, r13
mov r9, rax
call fcn.14011dc90
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 0x140125b84
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 0x1401258c0
mov eax, ebp
or al, 0x80
xor edi, edi
cmp rbx, 0xffffffffffffffff
jne 0x1401258c9
mov esi, ebp
and esi, 0x40
test rsi, rsi
je 0x1401258c9
and bpl, 0x7f
mov dil, 1
mov eax, ebp
cmp rcx, rdx
je 0x1401258fa
mov byte [rcx], al
add rcx, 1
mov rbp, rbx
test dil, dil
je 0x1401258a0
mov qword [r15], rcx
mov qword [r15 + 0x10], r8
add r12, 1
mov rax, qword [rsp + 0x50]
cmp r12, rax
mov rsi, r9
jne 0x140125810
jmp 0x1401258ff
mov rcx, rdx
jmp 0x1401258dc
mov r9d, dword [rsp + 0x88]
cmp r12, r9
jne 0x140125bb4
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.1400e37c0
cmp r14, qword [rsp + 0x38]
je 0x140125b06
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.140129610
test al, al
je 0x14012596d
mov rax, qword [rsp + 0x28]
mov esi, dword [rax + 0x10]
add r14, 8
cmp r14, qword [rsp + 0x38]
jne 0x140125981
jmp 0x140125a9f
xor eax, eax
mov esi, dword [rax + 0x10]
add r14, 8
cmp r14, qword [rsp + 0x38]
je 0x140125a9f
lea r13, [rsp + 0x80]
lea r12, [rsp + 0x40]
lea rbx, [rsp + 0x28]
jmp 0x1401259b3
mov esi, dword [r9 + 0x10]
add r14, 8
cmp r14, qword [rsp + 0x38]
je 0x140125a9f
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.140129610
mov r9, qword [rsp + 0x28]
test al, al
jne 0x1401259a0
mov rcx, r13
mov rdx, r12
mov r8, r12
call fcn.14011dc90
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 0x140125a31
mov ebx, esi
or bl, 0x80
xor edi, edi
cmp rax, 0xffffffffffffffff
jne 0x140125a3a
mov ebp, esi
and ebp, 0x40
test rbp, rbp
je 0x140125a3a
and sil, 0x7f
mov dil, 1
mov ebx, esi
cmp rcx, rdx
je 0x140125a9a
mov byte [rcx], bl
add rcx, 1
mov rsi, rax
test dil, dil
je 0x140125a10
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.140129610
test al, al
je 0x140125a90
mov rax, qword [rsp + 0x28]
mov esi, dword [rax + 0x10]
jmp 0x1401259a4
xor eax, eax
mov esi, dword [rax + 0x10]
jmp 0x1401259a4
mov rcx, rdx
jmp 0x140125a4d
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 0x140125ae0
mov eax, ebx
or al, 0x80
xor edi, edi
cmp rsi, 0xffffffffffffffff
jne 0x140125ae8
mov ebp, ebx
and ebp, 0x40
test rbp, rbp
je 0x140125ae8
and bl, 0x7f
mov dil, 1
mov eax, ebx
cmp rcx, rdx
je 0x140125bac
mov byte [rcx], al
add rcx, 1
mov rbx, rsi
test dil, dil
je 0x140125ac0
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 [0x140e17de8]
test rdx, rdx
jne 0x140125b55
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x44]
mov qword [0x140e17de8], rdx
shl rdi, 3
lea rcx, [rdi + rdi*2]
call fcn.140125e20
mov rcx, rsi
mov rdx, rax
call fcn.1400e37c0
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.1400ca810
mov rcx, rdx
jmp 0x1401257df
mov rcx, rdx
jmp 0x140125aff
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.1400ca810
mov qword [rsp + 0x20], rax
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__size_______capacity____
mov edx, 0x213
call fcn.1400ca810
int3