Function at 0x180046d80
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rbx, r9
mov rdi, rdx
mov dword [rbp + 0x60], 1
xor eax, eax
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov dword [rbp + 0x60], 1
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
mov qword [rbp - 0x80], rax
test rax, rax
jne 0x180046e08
lea rdx, str.Failed_to_open_the_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180053820
lea rdx, [0x1800539f0]
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]
jmp 0x180047257
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15, qword [rbp - 0x10]
mov qword [rsp + 0x70], r15
mov r13, qword [rbp - 8]
mov qword [rbp - 0x78], r13
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180050c60
nop
lea rsi, [rsp + 0x50]
mov r8, qword [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rsi, r8
lea rcx, [rsp + 0x50]
cmova rcx, r8
mov r14, qword [rsp + 0x60]
add r14, rcx
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, r8
cmp rbx, r14
je 0x180046e84
sub rsi, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, r14
jne 0x180046e70
cmp r15, r13
jae 0x1800471fe
movabs rsi, 0x7fffffffffffffff
nop word [rax + rax]
mov r9d, Ordinal_50
lea r8, [rbp - 0x50]
mov rdx, r15
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x1800471fe
cmp dword [rbp - 0x30], 0x1000
jne 0x1800471ec
mov eax, dword [rbp - 0x2c]
cmp eax, 1
je 0x1800471ec
cmp eax, 0x100
je 0x1800471ec
mov rbx, qword [rbp - 0x38]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
xor r14d, r14d
mov qword [rbp - 0x60], r14
test rbx, rbx
je 0x180046f60
cmp rbx, rsi
ja 0x180047275
cmp rbx, 0x1000
jb 0x180046f36
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x18004727b
call fcn.180125fb8
test rax, rax
je 0x18004724a
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x180046f41
mov rcx, rbx
call fcn.180125fb8
mov rsi, rax
mov qword [rbp - 0x70], rsi
lea r14, [rsi + rbx]
mov qword [rbp - 0x60], r14
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x68], r14
jmp 0x180046f68
mov r14, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x70]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
mov rdx, qword [rbp - 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1800471aa
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
cmp rsi, r14
jne 0x180046fbd
mov ecx, eax
mov qword [rsp + 0x40], rax
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r15
mov byte [rsp + 0x30], al
jmp 0x180046fda
sub r14, rsi
mov r8, r14
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.180043e10
mov r15, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea r12, [rsp + 0x30]
cmp r15, 0xf
seta al
mov r14, qword [rsp + 0x30]
cmova r12, r14
lea rdx, [rsp + 0x30]
test al, al
je 0x180047001
mov rbx, r14
lea r13, [rcx + r14]
jmp 0x18004700a
lea r13, [rdx + rcx]
lea rbx, [rsp + 0x30]
cmp rbx, r13
je 0x180047036
sub r12, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + r12], al
inc rbx
cmp rbx, r13
jne 0x180047012
mov r15, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x30]
lea r13, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r13, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
cmp r15, 0xf
cmova rax, r14
mov qword [rsp + 0x78], rax
mov r12, qword [rsp + 0x60]
cmp r12, rcx
ja 0x180047166
sub rcx, r12
test r12, r12
jne 0x180047073
xor ebx, ebx
jmp 0x1800470f0
inc rcx
add rcx, rax
mov qword [rbp - 0x58], rcx
movsx edx, byte [r13]
mov r8, rcx
sub r8, rax
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180047166
nop dword [rax]
mov r8, r12
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800470d6
inc rbx
mov r8, qword [rbp - 0x58]
sub r8, rbx
movsx edx, byte [r13]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x1800470a0
jmp 0x180047166
sub rbx, qword [rsp + 0x78]
cmp rbx, 0xffffffffffffffff
je 0x180047166
nop word [rax + rax]
mov rcx, qword [rbp - 0x50]
add rcx, rbx
mov qword [rsp + 0x78], rcx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x180047110
mov qword [rdx], rcx
add qword [rdi + 8], 8
jmp 0x18004711d
lea r8, [rsp + 0x78]
mov rcx, rdi
call fcn.180059ee0
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x48]
cmp r15, 0xf
cmova rcx, r14
lea r8, [rbx + 1]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x40]
call fcn.180054610
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800470f0
cmp r15, 0xf
jbe 0x18004719d
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180047195
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047243
mov rcx, r14
call fcn.18012643c
mov r13, qword [rbp - 0x78]
mov r12, qword [rbp - 0x80]
mov r15, qword [rsp + 0x70]
test rsi, rsi
je 0x1800471e2
mov rcx, qword [rbp - 0x60]
sub rcx, rsi
mov rax, rsi
cmp rcx, 0x1000
jb 0x1800471d7
add rcx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004724a
mov rdx, rcx
mov rcx, rsi
call fcn.18012643c
movabs rsi, 0x7fffffffffffffff
add r15, qword [rbp - 0x38]
mov qword [rsp + 0x70], r15
cmp r15, r13
jb 0x180046ea0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180047257
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047251
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180047251
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.18012643c
nop
mov rax, rdi
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180052aa0
nop
call fcn.180002a10
int3