Function at 0x1400467c0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140064010]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x70], r9
mov rdi, r8
mov qword [rbp - 0x80], r8
mov r12, rcx
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x70], r8
mov r13, qword [rbp + 0x110]
mov qword [rbp - 0x68], r13
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rbx
lea r8d, [rbx + 0xc]
lea rdx, str.ANSI_scanner
lea rcx, [rbp + 0x30]
call fcn.140001b50
nop
mov r14d, ebx
mov qword [rsp + 0x38], rbx
lea r9d, [rbx + 0x30]
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1400468a9
mov rax, qword [rbp - 0x28]
cmp dword [rbp - 0x20], 0x1000
jne 0x140046886
cmp dword [rbp - 0x1c], 1
je 0x140046886
add r14, rax
add rbx, rax
mov r9d, 0x30
lea r8, [rbp - 0x40]
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
jne 0x140046870
mov qword [rsp + 0x38], r14
xor r15d, r15d
mov qword [rsp + 0x48], r15
xor esi, esi
lea r9d, [r15 + 0x30]
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140046c23
movsd xmm7, qword [0x140054da8]
nop word [rax + rax]
cmp dword [rbp - 0x20], 0x1000
jne 0x140046bf7
cmp dword [rbp - 0x1c], 1
je 0x140046bf7
xorps xmm0, xmm0
xor eax, eax
mov rdi, qword [rbp - 0x28]
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
test rdi, rdi
je 0x140046937
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.140016aa0
mov r8, rdi
xor edx, edx
mov rbx, qword [rbp + 0x18]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + rdi]
mov qword [rbp + 0x20], rax
mov rdi, qword [rbp - 0x28]
add rsi, rdi
mov qword [rsp + 0x78], rsi
xorps xmm6, xmm6
js 0x14004694b
cvtsi2sd xmm6, rsi
jmp 0x140046963
mov rcx, rsi
shr rcx, 1
mov rax, rsi
and eax, 1
or rcx, rax
cvtsi2sd xmm6, rcx
addsd xmm6, xmm6
xorps xmm0, xmm0
test r14, r14
js 0x140046972
cvtsi2sd xmm0, r14
jmp 0x14004698a
mov rcx, r14
shr rcx, 1
mov rax, r14
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
divsd xmm6, xmm0
mulsd xmm6, xmm7
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14000a980
mov rdx, rax
movaps xmm0, xmm6
call fcn.140001fc0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x28]
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140046bba
mov rdi, qword [rsp + 0x70]
mov r12, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x50], rax
cmp r12, rax
je 0x140046bb5
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov rax, qword [r12 + 8]
test rax, rax
je 0x140046a05
lock inc dword [rax + 8]
mov rsi, qword [r12]
mov qword [rbp - 0x10], rsi
mov rdi, qword [r12 + 8]
mov qword [rbp - 8], rdi
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov qword [rbp + 0x10], rax
mov rdx, qword [rsi + 0x50]
sub rdx, qword [rsi + 0x48]
je 0x140046a5b
lea rcx, [rbp]
call fcn.140016aa0
mov rbx, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x48]
sub rbx, rdx
mov r8, rbx
mov rsi, qword [rbp]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea r15, [rbx + rsi]
mov qword [rbp + 8], r15
jmp 0x140046a63
mov r15, qword [rbp + 8]
mov rsi, qword [rbp]
or dword [rsp + 0x30], 1
xor r14d, r14d
sub r15, rsi
nop
mov rdx, qword [rbp + 0x18]
add rdx, r14
mov r8, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140046b11
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test rdi, rdi
je 0x140046aa4
lock inc dword [rdi + 8]
mov rdi, qword [rbp - 8]
mov rsi, qword [rbp]
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x60], xmm0
lea rax, [rsp + 0x60]
mov qword [rbp - 0x78], rax
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x140046ca9
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x10]
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140046b11
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140046b09
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140046b09
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
mov rsi, qword [rbp]
mov rdi, qword [rbp - 8]
inc r14
mov rax, qword [rbp + 0x50]
sub rax, r15
cmp r14, rax
jbe 0x140046a70
test rsi, rsi
je 0x140046b5e
mov rdx, qword [rbp + 0x10]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x140046b55
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046cb0
mov rcx, rsi
call fcn.140049448
nop
test rdi, rdi
je 0x140046b97
mov eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140046b97
mov rbx, qword [rbp - 8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140046b97
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
add r12, 0x10
cmp r12, qword [rsp + 0x50]
jne 0x1400469f0
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rbp + 0x18]
test rbx, rbx
je 0x140046bf7
mov rdx, qword [rbp + 0x28]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140046bef
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046cb7
mov rcx, rbx
call fcn.140049448
add r15, qword [rbp - 0x28]
mov qword [rsp + 0x48], r15
mov r9d, 0x30
lea r8, [rbp - 0x40]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
jne 0x1400468e0
mov rdi, qword [rbp - 0x80]
lea rdx, str._r___100.00__completed__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400021d0
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x40]
mov rcx, rax
call fcn.1400023a0
lea rdx, [0x140050dc8]
mov rcx, rax
call fcn.1400021d0
lea rdx, [0x14000b8f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140046cc3
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046cbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046cbe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140049448
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x30], 0
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140046cf7
mov rax, qword [rcx]
cmp rcx, rdi
sete dl
xor dl, 1
call qword [rax + 0x20]
mov qword [rdi + 0x38], 0
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x140046d14
mov rax, qword [rcx]
cmp rcx, r13
setne dl
call qword [rax + 0x20]
mov qword [r13 + 0x38], 0
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140048f00
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret