Function at 0x140002e48
Capabilities:
Execute command

Disassembly:
push rbp
mov eax, 0x168d0
call fcn.140003da0
sub rsp, rax
lea rbp, [rsp + 0x80]
call sym.__main
lea rax, [0x14000e337]
mov rdx, rax
lea rax, str.data.dat
mov rcx, rax
call sym.fopen
mov qword [rbp + 0x16840], rax
lea rax, [0x14000e233]
mov rcx, rax
call sym.system
cmp qword [rbp + 0x16840], 0
jne 0x140002edf
mov rax, qword [rbp + 0x16840]
mov rcx, rax
call sym.fclose
call sym.createFile
lea rax, str.Data_file_created._Please_relaunch_the_program.
mov rcx, rax
call sym.printf
mov eax, 0
jmp 0x140003175
lea rdx, [rbp + 0x167b0]
lea rax, [rbp + 0x67b0]
mov rcx, rax
call sym.strcat
mov rdx, qword [rbp + 0x16840]
lea rax, [rbp + 0x167b0]
mov r8, rdx
mov edx, pe_nt_image_headers64
mov rcx, rax
call sym.fgets
test rax, rax
jne 0x140002ec9
lea rax, [rbp + 0x67b0]
mov edx, 0xa
mov rcx, rax
call sym.str_split
mov qword [rbp + 0x16838], rax
cmp qword [rbp + 0x16838], 0
je 0x140003094
mov dword [rbp + 0x1684c], 0
jmp 0x14000306e
mov eax, dword [rbp + 0x1684c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x16838]
add rax, rdx
mov rax, qword [rax]
mov edx, 0x3b
mov rcx, rax
call sym.str_split
mov qword [rbp + 0x16830], rax
mov rax, qword [rbp + 0x16830]
mov rcx, qword [rax]
lea r8, [rbp - 0x50]
mov eax, dword [rbp + 0x1684c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, r8
mov rdx, rcx
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp + 0x16830]
add rax, 8
mov rcx, qword [rax]
lea r8, [rbp - 0x50]
mov eax, dword [rbp + 0x1684c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, 0x40
add rax, r8
mov rdx, rcx
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp + 0x16830]
add rax, 0x10
mov rcx, qword [rax]
lea r8, [rbp - 0x50]
mov eax, dword [rbp + 0x1684c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, 0x50
add rax, r8
mov rdx, rcx
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp + 0x16830]
add rax, 0x18
mov rcx, qword [rax]
lea r8, [rbp - 0x50]
mov eax, dword [rbp + 0x1684c]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, 0x60
add rax, r8
mov rdx, rcx
mov rcx, rax
call sym.strcpy
add dword [rbp + 0x1684c], 1
mov eax, dword [rbp + 0x1684c]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x16838]
add rax, rdx
mov rax, qword [rax]
test rax, rax
jne 0x140002f3a
mov rax, qword [rbp + 0x16840]
mov rcx, rax
call sym.fclose
mov ecx, 1
call sym.printTitle
lea rax, str._n_Please_select_an_option:_n
mov rcx, rax
call sym.printf
lea rax, str._1__Create_New_NONG_n
mov rcx, rax
call sym.printf
lea rax, str._2__Remove_Existing_NONG_n
mov rcx, rax
call sym.printf
lea rax, str._3__Toggle_NONGs_n_n
mov rcx, rax
call sym.printf
lea rax, str._Choice:
mov rcx, rax
call sym.printf
lea rax, [rbp - 0x54]
mov rdx, rax
lea rax, [0x14000e15f]
mov rcx, rax
call sym.scanf
lea rax, [0x14000e233]
mov rcx, rax
call sym.system
mov eax, dword [rbp - 0x54]
cmp eax, 3
je 0x140003152
cmp eax, 3
jg 0x140003160
cmp eax, 1
je 0x140003136
cmp eax, 2
je 0x140003144
jmp 0x140003160
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.createNong
jmp 0x140003170
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.removeNong
jmp 0x140003170
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.toggleNong
jmp 0x140003170
lea rax, str.what
mov rcx, rax
call sym.printf
nop
mov eax, 0
add rsp, 0x168d0
pop rbp
ret