Function at 0x1400498e0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rcx
mov qword [rbp - 0x69], rcx
mov dword [rbp - 0x79], 0
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov qword [rbp - 0x71], rsi
mov rax, qword [rcx + 8]
mov rdi, qword [rax]
mov r14, qword [rcx]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
xor r15d, r15d
mov qword [rbp + 0x1f], r15
mov dword [rbp - 0x79], 1
lea rcx, [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r13, qword [rbp - 0x19]
mov rax, qword [rbp - 0x11]
mov qword [rbp + 0x27], rax
mov rbx, qword [rbp + 0x17]
cmp r13, rax
jae 0x140049a6c
nop
mov r9d, 0x30
lea r8, [rbp - 0x51]
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x140049a68
cmp dword [rbp - 0x31], 0x1000
jne 0x140049a5a
cmp dword [rbp - 0x2d], 1
je 0x140049a5a
mov rcx, qword [rbp - 0x39]
call fcn.14004adb4
mov r12, rax
mov qword [rbp - 0x59], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rbp - 0x39]
mov r8, rax
mov rdx, qword [rbp - 0x51]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140049a52
xor esi, esi
cmp qword [rbp - 0x39], rdi
je 0x140049a4e
sub r12, r14
test rdi, rdi
je 0x140049a06
mov rax, r14
lea rdx, [r12 + rsi]
nop
movzx ecx, byte [rax]
cmp byte [rdx + rax], cl
jne 0x140049a3b
inc rax
mov rcx, rax
sub rcx, r14
cmp rcx, rdi
jb 0x1400499f0
mov rcx, qword [rbp - 0x51]
add rcx, rsi
mov qword [rbp - 0x61], rcx
cmp rbx, r15
je 0x140049a23
mov qword [rbx], rcx
add rbx, 8
mov qword [rbp + 0x17], rbx
jmp 0x140049a3b
lea r8, [rbp - 0x61]
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.14004a3c0
mov r15, qword [rbp + 0x1f]
mov rbx, qword [rbp + 0x17]
inc rsi
mov rax, qword [rbp - 0x39]
sub rax, rdi
cmp rsi, rax
jb 0x1400499e3
mov r12, qword [rbp - 0x59]
mov rsi, qword [rbp - 0x71]
mov rcx, r12
call fcn.14004ab84
add r13, qword [rbp - 0x39]
cmp r13, qword [rbp + 0x27]
jb 0x140049970
mov r12, qword [rbp - 0x69]
mov rsi, qword [rbp + 0xf]
cmp rsi, rbx
je 0x140049ada
mov rdi, rsi
nop dword [rax + rax]
mov r14, qword [rdi]
mov rcx, qword [r12 + 0x10]
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
mov r8, qword [r12 + 0x18]
mov rdx, r14
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140049ac5
mov dword [0x1400595b0], 1
mov rdx, r14
lea rcx, str.Found_address:_0x_p_n
call fcn.140047520
add rdi, 8
cmp rdi, rbx
jne 0x140049a80
mov dword [0x1400595b0], 2
jmp 0x140049ae7
lea rcx, str.Pattern_not_found._n
call fcn.140047520
nop
test rsi, rsi
je 0x140049b26
sub r15, rsi
and r15, 0xfffffffffffffff8
mov rax, rsi
cmp r15, 0x1000
jb 0x140049b1b
add r15, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049b1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r15
mov rcx, rsi
call fcn.14004ab84
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14004a770
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret