Function at 0x14008f3e0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
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 r15, r8
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
lea r14, [0x140000000]
movzx eax, byte [r15 + 8]
sete bl
add eax, 0xfffffff3
cmp eax, 5
ja case.default.0x14008f44c
cdqe
mov ecx, dword [r14 + rax*4 + 0x90120]
add rcx, r14
jmp rcx
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
cmp byte [r15 + 9], r8b
jge 0x14008f46a
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14008f476
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.1400014c0
mov eax, 1
jmp 0x140090105
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rax
mov rdx, r15
call fcn.140093fe0
jmp 0x14008f476
test bl, bl
jne 0x14008f484
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14008f476
mov rcx, qword [r15]
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14008f52b
movzx ecx, word [rsp + 0x72]
movzx edx, word [rsp + 0x70]
movzx eax, word [rsp + 0x74]
movzx r10d, word [rsp + 0x6e]
movzx r9d, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
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.140005bf0
lea rdx, [rbp - 0x40]
jmp 0x14008f532
lea rdx, [0x1400cb664]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400afca0
jmp 0x140090105
mov rcx, qword [r15]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r15]
lea r9, [rsp + 0x68]
and eax, 2
je 0x14008f5ee
xor r8d, r8d
mov edx, 0x1005
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rsp + 0x72]
movzx edx, word [rsp + 0x70]
movzx eax, word [rsp + 0x74]
movzx r10d, word [rsp + 0x6e]
movzx r9d, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
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.140005bf0
mov eax, 0x2d
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x2e]
mov word [rbp - 0x30], ax
call fcn.1400aaf40
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 0x11]
call fcn.1400afca0
jmp 0x140090105
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rsp + 0x72]
movzx edx, word [rsp + 0x70]
movzx eax, word [rsp + 0x74]
movzx r10d, word [rsp + 0x6e]
movzx r9d, word [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
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.140005bf0
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8d, [r9 + 8]
call fcn.1400afca0
jmp 0x140090105
mov rcx, qword [r15]
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.140093d20
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400afca0
jmp 0x140090105
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.0x14008f6d4.12
movzx eax, byte [r15 + 8]
dec eax
cmp eax, 0x16
ja case.0x14008f6d4.12
cdqe
mov ecx, dword [r14 + rax*4 + 0x90138]
add rcx, r14
jmp rcx
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14008f73c
sub rax, 1
je 0x14008f71d
cmp rax, 1
jne 0x14008fd75
xor r9d, r9d
mov byte [rsp + 0x20], al
mov r8, rsi
lea rdx, [0x1400e0c48]
mov rcx, rdi
call fcn.1400afca0
jmp 0x140090105
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x1400e0c2c]
mov rcx, rdi
call fcn.1400afca0
jmp 0x140090105
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, rsi
lea rdx, [0x1400cb6f4]
mov rcx, rdi
call fcn.1400afca0
jmp 0x140090105
test byte [r15 + 9], 2
je case.0x14008f6d4.12
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
cmp rax, rsi
jne 0x14008f799
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov r8, rsi
call fcn.1400afca0
jmp 0x140090105
inc eax
jmp 0x14008f479
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, rsi
jne 0x14008f7f8
mov rcx, qword [r15]
lea rdx, [rbp - 0x40]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x14008f6d4.12
mov rcx, qword [r15]
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.0x14008f6d4.12
test byte [r15 + 9], 2
je 0x14008f807
lea eax, [rbx + 1]
jmp 0x14008f476
mov rcx, qword [r15]
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 0x14008f78c
mov r8, rax
call fcn.1400afca0
cmp eax, 1
jne 0x14008fd75
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.1400016b0
mov rcx, qword [r15]
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 0x14008f8bb
test cl, cl
jne 0x14008f87c
mov rax, qword [rdi + 0x10]
jmp 0x14008f87f
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x14008f89d
cmp qword [0x140105dd8], 0
je 0x14008f89d
lea rcx, [0x140105dc0]
call fcn.140005fa0
jmp 0x14008f8a1
and byte [rax + 0x21], 0x86
xor r9d, r9d
mov byte [rsp + 0x20], r12b
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.1400afca0
jmp 0x140090105
test cl, cl
jne 0x14008f8c5
mov rbx, qword [rdi + 0x10]
jmp 0x14008f8c8
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x14008f8e9
test byte [rbx + 0x21], 8
je 0x14008f8dc
mov rcx, rbx
call fcn.140001560
add rbx, 0x10
lea rax, [r14 + r14]
jmp 0x1400900d0
lea rbx, [0x140107728]
lea rax, [r14 + r14]
jmp 0x1400900d0
mov rcx, qword [r15]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r15]
and eax, 0x808
je 0x14008fb8d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 1
jl 0x14008f977
lea rcx, [rax*4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x810], rax
mov r12, rax
test rax, rax
je 0x14008f977
mov rcx, qword [r15]
mov r9, rax
mov r8, rbx
mov edx, 0x191
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x40], rax
mov rbx, rax
cmp rax, 1
jge 0x14008f991
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.1400afca0
jmp 0x140090105
dec rax
xor r14d, r14d
test byte [r15 + 9], 2
mov r13, rax
mov qword [rsp + 0x60], rax
je 0x14008fa9d
test rbx, rbx
jle 0x14008f9fc
mov edi, r14d
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r12 + rdi*4]
lea rdx, [rbp - 0x40]
inc ecx
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
lea rcx, [rbp - 0x40]
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14008f9e0
add r13, rax
inc rdi
cmp rdi, rbx
jl 0x14008f9c0
mov rdi, qword [rbp + 0x808]
xor r9d, r9d
mov byte [rsp + 0x20], 1
mov r8, r13
xor edx, edx
mov rcx, rdi
call fcn.1400afca0
cmp eax, 1
jne 0x14008fd75
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.1400016b0
test byte [r15 + 9], 2
mov rbx, rax
je 0x14008fb08
mov r15, qword [rsp + 0x40]
test r15, r15
jle 0x14008fb6d
mov rdi, qword [rbp + 0x810]
mov r12, qword [rbp + 0x800]
test r14, r14
je 0x14008fa66
movzx ecx, word [r12 + 0x6e]
mov word [rbx], cx
add rbx, 2
mov ecx, dword [rdi + 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, rsi
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14008fa80
inc r14
lea rbx, [rbx + rax*2]
cmp r14, r15
jl 0x14008fa54
jmp 0x14008fb60
mov r12, r14
test rbx, rbx
jle 0x14008f9fc
nop dword [rax]
mov rax, qword [rbp + 0x810]
xor r9d, r9d
mov rcx, qword [r15]
mov edx, 0x18a
movsxd r8, dword [rax + r12*4]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, rsi
je 0x14008fae1
add r13, rax
inc r12
cmp r12, rbx
jl 0x14008fab0
jmp 0x14008f9fc
mov rcx, qword [rbp + 0x810]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov r8, rsi
mov rcx, rdi
call fcn.1400afca0
jmp 0x140090105
mov rsi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x60]
test rsi, rsi
jle 0x14008fb6d
mov rdi, qword [rbp + 0x810]
mov r12, qword [rbp + 0x800]
test r14, r14
je 0x14008fb37
movzx eax, word [r12 + 0x6e]
mov word [rbx], ax
add rbx, 2
movsxd r8, dword [rdi + r14*4]
mov r9, rbx
mov rcx, qword [r15]
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x14008fb58
add r13, rax
lea rbx, [rbx + rax*2]
inc r14
cmp r14, rsi
jl 0x14008fb25
mov rdi, qword [rbp + 0x808]
mov r12d, 1
mov rcx, qword [rbp + 0x810]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [rdi + 0x23], 0
jne 0x14008fc66
mov rbx, qword [rdi + 0x10]
jmp 0x14008fc69
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, rsi
je 0x14008f977
test byte [r15 + 9], 2
je 0x14008fbb8
inc eax
jmp 0x14008f476
mov rcx, qword [r15]
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 0x14008f78c
mov r8, rax
call fcn.1400afca0
cmp eax, 1
jne 0x14008fd75
xor r8d, r8d
mov edx, eax
mov rcx, rdi
mov r12d, eax
call fcn.1400016b0
mov rcx, qword [r15]
mov r9, rax
mov r8, rbx
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
cmp rax, rsi
jne 0x14008fb7a
cmp byte [rdi + 0x23], 0
jne 0x14008fc2f
mov rax, qword [rdi + 0x10]
jmp 0x14008fc32
mov rax, rdi
cmp byte [rax + 0x23], 2
jne 0x14008fc58
cmp qword [0x140105dd8], 0
je 0x14008fc58
lea rcx, [0x140105dc0]
call fcn.140005fa0
mov byte [rsp + 0x20], r12b
jmp 0x14008f97c
and byte [rax + 0x21], 0x86
mov byte [rsp + 0x20], r12b
jmp 0x14008f97c
mov rbx, rdi
cmp byte [rbx + 0x23], 1
jne 0x14008fc8e
test byte [rbx + 0x21], 8
je 0x14008fc7d
mov rcx, rbx
call fcn.140001560
add rbx, 0x10
lea rax, [r13*2]
jmp 0x1400900d0
lea rbx, [0x140107728]
lea rax, [r13*2]
jmp 0x1400900d0
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je 0x14008f977
test byte [r15 + 9], 2
je 0x14008fccc
inc eax
jmp 0x14008f476
lea rcx, [rbp - 0x40]
movsxd r8, eax
mov qword [rbp - 0x58], rcx
lea r9, [rbp - 0x68]
mov rcx, qword [r15]
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 0x14008f985
mov rdx, qword [rbp - 0x58]
call fcn.1400afca0
jmp 0x140090105
test bl, bl
jne 0x14008f484
mov rcx, qword [r15]
call fcn.14007d890
mov rcx, rdi
test rax, rax
je 0x14008f782
mov rdx, rax
call fcn.1400b00a0
jmp 0x140090105
test bl, bl
jne 0x14008f484
mov rcx, qword [r15]
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.1400afca0
cmp eax, 1
je 0x14008fd7c
xor eax, eax
jmp 0x140090105
mov r12d, 1
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.1400016b0
mov rcx, qword [r15]
lea r8d, [rbx + 1]
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [rdi + 0x23], 0
movsxd r14, eax
jne 0x14008fdaf
mov rbx, qword [rdi + 0x10]
jmp 0x14008fdb2
mov rbx, rdi
cmp byte [rbx + 0x23], r12b
jne 0x14008fdcc
test byte [rbx + 0x21], 8
je 0x14008fdc6
mov rcx, rbx
call fcn.140001560
add rbx, 0x10
jmp 0x14008fdd3
lea rbx, [0x140107728]
lea rax, [r14 + r14]
mov qword [rbx], rax
test r14, r14
jne 0x14008fdf6
xor r8d, r8d
mov edx, r12d
mov rcx, rdi
call fcn.1400016b0
mov word [rax], r14w
jmp 0x1400900d3
cmp byte [r15 + 8], 0xc
jne 0x1400900d3
mov r15d, 0xffffffff
xor r8d, r8d
mov edx, r12d
mov dword [rbp + 0x810], r15d
mov rcx, rdi
call fcn.1400016b0
mov qword [rbp - 0x78], rax
mov rbx, rsi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14008fe23
xor r14d, r14d
mov r13d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x60], r14
cmp word [rax], r13w
je 0x14009007a
cmp rbx, 0x1388
jb 0x140090013
mov dword [rsp + 0x48], r14d
mov r15d, r14d
mov qword [rsp + 0x58], rax
nop word [rax + rax]
lea rdx, [0x1400e8740]
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14008ff76
mov r10d, dword [rsp + 0x48]
mov r13, rax
mov edx, dword [rbp + 0x810]
inc r10d
mov r9, qword [rsp + 0x58]
dec edx
sub r13, r9
mov dword [rsp + 0x48], r10d
sar r13, 1
mov dword [rbp + 0x810], edx
lea rcx, [r15 + r13]
mov qword [rsp + 0x40], rcx
inc rcx
cmp rcx, qword [rsp + 0x60]
jb 0x14008ff19
sub rax, qword [rbp - 0x78]
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.1400abf90
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea rdx, [rax + rax]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14008fffe
mov r9, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
jmp 0x14008ff1e
mov rax, qword [rsp + 0x50]
test r13, r13
je 0x14008ff3c
lea r8, [r13*2]
mov rdx, r9
lea rcx, [rax + r15*2]
call sub.VCRUNTIME140.dll_memcpy
mov r15, qword [rsp + 0x40]
movzx eax, word [0x1400e9324]
lea rcx, [r15 + 1]
mov r13, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov word [r13 + r15*2], ax
mov r15, rcx
mov rax, qword [rbp - 0x70]
add rax, 4
mov qword [rsp + 0x58], rax
cmp dword [rbp + 0x810], r14d
jne 0x14008fe70
jmp 0x14008ff7b
mov rax, qword [rsp + 0x58]
cmp dword [rsp + 0x48], r14d
je 0x14009007a
sub rax, qword [rbp - 0x78]
sar rax, 1
sub rbx, rax
je 0x14008ffd4
lea rax, [rbx + r15]
mov qword [rsp + 0x40], rax
cmp rax, qword [rsp + 0x60]
jb 0x14008ffbb
lea rdx, [rax*2 + 2]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x140090003
mov r13, rax
mov rdx, qword [rsp + 0x58]
lea rcx, [r15*2]
add rcx, r13
lea r8, [rbx + rbx]
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rsp + 0x40]
mov rdx, r13
mov rcx, qword [rbp - 0x78]
mov word [r13 + r8*2], r14w
lea r8, [r8*2 + 2]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14009007a
mov r13, qword [rsp + 0x50]
mov r13, rax
mov rdi, rax
nop dword [rax]
lea rdx, [0x1400e8740]
mov rcx, r13
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov r14, rax
test rax, rax
je 0x140090073
mov rcx, rax
lea r13, [rax + 2]
sub rcx, rdi
lea rdx, [rax + 4]
sar rcx, 1
mov r8, rbx
sub r8, rcx
mov rcx, r13
lea r8, [r8*2 - 2]
call sub.VCRUNTIME140.dll_memmove
movzx eax, word [0x1400e9324]
dec rbx
mov word [r14], ax
add r15d, 0xffffffff
jne 0x140090020
mov rdi, qword [rbp + 0x808]