Function at 0x1400b6850
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rdi, rdx
mov rcx, r9
lea rdx, str.Submit
mov r14, r9
mov rsi, r8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
movzx edx, byte [rsi + 8]
lea r12, [0x140000000]
add edx, 0xfffffff3
mov ebx, eax
cmp edx, 5
ja case.default.0x1400b68be
movsxd rcx, edx
mov edx, dword [r12 + rcx*4 + 0xb7564]
add rdx, r12
jmp rdx
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
cmp byte [rsi + 9], r8b
jge 0x1400b68dc
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400b68e8
mov edx, 0x468
call qword [sym.imp.USER32.dll_SendMessageW]
cwde
mov rcx, rdi
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400015a0
mov eax, 1
jmp 0x1400b7546
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rsi + 9], 0
mov r14, rax
jge 0x1400b68e8
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
xor r9d, r9d
mov rbx, rax
xor r8d, r8d
mov edx, 0x401
sub ebx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
add eax, ebx
jmp 0x1400b68e8
test ebx, ebx
je 0x1400b68f6
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400b68e8
mov rcx, qword [rsi]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400b69ce
movzx ecx, word [rsp + 0x62]
movzx edx, word [rsp + 0x60]
movzx eax, word [rsp + 0x64]
movzx r10d, word [rsp + 0x5e]
movzx r9d, word [rsp + 0x5a]
movzx r8d, word [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.140007350
lea rdx, [rbp - 0x40]
jmp 0x1400b69d5
lea rdx, [0x1400f97e4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, 0xffffffffffffffff
mov rcx, rdi
call fcn.1400dc860
jmp 0x1400b7546
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [rsi]
lea r9, [rsp + 0x58]
bt eax, 1
jae 0x1400b6acb
xor r8d, r8d
mov edx, 0x1005
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rsp + 0x62]
movzx edx, word [rsp + 0x60]
movzx eax, word [rsp + 0x64]
movzx r10d, word [rsp + 0x5e]
movzx r9d, word [rsp + 0x5a]
movzx r8d, word [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.140007350
movzx ecx, word [rsp + 0x72]
mov eax, 0x2d
movzx edx, word [rsp + 0x70]
movzx r10d, word [rsp + 0x6e]
movzx r9d, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
mov word [rbp - 0x30], ax
movzx eax, word [rsp + 0x74]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x2e]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.140007350
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400dc860
jmp 0x1400b7546
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rsp + 0x62]
movzx edx, word [rsp + 0x60]
movzx eax, word [rsp + 0x64]
movzx r10d, word [rsp + 0x5e]
movzx r9d, word [rsp + 0x5a]
movzx r8d, word [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp - 0x40]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.140007350
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8d, 8
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400dc860
jmp 0x1400b7546
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.1400bb630
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, 0xffffffffffffffff
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400dc860
jmp 0x1400b7546
lea rdx, str.Text
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov r15, 0xffffffffffffffff
test eax, eax
je case.0x1400b6bb5.12
movzx eax, byte [rsi + 8]
dec eax
cmp eax, 0x16
ja case.0x1400b6bb5.12
cdqe
mov ecx, dword [r12 + rax*4 + 0xb757c]
add rcx, r12
jmp rcx
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400b6c1d
sub rax, 1
je 0x1400b6bfe
cmp rax, 1
jne 0x1400b71d7
xor r9d, r9d
mov byte [rsp + 0x20], al
mov r8, r15
lea rdx, [0x140110288]
mov rcx, rdi
call fcn.1400dc860
jmp 0x1400b7546
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r15
lea rdx, [0x14011026c]
mov rcx, rdi
call fcn.1400dc860
jmp 0x1400b7546
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r15
lea rdx, [0x1400f98c8]
mov rcx, rdi
call fcn.1400dc860
jmp 0x1400b7546
test byte [rsi + 9], 2
je case.0x1400b6bb5.12
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
cmp rax, r15
jne 0x1400b6c79
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, r15
xor edx, edx
call fcn.1400dc860
jmp 0x1400b7546
inc eax
jmp 0x1400b68eb
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, r15
jne 0x1400b6cd8
mov rcx, qword [rsi]
lea rdx, [rbp - 0x40]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x1400b6bb5.12
mov rcx, qword [rsi]
lea r9, [rbp - 0x40]
mov r8, r15
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, r15
je case.0x1400b6bb5.12
test byte [rsi + 9], 2
je 0x1400b6ce6
lea eax, [rbx + 1]
jmp 0x1400b68e8
mov rcx, qword [rsi]
xor r9d, r9d
mov r8, rbx
mov edx, 0x149
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rdi
cmp rax, r15
jne 0x1400b6d19
mov r8, r15
call fcn.1400dc860
jmp 0x1400b7546
mov r8, rax
call fcn.1400dc860
cmp eax, 1
jne 0x1400b71d7
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.1400017a0
mov rcx, qword [rsi]
mov r9, rax
mov r8, rbx
mov edx, 0x148
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [rdi + 0x23]
mov rsi, rax
cmp rax, r15
jne 0x1400b6da3
test cl, cl
jne 0x1400b6d64
mov rcx, qword [rdi + 0x10]
jmp 0x1400b6d67
mov rcx, rdi
cmp byte [rcx + 0x23], 2
jne 0x1400b6d85
cmp qword [0x140136d00], 0
je 0x1400b6d85
lea rcx, [0x140136ce8]
call fcn.140007740
jmp 0x1400b6d89
and byte [rcx + 0x21], 0x86
mov byte [rsp + 0x20], r12b
xor r9d, r9d
mov r8, r15
xor edx, edx
mov rcx, rdi
call fcn.1400dc860
jmp 0x1400b7546
test cl, cl
jne 0x1400b6dad
mov rbx, qword [rdi + 0x10]
jmp 0x1400b6db0
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x1400b6dd1
test byte [rbx + 0x21], 8
je 0x1400b6dc4
mov rcx, rbx
call fcn.140001640
add rbx, 0x10
lea rax, [rsi + rsi]
jmp 0x1400b7511
lea rbx, [0x140138668]
lea rax, [rsi + rsi]
jmp 0x1400b7511
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [rsi]
test eax, 0x808
je 0x1400b701b
xor r9d, r9d
xor r8d, r8d
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 1
jl 0x1400b6e5a
lea rcx, [rax*4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x50], rax
mov r12, rax
test rax, rax
je 0x1400b6e5a
mov rcx, qword [rsi]
mov r9, rax
mov r8, rbx
mov edx, 0x191
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x40], rax
cmp rax, 1
jge 0x1400b6e64
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rsp + 0x20], 1
jmp 0x1400b6d8e
dec rax
xor r14d, r14d
test byte [rsi + 9], 2
mov r13, rax
mov qword [rbp - 0x80], rax
mov ebx, r14d
je 0x1400b6ee0
mov rdi, qword [rsp + 0x40]
mov esi, 0xa
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [r12 + rbx*4]
lea rdx, [rbp - 0x40]
inc ecx
mov r8d, esi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
lea rcx, [rbp - 0x40]
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400b6eb0
add r13, rax
inc rbx
cmp rbx, rdi
jl 0x1400b6e90
mov rdi, qword [rbp + 0x808]
mov rsi, qword [rbp + 0x810]
jmp 0x1400b6f0b
movsxd r8, dword [r12 + rbx*4]
xor r9d, r9d
mov rcx, qword [rsi]
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, r15
je 0x1400b6e51
add r13, rax
inc rbx
cmp rbx, qword [rsp + 0x40]
jl 0x1400b6ee0
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.1400dc860
cmp eax, 1
jne 0x1400b71d7
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.1400017a0
test byte [rsi + 9], 2
mov rbx, rax
je 0x1400b6f9c
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rbp + 0x800]
nop
test r14, r14
je 0x1400b6f60
movzx ecx, word [rdi + 0x6e]
mov word [rbx], cx
add rbx, 2
mov ecx, dword [rsi + r14*4]
mov r8d, 0xa
inc ecx
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
mov rax, r15
nop dword [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400b6f80
inc r14
lea rbx, [rbx + rax*2]
cmp r14, qword [rsp + 0x40]
jl 0x1400b6f50
jmp 0x1400b6ff3
mov r13, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rbp + 0x800]
nop dword [rax]
test r14, r14
je 0x1400b6fc2
movzx eax, word [r12 + 0x6e]
mov word [rbx], ax
add rbx, 2
movsxd r8, dword [rdi + r14*4]
mov r9, rbx
mov rcx, qword [rsi]
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x1400b6fe3
add r13, rax
lea rbx, [rbx + rax*2]
inc r14
cmp r14, qword [rsp + 0x40]
jl 0x1400b6fb0
mov r12d, 1
mov rcx, qword [rsp + 0x50]
mov rdi, qword [rbp + 0x808]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [rdi + 0x23], 0
lea rsi, [rdi + 0x10]
jne 0x1400b70c3
mov rbx, qword [rsi]
jmp 0x1400b70c6
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, r15
je 0x1400b6e5a
test byte [rsi + 9], 2
je 0x1400b7045
inc eax
jmp 0x1400b68e8
mov rcx, qword [rsi]
xor r9d, r9d
mov r8, rbx
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rdi
cmp rax, r15
je 0x1400b6d0c
mov r8, rax
call fcn.1400dc860
cmp eax, 1
jne 0x1400b71d7
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.1400017a0
mov rcx, qword [rsi]
mov r9, rax
mov r8, rbx
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
cmp rax, r15
jne 0x1400b7005
cmp byte [rdi + 0x23], 0
jne 0x1400b6d64
mov rcx, qword [rdi + 0x10]
jmp 0x1400b6d67
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x1400b70e0
test byte [rbx + 0x21], 8
je 0x1400b70da
mov rcx, rbx
call fcn.140001640
add rbx, 0x10
jmp 0x1400b70e7
lea rbx, [0x140138668]
lea rax, [r13*2]
mov qword [rbx], rax
cmp byte [rdi + 0x23], 0
jne 0x1400b751e
mov rdi, qword [rsi]
jmp 0x1400b751e
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x1400b6e5a
test byte [rsi + 9], 2
je 0x1400b712e
inc eax
jmp 0x1400b68e8
lea rcx, [rbp - 0x40]
movsxd r8, eax
mov qword [rbp - 0x58], rcx
lea r9, [rbp - 0x68]
mov rcx, qword [rsi]
mov r12d, 1
mov edx, 0x133c
mov dword [rbp - 0x68], r12d
mov dword [rbp - 0x50], 0x3ff
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov byte [rsp + 0x20], r12b
mov r8, r15
mov rcx, rdi
test eax, eax
je 0x1400b6c6d
mov rdx, qword [rbp - 0x58]
call fcn.1400dc860
jmp 0x1400b7546
test ebx, ebx
je 0x1400b68f6
mov rcx, qword [rsi]
call fcn.1400a1fb0
mov rcx, rdi
test rax, rax
je 0x1400b6c62
mov rdx, rax
call fcn.1400dcdb0
jmp 0x1400b7546
test ebx, ebx
je 0x1400b68f6
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor r9d, r9d
mov byte [rsp + 0x20], 1
movsxd rbx, eax
xor edx, edx
mov r8, rbx
mov rcx, rdi
call fcn.1400dc860
cmp eax, 1
je 0x1400b71de
xor eax, eax
jmp 0x1400b7546
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.1400017a0
mov rcx, qword [rsi]
lea r8d, [rbx + 1]
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [rdi + 0x23], 0
movsxd r14, eax
jne 0x1400b7211
mov rbx, qword [rdi + 0x10]
jmp 0x1400b7214
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x1400b722e
test byte [rbx + 0x21], 8
je 0x1400b7228
mov rcx, rbx
call fcn.140001640
add rbx, 0x10
jmp 0x1400b7235
lea rbx, [0x140138668]
lea rax, [r14 + r14]
mov qword [rbx], rax
test r14, r14
jne 0x1400b7258
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.1400017a0
mov word [rax], r14w
jmp 0x1400b7514
cmp byte [rsi + 8], 0xc
jne 0x1400b7514
mov eax, 0xffffffff
xor r8d, r8d
mov edx, r12d
mov dword [rbp + 0x810], eax
mov rcx, rdi
call fcn.1400017a0
mov qword [rsp + 0x50], rax
mov rbx, r15
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400b7283
xor r14d, r14d
mov esi, r14d
mov qword [rsp + 0x78], r14
mov r13d, r14d
mov qword [rbp - 0x80], r14
cmp word [rax], r14w
je 0x1400b74b9
cmp rbx, 0x1388
jb 0x1400b7450
mov dword [rsp + 0x48], r14d
mov rcx, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x1401190f0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400b73b0
mov r10d, dword [rsp + 0x48]
mov rsi, rax
mov edx, dword [rbp + 0x810]
inc r10d
mov r9, qword [rsp + 0x40]
dec edx
sub rsi, r9
mov dword [rsp + 0x48], r10d
sar rsi, 1
mov dword [rbp + 0x810], edx
lea rcx, [rsi + r13]
mov qword [rbp - 0x78], rcx
inc rcx
cmp rcx, qword [rbp - 0x80]
jb 0x1400b7367
sub rax, qword [rsp + 0x50]
mov r8d, edx
movsxd rcx, ecx
mov edx, r10d
sar rax, 1
cdqe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, r15
movsxd r9, ebx
call fcn.1400d73f0
mov rcx, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
lea rdx, [rax + rax]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400b743b
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
jmp 0x1400b736c
mov rax, qword [rsp + 0x78]
test rsi, rsi
je 0x1400b7385
lea r8, [rsi + rsi]
mov rdx, r9
lea rcx, [rax + r13*2]
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rbp - 0x78]
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x70]
add rcx, 4
mov qword [rsp + 0x40], rcx
mov word [rsi + r13*2], 0xa
inc r13
cmp dword [rbp + 0x810], r14d
jne 0x1400b72c3
jmp 0x1400b73b5
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], r14d
je 0x1400b74b9
mov rax, rcx
sub rax, qword [rsp + 0x50]
sar rax, 1
sub rbx, rax
je 0x1400b7413
lea rax, [rbx + r13]
mov qword [rbp + 0x810], rax
cmp rax, qword [rbp - 0x80]
jb 0x1400b73fa
lea rdx, [rax*2 + 2]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400b7440
mov rsi, rax
mov rdx, qword [rsp + 0x40]
lea r8, [rbx + rbx]
lea rcx, [rsi + r13*2]
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rbp + 0x810]
mov rcx, qword [rsp + 0x50]
lea r8, [r13*2 + 2]
mov rdx, rsi
mov word [rsi + r13*2], r14w
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400b74b9
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x1400b74b9
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400b74b9
mov edi, dword [rbp + 0x810]
mov r14, rax
mov r12, rax
nop dword [rax]
lea rdx, [0x1401190f0]
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rsi, rax
test rax, rax
je 0x1400b74ac
mov rcx, rax
lea r14, [rax + 2]
sub rcx, r12
lea rdx, [rax + 4]
sar rcx, 1
mov r8, rbx
sub r8, rcx
mov rcx, r14
lea r8, [r8*2 - 2]
call sub.VCRUNTIME140.dll_memmove
dec rbx
mov word [rsi], 0xa
add edi, 0xffffffff
jne 0x1400b7460
mov rdi, qword [rbp + 0x808]
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.1400017a0
nop word [rax + rax]
cmp word [rax + r15*2 + 2], 0
lea r15, [r15 + 1]
jne 0x1400b74d0
cmp byte [rdi + 0x23], 0
jne 0x1400b74e9
mov rbx, qword [rdi + 0x10]
jmp 0x1400b74ec
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x1400b7506
test byte [rbx + 0x21], 8
je 0x1400b7500
mov rcx, rbx
call fcn.140001640
add rbx, 0x10
jmp 0x1400b750d
lea rbx, [0x140138668]
lea rax, [r15 + r15]
mov qword [rbx], rax
cmp byte [rdi + 0x23], 0
jne 0x1400b751e
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x23], 2
jne 0x1400b753f
cmp qword [0x140136d00], 0
je 0x1400b753f
lea rcx, [0x140136ce8]
call fcn.140007740
mov r12d, eax
jmp 0x1400b7543
and byte [rdi + 0x21], 0x86
mov eax, r12d
mov rbx, qword [rsp + 0x918]
add rsp, 0x8c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret