Function at 0x140001c38
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140034ab8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
cmp r8d, 1
je 0x14000202b
mov edx, 2
cmp r8d, edx
je 0x140002019
cmp r8d, 0x41b
jle 0x140002036
cmp r8d, 0x41d
jle 0x140001f35
cmp r8d, 0x445
je 0x140001f35
cmp r8d, 0x446
je 0x140001e4f
cmp r8d, 0x447
je 0x140001f35
cmp r8d, 0x44e
je 0x140001d8d
cmp r8d, 0x450
jne 0x140002036
cmp dword [rbp + 0x30], 0
jne 0x140002036
cmp dword [rcx + 0x94], 0
je 0x140002036
and dword [rcx + 0x94], 0
lea rcx, [rbp - 0x40]
call fcn.140015078
nop
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea edx, [rbx + 1]
lea rcx, [rbp - 0x40]
call fcn.140014a38
lea r8d, [rbx + 1]
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rbp - 0x40]
call fcn.140017570
mov ebx, eax
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0xd
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r8d, 0xa
lea rdx, [rbp - 0x30]
mov ecx, ebx
call fcn.1400175f8
lea rcx, [rbp - 0x30]
call fcn.1400172a8
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetWindowTextA]
nop
jmp 0x140001e41
cmp dword [rbp + 0x30], 0
jne 0x140002036
cmp dword [rcx + 0x94], 0
jne 0x140002036
mov dword [rcx + 0x94], 1
lea rcx, [rbp - 0x40]
call fcn.140015078
nop
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea edx, [rbx + 1]
lea rcx, [rbp - 0x40]
call fcn.140014a38
lea r8d, [rbx + 1]
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor edx, edx
lea r8d, [rdx + 0xa]
mov rcx, qword [rbp - 0x40]
call fcn.140017570
mov ebx, eax
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowLongA]
btr eax, 0xd
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r8d, MsiDatabaseExportA
lea rdx, [rbp - 0x30]
mov ecx, ebx
call fcn.1400175f8
lea rcx, [rbp - 0x30]
call fcn.1400172a8
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetWindowTextA]
nop
lea rcx, [rbp - 0x40]
call fcn.1400149a0
jmp 0x140002036
cmp dword [rbp + 0x30], 1
jne 0x140002036
xor edx, edx
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetWindowTextA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x140001ebd
lea edx, [rax - 0x10]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowLongA]
btr eax, 0xd
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetWindowLongA]
xor edx, edx
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
jmp 0x140001f26
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x40]
test eax, eax
je 0x140001eeb
call qword [sym.imp.USER32.dll_GetWindowLongA]
btr eax, 0xd
jmp 0x140001ef5
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0xd
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ebx, 5
mov edx, ebx
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, ebx
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, ebx
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140002036
cmp dword [rbp + 0x30], 0x400
jne 0x140002036
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x140002003
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x140002003
lea rcx, [rbp - 0x40]
call fcn.140015078
nop
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea edx, [rbx + 1]
lea rcx, [rbp - 0x40]
call fcn.140014a38
lea r8d, [rbx + 1]
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rbp - 0x40]
call fcn.140017570
mov r8d, MsiDatabaseExportA
lea rdx, [rbp - 0x30]
mov ecx, eax
call fcn.1400175f8
lea rcx, [rbp - 0x30]
call fcn.1400172a8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14001714c
test eax, eax
je 0x140001ffa
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetWindowTextA]
nop
lea rcx, [rbp - 0x40]
call fcn.1400149a0
mov rcx, rdi
call fcn.140001bd0
mov edx, eax
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x140002036
cmp dword [rbp + 0x30], 0
jne 0x140002036
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_EndDialog]
jmp 0x140002036
cmp dword [rbp + 0x30], 0
jne 0x140002036
call fcn.140001a8c
mov eax, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140017020
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret