Function at 0x34b3778c0
Capabilities:
Get graphical window text

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x868
mov r12, rcx
cmp edx, 0x110
je 0x34b377a20
cmp edx, 0x111
je 0x34b377950
cmp edx, 0x4e
je 0x34b377908
xor eax, eax
add rsp, 0x868
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [r9 + 0x10]
cmp edx, 0xffffff31
je 0x34b377a70
xor eax, eax
cmp edx, 0xffffff38
jne 0x34b3778f1
call qword [sym.imp.user32.dll_GetParent]
mov r9d, 3
xor r8d, r8d
mov edx, 0x470
mov rcx, rax
call qword [sym.imp.user32.dll_PostMessageW]
mov eax, 1
jmp 0x34b3778f1
cmp r8, 0xa8e
jne 0x34b3778ef
mov edx, 0x10
lea rdi, [rsp + 0x60]
lea r14, [0x34b3858e0]
mov esi, 2
call qword [sym.imp.user32.dll_GetWindowLongPtrW]
mov ecx, 0x13
mov qword [rsp + 0x48], rdi
lea rbx, [r14 + 0x70]
mov r8, rax
xor eax, eax
lea rbp, [rsp + 0x460]
mov r15, r14
rep stosq qword [rdi], rax
mov dword [rsp + 0x60], 0x98
mov eax, 0x20000
mov qword [rsp + 0x68], r12
mov r13d, dword [r8 + 8]
test r13d, r13d
sete dil
jmp 0x34b3779d3
test dil, dil
jne 0x34b3779d7
test r13d, eax
jne 0x34b3779d7
add r15, 0x10
cmp rbx, r15
je 0x34b377ae8
mov eax, dword [r15 + 4]
test eax, eax
jne 0x34b3779b8
mov edx, dword [r15]
mov rcx, qword [0x34b393008]
xor r9d, r9d
mov r8, rbp
call qword [sym.imp.user32.dll_LoadStringW]
mov rcx, qword [r15 + 8]
mov edx, eax
cmp word [rcx], 0
je 0x34b377d38
mov rax, rcx
add rax, 2
cmp word [rax], 0
jne 0x34b377a00
sub rax, rcx
sar rax, 1
lea r11d, [rdx + rsi + 2]
lea esi, [r11 + rax]
jmp 0x34b3779c2
mov rbx, qword [r9 + 0x30]
mov edx, 0x10
mov r8, rbx
call qword [sym.imp.user32.dll_SetWindowLongPtrW]
cmp qword [rbx + 0x38], 0
je 0x34b3778ef
mov edx, 0xa8d
mov rcx, r12
call qword [sym.imp.user32.dll_GetDlgItem]
mov r9, qword [rbx + 0x38]
xor r8d, r8d
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.user32.dll_SendMessageW]
xor eax, eax
jmp 0x34b3778f1
mov edx, 0xa8d
call qword [sym.imp.user32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xe
mov rcx, rax
mov rbp, qword [sym.imp.user32.dll_SendMessageW]
mov r13, rax
call rbp
mov edx, 0x10
mov rcx, r12
mov rbx, rax
call qword [sym.imp.user32.dll_GetWindowLongPtrW]
mov r14, rax
test ebx, ebx
jne 0x34b377c58
test byte [rax + 8], 1
jne 0x34b377ac9
mov rdx, qword [rax + 0x10]
mov r8d, 0x420
mov rcx, r12
call sym.import_warning.part.0
mov r8d, 1
xor edx, edx
mov rcx, r12
call qword [sym.imp.user32.dll_SetWindowLongPtrW]
mov eax, 1
jmp 0x34b3778f1
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
movsxd r8, esi
xor edx, edx
add r8, r8
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x34b377bcd
mov rsi, rax
mov eax, 0x20000
jmp 0x34b377b3b
test dil, dil
jne 0x34b377b3f
test r13d, eax
jne 0x34b377b3f
add r14, 0x10
cmp rbx, r14
je 0x34b377bc8
mov eax, dword [r14 + 4]
test eax, eax
jne 0x34b377b20
mov edx, dword [r14]
mov rcx, qword [0x34b393008]
xor r9d, r9d
mov r8, rbp
call qword [sym.imp.user32.dll_LoadStringW]
mov rdx, qword [rsp + 0x460]
mov rcx, rsi
movsxd r8, eax
lea r15, [r8 + r8]
mov r8, r15
add rsi, r15
call sym.memcpy
xor ecx, ecx
xor eax, eax
mov word [rsi], cx
mov rcx, qword [r14 + 8]
nop dword [rax]
movzx edx, word [rcx + rax]
mov word [rsi + rax + 2], dx
add rax, 2
test dx, dx
jne 0x34b377b80
cmp word [rcx], 0
je 0x34b377d28
mov rax, rcx
nop
add rax, 2
cmp word [rax], 0
jne 0x34b377ba0
sub rax, rcx
sar rax, 1
inc eax
cdqe
add rax, rax
lea rsi, [rsi + rax + 2]
jmp 0x34b377b2a
xor edx, edx
mov word [rsi], dx
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x98], 0x104
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
xor eax, eax
mov word [rsp + 0x460], ax
call qword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
jne 0x34b377c26
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x34b3778ef
mov rbx, qword [rsp + 0x90]
mov rcx, r12
mov edx, 0xa8d
call qword [sym.imp.user32.dll_GetDlgItem]
xor r8d, r8d
mov edx, 0xc
mov rcx, rax
mov r9, rbx
call qword [sym.imp.user32.dll_SendMessageW]
jmp 0x34b377c03
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
inc ebx
mov rdi, qword [sym.imp.kernel32.dll_HeapAlloc]
xor edx, edx
lea r8, [rbx + rbx]
mov rcx, qword [rax + 0x30]
call rdi
mov rsi, rax
test rax, rax
je 0x34b3778ef
mov rcx, r13
mov r9, rax
mov r8, rbx
mov edx, 0xd
call rbp
mov dword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, rsi
mov qword [rsp + 0x30], 0
mov r8d, 1
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.kernel32.dll_CreateFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x34b377d3f
mov ecx, dword [r14 + 8]
lea r8, [r14 + 0x40]
mov rdx, rsi
call sym.open_store_from_file
mov rbx, rax
test rax, rax
je 0x34b377f57
mov ecx, dword [r14 + 8]
test ecx, 0xe0000
jne 0x34b377f82
mov dword [r14 + 0x1c], 5
mov rcx, r13
mov qword [r14 + 0x20], rbx
mov dword [r14 + 0x44], 1
call qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [r14 + 0x38], rsi
xor eax, eax
jmp 0x34b3778f1
mov eax, 2
jmp 0x34b377bb7
xor eax, eax
jmp 0x34b377a10
mov rbx, qword [r14 + 0x10]
mov r13, qword [sym.imp.user32.dll_LoadStringW]
test rbx, rbx
je 0x34b377fab
lea rbp, [rsp + 0x460]
mov r9d, 0x200
mov edx, 0x422
mov rcx, qword [0x34b393008]
mov r8, rbp
call r13
xor r9d, r9d
xor edx, edx
mov ecx, 0x1100
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x68]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.kernel32.dll_FormatMessageW]
cmp word [rsp + 0x460], 0
je 0x34b377fcd
mov rax, rbp
nop dword [rax]
add rax, 2
cmp word [rax], 0
jne 0x34b377dc0
sub rax, rbp
sar rax, 1
lea ecx, [rax + 3]
cmp word [rsi], 0
je 0x34b377fe6
mov rax, rsi
add rax, 2
cmp word [rax], 0
jne 0x34b377de0
sub rax, rsi
mov rdx, rax
sar rdx, 1
mov r8, qword [rsp + 0x58]
cmp word [r8], 0
je 0x34b377fdf
mov rax, r8
nop word cs:[rax + rax]
add rax, 2
cmp word [rax], 0
jne 0x34b377e10
sub rax, r8
sar rax, 1
add edx, ecx
add eax, edx
xor edx, edx
movsxd r8, eax
mov r9, qword gs:[0x30]
mov rax, qword [r9 + 0x60]
add r8, r8
mov rcx, qword [rax + 0x30]
call rdi
mov rdi, rax
test rax, rax
je 0x34b377fed
mov rdx, rax
mov rax, rbp
nop dword [rax]
movzx ecx, word [rax]
add rax, 2
add rdx, 2
mov word [rdx - 2], cx
test cx, cx
jne 0x34b377e58
cmp word [rsp + 0x460], 0
je 0x34b377fd7
mov rax, rbp
nop
add rax, 2
cmp word [rax], 0
jne 0x34b377e80
sub rax, rbp
sar rax, 1
cdqe
lea rcx, [rdi + rax*2]
xor eax, eax
nop dword [rax + rax]
movzx edx, word [rsi + rax]
mov word [rcx + rax], dx
add rax, 2
test dx, dx
jne 0x34b377ea0
cmp word [rsi], 0
je 0x34b377ed6
mov rax, rsi
nop word [rax + rax]
add rax, 2
cmp word [rax], 0
jne 0x34b377ec0
sub rax, rsi
sar rax, 1
cdqe
lea rcx, [rcx + rax*2]
mov dword [rcx], 0xa003a
mov r8, qword [rsp + 0x58]
xor eax, eax
nop dword [rax + rax]
movzx edx, word [r8 + rax]
mov word [rcx + rax + 4], dx
add rax, 2
test dx, dx
jne 0x34b377ee8
mov r8, rbx
mov rdx, rdi
mov rcx, r12
mov r9d, 0x10
call qword [sym.imp.user32.dll_MessageBoxW]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
mov r8, rdi
xor edx, edx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
call rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.kernel32.dll_LocalFree]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbx
jmp 0x34b377ac9
mov r8d, 0x421
test byte [r14 + 8], 1
jne 0x34b377f99
mov rdx, qword [r14 + 0x10]
mov rcx, r12
call sym.import_warning.part.0
mov rcx, r13
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x34b377f3a
mov rdx, rax
call sym.check_store_context_type.part.0
mov r8d, 0x414
test eax, eax
je 0x34b377f5d
jmp 0x34b377cfb
mov rcx, r13
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x34b377f3a
lea rbx, [rsp + 0x60]
mov r9d, 0x200
mov edx, 0x413
mov rcx, qword [0x34b393008]
mov r8, rbx
call r13
jmp 0x34b377d53
mov ecx, 3
jmp 0x34b377dd3
mov rcx, rdi
jmp 0x34b377e96
xor eax, eax
jmp 0x34b377e20
xor edx, edx
jmp 0x34b377df3
mov rbx, qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x34b377f2f