Function at 0x140055f80
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.140058c40
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.140058c40
sub eax, ebx
cmp esi, eax
jg 0x14005603a
mov edx, 0x7d8
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.140058c40
sub eax, ebx
mov esi, eax
xor r13d, r13d
lea r12, [0x14015301c]
mov r15d, 1
test esi, esi
jle 0x1400560d8
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 0x1400560a3
mov eax, esi
mov r9d, r13d
jmp 0x1400560bb
cmp ebx, 5
jge 0x1400560b5
mov eax, r13d
cmp ebx, 4
je 0x1400560b5
mov r9d, r13d
jmp 0x1400560bb
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.140055ec0
inc ebx
add rdi, 4
cmp ebx, 0xa
jb 0x140056097
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.140021050
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 0x1400561df
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400561df
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x1400561ad
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x1400561df
inc eax
mov edx, 2
movsxd rcx, eax
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x1400561df
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400561df
mov r8d, r13d
mov rdx, rdi
jmp 0x1400561d2
mov rcx, r13
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x1400561df
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400561c4
mov rdx, rax
lea r9, [rbp - 0x28]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400561fd
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x28]
mov ecx, 0xbc6
call fcn.140021050
mov rdx, rax
mov ecx, 0xbd6
call fcn.140021050
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 0x1400562eb
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400562eb
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x1400562b1
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x28], eax
test eax, eax
jle 0x1400562eb
inc eax
mov edx, 2
movsxd rcx, eax
mov dword [rbp - 0x20], eax
call fcn.1400c4f6c
mov rsi, rax
test rax, rax
je 0x1400562eb
mov r8d, dword [rbp - 0x20]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400562eb
mov r8d, dword [rbp - 0x28]
mov rdx, rsi
jmp 0x1400562de
mov rcx, rax
call fcn.140051290
mov rsi, rax
test rax, rax
je 0x1400562eb
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400562d0
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e8c70
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056309
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x14005640d
mov ecx, 0xbc6
call fcn.140021050
mov rdx, rax
mov ecx, 0xbd6
call fcn.140021050
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 0x1400563ec
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400563ec
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x1400563ba
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x1400563ec
inc eax
mov edx, 2
movsxd rcx, eax
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x1400563ec
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400563ec
mov r8d, r13d
mov rdx, rdi
jmp 0x1400563df
mov rcx, r13
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x1400563ec
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400563d1
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005640a
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov ecx, 0xbc7
call fcn.140021050
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 0x1400564eb
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400564eb
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x1400564b1
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x20], eax
test eax, eax
jle 0x1400564eb
inc eax
mov edx, 2
movsxd rcx, eax
mov dword [rbp - 0x28], eax
call fcn.1400c4f6c
mov rsi, rax
test rax, rax
je 0x1400564eb
mov r8d, dword [rbp - 0x28]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400564eb
mov r8d, dword [rbp - 0x20]
mov rdx, rsi
jmp 0x1400564de
mov rcx, rax
call fcn.140051290
mov rsi, rax
test rax, rax
je 0x1400564eb
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400564d0
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e8c70
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056509
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x140056600
mov ecx, 0xbc7
call fcn.140021050
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 0x1400565df
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400565df
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x1400565ad
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x1400565df
inc eax
mov edx, 2
movsxd rcx, eax
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x1400565df
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400565df
mov r8d, r13d
mov rdx, rdi
jmp 0x1400565d2
mov rcx, r13
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x1400565df
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400565c4
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400565fd
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov ecx, 0xbc8
call fcn.140021050
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 0x1400566db
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400566db
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x1400566a4
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x20], eax
test eax, eax
jle 0x1400566db
inc eax
mov edx, 2
movsxd rcx, eax
mov dword [rbp - 0x28], eax
call fcn.1400c4f6c
mov rsi, rax
test rax, rax
je 0x1400566db
mov r8d, dword [rbp - 0x28]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400566db
mov r8d, dword [rbp - 0x20]
mov rdx, rsi
jmp 0x1400566ce
mov rcx, rax
call fcn.140051290
mov rsi, rax
test rax, rax
je 0x1400566db
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400566c0
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e8c70
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400566f9
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x1400567f0
mov ecx, 0xbc8
call fcn.140021050
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 0x1400567cf
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400567cf
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x14005679d
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x1400567cf
inc eax
mov edx, 2
movsxd rcx, eax
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x1400567cf
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400567cf
mov r8d, r13d
mov rdx, rdi
jmp 0x1400567c2
mov rcx, r13
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x1400567cf
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400567b4
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400567ed
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov ecx, 0xbc0
call fcn.140021050
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 0x1400568cb
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400568cb
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x140056894
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x20], eax
test eax, eax
jle 0x1400568cb
inc eax
mov edx, 2
movsxd rcx, eax
mov dword [rbp - 0x28], eax
call fcn.1400c4f6c
mov rsi, rax
test rax, rax
je 0x1400568cb
mov r8d, dword [rbp - 0x28]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400568cb
mov r8d, dword [rbp - 0x20]
mov rdx, rsi
jmp 0x1400568be
mov rcx, rax
call fcn.140051290
mov rsi, rax
test rax, rax
je 0x1400568cb
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400568b0
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e8c70
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400568e9
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x1400569e0
mov ecx, 0xbc0
call fcn.140021050
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 0x1400569bf
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x1400569bf
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x14005698d
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x1400569bf
inc eax
mov edx, 2
movsxd rcx, eax
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x1400569bf
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400569bf
mov r8d, r13d
mov rdx, rdi
jmp 0x1400569b2
mov rcx, r13
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x1400569bf
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400569a4
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400569dd
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov ecx, 0xbc1
call fcn.140021050
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 0x140056abb
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140056abb
mov rdx, rax
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rax, qword [rbp - 0x28]
test rax, rax
jne 0x140056a84
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [rbp - 0x20], eax
test eax, eax
jle 0x140056abb
inc eax
mov edx, 2
movsxd rcx, eax
mov dword [rbp - 0x28], eax
call fcn.1400c4f6c
mov rsi, rax
test rax, rax
je 0x140056abb
mov r8d, dword [rbp - 0x28]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140056abb
mov r8d, dword [rbp - 0x20]
mov rdx, rsi
jmp 0x140056aae
mov rcx, rax
call fcn.140051290
mov rsi, rax
test rax, rax
je 0x140056abb
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140056aa0
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rsi
call fcn.1400e8c70
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056ad9
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp edi, dword [rbp - 0x30]
jg 0x140056bd0
mov ecx, 0xbc1
call fcn.140021050
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 0x140056baf
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x140056baf
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
test r13, r13
jne 0x140056b7d
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r13d, eax
test eax, eax
jle 0x140056baf
inc eax
mov edx, 2
movsxd rcx, eax
call fcn.1400c4f6c
mov rdi, rax
test rax, rax
je 0x140056baf
lea r8d, [r13 + 1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x140056baf
mov r8d, r13d
mov rdx, rdi
jmp 0x140056ba2
mov rcx, r13
call fcn.140051290
mov rdi, rax
test rax, rax
je 0x140056baf
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140056b94
mov rdx, rax
lea r9, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rcx, rdi
call fcn.1400e8c70
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140056bcd
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [rbp - 0x30]
mov eax, dword [0x1401e6708]
sub eax, dword [rbp - 0x1c]
add edi, eax
test edi, edi
jle 0x140056c6e
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 dword [rax + rax]
lea eax, [rbx - 3]
test eax, 0xfffffffd
je 0x140056c5c
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.140055ec0
inc ebx
add rsi, 4
cmp ebx, 0xa
jb 0x140056c30
lea r12, [0x14015301c]
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.140058c40
mov ebx, dword [0x1401e670c]
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.140058c40
mov ecx, dword [0x1401e670c]
sub ecx, edi
add eax, ecx
cmp ebx, eax
jg 0x140056d0e
mov edx, 2
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call fcn.140058c40
mov ebx, dword [0x1401e670c]
sub ebx, edi
add ebx, eax
test ebx, ebx
jle 0x140056d7f
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 0x140056d72
mov r8d, dword [r12 - 4]
xor r9d, r9d
mov edx, dword [r12]
mov rcx, r14
mov dword [rsp + 0x20], ebx
call fcn.140055ec0
inc r15d
add r12, 4
cmp r15d, 0xa
jb 0x140056d51
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 [0x1401a0488]
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 edx, 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]
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]
mov ecx, dword [0x1401a0488]
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.1400b2a30
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