Function at 0x1400ae9a0
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 rsi, r9
mov r14, r8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
lea r15, [0x140000000]
movzx eax, byte [r14 + 8]
sete bl
add eax, 0xfffffff3
cmp eax, 5
ja case.default.0x1400aea11
cdqe
mov ecx, dword [r15 + rax*4 + 0xaf6f0]
add rcx, r15
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
cmp byte [r14 + 9], r8b
jge 0x1400aea2f
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400aea3b
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.140001580
mov eax, 1
jmp 0x1400af6d5
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [r14 + 9], 0
mov rsi, rax
jge 0x1400aea3b
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r14]
xor r9d, r9d
mov rbx, rax
xor r8d, r8d
mov edx, 0x401
sub ebx, esi
call qword [sym.imp.USER32.dll_SendMessageW]
add eax, ebx
jmp 0x1400aea3b
test bl, bl
jne 0x1400aea49
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400aea3b
mov rcx, qword [r14]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400aeb21
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.1400071f0
lea rdx, [rbp - 0x40]
jmp 0x1400aeb28
lea rdx, [0x1400ef7e4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400d3350
jmp 0x1400af6d5
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
lea r9, [rsp + 0x58]
and eax, 2
je 0x1400aec18
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.1400071f0
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.1400071f0
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 0x11]
call fcn.1400d3350
jmp 0x1400af6d5
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.1400071f0
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 8]
call fcn.1400d3350
jmp 0x1400af6d5
mov rcx, qword [r14]
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.1400b38b0
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400d3350
jmp 0x1400af6d5
lea rdx, str.Text
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rsi, 0xffffffffffffffff
test eax, eax
je case.0x1400aecfe.12
movzx eax, byte [r14 + 8]
dec eax
cmp eax, 0x16
ja case.0x1400aecfe.12
cdqe
mov ecx, dword [r15 + rax*4 + 0xaf708]
add rcx, r15
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400aed66
sub rax, 1
je 0x1400aed47
cmp rax, 1
jne 0x1400af350
xor r9d, r9d
mov byte [rsp + 0x20], al
mov r8, rsi
lea rdx, [0x140106238]
mov rcx, rdi
call fcn.1400d3350
jmp 0x1400af6d5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x14010621c]
mov rcx, rdi
call fcn.1400d3350
jmp 0x1400af6d5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x1400ef8c4]
mov rcx, rdi
call fcn.1400d3350
jmp 0x1400af6d5
test byte [r14 + 9], 2
je case.0x1400aecfe.12
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
cmp rax, rsi
jne 0x1400aedc3
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov r8, rsi
call fcn.1400d3350
jmp 0x1400af6d5
inc eax
jmp 0x1400aea3e
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, rsi
jne 0x1400aee22
mov rcx, qword [r14]
lea rdx, [rbp - 0x40]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x1400aecfe.12
mov rcx, qword [r14]
lea r9, [rbp - 0x40]
mov r8, rsi
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, rsi
je case.0x1400aecfe.12
test byte [r14 + 9], 2
je 0x1400aee31
lea eax, [rbx + 1]
jmp 0x1400aea3b
mov rcx, qword [r14]
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, rsi
je 0x1400aedb6
mov r8, rax
call fcn.1400d3350
cmp eax, 1
jne 0x1400af350
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001780
mov rcx, qword [r14]
mov r9, rax
mov r8, rbx
mov edx, 0x148
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [rdi + 0x23]
mov r14, rax
cmp rax, rsi
jne 0x1400aeee5
test cl, cl
jne 0x1400aeea6
mov rax, qword [rdi + 0x10]
jmp 0x1400aeea9
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x1400aeec7
cmp qword [0x14012bc60], 0
je 0x1400aeec7
lea rcx, [0x14012bc48]
call fcn.1400075e0
jmp 0x1400aeecb
and byte [rax + 0x21], 0x86
xor r9d, r9d
mov byte [rsp + 0x20], r12b
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.1400d3350
jmp 0x1400af6d5
test cl, cl
jne 0x1400aeeef
mov rbx, qword [rdi + 0x10]
jmp 0x1400aeef2
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x1400aef13
test byte [rbx + 0x21], 8
je 0x1400aef06
mov rcx, rbx
call fcn.140001620
add rbx, 0x10
lea rax, [r14 + r14]
jmp 0x1400af6a0
lea rbx, [0x14012d5d0]
lea rax, [r14 + r14]
jmp 0x1400af6a0
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
and eax, 0x808
je 0x1400af168
xor r9d, r9d
xor r8d, r8d
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 1
jl 0x1400aef9c
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 0x1400aef9c
mov rcx, qword [r14]
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 0x1400aefb6
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8, rsi
mov rcx, rdi
xor edx, edx
call fcn.1400d3350
jmp 0x1400af6d5
dec rax
xor r15d, r15d
test byte [r14 + 9], 2
mov r13, rax
mov qword [rbp - 0x80], rax
mov ebx, r15d
je 0x1400af030
mov rdi, qword [rsp + 0x40]
mov r14d, 0xa
nop dword [rax + rax]
mov ecx, dword [r12 + rbx*4]
lea rdx, [rbp - 0x40]
inc ecx
mov r8d, r14d
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
lea rcx, [rbp - 0x40]
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1400af000
add r13, rax
inc rbx
cmp rbx, rdi
jl 0x1400aefe0
mov rdi, qword [rbp + 0x808]
mov r14, qword [rbp + 0x810]
jmp 0x1400af05b
movsxd r8, dword [r12 + rbx*4]
xor r9d, r9d
mov rcx, qword [r14]
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rsi
je 0x1400aef93
add r13, rax
inc rbx
cmp rbx, qword [rsp + 0x40]
jl 0x1400af030
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.1400d3350
cmp eax, 1
jne 0x1400af350
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001780
test byte [r14 + 9], 2
mov rbx, rax
je 0x1400af0ec
mov r14, qword [rsp + 0x50]
mov rdi, qword [rbp + 0x800]
nop
test r15, r15
je 0x1400af0b0
movzx ecx, word [rdi + 0x6e]
mov word [rbx], cx
add rbx, 2
mov ecx, dword [r14 + r15*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, rsi
nop dword [rax + rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400af0d0
inc r15
lea rbx, [rbx + rax*2]
cmp r15, qword [rsp + 0x40]
jl 0x1400af0a0
jmp 0x1400af143
mov r13, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rbp + 0x800]
nop dword [rax]
test r15, r15
je 0x1400af112
movzx eax, word [r12 + 0x6e]
mov word [rbx], ax
add rbx, 2
movsxd r8, dword [rdi + r15*4]
mov r9, rbx
mov rcx, qword [r14]
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x1400af133
add r13, rax
lea rbx, [rbx + rax*2]
inc r15
cmp r15, qword [rsp + 0x40]
jl 0x1400af100
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
jne 0x1400af241
mov rbx, qword [rdi + 0x10]
jmp 0x1400af244
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, rsi
je 0x1400aef9c
test byte [r14 + 9], 2
je 0x1400af193
inc eax
jmp 0x1400aea3b
mov rcx, qword [r14]
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, rsi
je 0x1400aedb6
mov r8, rax
call fcn.1400d3350
cmp eax, 1
jne 0x1400af350
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001780
mov rcx, qword [r14]
mov r9, rax
mov r8, rbx
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
cmp rax, rsi
jne 0x1400af155
cmp byte [rdi + 0x23], 0
jne 0x1400af20a
mov rax, qword [rdi + 0x10]
jmp 0x1400af20d
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x1400af233
cmp qword [0x14012bc60], 0
je 0x1400af233
lea rcx, [0x14012bc48]
call fcn.1400075e0
mov byte [rsp + 0x20], r12b
jmp 0x1400aefa1
and byte [rax + 0x21], 0x86
mov byte [rsp + 0x20], r12b
jmp 0x1400aefa1
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x1400af269
test byte [rbx + 0x21], 8
je 0x1400af258
mov rcx, rbx
call fcn.140001620
add rbx, 0x10
lea rax, [r13*2]
jmp 0x1400af6a0
lea rbx, [0x14012d5d0]
lea rax, [r13*2]
jmp 0x1400af6a0
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je 0x1400aef9c
test byte [r14 + 9], 2
je 0x1400af2a7
inc eax
jmp 0x1400aea3b
lea rcx, [rbp - 0x40]
movsxd r8, eax
mov qword [rbp - 0x58], rcx
lea r9, [rbp - 0x68]
mov rcx, qword [r14]
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, rsi
mov rcx, rdi
test eax, eax
je 0x1400aefaa
mov rdx, qword [rbp - 0x58]
call fcn.1400d3350
jmp 0x1400af6d5
test bl, bl
jne 0x1400aea49
mov rcx, qword [r14]
call fcn.14009ad10
mov rcx, rdi
test rax, rax
je 0x1400aedac
mov rdx, rax
call fcn.1400d38a0
jmp 0x1400af6d5
test bl, bl
jne 0x1400aea49
mov rcx, qword [r14]
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.1400d3350
cmp eax, 1
je 0x1400af357
xor eax, eax
jmp 0x1400af6d5
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001780
mov rcx, qword [r14]
lea r8d, [rbx + 1]
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [rdi + 0x23], 0
movsxd r15, eax
jne 0x1400af38a
mov rbx, qword [rdi + 0x10]
jmp 0x1400af38d
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x1400af3a7
test byte [rbx + 0x21], 8
je 0x1400af3a1
mov rcx, rbx
call fcn.140001620
add rbx, 0x10
jmp 0x1400af3ae
lea rbx, [0x14012d5d0]
lea rax, [r15 + r15]
mov qword [rbx], rax
test r15, r15
jne 0x1400af3d1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001780
mov word [rax], r15w
jmp 0x1400af6a3
cmp byte [r14 + 8], 0xc
jne 0x1400af6a3
mov eax, 0xffffffff
xor r8d, r8d
mov edx, r12d
mov dword [rbp + 0x810], eax
mov rcx, rdi
call fcn.140001780
mov qword [rsp + 0x50], rax
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400af400
xor r15d, r15d
mov r13d, r15d
mov qword [rsp + 0x78], r15
mov r14d, r15d
mov qword [rbp - 0x80], r15
cmp word [rax], r13w
je 0x1400af648
cmp rbx, 0x1388
jb 0x1400af5d4
mov dword [rsp + 0x48], r15d
mov rcx, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x14010f728]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400af530
mov r10d, dword [rsp + 0x48]
mov r14, rax
mov edx, dword [rbp + 0x810]
inc r10d
mov r9, qword [rsp + 0x40]
dec edx
sub r14, r9
mov dword [rsp + 0x48], r10d
sar r14, 1
mov dword [rbp + 0x810], edx
lea rcx, [r14 + r13]
mov qword [rbp - 0x78], rcx
inc rcx
cmp rcx, qword [rbp - 0x80]
jb 0x1400af4e4
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, rsi
movsxd r9, ebx
call fcn.1400cf030
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 0x1400af5bb
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
jmp 0x1400af4e9
mov rax, qword [rsp + 0x78]
test r14, r14
je 0x1400af502
lea r8, [r14 + r14]
mov rdx, r9
lea rcx, [rax + r13*2]
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rbp - 0x78]
mov r14, qword [rsp + 0x78]
mov eax, 0xa
mov rcx, qword [rbp - 0x70]
add rcx, 4
mov qword [rsp + 0x40], rcx
mov word [r14 + r13*2], ax
inc r13
cmp dword [rbp + 0x810], r15d
jne 0x1400af440
jmp 0x1400af535
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], r15d
je 0x1400af648
mov rax, rcx
sub rax, qword [rsp + 0x50]
sar rax, 1
sub rbx, rax
je 0x1400af593
lea rax, [rbx + r13]
mov qword [rbp + 0x810], rax
cmp rax, qword [rbp - 0x80]
jb 0x1400af57a
lea rdx, [rax*2 + 2]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400af5c0
mov r14, rax
mov rdx, qword [rsp + 0x40]
lea r8, [rbx + rbx]
lea rcx, [r14 + r13*2]
call sub.VCRUNTIME140.dll_memcpy
mov r13, qword [rbp + 0x810]
mov rcx, qword [rsp + 0x50]
lea r8, [r13*2 + 2]
mov rdx, r14
mov word [r14 + r13*2], r15w
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400af648
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x1400af648
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400af648
mov edi, dword [rbp + 0x810]
mov r15, rax
mov r13d, 0xa
mov r12, rax
nop word [rax + rax]
lea rdx, [0x14010f728]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov r14, rax
test rax, rax
je 0x1400af63b
mov rcx, rax
lea r15, [rax + 2]
sub rcx, r12
lea rdx, [rax + 4]
sar rcx, 1
mov r8, rbx
sub r8, rcx
mov rcx, r15
lea r8, [r8*2 - 2]
call sub.VCRUNTIME140.dll_memmove
dec rbx
mov word [r14], r13w
add edi, 0xffffffff
jne 0x1400af5f0
mov rdi, qword [rbp + 0x808]
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001780
nop word [rax + rax]
cmp word [rax + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x1400af660
cmp byte [rdi + 0x23], 0
jne 0x1400af678
mov rbx, qword [rdi + 0x10]
jmp 0x1400af67b
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x1400af695
test byte [rbx + 0x21], 8
je 0x1400af68f
mov rcx, rbx
call fcn.140001620
add rbx, 0x10
jmp 0x1400af69c
lea rbx, [0x14012d5d0]
lea rax, [rsi + rsi]
mov qword [rbx], rax
cmp byte [rdi + 0x23], 0
jne 0x1400af6ad
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x23], 2
jne 0x1400af6ce
cmp qword [0x14012bc60], 0
je 0x1400af6ce
lea rcx, [0x14012bc48]
call fcn.1400075e0
mov r12d, eax
jmp 0x1400af6d2
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