Function at 0x140001080
Capabilities:
Print debug messages
Terminate process

Disassembly:
push rbx
push r14
sub rsp, 0x48
cmp byte [rcx + 0x1018], 0
mov rbx, rcx
jne 0x1400010b3
lea rcx, str.CommandlineLib_is_not_initialized___3__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov rcx, rbx
call fcn.1400013c0
mov r14, qword [rbx]
test r14, r14
je 0x1400013b8
mov qword [rsp + 0x60], rbp
xor ebp, ebp
mov qword [rsp + 0x40], r12
xor r12b, r12b
cmp word [r14], bp
je 0x1400013ae
mov qword [rsp + 0x38], r13
mov r13, 0xffffffffffffffff
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
test r12b, r12b
je 0x1400011dc
cmp word [r14], 0x22
jne 0x1400012d0
cmp byte [rbx + 0x1018], 0
jne 0x14000113c
lea rcx, str.CommandlineLib_is_not_initialized___2__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
test rbp, rbp
je 0x1400011d2
mov rdx, r14
mov rcx, rbp
call fcn.140007b5c
test eax, eax
je 0x1400011d2
cmp dword [rbx + 0x10], 0x100
jge 0x1400011d2
mov r15, r14
sub r15, rbp
sar r15, 1
inc r15
cmp r15, 2
jb 0x1400011d2
mov eax, 2
mul r15
mov rsi, rax
cmovb rsi, r13
mov rcx, rsi
call fcn.140001ff8
mov r8, rsi
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.1400178b0
movsxd rcx, dword [rbx + 0x10]
lea r9, [0x140021954]
mov r8, r13
mov qword [rsp + 0x20], rbp
mov rdx, r15
mov qword [rbx + rcx*8 + 0x18], rdi
movsxd rcx, dword [rbx + 0x10]
mov rcx, qword [rbx + rcx*8 + 0x18]
call fcn.140001010
test eax, eax
je 0x1400011d2
movsxd rax, dword [rbx + 0x10]
mov qword [rbx + rax*8 + 0x818], r15
inc dword [rbx + 0x10]
xor ebp, ebp
xor r12b, r12b
jmp 0x1400012d0
movzx ecx, word [r14]
test rbp, rbp
jne 0x14000120c
cmp cx, 0x22
jne 0x1400011f7
mov r12b, 1
lea rbp, [r14 + 2]
jmp 0x1400012d0
call fcn.140007cd8
test eax, eax
jne 0x1400012d0
mov rbp, r14
jmp 0x1400012d0
call fcn.140007cd8
test eax, eax
je 0x1400012d0
cmp byte [rbx + 0x1018], 0
jne 0x140001241
lea rcx, str.CommandlineLib_is_not_initialized___2__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov rdx, r14
mov rcx, rbp
call fcn.140007b5c
test eax, eax
je 0x1400012ce
cmp dword [rbx + 0x10], 0x100
jge 0x1400012ce
mov r15, r14
sub r15, rbp
sar r15, 1
inc r15
cmp r15, 2
jb 0x1400012ce
mov eax, 2
mul r15
mov rsi, rax
cmovb rsi, r13
mov rcx, rsi
call fcn.140001ff8
mov r8, rsi
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.1400178b0
movsxd rcx, dword [rbx + 0x10]
lea r9, [0x140021954]
mov r8, r13
mov qword [rsp + 0x20], rbp
mov rdx, r15
mov qword [rbx + rcx*8 + 0x18], rdi
movsxd rcx, dword [rbx + 0x10]
mov rcx, qword [rbx + rcx*8 + 0x18]
call fcn.140001010
test eax, eax
je 0x1400012ce
movsxd rax, dword [rbx + 0x10]
mov qword [rbx + rax*8 + 0x818], r15
inc dword [rbx + 0x10]
xor ebp, ebp
add r14, 2
cmp word [r14], 0
jne 0x140001100
mov r15, qword [rsp + 0x30]
test rbp, rbp
je 0x14000139f
cmp byte [rbx + 0x1018], 0
jne 0x140001315
lea rcx, str.CommandlineLib_is_not_initialized___2__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
mov rdx, r14
mov rcx, rbp
call fcn.140007b5c
test eax, eax
je 0x14000139f
cmp dword [rbx + 0x10], 0x100
jge 0x14000139f
sub r14, rbp
sar r14, 1
inc r14
cmp r14, 2
jb 0x14000139f
mov eax, 2
mul r14
mov rsi, rax
cmovb rsi, r13
mov rcx, rsi
call fcn.140001ff8
mov r8, rsi
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.1400178b0
movsxd rcx, dword [rbx + 0x10]
lea r9, [0x140021954]
mov r8, r13
mov qword [rsp + 0x20], rbp
mov rdx, r14
mov qword [rbx + rcx*8 + 0x18], rdi
movsxd rcx, dword [rbx + 0x10]
mov rcx, qword [rbx + rcx*8 + 0x18]
call fcn.140001010
test eax, eax
je 0x14000139f
movsxd rax, dword [rbx + 0x10]
mov qword [rbx + rax*8 + 0x818], r14
inc dword [rbx + 0x10]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r13, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
mov r12, qword [rsp + 0x40]
add rsp, 0x48
pop r14
pop rbx
ret