Function at 0x140056520
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp - 8], rax
mov edx, 0x7d7
mov r14, rcx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rbp - 0x18]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [rbp - 0x10]
mov edx, 0x7d7
sub ebx, dword [rbp - 0x18]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.1400593f0
mov rsi, rax
mov edx, 0x7d8
mov rcx, r14
sub esi, ebx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.1400593f0
sub eax, ebx
cmp esi, eax
jg 0x1400565da
mov edx, 0x7d8
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.1400593f0
sub eax, ebx
mov esi, eax
xor r13d, r13d
lea r12, [0x140152fec]
mov r15d, 1
test esi, esi
jle 0x140056678
lea rdx, [rbp - 0x18]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp - 0xc]
mov eax, esi
sub ecx, dword [rbp - 0x14]
mov r9d, 0xffffffff
sub eax, dword [rbp - 0x18]
xor edx, edx
add eax, dword [rbp - 0x10]
mov r8d, r9d
mov dword [rsp + 0x30], 6
mov dword [rsp + 0x28], ecx
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, r15d
mov rdi, r12
cmp ebx, 3
jg 0x140056643
mov eax, esi
mov r9d, r13d
jmp 0x14005665b
cmp ebx, 5
jge 0x140056655
mov eax, r13d
cmp ebx, 4
je 0x140056655
mov r9d, r13d
jmp 0x14005665b
mov r9d, esi
mov eax, r13d
mov r8d, dword [rdi - 4]
mov rcx, r14
mov edx, dword [rdi]
mov dword [rsp + 0x20], eax
call fcn.140056460
inc ebx
add rdi, 4
cmp ebx, 0xa
jb 0x140056637
mov edx, 0x426
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x18]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rbp - 0x18]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [rbp - 0x10]
mov ecx, 0xbc5
sub eax, dword [rbp - 0x18]
mov dword [rbp - 0x1c], eax
call fcn.1400207e0
xor edi, edi
mov rcx, rbx
mov qword [rbp - 0x28], rdi
mov r13, rax
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
je 0x14005677b
xor r9d, r9d
lea edx, [rdi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14005677b
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x140056749
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x14005677b
inc eax
lea edx, [rdi + 2]
movsxd rcx, eax
call fcn.1400c537c
mov rdi, rax
test rax, rax
je 0x14005677b
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14005677b
mov r8d, r13d
mov rdx, rdi
jmp 0x14005676e
mov rcx, r13
call fcn.140051830
mov rdi, rax
test rax, rax
je 0x14005677b
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140056760
mov rdx, rax
lea r9, [rbp - 0x28]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e9080
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056799
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x28]
mov ecx, 0xbc6
call fcn.1400207e0
mov rdx, rax
mov ecx, 0xbd6
call fcn.1400207e0
mov qword [rbp - 0x28], rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov esi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
test rax, rax
je 0x14005687b
xor r9d, r9d
lea edx, [rsi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14005687b
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x140056849
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x28], eax
test eax, eax
jle 0x14005687b
inc eax
lea edx, [rsi + 2]
movsxd rcx, eax
mov dword [rbp - 0x20], eax
call fcn.1400c537c
mov rsi, rax
test rax, rax
je 0x14005687b
mov r8d, dword [rbp - 0x20]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14005687b
mov r8d, dword [rbp - 0x28]
mov rdx, rsi
jmp 0x14005686e
mov rcx, rax
call fcn.140051830
mov rsi, rax
test rax, rax
je 0x14005687b
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140056860
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e9080
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056899
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x14005699c
mov ecx, 0xbc6
call fcn.1400207e0
mov rdx, rax
mov ecx, 0xbd6
call fcn.1400207e0
mov r13, rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov edi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
je 0x14005697b
xor r9d, r9d
lea edx, [rdi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14005697b
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x140056946
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x14005697b
inc eax
lea edx, [rdi + 2]
movsxd rcx, eax
call fcn.1400c537c
mov rdi, rax
test rax, rax
je 0x14005697b
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14005697b
mov r8d, r13d
mov rdx, rdi
jmp 0x14005696e
mov rcx, r13
call fcn.140051830
mov rdi, rax
test rax, rax
je 0x14005697b
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140056960
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e9080
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056999
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov ecx, 0xbc7
call fcn.1400207e0
mov qword [rbp - 0x28], rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov esi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
test rax, rax
je 0x140056a6e
xor r9d, r9d
lea edx, [rsi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140056a6e
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x140056a3c
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x20], eax
test eax, eax
jle 0x140056a6e
inc eax
lea edx, [rsi + 2]
movsxd rcx, eax
mov dword [rbp - 0x28], eax
call fcn.1400c537c
mov rsi, rax
test rax, rax
je 0x140056a6e
mov r8d, dword [rbp - 0x28]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140056a6e
mov r8d, dword [rbp - 0x20]
mov rdx, rsi
jmp 0x140056a61
mov rcx, rax
call fcn.140051830
mov rsi, rax
test rax, rax
je 0x140056a6e
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140056a53
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e9080
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056a8c
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x140056b7f
mov ecx, 0xbc7
call fcn.1400207e0
mov r13, rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov edi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
je 0x140056b5e
xor r9d, r9d
lea edx, [rdi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140056b5e
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x140056b2c
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x140056b5e
inc eax
lea edx, [rdi + 2]
movsxd rcx, eax
call fcn.1400c537c
mov rdi, rax
test rax, rax
je 0x140056b5e
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140056b5e
mov r8d, r13d
mov rdx, rdi
jmp 0x140056b51
mov rcx, r13
call fcn.140051830
mov rdi, rax
test rax, rax
je 0x140056b5e
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140056b43
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e9080
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056b7c
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov ecx, 0xbc8
call fcn.1400207e0
mov qword [rbp - 0x28], rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov esi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
test rax, rax
je 0x140056c5b
xor r9d, r9d
lea edx, [rsi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140056c5b
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x140056c1f
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x20], eax
test eax, eax
jle 0x140056c5b
inc eax
lea edx, [rsi + 2]
movsxd rcx, eax
mov dword [rbp - 0x28], eax
call fcn.1400c537c
mov rsi, rax
test rax, rax
je 0x140056c5b
mov r8d, dword [rbp - 0x28]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140056c5b
mov r8d, dword [rbp - 0x20]
mov rdx, rsi
jmp 0x140056c4e
mov rcx, rax
call fcn.140051830
mov rsi, rax
test rax, rax
je 0x140056c5b
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140056c40
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e9080
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056c79
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x140056d6c
mov ecx, 0xbc8
call fcn.1400207e0
mov r13, rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov edi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
je 0x140056d4b
xor r9d, r9d
lea edx, [rdi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140056d4b
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x140056d19
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x140056d4b
inc eax
lea edx, [rdi + 2]
movsxd rcx, eax
call fcn.1400c537c
mov rdi, rax
test rax, rax
je 0x140056d4b
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140056d4b
mov r8d, r13d
mov rdx, rdi
jmp 0x140056d3e
mov rcx, r13
call fcn.140051830
mov rdi, rax
test rax, rax
je 0x140056d4b
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140056d30
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e9080
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056d69
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov ecx, 0xbc0
call fcn.1400207e0
mov qword [rbp - 0x28], rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov esi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
test rax, rax
je 0x140056e3e
xor r9d, r9d
lea edx, [rsi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140056e3e
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x140056e0c
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x20], eax
test eax, eax
jle 0x140056e3e
inc eax
lea edx, [rsi + 2]
movsxd rcx, eax
mov dword [rbp - 0x28], eax
call fcn.1400c537c
mov rsi, rax
test rax, rax
je 0x140056e3e
mov r8d, dword [rbp - 0x28]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140056e3e
mov r8d, dword [rbp - 0x20]
mov rdx, rsi
jmp 0x140056e31
mov rcx, rax
call fcn.140051830
mov rsi, rax
test rax, rax
je 0x140056e3e
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140056e23
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e9080
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056e5c
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x140056f4f
mov ecx, 0xbc0
call fcn.1400207e0
mov r13, rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov edi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
je 0x140056f2e
xor r9d, r9d
lea edx, [rdi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140056f2e
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x140056efc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x140056f2e
inc eax
lea edx, [rdi + 2]
movsxd rcx, eax
call fcn.1400c537c
mov rdi, rax
test rax, rax
je 0x140056f2e
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140056f2e
mov r8d, r13d
mov rdx, rdi
jmp 0x140056f21
mov rcx, r13
call fcn.140051830
mov rdi, rax
test rax, rax
je 0x140056f2e
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140056f13
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e9080
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056f4c
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov ecx, 0xbc1
call fcn.1400207e0
mov qword [rbp - 0x28], rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov esi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
test rax, rax
je 0x14005702b
xor r9d, r9d
lea edx, [rsi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14005702b
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x140056fef
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x20], eax
test eax, eax
jle 0x14005702b
inc eax
lea edx, [rsi + 2]
movsxd rcx, eax
mov dword [rbp - 0x28], eax
call fcn.1400c537c
mov rsi, rax
test rax, rax
je 0x14005702b
mov r8d, dword [rbp - 0x28]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14005702b
mov r8d, dword [rbp - 0x20]
mov rdx, rsi
jmp 0x14005701e
mov rcx, rax
call fcn.140051830
mov rsi, rax
test rax, rax
je 0x14005702b
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140057010
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e9080
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140057049
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x14005713c
mov ecx, 0xbc1
call fcn.1400207e0
mov r13, rax
mov rcx, rbx
xor eax, eax
mov qword [rbp - 0x30], rax
mov edi, eax
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
test rax, rax
je 0x14005711b
xor r9d, r9d
lea edx, [rdi + 0x31]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x14005711b
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x1400570e9
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x14005711b
inc eax
lea edx, [rdi + 2]
movsxd rcx, eax
call fcn.1400c537c
mov rdi, rax
test rax, rax
je 0x14005711b
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14005711b
mov r8d, r13d
mov rdx, rdi
jmp 0x14005710e
mov rcx, r13
call fcn.140051830
mov rdi, rax
test rax, rax
je 0x14005711b
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140057100
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e9080
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140057139
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov eax, dword [0x1401e6788]
sub eax, dword [rbp - 0x1c]
add edi, eax
test edi, edi
jle 0x1400571de
lea rdx, [rbp - 0x18]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp - 0xc]
mov eax, edi
sub ecx, dword [rbp - 0x14]
mov r9d, 0xffffffff
sub eax, dword [rbp - 0x18]
xor edx, edx
add eax, dword [rbp - 0x10]
mov r8d, r9d
mov dword [rsp + 0x30], 6
mov dword [rsp + 0x28], ecx
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rsi, r12
mov ebx, r15d
xor r12d, r12d
nop word [rax + rax]
lea eax, [rbx - 3]
test eax, 0xfffffffd
je 0x1400571cc
mov r8d, dword [rsi - 4]
cmp ebx, 7
mov edx, dword [rsi]
mov eax, edi
mov r9d, edi
cmovge eax, r12d
cmovl r9d, r12d
mov dword [rsp + 0x20], eax
mov rcx, r14
call fcn.140056460
inc ebx
add rsi, 4
cmp ebx, 0xa
jb 0x1400571a0
lea r12, [0x140152fec]
mov edx, 0x42a
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rbp - 0x18]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov edi, dword [rbp - 0x10]
mov edx, 0x42a
sub edi, dword [rbp - 0x18]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.1400593f0
mov ebx, dword [0x1401e678c]
mov edx, 2
sub ebx, edi
mov rcx, r14
add ebx, eax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.1400593f0
mov ecx, dword [0x1401e678c]
sub ecx, edi
add eax, ecx
cmp ebx, eax
jg 0x14005727e
mov edx, 2
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.1400593f0
mov ebx, dword [0x1401e678c]
sub ebx, edi
add ebx, eax
test ebx, ebx
jle 0x1400572ef
lea rdx, [rbp - 0x18]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp - 0xc]
mov eax, ebx
sub ecx, dword [rbp - 0x14]
mov r9d, 0xffffffff
sub eax, dword [rbp - 0x18]
xor edx, edx
add eax, dword [rbp - 0x10]
mov r8d, r9d
mov dword [rsp + 0x30], 6
mov dword [rsp + 0x28], ecx
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [r15 - 2]
cmp eax, 4
jbe 0x1400572e2
mov r8d, dword [r12 - 4]
xor r9d, r9d
mov edx, dword [r12]
mov rcx, r14
mov dword [rsp + 0x20], ebx
call fcn.140056460
inc r15d
add r12, 4
cmp r15d, 0xa
jb 0x1400572c1
mov edx, 0x42a
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x18]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rbp - 0x18]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov edx, dword [rbp - 0x10]
xor edi, edi
mov ecx, dword [0x1401a0408]
mov r8d, dword [rbp - 0x18]
sub edx, r8d
mov r9d, dword [rbp - 0x14]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov dword [rsp + 0x20], edx
mov rdx, rax
call qword [sym.imp.USER32.dll_SetWindowPos]
lea edx, [rdi + 2]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x18]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
lea r9d, [rdi + 2]
mov rdx, r14
lea r8, [rbp - 0x18]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
lea edx, [rdi + 3]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov edx, dword [rbp - 0x10]
mov ecx, dword [0x1401a0408]
mov r8d, dword [rbp - 0x18]
sub edx, r8d
mov r9d, dword [rbp - 0x14]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ecx
mov rcx, rbx
mov dword [rsp + 0x20], edx
mov rdx, rax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400b1f80
lea r11, [rsp + 0x70]
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