Function at 0x14009f390
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.0x14009f401
cdqe
mov ecx, dword [r15 + rax*4 + 0xa00e0]
add rcx, r15
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
cmp byte [r14 + 9], r8b
jge 0x14009f41f
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14009f42b
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.140001430
mov eax, 1
jmp 0x1400a00c5
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 0x14009f42b
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 0x14009f42b
test bl, bl
jne 0x14009f439
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14009f42b
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 0x14009f511
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.1400062d0
lea rdx, [rbp - 0x40]
jmp 0x14009f518
lea rdx, [0x1400e0674]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400c4200
jmp 0x1400a00c5
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 0x14009f608
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.1400062d0
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.1400062d0
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 0x11]
call fcn.1400c4200
jmp 0x1400a00c5
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.1400062d0
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 8]
call fcn.1400c4200
jmp 0x1400a00c5
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.1400a4230
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400c4200
jmp 0x1400a00c5
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.0x14009f6ee.12
movzx eax, byte [r14 + 8]
dec eax
cmp eax, 0x16
ja case.0x14009f6ee.12
cdqe
mov ecx, dword [r15 + rax*4 + 0xa00f8]
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 0x14009f756
sub rax, 1
je 0x14009f737
cmp rax, 1
jne 0x14009fd40
xor r9d, r9d
mov byte [rsp + 0x20], al
mov r8, rsi
lea rdx, [0x1400f5d78]
mov rcx, rdi
call fcn.1400c4200
jmp 0x1400a00c5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x1400f5d5c]
mov rcx, rdi
call fcn.1400c4200
jmp 0x1400a00c5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x1400e0704]
mov rcx, rdi
call fcn.1400c4200
jmp 0x1400a00c5
test byte [r14 + 9], 2
je case.0x14009f6ee.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 0x14009f7b3
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov r8, rsi
call fcn.1400c4200
jmp 0x1400a00c5
inc eax
jmp 0x14009f42e
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 0x14009f812
mov rcx, qword [r14]
lea rdx, [rbp - 0x40]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x14009f6ee.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.0x14009f6ee.12
test byte [r14 + 9], 2
je 0x14009f821
lea eax, [rbx + 1]
jmp 0x14009f42b
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 0x14009f7a6
mov r8, rax
call fcn.1400c4200
cmp eax, 1
jne 0x14009fd40
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001630
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 0x14009f8d5
test cl, cl
jne 0x14009f896
mov rax, qword [rdi + 0x10]
jmp 0x14009f899
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x14009f8b7
cmp qword [0x140119888], 0
je 0x14009f8b7
lea rcx, [0x140119870]
call fcn.140006680
jmp 0x14009f8bb
and byte [rax + 0x21], 0x86
xor r9d, r9d
mov byte [rsp + 0x20], r12b
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.1400c4200
jmp 0x1400a00c5
test cl, cl
jne 0x14009f8df
mov rbx, qword [rdi + 0x10]
jmp 0x14009f8e2
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x14009f903
test byte [rbx + 0x21], 8
je 0x14009f8f6
mov rcx, rbx
call fcn.1400014d0
add rbx, 0x10
lea rax, [r14 + r14]
jmp 0x1400a0090
lea rbx, [0x14011b1e8]
lea rax, [r14 + r14]
jmp 0x1400a0090
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
and eax, 0x808
je 0x14009fb58
xor r9d, r9d
xor r8d, r8d
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 1
jl 0x14009f98c
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 0x14009f98c
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 0x14009f9a6
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.1400c4200
jmp 0x1400a00c5
dec rax
xor r15d, r15d
test byte [r14 + 9], 2
mov r13, rax
mov qword [rbp - 0x80], rax
mov ebx, r15d
je 0x14009fa20
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 0x14009f9f0
add r13, rax
inc rbx
cmp rbx, rdi
jl 0x14009f9d0
mov rdi, qword [rbp + 0x808]
mov r14, qword [rbp + 0x810]
jmp 0x14009fa4b
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 0x14009f983
add r13, rax
inc rbx
cmp rbx, qword [rsp + 0x40]
jl 0x14009fa20
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.1400c4200
cmp eax, 1
jne 0x14009fd40
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001630
test byte [r14 + 9], 2
mov rbx, rax
je 0x14009fadc
mov r14, qword [rsp + 0x50]
mov rdi, qword [rbp + 0x800]
nop
test r15, r15
je 0x14009faa0
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 0x14009fac0
inc r15
lea rbx, [rbx + rax*2]
cmp r15, qword [rsp + 0x40]
jl 0x14009fa90
jmp 0x14009fb33
mov r13, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rbp + 0x800]
nop dword [rax]
test r15, r15
je 0x14009fb02
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 0x14009fb23
add r13, rax
lea rbx, [rbx + rax*2]
inc r15
cmp r15, qword [rsp + 0x40]
jl 0x14009faf0
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 0x14009fc31
mov rbx, qword [rdi + 0x10]
jmp 0x14009fc34
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, rsi
je 0x14009f98c
test byte [r14 + 9], 2
je 0x14009fb83
inc eax
jmp 0x14009f42b
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 0x14009f7a6
mov r8, rax
call fcn.1400c4200
cmp eax, 1
jne 0x14009fd40
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001630
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 0x14009fb45
cmp byte [rdi + 0x23], 0
jne 0x14009fbfa
mov rax, qword [rdi + 0x10]
jmp 0x14009fbfd
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x14009fc23
cmp qword [0x140119888], 0
je 0x14009fc23
lea rcx, [0x140119870]
call fcn.140006680
mov byte [rsp + 0x20], r12b
jmp 0x14009f991
and byte [rax + 0x21], 0x86
mov byte [rsp + 0x20], r12b
jmp 0x14009f991
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x14009fc59
test byte [rbx + 0x21], 8
je 0x14009fc48
mov rcx, rbx
call fcn.1400014d0
add rbx, 0x10
lea rax, [r13*2]
jmp 0x1400a0090
lea rbx, [0x14011b1e8]
lea rax, [r13*2]
jmp 0x1400a0090
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je 0x14009f98c
test byte [r14 + 9], 2
je 0x14009fc97
inc eax
jmp 0x14009f42b
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 0x14009f99a
mov rdx, qword [rbp - 0x58]
call fcn.1400c4200
jmp 0x1400a00c5
test bl, bl
jne 0x14009f439
mov rcx, qword [r14]
call fcn.14008aeb0
mov rcx, rdi
test rax, rax
je 0x14009f79c
mov rdx, rax
call fcn.1400c4750
jmp 0x1400a00c5
test bl, bl
jne 0x14009f439
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.1400c4200
cmp eax, 1
je 0x14009fd47
xor eax, eax
jmp 0x1400a00c5
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001630
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 0x14009fd7a
mov rbx, qword [rdi + 0x10]
jmp 0x14009fd7d
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x14009fd97
test byte [rbx + 0x21], 8
je 0x14009fd91
mov rcx, rbx
call fcn.1400014d0
add rbx, 0x10
jmp 0x14009fd9e
lea rbx, [0x14011b1e8]
lea rax, [r15 + r15]
mov qword [rbx], rax
test r15, r15
jne 0x14009fdc1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001630
mov word [rax], r15w
jmp 0x1400a0093
cmp byte [r14 + 8], 0xc
jne 0x1400a0093
mov eax, 0xffffffff
xor r8d, r8d
mov edx, r12d
mov dword [rbp + 0x810], eax
mov rcx, rdi
call fcn.140001630
mov qword [rsp + 0x50], rax
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14009fdf0
xor r15d, r15d
mov r13d, r15d
mov qword [rsp + 0x78], r15
mov r14d, r15d
mov qword [rbp - 0x80], r15
cmp word [rax], r13w
je 0x1400a0038
cmp rbx, 0x1388
jb 0x14009ffc4
mov dword [rsp + 0x48], r15d
mov rcx, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x1400fd978]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14009ff20
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 0x14009fed4
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.1400c00a0
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 0x14009ffab
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
jmp 0x14009fed9
mov rax, qword [rsp + 0x78]
test r14, r14
je 0x14009fef2
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 0x14009fe30
jmp 0x14009ff25
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], r15d
je 0x1400a0038
mov rax, rcx
sub rax, qword [rsp + 0x50]
sar rax, 1
sub rbx, rax
je 0x14009ff83
lea rax, [rbx + r13]
mov qword [rbp + 0x810], rax
cmp rax, qword [rbp - 0x80]
jb 0x14009ff6a
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 0x14009ffb0
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 0x1400a0038
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x1400a0038
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400a0038
mov edi, dword [rbp + 0x810]
mov r15, rax
mov r13d, 0xa
mov r12, rax
nop word [rax + rax]
lea rdx, [0x1400fd978]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov r14, rax
test rax, rax
je 0x1400a002b
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 0x14009ffe0
mov rdi, qword [rbp + 0x808]
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001630
nop word [rax + rax]
cmp word [rax + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x1400a0050
cmp byte [rdi + 0x23], 0
jne 0x1400a0068
mov rbx, qword [rdi + 0x10]
jmp 0x1400a006b
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x1400a0085
test byte [rbx + 0x21], 8
je 0x1400a007f
mov rcx, rbx
call fcn.1400014d0
add rbx, 0x10
jmp 0x1400a008c
lea rbx, [0x14011b1e8]
lea rax, [rsi + rsi]
mov qword [rbx], rax
cmp byte [rdi + 0x23], 0
jne 0x1400a009d
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x23], 2
jne 0x1400a00be
cmp qword [0x140119888], 0
je 0x1400a00be
lea rcx, [0x140119870]
call fcn.140006680
mov r12d, eax
jmp 0x1400a00c2
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