Function at 0x14000ba5c
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x14000bdde
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r15d, r15d
mov r14, rdx
mov byte [rsp + 0x60], r15b
mov esi, r15d
mov r12d, ecx
mov ebp, 0xffdf
mov r13d, esi
mov rdi, qword [r14 + r13*8]
movzx eax, word [rdi]
cmp ax, 0x40
jne 0x14000bab1
lea rcx, [rdi + 2]
call fcn.140003c9c
jmp 0x14000bda9
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
je 0x14000bc34
mov edx, 0x3d
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x14000bb64
cmp rax, rdi
jne 0x14000baee
mov edx, 0x427
xor ecx, ecx
call fcn.140003e48
mov word [rbx], r15w
lea rax, [rbx - 2]
add rbx, 2
mov ecx, 0x20
cmp word [rax], cx
je 0x14000bb0a
cmp word [rax], 9
jne 0x14000bb10
sub rax, 2
jmp 0x14000baff
lea rdx, [0x1400125dc]
mov word [rax + 2], r15w
mov rcx, rbx
mov byte [0x1400167ed], 1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsspn]
lea rcx, [rbx + rax*2]
call fcn.14000e208
lea rdx, [0x1400125dc]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsspn]
lea rcx, [rdi + rax*2]
call fcn.14000e208
mov rcx, rax
mov r8b, 2
mov rdx, rbx
call fcn.140001acc
jmp 0x14000bc2b
mov rcx, rdi
call fcn.14000c15c
cmp word [rdi], r15w
je 0x14000bc2b
call fcn.14000e19c
mov edx, 0x20
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x14000bbf3
or r8, 0xffffffffffffffff
mov r14, r8
inc r14
cmp word [rdi + r14*2], r15w
jne 0x14000bb98
lea rcx, [r14 + 3]
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.14000a014
mov r15, rax
lea rbx, [r14 + r14]
mov eax, 0x22
mov r8, rbx
mov rdx, rdi
lea rcx, [r15 + 2]
mov word [r15], ax
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x22
mov word [rbx + r15 + 2], ax
xor eax, eax
mov word [r15 + r14*2 + 4], ax
mov r14, qword [rsp + 0x68]
jmp 0x14000bbfe
mov rcx, rdi
call fcn.14000e208
mov r15, rax
mov rax, rbp
lea rcx, [0x1400167f8]
mov qword [rax + 8], r15
xor r15d, r15d
mov rax, qword [0x1400167f8]
jmp 0x14000bc1e
mov rcx, rax
mov rax, qword [rax]
test rax, rax
jne 0x14000bc18
mov qword [rcx], rbp
mov ebp, 0xffdf
mov qword [r14 + r13*8], r15
jmp 0x14000bda9
lea rbx, [rdi + 2]
mov rcx, rbx
lea rdx, str.help
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000bdbc
jmp 0x14000bc9e
lea rdx, str.nologo
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000bd9e
cmp word [rbx], 0x3f
je 0x14000bd96
movzx eax, word [rbx]
sub ax, 0x46
test bp, ax
je 0x14000bd3b
movzx eax, word [rbx]
sub ax, 0x58
test bp, ax
je 0x14000bca9
movzx ecx, word [rbx]
mov dl, 1
call fcn.14000bde0
add rbx, 2
cmp word [rbx], r15w
jne 0x14000bc52
jmp 0x14000bda9
add rbx, 2
movzx eax, word [rbx]
test ax, ax
jne 0x14000bcd7
inc esi
cmp esi, r12d
jae 0x14000bcc8
mov rbx, qword [r14 + rsi*8]
movzx eax, word [rbx]
test ax, ax
jne 0x14000bcd7
mov edx, 0x426
xor ecx, ecx
call fcn.140003e48
movzx eax, word [rbx]
cmp ax, 0x2d
jne 0x14000bcfc
cmp word [rbx + 2], r15w
jne 0x14000bcfc
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call fcn.14000c470
jmp 0x14000bda9
lea r8, [0x140013c38]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
je 0x14000bd24
mov r8, rbx
mov edx, 0x418
xor ecx, ecx
call fcn.140003e48
mov rcx, qword [rsp + 0x70]
call fcn.14000c470
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14000bda9
add rbx, 2
cmp word [rbx], r15w
jne 0x14000bd62
inc esi
cmp esi, r12d
jae 0x14000bd56
mov rbx, qword [r14 + rsi*8]
cmp word [rbx], r15w
jne 0x14000bd62
mov edx, 0x425
xor ecx, ecx
call fcn.140003e48
call fcn.14000e19c
mov rcx, rbx
mov rdi, rax
call fcn.14000e208
mov qword [rdi + 8], rax
lea rdx, [0x140037e80]
mov rcx, qword [0x140037e80]
jmp 0x14000bd8c
mov rdx, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14000bd86
mov qword [rdx], rdi
jmp 0x14000bda9
mov cl, 1
mov byte [rsp + 0x60], cl
jmp 0x14000bdad
movzx ecx, word [rbx + 4]
mov dl, 1
call fcn.14000bde0
mov cl, byte [rsp + 0x60]
inc esi
cmp esi, r12d
jb 0x14000ba93
test cl, cl
je 0x14000bdca
call fcn.140004098
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret