Function at 0x1400045c0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov rax, qword [0x140063848]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov edi, edx
xor edx, edx
mov r12, r8
mov rbx, rcx
lea r8d, [rdx + 0x7f]
lea rcx, [rbp - 0xf]
mov r14, r9
mov qword [rsp + 0x70], r9
mov byte [rbp - 0x10], 0
call fcn.14003e820
mov rcx, qword [0x140065720]
xor esi, esi
mov qword [rsp + 0x50], rsi
test rcx, rcx
je 0x140004645
xor edx, edx
call fcn.14001df10
cmp eax, 0x102
jne 0x140004645
lea r8d, [rsi + 0x40]
mov edx, 0x412
mov rcx, rbx
call fcn.140003cf0
xor al, al
jmp 0x140004ba4
call fcn.14000b380
test al, al
jne 0x140004684
mov eax, dword [0x1400657f4]
cmp dword [0x1400657f0], eax
je 0x140004684
call fcn.14000d260
mov r8d, InitCommonControls
mov rcx, rbx
mov edx, 0x415
test al, al
jne 0x140004678
mov edx, 0x419
call fcn.140003cf0
xor al, al
jmp 0x140004ba4
mov qword [rsp + 0x358], r13
mov eax, 1
test dil, 1
mov r13d, esi
lea rcx, [rbp + 0xf0]
mov r8, r12
cmovne r13d, eax
mov edx, 0x104
mov qword [rsp + 0x310], r15
mov dword [rsp + 0x60], r13d
call fcn.140011dd0
call fcn.14000b340
mov rcx, rbx
test al, al
jne 0x140004b36
mov edx, 0x65
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rbp - 0x58]
mov r8d, 0x18
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
call fcn.14000b150
or rcx, 0xffffffffffffffff
mov r9d, eax
xor eax, eax
lea rdi, [rbp - 0x58]
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, r9
mov rcx, rbx
jae 0x14000472a
cmp byte [rbp - 0x58], al
lea edx, [rax + 0x40]
setne sil
lea r8, [rsi + 0x3ef]
call fcn.140003e90
xor al, al
jmp 0x140004b94
mov edx, 0x66
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdx, [rbp - 0x70]
mov r8d, 0x18
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
call fcn.14000b190
or rcx, 0xffffffffffffffff
mov r9d, eax
xor eax, eax
lea rdi, [rbp - 0x70]
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp rcx, r9
jae 0x140004787
cmp byte [rbp - 0x70], al
lea edx, [rax + 0x40]
mov rcx, rbx
setne sil
lea r8, [rsi + 0x3f1]
call fcn.140003e90
xor al, al
jmp 0x140004b94
call fcn.14000b300
lea r15, [0x14004eb38]
test al, al
je 0x1400047b1
mov edx, 0x66
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, 0x67
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
sete dil
movzx ecx, dil
call fcn.14000aff0
mov byte [rbp + 0x70], sil
call fcn.14000b080
mov r12d, 0x80
test al, al
je 0x14000480b
call fcn.14000af80
cmp byte [rax], sil
je 0x14000480b
lea r9, str.Ai4rei_AN_ROCred_
lea r8, [0x14004f280]
lea rcx, [rbp + 0x70]
mov edx, r12d
mov qword [rsp + 0x20], rax
call fcn.1400073f0
test dil, dil
je 0x140004838
lea rcx, [rbp - 0x58]
call fcn.14000b0f0
cmp byte [rbp + 0x70], sil
je 0x140004856
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x70]
mov r9d, 2
call fcn.14001f390
jmp 0x140004856
xor ecx, ecx
call fcn.14000b0f0
cmp byte [rbp + 0x70], sil
je 0x140004856
xor r8d, r8d
lea rcx, [rbp + 0x70]
lea edx, [r8 + 1]
call qword [0x1400635f0]
call fcn.14000b470
test eax, eax
je 0x140004907
mov rcx, rbx
call fcn.140003ee0
test al, al
je 0x140004aaf
call fcn.14000b470
test al, 1
je 0x1400048e8
lea rcx, [rsp + 0x78]
xor edx, edx
call fcn.14002d2d0
movzx edx, byte [rsp + 0x7c]
movzx r8d, byte [rsp + 0x7a]
movzx r10d, byte [rsp + 0x79]
movzx r9d, byte [rsp + 0x78]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp - 0x10]
repne scasb al, byte [rdi]
movzx eax, byte [rsp + 0x7d]
movzx edi, byte [rsp + 0x7b]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], edx
not rcx
dec rcx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r8d
sub r12, rcx
lea r8, str.mac_02X_02X_02X_02X_02X_02X
lea rcx, [rbp + rcx - 0x10]
mov rdx, r12
mov dword [rsp + 0x20], r10d
call fcn.1400073f0
xor eax, eax
lea rdi, [rbp - 0x10]
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str.key]
mov dword [rdi - 1], eax
movzx eax, byte [0x14004f258]
mov byte [rdi + 3], al
call fcn.14000b1d0
test al, al
je 0x140004ac5
call fcn.14000b210
mov r12, rax
cmp byte [rax], sil
je 0x140004ab6
lea rdx, str.password
mov rcx, rax
call fcn.14003ea10
test rax, rax
je 0x140004a9c
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
dec rcx
mov qword [rsp + 0x58], rcx
inc rcx
call fcn.14002e3a0
mov r13, rax
test rax, rax
je 0x140004a95
mov r9, qword [rsp + 0x58]
lea rax, [rsp + 0x58]
xor r14b, r14b
mov qword [rsp + 0x28], rax
mov r8, r13
xor edx, edx
inc r9
mov rcx, r12
mov qword [rsp + 0x20], rsi
call fcn.14002fc10
test al, al
je 0x140004a2f
mov rdx, qword [rsp + 0x58]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x70]
lea r8, str.password
mov r9d, 0xa
repne scasb al, byte [rdi]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x38], rax
not rcx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
dec rcx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
mov rcx, r13
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x20], rax
call fcn.14002fa90
test al, al
je 0x140004a28
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
lea r8, [rbp - 0x80]
call fcn.14002de40
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
call fcn.140011d10
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x78], rsi
call fcn.14002e3f0
mov r14b, 1
jmp 0x140004a42
mov edx, 0x3fc
jmp 0x140004a34
mov edx, 0x3fb
mov r8d, InitCommonControls
mov rcx, rbx
call fcn.140003cf0
mov rcx, r13
call fcn.14002e3f0
test r14b, r14b
je 0x140004aaf
mov r13d, dword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
mov r9d, InitCommonControls
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x40]
lea edx, [r9 + 0x11]
call fcn.140024700
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400041f0
test al, al
je 0x140004aaf
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x40]
jmp 0x140004ae8
mov edx, 0x3fc
jmp 0x140004aa1
mov edx, 0x3fa
mov r8d, InitCommonControls
mov rcx, rbx
call fcn.140003cf0
xor al, al
jmp 0x140004b94
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.14002dd30
jmp 0x140004a59
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400041f0
test al, al
je 0x140004aaf
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x70]
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x28], rcx
mov rax, rdi
test rdi, rdi
cmove rax, r15
lea r9, str._s_t:_s_s__s__s
lea r8, [rbp + 0xf0]
mov edx, r13d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140012150
lea rcx, [rbp - 0x70]
mov edx, 0x18
movzx ebx, al
call fcn.140011d10
jmp 0x140004b84
lea rdx, [rsp + 0x50]
call fcn.1400041f0
test al, al
je 0x140004aaf
mov rdi, qword [rsp + 0x50]
lea r15, [0x14004eb38]
lea r9, [0x14004f280]
test rdi, rdi
mov rax, rdi
lea r8, [rbp + 0xf0]
cmove rax, r15
mov edx, r13d
mov rcx, rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140012150
movzx ebx, al
test rdi, rdi
je 0x140004b91
mov rcx, rdi
call fcn.14002e3f0
movzx eax, bl
mov r13, qword [rsp + 0x358]
mov r15, qword [rsp + 0x310]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14003e7f0
add rsp, 0x318
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret