Function at 0x14008bc30
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x920
lea rbp, [rsp + 0x40]
mov rdi, rdx
mov qword [rbp + 0x930], rbx
lea rbx, [0x140117ad8]
mov r14, r8
mov rcx, rbx
lea rdx, str.Submit
call fcn.1400c8580
mov rcx, qword [r14 + 0x50]
test eax, eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x90], rcx
mov qword [rbp], rax
sete r15b
lea rax, [rbp + 0x10]
xor esi, esi
mov qword [rbp + 8], rax
or rax, 0xffffffffffffffff
mov dword [rbp + 0xa0], esi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x14008bcb0
mov qword [rbp + 0x98], rax
lea r12, sym.MZ_kiv9nMDWjqg_I7rrTcpI88_u4Z_bB_FPuaQ9q_
movzx eax, byte [r14 + 8]
add eax, 0xfffffff3
mov dword [rbp + 0x20], 1
mov qword [rbp + 0x18], 0xffffffffffffffff
mov qword [rbp + 0x10], rsi
cmp eax, 5
ja case.default.0x14008bcf8
cdqe
mov ecx, dword [r12 + rax*4 + 0x8c630]
add rcx, r12
jmp rcx
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
cmp byte [r14 + 9], sil
jge 0x14008bd20
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x14008c5ee
mov edx, 0x468
call qword [sym.imp.USER32.dll_SendMessageW]
movsx rcx, ax
mov qword [rbp + 0x10], rcx
jmp 0x14008c5ee
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rax
mov rdx, r14
call fcn.14008f870
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x14008c5ee
test r15b, r15b
je 0x14008bd72
mov eax, 1
jmp 0x14008c616
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x408
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x14008c5ee
mov rcx, qword [r14]
lea r9, [rbp + 0x70]
xor r8d, r8d
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14008bdf1
movzx ecx, word [rbp + 0x7a]
movzx edx, word [rbp + 0x78]
movzx eax, word [rbp + 0x7c]
movzx r10d, word [rbp + 0x76]
movzx r9d, word [rbp + 0x72]
movzx r8d, word [rbp + 0x70]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0xe0]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.140004f10
lea rbx, [rbp + 0xe0]
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x10], rbx
jmp 0x14008c5ee
mov rcx, qword [r14]
mov edx, 0xfffffff0
mov dword [rbp + 0x20], esi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
lea r9, [rbp + 0x70]
xor r8d, r8d
test al, 2
je 0x14008be99
mov edx, 0x1005
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rbp + 0x7a]
movzx edx, word [rbp + 0x78]
movzx eax, word [rbp + 0x7c]
movzx r10d, word [rbp + 0x76]
movzx r9d, word [rbp + 0x72]
movzx r8d, word [rbp + 0x70]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0xe0]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.140004f10
mov eax, 0x2d
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xf2]
mov word [rbp + 0xf0], ax
call fcn.1400a6320
mov word [rbp + 0x102], si
mov qword [rbp + 0x18], reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x14008c5ee
mov edx, 0x1001
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, word [rbp + 0x7a]
movzx edx, word [rbp + 0x78]
movzx eax, word [rbp + 0x7c]
movzx r10d, word [rbp + 0x76]
movzx r9d, word [rbp + 0x72]
movzx r8d, word [rbp + 0x70]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0xe0]
mov dword [rsp + 0x28], edx
lea rdx, str._04d_02d_02d_02d_02d_02d
mov dword [rsp + 0x20], r10d
call fcn.140004f10
mov word [rbp + 0xf0], si
mov qword [rbp + 0x18], 8
jmp 0x14008c5ee
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 + 0xe0]
call fcn.14008f5f0
mov dword [rbp + 0x20], esi
jmp 0x14008c5ee
lea rdx, str.Text
mov rcx, rbx
call fcn.1400c8580
test eax, eax
je case.0x14008bf56.12
movzx eax, byte [r14 + 8]
dec eax
cmp eax, 0x16
ja case.0x14008bf56.12
cdqe
mov ecx, dword [r12 + rax*4 + 0x8c648]
add rcx, r12
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 0x14008c5ee
sub rax, 1
je 0x14008bf95
cmp rax, 1
je 0x14008bf88
xor eax, eax
jmp 0x14008c616
mov qword [rbp + 0x10], 0xffffffffffffffff
jmp 0x14008c5ee
mov qword [rbp + 0x10], 1
jmp 0x14008c5ee
test byte [r14 + 9], 2
je case.0x14008bf56.12
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x28], 2
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x50]
mov r9d, 1
cmp rax, 0xffffffffffffffff
jne 0x14008bfe9
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x10], rbx
jmp 0x14008c604
inc eax
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x14008c604
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14008c057
mov rcx, qword [r14]
lea rdx, [rbp + 0xe0]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je case.0x14008bf56.12
mov rcx, qword [r14]
lea r9, [rbp + 0xe0]
or r8, r15
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je case.0x14008bf56.12
test byte [r14 + 9], 2
je 0x14008c06e
lea eax, [r15 + 1]
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x14008c5ee
mov rcx, qword [r14]
xor r9d, r9d
mov r8, r15
mov edx, 0x149
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x10], rbx
cmp rax, 0xffffffffffffffff
je 0x14008c5ee
lea rax, [rax*2 + 2]
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x14008c0ae
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400decd0
sub rsp, rdx
lea rsi, [rsp + 0x40]
test rsi, rsi
jne 0x14008c0e2
mov r8, rbx
lea rdx, str.Out_of_memory.
lea rcx, [0x1401395c0]
call fcn.1400410d0
jmp 0x14008c616
mov rcx, qword [r14]
mov r9, rsi
mov r8, r15
mov edx, 0x148
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbp]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rcx
mov rcx, rdi
lea r8, [rbp + 0x30]
mov r9d, 1
lea rdx, [rbp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x14008c610
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rax
jmp 0x14008c610
mov rcx, qword [r14]
mov edx, 0xfffffff0
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x10], rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
test eax, 0x808
je 0x14008c36f
mov edx, 0x190
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
cmp rax, 1
jl 0x14008c5ee
lea rcx, [rax*4]
call fcn.1400c86f8
mov r12, rax
test rax, rax
je 0x14008c5ee
mov rcx, qword [r14]
mov r9, rax
mov r8, rbx
mov edx, 0x191
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, rax
cmp rax, 1
jge 0x14008c1b3
mov rcx, r12
call fcn.1400cc1a0
jmp 0x14008c5ee
test byte [r14 + 9], 2
lea rcx, [rax - 1]
mov r15, rcx
mov rbx, rsi
je 0x14008c209
test r13, r13
jle 0x14008c23e
nop dword [rax]
mov ecx, dword [r12 + rbx*4]
lea rdx, [rbp + 0xe0]
inc ecx
mov r8d, 0xa
call fcn.1400c8478
lea rcx, [rbp + 0xe0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14008c1f3
add r15, rax
inc rbx
cmp rbx, r13
jl 0x14008c1d0
jmp 0x14008c23a
test r13, r13
jle 0x14008c23e
nop
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, 0xffffffffffffffff
je 0x14008c1a6
add r15, rax
inc rbx
cmp rbx, r13
jl 0x14008c210
lea rcx, [r13 - 1]
lea rax, [r15*2 + 2]
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x14008c259
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400decd0
sub rsp, rdx
lea rax, [rsp + 0x40]
mov qword [rbp + 0x938], rax
test rax, rax
jne 0x14008c285
lea r8, [0x140117ad8]
jmp 0x14008c0ca
test byte [r14 + 9], 2
mov rbx, rax
je 0x14008c304
test r13, r13
jle 0x14008c353
mov r14, qword [rbp + 0x920]
nop
test rsi, rsi
je 0x14008c2b1
movzx eax, word [r14 + 0x6e]
mov word [rbx], ax
add rbx, 2
mov ecx, dword [r12 + rsi*4]
mov r8d, 0xa
inc ecx
mov rdx, rbx
call fcn.1400c8478
or rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14008c2d0
inc rsi
lea rbx, [rbx + rax*2]
cmp rsi, r13
jl 0x14008c2a0
mov rcx, r12
call fcn.1400cc1a0
mov rax, qword [rbp + 0x938]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r15
jmp 0x14008c5ee
mov r15, rcx
test r13, r13
jle 0x14008c353
mov rdi, qword [rbp + 0x920]
test rsi, rsi
je 0x14008c323
movzx eax, word [rdi + 0x6e]
mov word [rbx], ax
add rbx, 2
movsxd r8, dword [r12 + rsi*4]
mov r9, rbx
mov rcx, qword [r14]
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x14008c344
add r15, rax
lea rbx, [rbx + rax*2]
inc rsi
cmp rsi, r13
jl 0x14008c313
mov rdi, qword [rbp + 0x928]
mov rcx, r12
call fcn.1400cc1a0
mov rax, qword [rbp + 0x938]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r15
jmp 0x14008c5ee
mov edx, 0x188
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14008c5ee
test byte [r14 + 9], 2
je 0x14008c3a3
inc eax
mov dword [rbp + 0x20], 1
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x14008c5ee
mov rcx, qword [r14]
xor r9d, r9d
mov r8, rsi
mov edx, 0x18a
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14008c5ee
lea rax, [rax*2 + 2]
lea rdx, [rax + 0xf]
cmp rdx, rax
ja 0x14008c3dc
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400decd0
sub rsp, rdx
lea rax, [rsp + 0x40]
mov qword [rbp + 0x938], rax
test rax, rax
je 0x14008c0c7
mov rcx, qword [r14]
mov r9, rax
mov r8, rsi
mov edx, 0x189
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14008c5ee
mov rax, qword [rbp + 0x938]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], r15
jmp 0x14008c5ee
mov rcx, qword [r14]
xor r9d, r9d
xor r8d, r8d
mov dword [rbp + 0x20], esi
mov edx, 0x130b
mov qword [rbp + 0x10], rbx
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
je 0x14008c5ee
test byte [r14 + 9], 2
je 0x14008c47a
lea eax, [rcx + 1]
mov dword [rbp + 0x20], 1
movsxd rcx, eax
mov qword [rbp + 0x10], rcx
jmp 0x14008c5ee
lea rax, [rbp + 0xe0]
mov dword [rbp + 0xb0], 1
mov r8, rcx
mov qword [rbp + 0xc0], rax
mov rcx, qword [r14]
lea r9, [rbp + 0xb0]
mov edx, 0x133c
mov dword [rbp + 0xc8], 0x3ff
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbp]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rcx
mov rcx, rdi
lea r8, [rbp + 0x30]
mov r9d, 1
lea rdx, [rbp + 0x50]
test eax, eax
je 0x14008c610
mov rax, qword [rbp + 0xc0]
mov qword [rbp + 0x10], rax
jmp 0x14008c610
test r15b, r15b
jne 0x14008bd68
mov rcx, qword [r14]
call fcn.140077e40
mov dword [rsp + 0x28], 2
lea rcx, [rbp]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
lea r8, [rbp + 0x30]
mov r9d, 1
lea rdx, [rbp + 0x50]
test rax, rax
je 0x14008c536
mov dword [rbp + 0x20], 6
mov qword [rbp + 0x10], rax
jmp 0x14008c610
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x10], rbx
jmp 0x14008c610
test r15b, r15b
jne 0x14008bd68
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd r13, eax
lea r8d, [r13 + 1]
movsxd rcx, r8d
add rcx, rcx
lea rdx, [rcx + 0xf]
cmp rdx, rcx
ja 0x14008c574
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1400decd0
sub rsp, rdx
lea r15, [rsp + 0x40]
test r15, r15
je 0x14008c0c7
mov rcx, qword [r14]
mov rdx, r15
mov dword [rbp + 0x20], esi
mov qword [rbp + 0x10], rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x14008c5ee
cmp byte [r14 + 8], 0xc
jne 0x14008c5e6
mov qword [rsp + 0x38], rsi
lea r8, [0x140116774]
mov qword [rsp + 0x30], rsi
lea rdx, [0x140115c20]
mov qword [rsp + 0x28], 0xffffffffffffffff
mov r9d, 1
mov rcx, r15
mov dword [rsp + 0x20], 0xffffffff
call fcn.1400a6f30
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r13
mov dword [rsp + 0x28], 2
lea r8, [rbp + 0x30]
mov r9d, 1
lea rdx, [rbp + 0x50]
lea rcx, [rbp]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov rax, qword [rdi]
call qword [rax + gethostname]
mov rbx, qword [rbp + 0x930]
lea rsp, [rbp + 0x8e0]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret