Function at 0x1400ae7a0
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.0x1400ae811
cdqe
mov ecx, dword [r15 + rax*4 + 0xaf4f0]
add rcx, r15
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
cmp byte [r14 + 9], r8b
jge 0x1400ae82f
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400ae83b
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.140001540
mov eax, 1
jmp 0x1400af4d5
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 0x1400ae83b
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 0x1400ae83b
test bl, bl
jne 0x1400ae849
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400ae83b
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 0x1400ae921
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.140007170
lea rdx, [rbp - 0x40]
jmp 0x1400ae928
lea rdx, [0x1400ef7d4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400d3520
jmp 0x1400af4d5
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 0x1400aea18
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.140007170
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.140007170
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 0x11]
call fcn.1400d3520
jmp 0x1400af4d5
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.140007170
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 8]
call fcn.1400d3520
jmp 0x1400af4d5
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.1400b36a0
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400d3520
jmp 0x1400af4d5
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.0x1400aeafe.12
movzx eax, byte [r14 + 8]
dec eax
cmp eax, 0x16
ja case.0x1400aeafe.12
cdqe
mov ecx, dword [r15 + rax*4 + 0xaf508]
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 0x1400aeb66
sub rax, 1
je 0x1400aeb47
cmp rax, 1
jne 0x1400af150
xor r9d, r9d
mov byte [rsp + 0x20], al
mov r8, rsi
lea rdx, [0x140106228]
mov rcx, rdi
call fcn.1400d3520
jmp 0x1400af4d5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x14010620c]
mov rcx, rdi
call fcn.1400d3520
jmp 0x1400af4d5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x1400ef8b4]
mov rcx, rdi
call fcn.1400d3520
jmp 0x1400af4d5
test byte [r14 + 9], 2
je case.0x1400aeafe.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 0x1400aebc3
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov r8, rsi
call fcn.1400d3520
jmp 0x1400af4d5
inc eax
jmp 0x1400ae83e
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 0x1400aec22
mov rcx, qword [r14]
lea rdx, [rbp - 0x40]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x1400aeafe.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.0x1400aeafe.12
test byte [r14 + 9], 2
je 0x1400aec31
lea eax, [rbx + 1]
jmp 0x1400ae83b
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 0x1400aebb6
mov r8, rax
call fcn.1400d3520
cmp eax, 1
jne 0x1400af150
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001740
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 0x1400aece5
test cl, cl
jne 0x1400aeca6
mov rax, qword [rdi + 0x10]
jmp 0x1400aeca9
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x1400aecc7
cmp qword [0x14012bc60], 0
je 0x1400aecc7
lea rcx, [0x14012bc48]
call fcn.140007560
jmp 0x1400aeccb
and byte [rax + 0x21], 0x86
xor r9d, r9d
mov byte [rsp + 0x20], r12b
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.1400d3520
jmp 0x1400af4d5
test cl, cl
jne 0x1400aecef
mov rbx, qword [rdi + 0x10]
jmp 0x1400aecf2
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x1400aed13
test byte [rbx + 0x21], 8
je 0x1400aed06
mov rcx, rbx
call fcn.1400015e0
add rbx, 0x10
lea rax, [r14 + r14]
jmp 0x1400af4a0
lea rbx, [0x14012d5d0]
lea rax, [r14 + r14]
jmp 0x1400af4a0
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
and eax, 0x808
je 0x1400aef68
xor r9d, r9d
xor r8d, r8d
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 1
jl 0x1400aed9c
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 0x1400aed9c
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 0x1400aedb6
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.1400d3520
jmp 0x1400af4d5
dec rax
xor r15d, r15d
test byte [r14 + 9], 2
mov r13, rax
mov qword [rbp - 0x80], rax
mov ebx, r15d
je 0x1400aee30
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 0x1400aee00
add r13, rax
inc rbx
cmp rbx, rdi
jl 0x1400aede0
mov rdi, qword [rbp + 0x808]
mov r14, qword [rbp + 0x810]
jmp 0x1400aee5b
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 0x1400aed93
add r13, rax
inc rbx
cmp rbx, qword [rsp + 0x40]
jl 0x1400aee30
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.1400d3520
cmp eax, 1
jne 0x1400af150
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001740
test byte [r14 + 9], 2
mov rbx, rax
je 0x1400aeeec
mov r14, qword [rsp + 0x50]
mov rdi, qword [rbp + 0x800]
nop
test r15, r15
je 0x1400aeeb0
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 0x1400aeed0
inc r15
lea rbx, [rbx + rax*2]
cmp r15, qword [rsp + 0x40]
jl 0x1400aeea0
jmp 0x1400aef43
mov r13, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rbp + 0x800]
nop dword [rax]
test r15, r15
je 0x1400aef12
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 0x1400aef33
add r13, rax
lea rbx, [rbx + rax*2]
inc r15
cmp r15, qword [rsp + 0x40]
jl 0x1400aef00
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 0x1400af041
mov rbx, qword [rdi + 0x10]
jmp 0x1400af044
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, rsi
je 0x1400aed9c
test byte [r14 + 9], 2
je 0x1400aef93
inc eax
jmp 0x1400ae83b
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 0x1400aebb6
mov r8, rax
call fcn.1400d3520
cmp eax, 1
jne 0x1400af150
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001740
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 0x1400aef55
cmp byte [rdi + 0x23], 0
jne 0x1400af00a
mov rax, qword [rdi + 0x10]
jmp 0x1400af00d
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x1400af033
cmp qword [0x14012bc60], 0
je 0x1400af033
lea rcx, [0x14012bc48]
call fcn.140007560
mov byte [rsp + 0x20], r12b
jmp 0x1400aeda1
and byte [rax + 0x21], 0x86
mov byte [rsp + 0x20], r12b
jmp 0x1400aeda1
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x1400af069
test byte [rbx + 0x21], 8
je 0x1400af058
mov rcx, rbx
call fcn.1400015e0
add rbx, 0x10
lea rax, [r13*2]
jmp 0x1400af4a0
lea rbx, [0x14012d5d0]
lea rax, [r13*2]
jmp 0x1400af4a0
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je 0x1400aed9c
test byte [r14 + 9], 2
je 0x1400af0a7
inc eax
jmp 0x1400ae83b
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 0x1400aedaa
mov rdx, qword [rbp - 0x58]
call fcn.1400d3520
jmp 0x1400af4d5
test bl, bl
jne 0x1400ae849
mov rcx, qword [r14]
call fcn.14009aba0
mov rcx, rdi
test rax, rax
je 0x1400aebac
mov rdx, rax
call fcn.1400d3a70
jmp 0x1400af4d5
test bl, bl
jne 0x1400ae849
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.1400d3520
cmp eax, 1
je 0x1400af157
xor eax, eax
jmp 0x1400af4d5
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001740
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 0x1400af18a
mov rbx, qword [rdi + 0x10]
jmp 0x1400af18d
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x1400af1a7
test byte [rbx + 0x21], 8
je 0x1400af1a1
mov rcx, rbx
call fcn.1400015e0
add rbx, 0x10
jmp 0x1400af1ae
lea rbx, [0x14012d5d0]
lea rax, [r15 + r15]
mov qword [rbx], rax
test r15, r15
jne 0x1400af1d1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001740
mov word [rax], r15w
jmp 0x1400af4a3
cmp byte [r14 + 8], 0xc
jne 0x1400af4a3
mov eax, 0xffffffff
xor r8d, r8d
mov edx, r12d
mov dword [rbp + 0x810], eax
mov rcx, rdi
call fcn.140001740
mov qword [rsp + 0x50], rax
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400af200
xor r15d, r15d
mov r13d, r15d
mov qword [rsp + 0x78], r15
mov r14d, r15d
mov qword [rbp - 0x80], r15
cmp word [rax], r13w
je 0x1400af448
cmp rbx, 0x1388
jb 0x1400af3d4
mov dword [rsp + 0x48], r15d
mov rcx, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x14010f738]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400af330
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 0x1400af2e4
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.1400cf210
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 0x1400af3bb
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
jmp 0x1400af2e9
mov rax, qword [rsp + 0x78]
test r14, r14
je 0x1400af302
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 0x1400af240
jmp 0x1400af335
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], r15d
je 0x1400af448
mov rax, rcx
sub rax, qword [rsp + 0x50]
sar rax, 1
sub rbx, rax
je 0x1400af393
lea rax, [rbx + r13]
mov qword [rbp + 0x810], rax
cmp rax, qword [rbp - 0x80]
jb 0x1400af37a
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 0x1400af3c0
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 0x1400af448
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x1400af448
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400af448
mov edi, dword [rbp + 0x810]
mov r15, rax
mov r13d, 0xa
mov r12, rax
nop word [rax + rax]
lea rdx, [0x14010f738]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov r14, rax
test rax, rax
je 0x1400af43b
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 0x1400af3f0
mov rdi, qword [rbp + 0x808]
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001740
nop word [rax + rax]
cmp word [rax + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x1400af460
cmp byte [rdi + 0x23], 0
jne 0x1400af478
mov rbx, qword [rdi + 0x10]
jmp 0x1400af47b
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x1400af495
test byte [rbx + 0x21], 8
je 0x1400af48f
mov rcx, rbx
call fcn.1400015e0
add rbx, 0x10
jmp 0x1400af49c
lea rbx, [0x14012d5d0]
lea rax, [rsi + rsi]
mov qword [rbx], rax
cmp byte [rdi + 0x23], 0
jne 0x1400af4ad
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x23], 2
jne 0x1400af4ce
cmp qword [0x14012bc60], 0
je 0x1400af4ce
lea rcx, [0x14012bc48]
call fcn.140007560
mov r12d, eax
jmp 0x1400af4d2
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