Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r14
push r15
sub rsp, 0x230
mov rax, qword [0x140003018]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rdi, rdx
cmp ecx, 2
jne 0x14000103d
mov rbx, qword [rdx + 8]
mov qword [section..data], rbx
jmp 0x14000104a
jg 0x140001219
mov rbx, qword [section..data]
movsx ecx, byte [rbx]
xor r14d, r14d
mov r15d, r14d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
je 0x14000107f
nop dword [rax]
movsx eax, byte [rbx]
lea ecx, [r15 - 6]
lea ecx, [r15 + rcx*4]
inc rbx
lea r15d, [rax + rcx*2]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
jne 0x140001060
movsx ebp, byte [rbx]
test ebp, ebp
je 0x1400010bf
movsx ecx, byte [rbx + 1]
inc rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
je 0x1400010bf
nop word [rax + rax]
movsx eax, byte [rbx]
lea ecx, [r14 - 6]
lea ecx, [r14 + rcx*4]
inc rbx
lea r14d, [rax + rcx*2]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
jne 0x1400010a0
cmp byte [rbx], 0
jne 0x140001219
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, 0x200
lea rcx, [rsp + 0x20]
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
mov rbx, rax
test rax, rax
je 0x140001210
mov qword [rsp + 0x250], rsi
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x140001121
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [rbx + 1]
inc rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140001110
cmp byte [rbx], 0
je 0x1400011d6
mov rdi, rbx
nop dword [rax]
movsx ecx, byte [rbx]
cmp ecx, ebp
je 0x140001148
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140001148
inc rbx
cmp byte [rbx], al
jne 0x140001130
mov esi, edi
sub esi, ebx
add esi, r15d
test esi, esi
jle 0x140001164
mov ecx, 0x20
dec esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putchar]
test esi, esi
jg 0x140001153
cmp rdi, rbx
jae 0x140001181
nop dword [rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putchar]
inc rdi
cmp rdi, rbx
jb 0x140001170
movsx eax, byte [rbx]
lea edi, [r14 + 1]
cmp eax, ebp
jne 0x1400011b2
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putchar]
movsx eax, byte [rbx + 1]
inc rbx
dec edi
test al, al
je 0x1400011b2
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
je 0x140001190
test edi, edi
jle 0x1400010f7
nop word [rax + rax]
mov ecx, 0x20
dec edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putchar]
test edi, edi
jg 0x1400011c0
jmp 0x1400010f7
mov ecx, 0xa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_putchar]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, 0x200
lea rcx, [rsp + 0x20]
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
mov rbx, rax
test rax, rax
jne 0x1400010f7
mov rsi, qword [rsp + 0x250]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.Usage:
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [rdi]
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.__format__n
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3