Function at 0x14009f4a0
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.0x14009f511
cdqe
mov ecx, dword [r15 + rax*4 + 0xa01f0]
add rcx, r15
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
cmp byte [r14 + 9], r8b
jge 0x14009f52f
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14009f53b
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.140001470
mov eax, 1
jmp 0x1400a01d5
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 0x14009f53b
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 0x14009f53b
test bl, bl
jne 0x14009f549
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14009f53b
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 0x14009f621
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.140006330
lea rdx, [rbp - 0x40]
jmp 0x14009f628
lea rdx, [0x1400e0684]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400c3f40
jmp 0x1400a01d5
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 0x14009f718
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.140006330
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.140006330
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 0x11]
call fcn.1400c3f40
jmp 0x1400a01d5
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.140006330
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 8]
call fcn.1400c3f40
jmp 0x1400a01d5
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.1400a4360
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400c3f40
jmp 0x1400a01d5
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.0x14009f7fe.12
movzx eax, byte [r14 + 8]
dec eax
cmp eax, 0x16
ja case.0x14009f7fe.12
cdqe
mov ecx, dword [r15 + rax*4 + 0xa0208]
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 0x14009f866
sub rax, 1
je 0x14009f847
cmp rax, 1
jne 0x14009fe50
xor r9d, r9d
mov byte [rsp + 0x20], al
mov r8, rsi
lea rdx, [0x1400f5d88]
mov rcx, rdi
call fcn.1400c3f40
jmp 0x1400a01d5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x1400f5d6c]
mov rcx, rdi
call fcn.1400c3f40
jmp 0x1400a01d5
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x1400e0714]
mov rcx, rdi
call fcn.1400c3f40
jmp 0x1400a01d5
test byte [r14 + 9], 2
je case.0x14009f7fe.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 0x14009f8c3
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov r8, rsi
call fcn.1400c3f40
jmp 0x1400a01d5
inc eax
jmp 0x14009f53e
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 0x14009f922
mov rcx, qword [r14]
lea rdx, [rbp - 0x40]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x14009f7fe.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.0x14009f7fe.12
test byte [r14 + 9], 2
je 0x14009f931
lea eax, [rbx + 1]
jmp 0x14009f53b
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 0x14009f8b6
mov r8, rax
call fcn.1400c3f40
cmp eax, 1
jne 0x14009fe50
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001670
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 0x14009f9e5
test cl, cl
jne 0x14009f9a6
mov rax, qword [rdi + 0x10]
jmp 0x14009f9a9
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x14009f9c7
cmp qword [0x140119888], 0
je 0x14009f9c7
lea rcx, [0x140119870]
call fcn.1400066e0
jmp 0x14009f9cb
and byte [rax + 0x21], 0x86
xor r9d, r9d
mov byte [rsp + 0x20], r12b
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.1400c3f40
jmp 0x1400a01d5
test cl, cl
jne 0x14009f9ef
mov rbx, qword [rdi + 0x10]
jmp 0x14009f9f2
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x14009fa13
test byte [rbx + 0x21], 8
je 0x14009fa06
mov rcx, rbx
call fcn.140001510
add rbx, 0x10
lea rax, [r14 + r14]
jmp 0x1400a01a0
lea rbx, [0x14011b1e8]
lea rax, [r14 + r14]
jmp 0x1400a01a0
mov rcx, qword [r14]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
and eax, 0x808
je 0x14009fc68
xor r9d, r9d
xor r8d, r8d
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 1
jl 0x14009fa9c
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 0x14009fa9c
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 0x14009fab6
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.1400c3f40
jmp 0x1400a01d5
dec rax
xor r15d, r15d
test byte [r14 + 9], 2
mov r13, rax
mov qword [rbp - 0x80], rax
mov ebx, r15d
je 0x14009fb30
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 0x14009fb00
add r13, rax
inc rbx
cmp rbx, rdi
jl 0x14009fae0
mov rdi, qword [rbp + 0x808]
mov r14, qword [rbp + 0x810]
jmp 0x14009fb5b
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 0x14009fa93
add r13, rax
inc rbx
cmp rbx, qword [rsp + 0x40]
jl 0x14009fb30
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.1400c3f40
cmp eax, 1
jne 0x14009fe50
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001670
test byte [r14 + 9], 2
mov rbx, rax
je 0x14009fbec
mov r14, qword [rsp + 0x50]
mov rdi, qword [rbp + 0x800]
nop
test r15, r15
je 0x14009fbb0
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 0x14009fbd0
inc r15
lea rbx, [rbx + rax*2]
cmp r15, qword [rsp + 0x40]
jl 0x14009fba0
jmp 0x14009fc43
mov r13, qword [rbp - 0x80]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rbp + 0x800]
nop dword [rax]
test r15, r15
je 0x14009fc12
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 0x14009fc33
add r13, rax
lea rbx, [rbx + rax*2]
inc r15
cmp r15, qword [rsp + 0x40]
jl 0x14009fc00
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 0x14009fd41
mov rbx, qword [rdi + 0x10]
jmp 0x14009fd44
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, rsi
je 0x14009fa9c
test byte [r14 + 9], 2
je 0x14009fc93
inc eax
jmp 0x14009f53b
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 0x14009f8b6
mov r8, rax
call fcn.1400c3f40
cmp eax, 1
jne 0x14009fe50
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.140001670
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 0x14009fc55
cmp byte [rdi + 0x23], 0
jne 0x14009fd0a
mov rax, qword [rdi + 0x10]
jmp 0x14009fd0d
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x14009fd33
cmp qword [0x140119888], 0
je 0x14009fd33
lea rcx, [0x140119870]
call fcn.1400066e0
mov byte [rsp + 0x20], r12b
jmp 0x14009faa1
and byte [rax + 0x21], 0x86
mov byte [rsp + 0x20], r12b
jmp 0x14009faa1
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x14009fd69
test byte [rbx + 0x21], 8
je 0x14009fd58
mov rcx, rbx
call fcn.140001510
add rbx, 0x10
lea rax, [r13*2]
jmp 0x1400a01a0
lea rbx, [0x14011b1e8]
lea rax, [r13*2]
jmp 0x1400a01a0
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je 0x14009fa9c
test byte [r14 + 9], 2
je 0x14009fda7
inc eax
jmp 0x14009f53b
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 0x14009faaa
mov rdx, qword [rbp - 0x58]
call fcn.1400c3f40
jmp 0x1400a01d5
test bl, bl
jne 0x14009f549
mov rcx, qword [r14]
call fcn.14008afc0
mov rcx, rdi
test rax, rax
je 0x14009f8ac
mov rdx, rax
call fcn.1400c4490
jmp 0x1400a01d5
test bl, bl
jne 0x14009f549
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.1400c3f40
cmp eax, 1
je 0x14009fe57
xor eax, eax
jmp 0x1400a01d5
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001670
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 0x14009fe8a
mov rbx, qword [rdi + 0x10]
jmp 0x14009fe8d
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x14009fea7
test byte [rbx + 0x21], 8
je 0x14009fea1
mov rcx, rbx
call fcn.140001510
add rbx, 0x10
jmp 0x14009feae
lea rbx, [0x14011b1e8]
lea rax, [r15 + r15]
mov qword [rbx], rax
test r15, r15
jne 0x14009fed1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001670
mov word [rax], r15w
jmp 0x1400a01a3
cmp byte [r14 + 8], 0xc
jne 0x1400a01a3
mov eax, 0xffffffff
xor r8d, r8d
mov edx, r12d
mov dword [rbp + 0x810], eax
mov rcx, rdi
call fcn.140001670
mov qword [rsp + 0x50], rax
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14009ff00
xor r15d, r15d
mov r13d, r15d
mov qword [rsp + 0x78], r15
mov r14d, r15d
mov qword [rbp - 0x80], r15
cmp word [rax], r13w
je 0x1400a0148
cmp rbx, 0x1388
jb 0x1400a00d4
mov dword [rsp + 0x48], r15d
mov rcx, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x1400fd988]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x1400a0030
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 0x14009ffe4
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.1400bfde0
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 0x1400a00bb
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
jmp 0x14009ffe9
mov rax, qword [rsp + 0x78]
test r14, r14
je 0x1400a0002
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 0x14009ff40
jmp 0x1400a0035
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], r15d
je 0x1400a0148
mov rax, rcx
sub rax, qword [rsp + 0x50]
sar rax, 1
sub rbx, rax
je 0x1400a0093
lea rax, [rbx + r13]
mov qword [rbp + 0x810], rax
cmp rax, qword [rbp - 0x80]
jb 0x1400a007a
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 0x1400a00c0
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 0x1400a0148
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x1400a0148
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400a0148
mov edi, dword [rbp + 0x810]
mov r15, rax
mov r13d, 0xa
mov r12, rax
nop word [rax + rax]
lea rdx, [0x1400fd988]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov r14, rax
test rax, rax
je 0x1400a013b
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 0x1400a00f0
mov rdi, qword [rbp + 0x808]
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.140001670
nop word [rax + rax]
cmp word [rax + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x1400a0160
cmp byte [rdi + 0x23], 0
jne 0x1400a0178
mov rbx, qword [rdi + 0x10]
jmp 0x1400a017b
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x1400a0195
test byte [rbx + 0x21], 8
je 0x1400a018f
mov rcx, rbx
call fcn.140001510
add rbx, 0x10
jmp 0x1400a019c
lea rbx, [0x14011b1e8]
lea rax, [rsi + rsi]
mov qword [rbx], rax
cmp byte [rdi + 0x23], 0
jne 0x1400a01ad
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x23], 2
jne 0x1400a01ce
cmp qword [0x140119888], 0
je 0x1400a01ce
lea rcx, [0x140119870]
call fcn.1400066e0
mov r12d, eax
jmp 0x1400a01d2
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