Function at 0x140028b1c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x140135748]
xor esi, esi
test rax, rax
jne 0x140028b5b
mov ecx, dword [0x140131c44]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov qword [0x140135748], rax
test rax, rax
je 0x140028d79
movsx r8, word [0x140132a88]
mov rcx, rax
mov rdx, qword [0x140132a80]
call qword [sym.imp.msvcrt.dll_strncpy]
nop dword [rax + rax]
mov rdi, qword [0x140135748]
mov byte [0x1401354b6], sil
test esi, esi
jne 0x140028d5a
mov edx, dword [0x140131c44]
mov ecx, edi
sub ecx, dword [0x140135748]
lea eax, [rdx - 3]
cmp ecx, eax
jbe 0x140028bef
mov ebx, edx
mov eax, 0xffffffff
add rbx, rbx
cmp rbx, rax
ja 0x140028d79
mov rcx, qword [0x140135748]
mov edx, ebx
call qword [sym.imp.msvcrt.dll_realloc]
nop dword [rax + rax]
mov rcx, rax
test rax, rax
je 0x140028d79
sub rax, qword [0x140135748]
add rdi, rax
mov qword [0x140135748], rcx
mov dword [0x140131c44], ebx
mov bl, byte [0x14013573c]
test bl, bl
je 0x140028c20
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x140028c0c
inc word [0x140132a78]
mov byte [0x1401354b6], bl
test bl, bl
jne 0x140028c59
mov esi, 0x83e
jmp 0x140028d4d
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x140028c00
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x140028c0c
mov byte [0x1401354b6], 0
jmp 0x140028c16
cmp bl, 0x5c
jne 0x140028cc4
mov byte [rdi], bl
mov bl, byte [0x14013573c]
test bl, bl
je 0x140028c90
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x140028c7d
inc word [0x140132a78]
mov byte [rdi + 1], bl
add rdi, 2
mov byte [0x1401354b6], 0
jmp 0x140028b87
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x140028c71
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x140028c7d
xor bl, bl
jmp 0x140028c7d
cmp bl, 0x22
je 0x140028d36
mov byte [rdi], bl
lea rcx, [0x1401354c0]
movzx eax, bl
inc rdi
cmp byte [rax + rcx], 0
je 0x140028d4d
mov bl, byte [0x14013573c]
test bl, bl
je 0x140028d02
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x140028cfb
inc word [0x140132a78]
mov byte [rdi], bl
inc rdi
jmp 0x140028d4d
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x140028cef
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x140028cfb
xor bl, bl
jmp 0x140028cfb
call fcn.140028a40
mov esi, eax
cmp eax, 0x805
jne 0x140028d4d
xor esi, esi
mov byte [0x1401354b6], sil
cmp byte [0x1401354b6], 0x22
jne 0x140028b87
mov byte [rdi], 0
test esi, esi
je 0x140028d9c
xor edx, edx
mov ecx, esi
call fcn.14002bdbc
mov ecx, esi
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
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
mov rdx, qword [0x140135748]
call fcn.140027e64
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov qword [0x140132a48], rax
mov eax, 0x1b6
add rsp, 0x20
pop rdi
ret