Function at 0x140086770
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7a8]
sub rsp, 0x880
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov r15, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.1400b1c70
mov rax, qword [0x140174018]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov ebx, 0x400
mov r8d, ebx
lea rdx, [rsp + 0x70]
mov rcx, qword [r15 + 0x1c0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400670f0
mov r8d, ebx
lea rdx, [rsp + 0x70]
mov rcx, qword [r15 + 0x1d0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.1400670f0
call fcn.14008f814
mov r12, rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0x38]
lea r14, [rbx - 0xc]
cmp dword [r14], 0
jl 0x140086873
mov qword [rsp + 0x20], rbx
lock inc dword [r14]
jmp 0x140086898
mov rax, qword [0x140174018]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400670f0
nop
mov rbx, qword [rsp + 0x40]
lea rsi, [rbx - 0xc]
cmp dword [rsi], 0
jl 0x1400868b0
mov qword [rsp + 0x28], rbx
lock inc dword [rsi]
jmp 0x1400868d5
mov rax, qword [0x140174018]
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.1400670f0
nop
mov rcx, r12
call fcn.14008f674
mov rcx, rax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.1400755d4
or r13d, 0xffffffff
test eax, eax
jne 0x140086a1b
lea r9, str.RTLReading
lea r8, str.Settings
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14008f858
nop
lea rdx, [0x14012288c]
mov rcx, qword [rsp + 0x30]
call fcn.1400da760
xor edi, edi
mov ecx, 0x100000
test eax, eax
cmove edi, ecx
lea r9, str.InvalidEmailCaption
lea r8, str.MainDlg
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.14008f858
mov rbx, rax
lea r9, str.InvalidEmailText
lea r8, str.MainDlg
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.14008f858
mov r9d, edi
mov r8, qword [rbx]
mov rdx, qword [rax]
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400869af
mov eax, r13d
lock xadd dword [rcx], eax
add eax, r13d
test eax, eax
jg 0x1400869af
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400869dd
mov eax, r13d
lock xadd dword [rcx], eax
add eax, r13d
test eax, eax
jg 0x1400869dd
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
mov rcx, qword [r15 + 0x1c0]
call qword [sym.imp.USER32.dll_SetFocus]
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140086a50
mov eax, r13d
lock xadd dword [rcx], eax
add eax, r13d
test eax, eax
jg 0x140086a50
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
jmp 0x140086a50
xor edx, edx
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov r8, qword [r15 + 8]
mov dl, 1
mov rcx, r15
call fcn.140084810
lea rcx, [r15 + 0x2e0]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.1400a1824
mov rcx, r12
call fcn.140090bb4
nop
cmp r14, qword [0x140174010]
je 0x140086a71
mov eax, r13d
lock xadd dword [r14], eax
add eax, r13d
test eax, eax
jg 0x140086a71
mov rcx, r14
call fcn.1400b0230
nop
cmp rsi, qword [0x140174010]
je 0x140086a90
mov eax, r13d
lock xadd dword [rsi], eax
add eax, r13d
test eax, eax
jg 0x140086a90
mov rcx, rsi
call fcn.1400b0230
xor eax, eax
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400b0730
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret