Function at 0x42f6c8
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x170
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x160], rax
movzx ebp, dx
mov rbx, rcx
xor r12d, r12d
cmp qword [rcx + 0x5d0], r12
je 0x42f714
xor eax, eax
jmp 0x42fa0d
mov edx, 0x141
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp rax, r12
je 0x42f784
lea rdi, [rbx + 0x3b2]
mov r8d, 0x104
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
mov esi, 0x2e
mov edx, esi
mov rcx, rdi
call fcn.00444ed8
cmp rax, r12
je 0x42f784
cmp rax, rdi
je 0x42f784
cmp word [rax], si
jne 0x42f784
cmp word [rax + 2], r12w
jne 0x42f784
mov word [rax], r12w
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_CharPrevW]
cmp rax, rdi
jne 0x42f763
lea rdx, [rbx + 0x3b2]
mov rsi, qword [rbx + 0x628]
xor eax, eax
or r13, 0xffffffffffffffff
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, rsi
jb 0x42f8c2
mov word [rsp + 0x90], r12w
xor edx, edx
mov r8d, 0xc6
lea rcx, [rsp + 0x92]
call fcn.00449860
mov qword [rsp + 0x20], rsi
lea r9, [0x004a0184]
mov r8, r13
lea edx, [r13 + 0x65]
lea rcx, [rsp + 0x90]
call fcn.00445024
cmp qword [rbx + 0x630], r12
je 0x42f8bb
lea r8, [rsp + 0x90]
mov edx, 0x1268
lea rcx, [rsp + 0x60]
call fcn.004524d0
nop
cmp qword [rax + 0x20], 8
jb 0x42f820
mov rdx, qword [rax + 8]
jmp 0x42f824
lea rdx, [rax + 8]
mov esi, 7
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.00404e54
nop
mov rcx, qword [rbx + 0x630]
add rcx, 0x50
mov rax, qword [rcx]
lea r8d, [rsi + 9]
lea rdx, [rsp + 0x30]
call qword [rax + 0x18]
nop
cmp qword [rsp + 0x50], 8
jb 0x42f883
mov rcx, qword [rsp + 0x38]
call fcn.00443d3c
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
cmp qword [rsp + 0x80], 8
jb 0x42f8a8
mov rcx, qword [rsp + 0x68]
call fcn.00443d3c
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x68], r12w
xor eax, eax
jmp 0x42fa0d
cmp rdx, r12
jne 0x42f8ce
mov qword [rsp + 0x58], r12
jmp 0x42f8ec
mov rcx, rdx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x58], rax
cmp rax, r12
jne 0x42f8ec
mov ecx, 0x8007000e
call fcn.004066bc
nop
lea rcx, [rsp + 0x58]
call fcn.0042ed20
cmp eax, r12d
sete dil
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dil, r12b
je 0x42f9da
cmp qword [rbx + 0x630], r12
je 0x42f9d6
mov edx, 0x12c9
lea rcx, [rsp + 0x60]
call fcn.00452494
nop
cmp qword [rax + 0x20], 8
jb 0x42f93b
mov rdx, qword [rax + 8]
jmp 0x42f93f
lea rdx, [rax + 8]
mov esi, 7
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.00404e54
nop
mov rcx, qword [rbx + 0x630]
add rcx, 0x50
mov rax, qword [rcx]
lea r8d, [rsi + 9]
lea rdx, [rsp + 0x30]
call qword [rax + 0x18]
nop
cmp qword [rsp + 0x50], 8
jb 0x42f99e
mov rcx, qword [rsp + 0x38]
call fcn.00443d3c
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
cmp qword [rsp + 0x80], 8
jb 0x42f9c3
mov rcx, qword [rsp + 0x68]
call fcn.00443d3c
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], r12
mov word [rsp + 0x68], r12w
xor eax, eax
jmp 0x42fa0d
movzx edx, bp
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_EndDialog]
lea rcx, [rbx + 0x110]
call fcn.0042f02c
lea rcx, [rbx + 0x138]
call fcn.0042f02c
lea rcx, [rbx + 0x160]
call fcn.0042f02c
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.00443d60
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret