Function at 0x5019e0
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 0x501bc9
lea rbx, [rsp + 0x80]
lea rbp, [rsp + 0x28]
lea r12, [rsp + 0x78]
lea r13, [rsp + 0x40]
mov rsi, r14
jmp 0x501a5b
add rsi, 8
cmp rsi, qword [rsp + 0x38]
je 0x501aac
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.00505a40
test al, al
jne 0x501a50
mov r9, qword [rsp + 0x78]
mov rcx, rbx
mov rdx, rbp
mov r8, rbp
call fcn.004f9910
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], 0
mov rcx, r13
mov rdx, rsi
call fcn.004ff2c0
jmp 0x501a50
mov rax, qword [rsp + 0x50]
cmp rax, 2
jb 0x501bc9
mov rcx, qword [rsp + 0x40]
mov r8d, 1
jmp 0x501add
add r8, 1
cmp r8, rax
je 0x501bbf
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 0x501ad0
mov qword [rcx + rdx*8], rbx
mov qword [rcx + rdi*8], rbp
mov rdx, rdi
cmp rsi, 1
ja 0x501af0
jmp 0x501ad0
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 0x501b70
lea rbx, [rdx + rdx]
add rbx, 2
cmp rbx, rax
jb 0x501b8d
cmp rbp, rdx
jne 0x501ba7
jmp 0x501bbf
mov rbp, qword [rcx + rdx*8]
cmp rbp, qword [rcx + rbx*8]
jb 0x501b7d
mov rbx, rdx
mov rbp, rbx
lea rbx, [rdx + rdx]
add rbx, 2
cmp rbx, rax
jae 0x501b5a
lea rdi, [rdx + rdx]
mov rsi, qword [rcx + rbp*8]
cmp rsi, qword [rcx + rdi*8 + 0x10]
jb 0x501b9f
mov rbx, rbp
mov rbp, rbx
cmp rbp, rdx
je 0x501bbf
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 0x501b40
add rax, 0xffffffffffffffff
jne 0x501b20
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 0x501c00
mov eax, ebx
or al, 0x80
xor esi, esi
cmp rdi, 0xffffffffffffffff
jne 0x501c08
mov ebp, ebx
and ebp, 0x40
test rbp, rbp
je 0x501c08
and bl, 0x7f
mov sil, 1
mov eax, ebx
cmp rcx, rdx
je 0x501fe4
mov byte [rcx], al
add rcx, 1
mov rbx, rdi
test sil, sil
je 0x501be0
mov qword [r15], rcx
mov qword [r15 + 0x10], r8
mov rax, qword [rsp + 0x50]
xor r12d, r12d
test rax, rax
je 0x501d3f
lea rsi, [rsp + 0x80]
lea r13, [rsp + 0x28]
nop word cs:[rax + rax]
nop
cmp rax, r12
jbe 0x501fc4
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.00505a40
mov ecx, eax
mov rax, qword [rsp + 0x78]
test cl, cl
jne 0x501caa
mov rcx, rsi
mov rdx, r13
mov r8, r13
mov r9, rax
call fcn.004f9910
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 0x501fc4
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 0x501d00
mov eax, ebp
or al, 0x80
xor edi, edi
cmp rbx, 0xffffffffffffffff
jne 0x501d09
mov esi, ebp
and esi, 0x40
test rsi, rsi
je 0x501d09
and bpl, 0x7f
mov dil, 1
mov eax, ebp
cmp rcx, rdx
je 0x501d3a
mov byte [rcx], al
add rcx, 1
mov rbp, rbx
test dil, dil
je 0x501ce0
mov qword [r15], rcx
mov qword [r15 + 0x10], r8
add r12, 1
mov rax, qword [rsp + 0x50]
cmp r12, rax
mov rsi, r9
jne 0x501c50
jmp 0x501d3f
mov rcx, rdx
jmp 0x501d1c
mov r9d, dword [rsp + 0x88]
cmp r12, r9
jne 0x501ff4
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.004ced60
cmp r14, qword [rsp + 0x38]
je 0x501f46
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.00505a40
test al, al
je 0x501dad
mov rax, qword [rsp + 0x28]
mov esi, dword [rax + 0x10]
add r14, 8
cmp r14, qword [rsp + 0x38]
jne 0x501dc1
jmp 0x501edf
xor eax, eax
mov esi, dword [rax + 0x10]
add r14, 8
cmp r14, qword [rsp + 0x38]
je 0x501edf
lea r13, [rsp + 0x80]
lea r12, [rsp + 0x40]
lea rbx, [rsp + 0x28]
jmp 0x501df3
mov esi, dword [r9 + 0x10]
add r14, 8
cmp r14, qword [rsp + 0x38]
je 0x501edf
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.00505a40
mov r9, qword [rsp + 0x28]
test al, al
jne 0x501de0
mov rcx, r13
mov rdx, r12
mov r8, r12
call fcn.004f9910
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 0x501e71
mov ebx, esi
or bl, 0x80
xor edi, edi
cmp rax, 0xffffffffffffffff
jne 0x501e7a
mov ebp, esi
and ebp, 0x40
test rbp, rbp
je 0x501e7a
and sil, 0x7f
mov dil, 1
mov ebx, esi
cmp rcx, rdx
je 0x501eda
mov byte [rcx], bl
add rcx, 1
mov rsi, rax
test dil, dil
je 0x501e50
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.00505a40
test al, al
je 0x501ed0
mov rax, qword [rsp + 0x28]
mov esi, dword [rax + 0x10]
jmp 0x501de4
xor eax, eax
mov esi, dword [rax + 0x10]
jmp 0x501de4
mov rcx, rdx
jmp 0x501e8d
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 0x501f20
mov eax, ebx
or al, 0x80
xor edi, edi
cmp rsi, 0xffffffffffffffff
jne 0x501f28
mov ebp, ebx
and ebp, 0x40
test rbp, rbp
je 0x501f28
and bl, 0x7f
mov dil, 1
mov eax, ebx
cmp rcx, rdx
je 0x501fec
mov byte [rcx], al
add rcx, 1
mov rbx, rsi
test dil, dil
je 0x501f00
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 [0x01170498]
test rdx, rdx
jne 0x501f95
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rsp + 0x44]
mov qword [0x01170498], rdx
shl rdi, 3
lea rcx, [rdi + rdi*2]
call fcn.00502250
mov rcx, rsi
mov rdx, rax
call fcn.004ced60
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, 0x1ff
mov r9, r12
call fcn.004b9330
mov rcx, rdx
jmp 0x501c1f
mov rcx, rdx
jmp 0x501f3f
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.004b9330
int3