Function at 0x14001141f
Capabilities:
Execute command
Terminate process

Disassembly:
jmp 0x140011cc0
push rbp
push rsi
push rdi
sub rsp, 0x850
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x17c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f008]
xor rax, rbp
mov qword [rbp + 0x828], rax
lea rcx, [0x140025016]
call fcn.1400113d4
lea rax, [rbp + 8]
lea rcx, str.questions.txt
mov rdi, rax
mov rsi, rcx
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
mov dword [rbp + 0x4f4], 0
xor eax, eax
cmp eax, 1
je 0x140012294
lea rcx, [0x14001c5f8]
call fcn.1400111c2
lea rcx, str._____________n
call fcn.1400111c2
lea rcx, str._1.
call fcn.1400111c2
lea rcx, str._2.
call fcn.1400111c2
lea rcx, str._3._
call fcn.1400111c2
lea rcx, str._4.
call fcn.1400111c2
lea rcx, str._5.
call fcn.1400111c2
lea rcx, str._0.
call fcn.1400111c2
lea rcx, str._____________n
call fcn.1400111c2
lea rcx, [0x14001c6b8]
call fcn.1400111c2
mov r8d, 1
lea rdx, [rbp + 0x4d4]
lea rcx, [0x14001c6c4]
call fcn.140011249
lea r8, [0x14001c6c8]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x518]
call qword [sym.imp.ucrtbased.dll_fopen_s]
mov dword [rbp + 0x534], eax
cmp dword [rbp + 0x534], 0
je 0x140011df4
lea rcx, [0x14001c6d0]
call fcn.1400111c2
jmp 0x140012294
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.ucrtbased.dll_fseek]
movsx eax, byte [rbp + 0x4d4]
mov dword [rbp + 0x824], eax
mov eax, dword [rbp + 0x824]
sub eax, 0x30
mov dword [rbp + 0x824], eax
cmp dword [rbp + 0x824], 5
ja case.default.0x140011e47
movsxd rax, dword [rbp + 0x824]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x122c0]
add rax, rcx
jmp rax
call qword [sym.imp.ucrtbased.dll_getchar]
cmp eax, 0xa
je 0x140011e56
jmp case.0x140011e47.1
lea rcx, [0x14001c6e8]
call fcn.1400111c2
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8, rax
mov edx, 0x3e8
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fgets]
mov rdx, qword [rbp + 0x518]
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fputs]
mov dword [rbp + 0x554], 0
jmp 0x140011ea7
mov eax, dword [rbp + 0x554]
inc eax
mov dword [rbp + 0x554], eax
cmp dword [rbp + 0x554], 4
jge 0x140011ef3
mov eax, dword [rbp + 0x554]
inc eax
mov edx, eax
lea rcx, [0x14001c700]
call fcn.1400111c2
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8, rax
mov edx, 0x3e8
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fgets]
mov rdx, qword [rbp + 0x518]
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fputs]
jmp 0x140011e99
lea rcx, [0x14001c718]
call fcn.1400111c2
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8, rax
mov edx, 0x3e8
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fgets]
mov rdx, qword [rbp + 0x518]
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fputs]
lea rcx, [0x14001c738]
call fcn.1400111c2
mov eax, dword [rbp + 0x4f4]
inc eax
mov dword [rbp + 0x4f4], eax
jmp 0x140012282
mov edx, dword [rbp + 0x4f4]
lea rcx, [0x14001c750]
call fcn.1400111c2
lea rdx, [rbp + 0x574]
lea rcx, [0x14001c5c4]
call fcn.140011249
cmp dword [rbp + 0x574], 1
jl 0x140011f85
mov eax, dword [rbp + 0x4f4]
cmp dword [rbp + 0x574], eax
jle 0x140011f96
lea rcx, [0x14001c778]
call fcn.1400111c2
jmp 0x140012282
mov dword [rbp + 0x594], 0
jmp 0x140011fb0
mov eax, dword [rbp + 0x594]
inc eax
mov dword [rbp + 0x594], eax
mov eax, dword [rbp + 0x574]
cmp dword [rbp + 0x594], eax
jge 0x140012007
mov r8, qword [rbp + 0x518]
mov edx, 0x3e8
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fgets]
mov r8, qword [rbp + 0x518]
mov edx, 0x3e8
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fgets]
test rax, rax
je 0x140012005
lea rdx, [0x14001c5c8]
lea rcx, [rbp + 0x40]
call fcn.14001143d
test eax, eax
je 0x140012005
jmp 0x140011fd4
jmp 0x140011fa2
lea rcx, [0x14001c5cc]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [0x14001c790]
call fcn.1400111c2
call qword [sym.imp.ucrtbased.dll_getchar]
cmp eax, 0xa
je 0x14001202d
jmp 0x140012020
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r8, rax
mov edx, 0x3e8
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fgets]
lea rcx, [rbp + 0x40]
call fcn.140011195
mov r8d, 1
mov edx, eax
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rdx, qword [rbp + 0x518]
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fputs]
lea rcx, [0x14001c5cc]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [0x14001c7b0]
call fcn.1400111c2
jmp 0x140012282
lea rcx, [0x14001c5cc]
call qword [sym.imp.ucrtbased.dll_system]
mov edx, dword [rbp + 0x4f4]
lea rcx, [0x14001c7c8]
call fcn.1400111c2
lea rdx, [rbp + 0x5b4]
lea rcx, [0x14001c5c4]
call fcn.140011249
cmp dword [rbp + 0x5b4], 1
jl 0x1400120dd
mov eax, dword [rbp + 0x4f4]
cmp dword [rbp + 0x5b4], eax
jle 0x1400120fb
lea rcx, [0x14001c5cc]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [0x14001c778]
call fcn.1400111c2
jmp 0x140012282
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.ucrtbased.dll_fseek]
mov dword [rbp + 0x5d4], 0
jmp 0x140012127
mov eax, dword [rbp + 0x5d4]
inc eax
mov dword [rbp + 0x5d4], eax
mov eax, dword [rbp + 0x5b4]
cmp dword [rbp + 0x5d4], eax
jge 0x14001217e
mov r8, qword [rbp + 0x518]
mov edx, 0x3e8
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fgets]
mov r8, qword [rbp + 0x518]
mov edx, 0x3e8
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fgets]
test rax, rax
je 0x14001217c
lea rdx, [0x14001c5c8]
lea rcx, [rbp + 0x40]
call fcn.14001143d
test eax, eax
je 0x14001217c
jmp 0x14001214b
jmp 0x140012119
lea rcx, [rbp + 0x40]
call fcn.140011195
neg eax
mov r8d, 1
mov edx, eax
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rdx, qword [rbp + 0x518]
lea rcx, [0x14001c5c8]
call qword [sym.imp.ucrtbased.dll_fputs]
lea rcx, [0x14001c5cc]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [0x14001c7f0]
call fcn.1400111c2
jmp 0x140012282
lea rcx, [0x14001c808]
call fcn.1400111c2
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.ucrtbased.dll_fseek]
mov r8, qword [rbp + 0x518]
mov edx, 0x3e8
lea rcx, [rbp + 0x40]
call qword [sym.imp.ucrtbased.dll_fgets]
test rax, rax
je 0x14001221b
lea rdx, [rbp + 0x40]
lea rcx, [0x14001c818]
call fcn.1400111c2
jmp 0x1400121ee
jmp 0x140012282
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.ucrtbased.dll_fclose]
lea rcx, [0x14001c81c]
call fcn.1400111c2
lea rcx, [0x14001c5cc]
call qword [sym.imp.ucrtbased.dll_system]
call fcn.140011109
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.ucrtbased.dll_fclose]
lea rcx, [0x14001c828]
call fcn.1400111c2
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, [0x14001c5cc]
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [0x14001c838]
call fcn.1400111c2
mov rcx, qword [rbp + 0x518]
call qword [sym.imp.ucrtbased.dll_fclose]
jmp 0x140011d20
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bfc0]
call fcn.140011366
mov rcx, qword [rbp + 0x828]
xor rcx, rbp
call fcn.1400111e0
lea rsp, [rbp + 0x830]
pop rdi
pop rsi
pop rbp
ret