Function at 0x1400112c6
Capabilities:
Get memory capacity
Get system information on windows
Terminate process

Disassembly:
jmp 0x140012d60
push rbp
push rsi
push rdi
sub rsp, 0x4f0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xd0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f180]
xor rax, rbp
mov qword [rbp + 0x4b0], rax
lea rcx, [0x1400250a5]
call fcn.1400113f2
nop
call fcn.1400112ad
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x60]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140012dcf
cmp qword [rbp + 8], 0
je 0x140012dcf
mov rax, qword [rbp + 0x28]
cmp dword [rax + 0x118], 0xa
je 0x140012dd9
mov eax, 1
jmp 0x140013300
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x68], 0
lea rax, [rbp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rcx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
cmp dword [rbp + 0xa8], 3
jae 0x140012e2c
mov eax, 0xffffffff
jmp 0x140013300
mov dword [rbp + 0xe0], 0x40
mov dword [rbp + 0xe4], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x118], 0
lea rcx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x140012eb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n_t____GlobalMemoryStatusEx_Failed_With_Error_:__d__n
call fcn.1400111bd
nop
cmp dword [rbp + 0xe8], 0x80000000
ja 0x140012ec6
xor eax, eax
jmp 0x140013300
mov dword [rbp + 0x134], 0
mov dword [rbp + 0x154], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [rbp + 0x134], eax
mov ecx, 0x3e8
call fcn.140011221
test eax, eax
jne 0x140012efe
mov eax, 0xffffffff
jmp 0x140013300
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [rbp + 0x154], eax
mov eax, dword [rbp + 0x134]
mov ecx, dword [rbp + 0x154]
sub ecx, eax
mov eax, ecx
mov edx, eax
lea rcx, str.____ApiHammering_1000__Took_:__d_MilliSeconds_To_Complete__n
call fcn.1400111bd
nop
mov qword [rbp + 0x178], 0
lea rdx, [rbp + 0x178]
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x30]
call fcn.1400111fe
test eax, eax
je 0x140012f56
cmp qword [rbp + 0x178], 0
jne 0x140012f60
mov eax, 1
jmp 0x140013300
lea rax, section..data
mov qword [rbp + 0x198], rax
mov dword [rbp + 0x1b4], 0x114
mov r9d, dword [rbp + 0x1b4]
mov r8d, 0x10
mov rdx, qword [rbp + 0x198]
lea rcx, [0x14001f118]
call fcn.140011181
test eax, eax
jne 0x140012fa6
mov eax, 0xffffffff
jmp 0x140013300
mov qword [rbp + 0x1d8], 0
mov qword [rbp + 0x1f8], 0
mov qword [rbp + 0x68], 0
mov dword [rbp + 0x214], 0
mov qword [rbp + 0x238], 0
mov eax, dword [rbp + 0x1b4]
mov dword [rbp + 0x258], eax
mov dword [rbp + 0x25c], 0
mov dword [rbp + 0x274], 6
movsxd rax, dword [rbp + 0x274]
mov qword [rbp + 0x4a8], rax
mov eax, 0x10
mov rcx, qword [rbp + 0x4a8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x298], rax
cmp qword [rbp + 0x298], 0
jne 0x140013054
lea rcx, [0x14001c320]
call fcn.1400111bd
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
xor edx, edx
movabs rcx, 0x2329e81ac5d1497a
call fcn.14001142e
mov ecx, 0x10
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x298]
lea rdi, [rdx + rcx]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor edx, edx
movabs rcx, 0x2014d82f702e79d4
call fcn.14001142e
mov ecx, 0x10
imul rcx, rcx, 1
mov rdx, qword [rbp + 0x298]
lea rdi, [rdx + rcx]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor edx, edx
movabs rcx, 0xbb4a946a27b93797
call fcn.14001142e
mov ecx, 0x10
imul rcx, rcx, 2
mov rdx, qword [rbp + 0x298]
lea rdi, [rdx + rcx]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor edx, edx
movabs rcx, 0xf56ea80ef5031e7
call fcn.14001142e
mov ecx, 0x10
imul rcx, rcx, 3
mov rdx, qword [rbp + 0x298]
lea rdi, [rdx + rcx]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor edx, edx
movabs rcx, 0x8866eb7e75145f1a
call fcn.14001142e
mov ecx, 0x10
imul rcx, rcx, 4
mov rdx, qword [rbp + 0x298]
lea rdi, [rdx + rcx]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xor edx, edx
movabs rcx, 0xce67f958e7fb4666
call fcn.14001142e
mov ecx, 0x10
imul rcx, rcx, 5
mov rdx, qword [rbp + 0x298]
lea rdi, [rdx + rcx]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rbp + 0x2b8], 0
mov r9, qword [rbp + 0x298]
lea r8, [rbp + 0x2b8]
mov rdx, qword [rbp + 0x178]
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x30]
call fcn.140011113
test eax, eax
jne 0x1400131a9
mov eax, 1
jmp 0x140013300
mov dword [rbp + 0x2d4], 0
jmp 0x1400131c3
mov eax, dword [rbp + 0x2d4]
inc eax
mov dword [rbp + 0x2d4], eax
cmp dword [rbp + 0x2d4], 6
jge 0x140013217
movsxd rax, dword [rbp + 0x2d4]
imul rax, rax, 0x10
mov rcx, qword [rbp + 0x298]
mov rdx, qword [rcx + rax]
lea rcx, str.Value:__llu_n
call fcn.1400111bd
nop
movsxd rax, dword [rbp + 0x2d4]
imul rax, rax, 0x10
mov rcx, qword [rbp + 0x298]
movzx eax, word [rcx + rax + 8]
mov edx, eax
lea rcx, str.Value:__llu_n
call fcn.1400111bd
nop
jmp 0x1400131b5
xor eax, eax
mov word [rbp + 0x2f4], ax
mov rax, qword [rbp + 0x298]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x258]
lea r8, [rbp + 0x1d8]
mov rdx, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x48]
call fcn.140011177
mov qword [rbp + 0x318], 0
mov rax, qword [rbp + 0x298]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x238]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x68]
lea r8, [rbp + 0x1d8]
mov rdx, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x48]
call fcn.1400112bc
mov eax, dword [rbp + 0x1b4]
mov r8d, eax
mov rdx, qword [rbp + 0x198]
mov rcx, qword [rbp + 0x68]
call fcn.1400111db
nop
mov rax, qword [rbp + 0x298]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x68]
lea r8, [rbp + 0x1f8]
mov rdx, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x48]
call fcn.140011195
nop
mov r9, qword [rbp + 0x298]
lea r8, [rbp + 0x1d8]
mov rdx, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x48]
call fcn.14001113b
nop
call qword [sym.imp.ucrtbased.dll_getchar]
nop
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ucrtbased.dll_free]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001c1f0]
call fcn.14001137a
mov rax, rdi
mov rcx, qword [rbp + 0x4b0]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x4c0]
pop rdi
pop rsi
pop rbp
ret