Function at 0x14002931c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r15
sub rsp, 0x20
mov rcx, qword [0x140132a80]
call qword [sym.imp.msvcrt.dll_atoi]
nop dword [rax + rax]
mov r15d, 1
sub ax, r15w
mov word [0x140132a78], ax
mov bl, byte [0x14013573c]
lea rsi, [0x1401354c0]
test bl, bl
je 0x140029400
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x140029382
add word [0x140132a78], r15w
mov byte [0x1401354b6], bl
cmp bl, 0x20
je 0x140029359
mov rdi, qword [0x140132a80]
cmp bl, 0x22
jne 0x14002958d
mov bl, byte [0x14013573c]
test bl, bl
je 0x140029444
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x1400293bf
add word [0x140132a78], r15w
mov byte [rdi], bl
add rdi, r15
movzx eax, bl
mov byte [0x1401354b6], bl
cmp byte [rax + rsi], 0
je 0x1400294c2
mov bl, byte [0x14013573c]
test bl, bl
je 0x140029483
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x1400293f9
add word [0x140132a78], r15w
mov byte [rdi], bl
add rdi, r15
jmp 0x14002939d
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x140029375
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x140029382
mov byte [0x1401354b6], 0
jmp 0x14002958d
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x1400293b2
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x1400293bf
xor bl, bl
jmp 0x1400293bf
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x1400293ec
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x1400293f9
xor bl, bl
jmp 0x1400293f9
cmp bl, 0x22
jne 0x14002939d
mov byte [rdi - 1], 0
call fcn.140027b3c
mov rdi, qword [0x140132a80]
mov rsi, qword [0x140134348]
mov rax, rdi
mov rbp, qword [rsi + 0x18]
mov r8, qword [rbp + 0x48]
sub r8, rdi
movzx ecx, byte [rax]
movzx edx, byte [rax + r8]
sub ecx, edx
jne 0x140029503
add rax, r15
test edx, edx
jne 0x1400294f0
test ecx, ecx
je 0x140029586
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14002950b
add rbx, r15
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
jne 0x14002954e
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x140134854], ebx
mov r8, rbx
mov qword [rbp + 0x48], rax
mov rdx, rdi
mov rcx, qword [rsi + 0x18]
mov rcx, qword [rcx + 0x48]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi + 0x18]
mov rcx, qword [0x140134340]
mov rdx, qword [rax + 0x48]
call fcn.1400c9ae8
mov word [0x140132a98], ax
lea rsi, [0x1401354c0]
mov bl, byte [0x14013573c]
test bl, bl
je 0x1400295e8
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x1400295ab
add word [0x140132a78], r15w
mov byte [0x1401354b6], bl
test bl, bl
je 0x14002961f
movzx eax, bl
cmp byte [rax + rsi], 0
je 0x14002967f
mov bl, byte [0x14013573c]
test bl, bl
je 0x140029640
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x1400295e0
add word [0x140132a78], r15w
mov byte [0x1401354b6], bl
jmp 0x14002958d
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x14002959e
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x1400295ab
mov byte [0x1401354b6], 0
mov rbx, qword [rsp + 0x30]
mov eax, 0x1fa
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x1400295d3
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x1400295e0
xor bl, bl
jmp 0x1400295e0
cmp bl, 0xa
je 0x14002961f
jmp 0x14002958d