Function at 0x140003930
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14004a010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
call fcn.1400010f0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140004008
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x88], 3
jb 0x140004008
mov dword [rsp + 0xa0], 0x40
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xa8]
shr rax, 0x1e
cmp eax, 3
jb 0x140004008
mov rbx, qword [0x14004a978]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor ebp, ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x6553f100
call rbx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
je 0x140004008
lea edx, [rbp + 0xb]
mov r8d, 0x6553f100
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call fcn.140004580
test al, al
je 0x140004008
mov dword [0x14004a740], 0x50
mov dword [0x14004a744], 0x40
lea rax, [0x140002cc0]
mov qword [0x14004a748], rax
mov qword [0x14004a750], rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x14004a758], rax
xorps xmm0, xmm0
movdqa xmmword [0x14004a760], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x14004a770], xmm1
lea rbx, str.Cheat_Menu_Class
mov qword [0x14004a780], rbx
mov qword [0x14004a788], rbp
lea rcx, [0x14004a740]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], rbp
mov rax, qword [0x14004a758]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], 0x12c
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x80000000
lea r8, str.Cheat_Menu
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14004a730], rax
lea edx, [rbp + 0xa]
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14004a730]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
lea ecx, [rbp + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x14004a728], rax
test rax, rax
je 0x140003bc7
mov qword [0x14004a790], rbp
mov qword [0x14004a79c], rbp
mov dword [0x14004a7a4], ebp
mov qword [0x14004a7ac], rbp
mov dword [0x14004a7b4], ebp
mov qword [0x14004a7c4], rbp
mov dword [0x14004a7b8], 1
mov dword [0x14004a7a8], 1
mov dword [0x14004a798], ebp
mov dword [0x14004a7bc], 1
mov dword [0x14004a7c0], 0x50
mov dword [0x14004a7cc], 1
mov rax, qword [rax]
lea rdx, [0x14004a738]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14004a790]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, qword [0x14004a730]
xor edx, edx
lea r8d, [rbp + 1]
call qword [rax + 0x80]
nop
call fcn.140002f00
cmp byte [0x14004a044], 0
je 0x140003dae
mov qword [rsp + 0x60], 0xa
movss xmm6, dword [0x140043698]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140003c45
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140003c10
mov rax, qword [0x14004a898]
test rax, rax
je 0x140003c5a
mov rcx, qword [rax + 0xa0]
jmp 0x140003c5d
mov rcx, rbp
cmp qword [rcx + 0x18], 0
jne 0x140003c80
test rax, rax
je 0x140003c80
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140003c80
cmp qword [rcx], 0
je 0x140003c80
call fcn.14002f4c0
call fcn.14002feb0
call fcn.14000b6a0
nop
call fcn.140003170
nop
call fcn.14000d3d0
mov rcx, qword [0x14004a738]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004a738]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004a738]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x14004a738]
mov rax, qword [rcx]
mov dword [rsp + 0x30], ebp
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 0xff000000
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x14004a738]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140003d59
call fcn.14000d7c0
mov rax, qword [0x14004a898]
mov rax, qword [rax + 0x48a0]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, rbp
cmp byte [rcx], bpl
cmovne rax, rcx
mov rcx, rax
call fcn.14002ef10
mov rcx, qword [0x14004a738]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14004a738]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140003d97
mov rcx, qword [0x14004a738]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140003d97
call fcn.140002e40
nop
lea rcx, [rsp + 0x60]
call fcn.140004040
cmp byte [0x14004a044], 0
jne 0x140003bf0
mov rcx, qword [0x14004a898]
test rcx, rcx
je 0x140003dc3
mov rdi, qword [rcx + 0xa0]
jmp 0x140003dc6
mov rdi, rbp
lea rsi, [rcx + 8]
test rcx, rcx
je 0x140003e40
mov rbx, qword [rcx + 0xa0]
test rbx, rbx
je 0x140003e40
cmp qword [rbx], 0
je 0x140003e40
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140003dfe
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 8], rbp
mov rcx, qword [0x14004a898]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140003e1b
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x10], rbp
mov rcx, qword [0x14004a898]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140003e40
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x18], rbp
mov rcx, qword [0x14004a898]
mov rax, qword [rcx + 0x58]
mov qword [rax + 8], rbp
mov rdx, qword [rdi]
test rdx, rdx
je 0x140003e58
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14004a898]
mov qword [rsi + 0x88], rbp
mov qword [rsi + 0x98], rbp
test rcx, rcx
je 0x140003e71
dec dword [rcx + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14004a898]
test rax, rax
je 0x140003e8f
mov rbx, qword [rax + 0x98]
jmp 0x140003e92
mov rbx, rbp
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140003eac
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14004a898]
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x90], rbp
test rax, rax
je 0x140003ec5
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14004a898]
mov qword [0x14004a898], rbx
call fcn.140009890
mov qword [0x14004a898], rbp
test rbx, rbx
je 0x140003f11
mov rcx, rbx
call fcn.14001e950
mov rax, qword [0x14004a898]
test rax, rax
je 0x140003f07
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [0x14004a738]
test rcx, rcx
je 0x140003f2a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004a738], rbp
mov rcx, qword [0x14004a728]
test rcx, rcx
je 0x140003f43
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004a728], rbp
mov rcx, qword [0x14004a730]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x14004a758]
mov rcx, qword [0x14004a780]
call qword [sym.imp.USER32.dll_UnregisterClassA]
cmp qword [0x14004a878], 0
je 0x140003fb4
lea rcx, [0x14004a848]
call fcn.140003870
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [0x14004a878]
mov rcx, qword [0x14004a848]
call qword [0x14004a948]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [0x14004a870]
mov rcx, qword [0x14004a848]
call qword [0x14004a948]
cmp qword [0x14004a840], 0
je 0x140004004
lea rcx, [0x14004a810]
call fcn.140003870
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [0x14004a840]
mov rcx, qword [0x14004a810]
call qword [0x14004a948]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [0x14004a838]
mov rcx, qword [0x14004a810]
call qword [0x14004a948]
xor eax, eax
jmp 0x14000400d
mov eax, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14003b010
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret