Function at 0x14005e000
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov bpl, r9b
mov rdi, r8
movsxd r12, edx
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x34]
lea rcx, [0x1400bbcd0]
mov edx, r12d
call fcn.14004ec30
xor r14d, r14d
cmp al, r14b
jne 0x14005e051
mov dword [rdi], r14d
jmp 0x14005e7f7
mov rax, qword [0x1400bbd70]
movsxd rcx, dword [rsp + 0x34]
or r15, 0xffffffffffffffff
mov rcx, qword [rax + rcx*8]
mov rax, qword [0x1400bbd98]
mov dword [rdi], r15d
mov rdx, qword [rcx]
movsxd rcx, dword [rsp + 0x30]
mov rcx, qword [rax + rcx*8]
mov rbx, qword [rcx]
movzx eax, byte [rbx + 0xd4]
mov rsi, qword [rbx]
cmp eax, 0x11
jg 0x14005e492
je 0x14005e3a5
cmp eax, r14d
je 0x14005e352
cmp eax, 1
je 0x14005e2e7
cmp eax, 8
je 0x14005e2dd
cmp eax, 0xa
je 0x14005e28a
cmp eax, 0xc
je 0x14005e049
cmp eax, 0xd
jle 0x14005e5ac
cmp eax, 0xf
jle 0x14005e18d
cmp eax, 0x10
jne 0x14005e5ac
lea r8d, [r15 + 0xa]
xor r9d, r9d
mov edx, 0x110a
mov rcx, rsi
mov dword [rdi], r14d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, r14
je 0x14005e7f7
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 4
cmp bpl, r14b
je 0x14005e162
mov ecx, 0x2000
call fcn.140017e24
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
mov dword [rsp + 0x70], 1
mov rbx, rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0xfff
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
jne 0x14005e34a
mov rcx, rbx
call fcn.140018614
jmp 0x14005e7f7
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005e7f7
mov eax, dword [rsp + 0xa0]
jmp 0x14005e7f5
cmp qword [rdx + 0x2a0], r14
jne 0x14005e1a3
cmp qword [rdx + 0x2a8], r14
je 0x14005e7f7
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_IsMenu]
cmp eax, r14d
je 0x14005e7f7
mov ecx, 0x208
call fcn.140017e24
mov rcx, qword [rbx + 0x10]
xor r8d, r8d
mov dword [rsp + 0xc0], 0x50
lea r9, [rsp + 0xc0]
mov edx, r12d
mov rsi, rax
cmp bpl, r14b
je 0x14005e221
mov dword [rsp + 0xc4], reloc.WSOCK32.dll_recv
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x100], 0x104
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
cmp eax, r14d
jne 0x14005e219
mov dword [rdi], r14d
mov rcx, rsi
jmp 0x14005e158
mov rax, rsi
jmp 0x14005e7f9
mov dword [rsp + 0xc4], 1
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov rcx, rsi
cmp eax, r14d
je 0x14005e158
call fcn.140018614
mov r11d, dword [rsp + 0xcc]
mov al, r11b
mov dword [rdi], r11d
and al, 3
neg al
sbb ecx, ecx
and ecx, 0x40
add ecx, 0x40
test r11d, 0x8080
je 0x14005e26a
bts ecx, 8
test r11b, 8
je 0x14005e275
or ecx, 1
jmp 0x14005e278
or ecx, 4
bt r11d, 0xc
jae 0x14005e283
bts ecx, 9
mov dword [rdi], ecx
jmp 0x14005e7f7
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
cmp bpl, r14b
je 0x14005e7f7
lea r9, [rsp + 0x110]
movsxd r8, eax
mov edx, 0x133c
mov rcx, rsi
mov dword [rsp + 0x110], 8
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x130]
mov dword [rdi], r11d
jmp 0x14005e7f7
mov edx, 0x408
jmp 0x14005e7e6
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x14005e5ac
movsxd rdi, eax
xor r9d, r9d
mov edx, 0x18a
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rax + 1]
mov eax, 2
mul r11
cmovo rax, r15
mov rcx, rax
call fcn.140017e24
mov edx, 0x189
mov r8, rdi
mov r9, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
jmp 0x14005e7f9
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x14005e5ac
movsxd rdi, eax
xor r9d, r9d
mov edx, 0x149
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rax + 1]
mov eax, 2
mul r11
cmovo rax, r15
mov rcx, rax
call fcn.140017e24
mov edx, 0x148
jmp 0x14005e338
mov rax, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x60]
mov edx, 0xfffffff0
mov qword [rsp + 0x78], rax
mov dword [rdi], r14d
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x84], 0xf000
mov esi, eax
cmp bpl, r14b
je 0x14005e42e
mov ecx, 0x2000
call fcn.140017e24
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov rdi, rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x90], 0xfff
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005e426
mov rax, rdi
jmp 0x14005e7f9
mov rcx, rdi
jmp 0x14005e158
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005e7f7
bt esi, 8
mov ecx, dword [rsp + 0x80]
jae 0x14005e46e
mov eax, ecx
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
mov dword [rdi], eax
test cl, 2
je 0x14005e477
bts dword [rdi], 8
test cl, 0x20
je 0x14005e480
bts dword [rdi], 0xa
test cl, 0x10
je 0x14005e7f7
bts dword [rdi], 9
jmp 0x14005e7f7
cmp eax, 0x12
je 0x14005e7e1
cmp eax, 0x13
je 0x14005e786
cmp eax, 0x14
je 0x14005e615
cmp eax, 0x15
je 0x14005e5f0
cmp eax, 0x18
jle 0x14005e5ac
cmp eax, 0x1a
jle 0x14005e52f
cmp eax, 0x1c
jne 0x14005e5ac
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov edx, 0x1001
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005e049
mov ecx, SafeArrayUnaccessData
call fcn.140017e24
movzx ecx, word [rsp + 0xae]
movzx r9d, word [rsp + 0xaa]
movzx r8d, word [rsp + 0xa8]
mov dword [rsp + 0x20], ecx
lea rdx, str._d__02d__02d
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14005e34a
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
cmp bpl, r14b
je 0x14005e58b
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [rax + 1]
mov eax, 2
movsxd rcx, ebx
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140017e24
mov r8d, ebx
mov rcx, rsi
mov rdx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, r14d
jne 0x14005e583
mov dword [rdi], r14d
mov rcx, rbp
jmp 0x14005e158
mov rax, rbp
jmp 0x14005e7f9
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
cmp eax, r14d
jne 0x14005e7f7
mov dword [rdi], 4
jmp 0x14005e7f7
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edi, [rax + 1]
mov eax, 2
movsxd rcx, edi
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140017e24
mov r8d, edi
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14005e34a
lea rcx, [rbx + 0xa8]
call fcn.140040230
cmp al, r14b
je 0x14005e60b
call fcn.140058c50
jmp 0x14005e7f9
call fcn.140011c70
jmp 0x14005e7f5
mov r13, qword [rbx + 0x60]
mov edx, 0xffffffec
mov dword [rdi], r15d
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowLongW]
xor edx, edx
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 0x38]
mov esi, eax
call fcn.140018a60
lea r9, [rsp + 0x138]
mov r8, r15
mov edx, 0x1053
mov rcx, r13
mov dword [rsp + 0x138], 1
mov qword [rsp + 0x148], r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x3c], eax
cmp eax, r15d
je 0x14005e7f7
test sil, 4
je 0x14005e6c7
cmp bpl, r14b
je 0x14005e6c7
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x104b
mov rcx, r13
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x48], 0xf000
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005e7f7
mov eax, dword [rsp + 0x44]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x14005e7f5
mov ecx, 0x2000
call fcn.140017e24
cmp r14w, word [rbx + 0xd8]
mov dword [rsp + 0x38], 1
mov rdi, rax
mov rbp, rax
mov dword [rsp + 0x58], 0xfff
mov esi, r14d
jge 0x14005e761
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbp
call fcn.140018b4c
mov ecx, 0xffe
sub ecx, eax
cmp ecx, r14d
mov dword [rsp + 0x58], ecx
jle 0x14005e41e
mov rcx, rdi
call fcn.140018b4c
lea rcx, [rdi + rax*2]
movzx eax, word [0x1400bbce4]
mov word [rcx], ax
mov word [rcx + 2], r14w
call qword [sym.imp.USER32.dll_CharNextW]
mov rbp, rax
movsx eax, word [rbx + 0xd8]
inc esi
cmp esi, eax
jl 0x14005e6f4
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14005e41e
mov r9d, 2
mov r8, r15
mov edx, 0x100c
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 0x38]
mov dword [rdi], eax
call fcn.140018a60
mov eax, dword [rdi]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rsi
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], 4
call qword [sym.imp.USER32.dll_SendMessageW]
neg rax
sbb ecx, ecx
and ecx, dword [rsp + 0x60]
jmp 0x14005e283
mov edx, 0x400
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
xor eax, eax
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret