Function at 0x140021e3f
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
test rcx, rcx
je 0x14001dc4f
mov bpl, byte [rcx]
cmp bpl, 1
ja 0x14001db7b
mov rsi, qword [rcx + 0x18]
test rsi, rsi
je 0x14001db07
mov r8d, 4
lea rdx, str.MSG_
mov rcx, rsi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x14001db10
and ebp, 1
jne 0x14001dac4
mov r8d, dword [0x1400fb980]
mov rdx, qword [0x1400fb968]
lea rcx, str._s__d_:_only_the__t_ext_command_can_be_applied_to_a_message__MSG___n_n
call fcn.140036717
jmp 0x14001dc47
lea rcx, [rsi + 4]
call sub.msvcrt.dll_atoi
add eax, 0xbb8
mov dword [rbx + 4], eax
cmp eax, 0xbb8
jne 0x14001dafa
mov r9, qword [rbx + 0x18]
mov r8d, dword [0x1400fb980]
lea rcx, str._s__d_:_failed_to_convert_the_numeric_value_in___n_n
mov rdx, qword [0x1400fb968]
jmp 0x14001dbe4
mov rcx, rbx
call fcn.14001d082
jmp 0x14001db8b
lea r13, [0x1400897d8]
jmp 0x14001db13
mov r13, rsi
lea r12, str.IDD_DIALOG
xor edi, edi
lea r14, [0x1400897d8]
mov r15, r12
mov rdx, qword [r12]
mov rcx, r13
test rdx, rdx
cmove rdx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x14001db4b
shl rdi, 4
mov eax, dword [r15 + rdi + 8]
mov dword [rbx + 4], eax
jmp 0x14001db5b
inc rdi
add r12, 0x10
cmp rdi, 0x1ed
jne 0x14001db26
cmp dword [rbx + 4], 0
jns 0x14001db7b
mov r8d, dword [0x1400fb980]
mov rdx, qword [0x1400fb968]
mov r9, rsi
lea rcx, str._s__d_:_unknown_control__s_n_n
jmp 0x14001dbe4
lea rax, [0x14007c1c0]
cmp qword [0x1400fb960], rax
jne 0x14001db9d
mov rcx, rbx
call fcn.14001d0f8
mov eax, 1
jmp 0x14001dc51
cmp bpl, 1
je 0x14001dbb0
cmp bpl, 4
je 0x14001dbf3
test bpl, bpl
je 0x14001dbc0
jmp 0x14001db8b
mov ecx, dword [0x14010b9a4]
mov rdx, rbx
call fcn.14001d133
jmp 0x14001db93
mov eax, dword [rbx + 4]
sub eax, 0x65
cmp eax, 0xa
jbe 0x14001dbeb
mov r9, qword [rbx + 0x18]
mov r8d, dword [0x1400fb980]
lea rcx, str._s__d_:__s_is_not_a_group_ID_n_n
mov rdx, qword [0x1400fb968]
call fcn.140036717
jmp 0x14001dc47
mov dword [0x14010b9a4], eax
jmp 0x14001db8b
mov rcx, qword [rbx + 0x18]
xor edx, edx
call fcn.14001d9ab
mov r9, qword [rbx + 0x18]
test rax, rax
mov rsi, rax
je 0x14001dc28
mov rdx, r9
lea rcx, str.localization:_using_locale_base__s_n
call fcn.140036717
mov rdx, rsi
xor ecx, ecx
call fcn.1400223f1
jmp 0x14001db8b
mov r8d, dword [0x1400fb980]
mov rdx, qword [0x1400fb968]
lea rcx, str._s__d_:_locale_base__s_not_found___ignoring_n
call fcn.140036717
jmp 0x14001db8b
mov rcx, rbx
call fcn.14001d0f8
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
sub rsp, 0x38
test rcx, rcx
je 0x140021ecc
cmp byte [rcx], 0
je 0x140021ecc
lea rdx, [0x14008f7ce]
mov qword [rsp + 0x28], rcx
call sub.msvcrt.dll_strspn
mov r9, qword [rsp + 0x28]
movsx ecx, byte [r9 + rax]
cmp cl, 0x23
je 0x140021ecc
test cl, cl
je 0x140021e84
lea rdx, [r9 + rax + 1]
mov al, byte [rdx]
cmp al, 0x20
je 0x140021ea8
cmp al, 9
je 0x140021ea8
mov rax, qword [0x1400b1b20]
lea rcx, str._s__d_:_syntax_error:__s_n
mov r8d, dword [rax]
mov rax, qword [0x1400b1b10]
mov rdx, qword [rax]
add rsp, 0x38
jmp fcn.140036717
call fcn.1400216fe
mov rcx, rax
test rax, rax
je 0x140021ec3
cmp byte [rax], 3
je 0x140021ec3
add rsp, 0x38
jmp 0x14001da51
add rsp, 0x38
jmp fcn.14001d0f8
add rsp, 0x38
ret