Function at 0x180044e40
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
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, r8
mov r15, rcx
mov dword [rbp + 0x78], 1
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov dword [rbp + 0x78], 1
mov r8d, edx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x180044ed0
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.18004ee90
lea rdx, [0x18004f060]
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 0x18004545f
lea rcx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r12, qword [rbp - 0x10]
mov qword [rbp - 0x78], r12
mov rax, qword [rbp - 8]
mov qword [rbp - 0x80], rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.18004dfd0
nop
lea rdi, [rsp + 0x60]
mov r8, qword [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdi, r8
lea rcx, [rsp + 0x60]
cmova rcx, r8
mov rsi, qword [rsp + 0x70]
add rsi, rcx
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rbx, r8
cmp rbx, rsi
je 0x180044f48
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx + rdi], al
inc rbx
cmp rbx, rsi
jne 0x180044f34
mov rsi, qword [rbp - 0x80]
cmp r12, rsi
jae 0x180045406
movabs r14, 0x7fffffffffffffff
nop
mov r9d, Ordinal_50
lea r8, [rbp - 0x50]
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x180045406
cmp dword [rbp - 0x30], 0x1000
jne 0x1800453f5
mov eax, dword [rbp - 0x2c]
cmp eax, 1
je 0x1800453f5
cmp eax, 0x100
je 0x1800453f5
mov rdi, qword [rbp - 0x38]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
xor ebx, ebx
mov qword [rbp - 0x58], rbx
test rdi, rdi
je 0x180045024
cmp rdi, r14
ja 0x180045489
cmp rdi, 0x1000
jb 0x180044ff5
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x180045483
call fcn.1800b3344
test rax, rax
je 0x180045452
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x180045000
mov rcx, rdi
call fcn.1800b3344
mov r14, rax
mov qword [rsp + 0x58], r14
mov qword [rbp - 0x68], r14
lea rbx, [rdi + r14]
mov qword [rbp - 0x58], rbx
mov r8, rdi
xor edx, edx
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x60], rbx
jmp 0x180045031
mov rbx, qword [rbp - 0x60]
mov r14, qword [rbp - 0x68]
mov qword [rsp + 0x58], r14
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, r14
mov rdx, qword [rbp - 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1800453b3
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
cmp r14, rbx
jne 0x180045089
mov ecx, eax
mov qword [rsp + 0x48], rax
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x50], r13
mov byte [rsp + 0x38], al
jmp 0x18004516a
sub rbx, r14
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
ja 0x18004547d
cmp rbx, 0xf
ja 0x1800450cd
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x38], 0
jmp 0x180045160
mov rdi, rbx
or rdi, 0xf
cmp rdi, rcx
jbe 0x1800450ec
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x180045113
cmp rdi, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x180045132
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18004548f
mov rcx, rax
call fcn.1800b3344
test rax, rax
je 0x18004544b
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x18004513f
test rcx, rcx
je 0x18004513c
call fcn.1800b3344
mov rsi, rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rcx, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
lea rdi, [rsp + 0x38]
cmp r13, 0xf
seta al
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x30], r8
cmova rdi, r8
lea rdx, [rsp + 0x38]
test al, al
je 0x180045196
mov rbx, r8
lea rsi, [rcx + r8]
jmp 0x18004519f
lea rsi, [rcx + rdx]
lea rbx, [rsp + 0x38]
cmp rbx, rsi
je 0x1800451cf
sub rdi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rbx], al
inc rbx
cmp rbx, rsi
jne 0x1800451a7
mov r13, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x30], r8
lea rsi, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rsi, qword [rsp + 0x60]
lea r12, [rsp + 0x38]
cmp r13, 0xf
cmova r12, r8
mov rdi, qword [rsp + 0x70]
cmp rdi, rcx
ja 0x180045370
sub rcx, rdi
test rdi, rdi
jne 0x180045207
xor ebx, ebx
jmp 0x180045280
lea r14, [r12 + rcx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, r12
mov edx, r15d
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180045362
nop dword [rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180045264
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180045230
jmp 0x180045362
sub rbx, r12
cmp rbx, 0xffffffffffffffff
je 0x180045362
mov r15, qword [rbp + 0x60]
nop word [rax + rax]
mov rcx, qword [rbp - 0x50]
add rcx, rbx
mov qword [rsp + 0x30], rcx
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x1800452a0
mov qword [rdx], rcx
add qword [r15 + 8], 8
jmp 0x1800452ad
lea r8, [rsp + 0x30]
mov rcx, r15
call fcn.180050d30
inc rbx
lea rsi, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rsi, qword [rsp + 0x60]
lea r12, [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
mov r13, qword [rsp + 0x50]
cmp r13, 0xf
cmova r12, rax
mov rdi, qword [rsp + 0x70]
mov rax, qword [rsp + 0x48]
cmp rdi, rax
ja 0x180045362
sub rax, rdi
cmp rbx, rax
ja 0x180045362
test rdi, rdi
je 0x180045358
lea r14, [rax + r12]
lea rcx, [r12 + rbx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x180045362
nop dword [rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180045351
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x180045320
jmp 0x180045362
sub rbx, r12
mov r15, qword [rbp + 0x60]
cmp rbx, 0xffffffffffffffff
jne 0x180045280
mov r15, qword [rbp + 0x60]
mov r8, qword [rsp + 0x30]
mov r14, qword [rsp + 0x58]
cmp r13, 0xf
jbe 0x1800453a7
lea rdx, [r13 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x18004539f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004544b
mov rcx, r8
call fcn.1800b31ac
mov rsi, qword [rbp - 0x80]
mov r13, qword [rbp - 0x70]
mov r12, qword [rbp - 0x78]
test r14, r14
je 0x1800453eb
mov rcx, qword [rbp - 0x58]
sub rcx, r14
mov rax, r14
cmp rcx, 0x1000
jb 0x1800453e0
add rcx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180045452
mov rdx, rcx
mov rcx, r14
call fcn.1800b31ac
movabs r14, 0x7fffffffffffffff
add r12, qword [rbp - 0x38]
mov qword [rbp - 0x78], r12
cmp r12, rsi
jb 0x180044f60
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18004545f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180045459
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180045459
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.1800b31ac
nop
mov rax, r15
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180043fe0
nop
call fcn.180035bd0
int3
call fcn.1800506a0
nop
call fcn.180035bd0
int3