Function at 0x1400c5900
Capabilities:
Get graphical window text
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0x70], rax
lea r15, [0x140208860]
lea rdx, str.ViewMode
lea rcx, [0x140185d88]
mov r9, r15
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, 2
mov dword [0x1401f7160], eax
call fcn.1400e9140
mov rcx, qword [0x1401fbb58]
mov ebx, eax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400c5990
mov rcx, qword [0x1401fbb58]
lea rdx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp - 0x5c]
sub eax, dword [rbp - 0x64]
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
mov rcx, qword [0x1401fbb48]
lea rdx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x60]
xor r14d, r14d
sub eax, dword [rbp - 0x68]
mov qword [rsp + 0x58], r14
lea r8, [0x140181e34]
cdq
mov r9d, 0x5000002f
mov ecx, eax
mov eax, 0x66666667
xor ecx, edx
sub ecx, edx
imul ecx
mov ecx, dword [rbp - 0x5c]
sub ecx, dword [rbp - 0x64]
sar edx, 1
mov eax, edx
sub ecx, ebx
shr eax, 0x1f
add ecx, 3
add edx, eax
mov rax, qword [0x1401fbad8]
mov qword [rsp + 0x50], rax
mov rax, qword [0x1401fbb48]
mov qword [rsp + 0x48], 0x3e6
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
lea rdx, str.SysTreeView32
mov ecx, 0x20000
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1401fbac8]
mov qword [0x1401fbb50], rax
test rcx, rcx
je 0x1400c5a3b
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
cmp dword [0x1402094d0], 0x90
mov rcx, qword [0x1401fbad8]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov r9d, 1
mov dword [rsp + 0x20], 0xff00ff
jl 0x1400c5a71
mov edx, 0x5b3
lea r8d, [r9 + 0x1f]
jmp 0x1400c5a7c
mov edx, 0x3ea
mov r8d, InitCommonControls
call qword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
mov rcx, qword [0x1401fbb50]
xor r8d, r8d
mov r9, rax
mov edx, 0x1109
mov qword [0x1401fbac8], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401fbb50]
lea rdx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp - 0x60]
mov rcx, qword [0x1401fbb48]
sub eax, dword [rbp - 0x68]
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
lea rdx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, str.TreeW
lea rcx, [0x140185d88]
mov r9, r15
or r8d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
test eax, eax
jns 0x1400c5b10
mov eax, dword [rbp - 0x60]
sub eax, dword [rbp - 0x68]
cdq
mov ecx, eax
mov eax, 0x66666667
xor ecx, edx
sub ecx, edx
imul ecx
mov esi, edx
sar esi, 1
mov eax, esi
shr eax, 0x1f
add esi, eax
mov ecx, 2
call fcn.1400e9140
mov ecx, dword [rbp - 0x5c]
mov r9d, esi
sub ecx, dword [rbp - 0x64]
mov r8d, ebx
xor edx, edx
sub ecx, ebx
mov dword [rsp + 0x28], 1
add eax, ecx
mov rcx, qword [0x1401fbb50]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
test esi, esi
jne 0x1400c5b58
mov rcx, qword [0x1401fbb50]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [rbp - 0x5c]
mov ecx, 4
sub edi, dword [rbp - 0x64]
call fcn.1400e9140
mov ebx, dword [rbp - 0x60]
sub ebx, dword [rbp - 0x68]
mov ecx, 4
sub ebx, esi
sub ebx, eax
call fcn.1400e9140
mov rcx, qword [0x1401fbab8]
lea edx, [rsi + rax]
mov r9d, ebx
xor r8d, r8d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_MoveWindow]
lea r9, [rbp + 0x30]
lea r8, str.12632256
lea rdx, str.BackgroundColor
lea rcx, [0x140185d88]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rbp + 0x30]
call fcn.1400fa308
mov rcx, qword [0x1401fbab8]
xor r8d, r8d
mov r9d, eax
mov edx, 0x1001
mov dword [0x1401f7118], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [0x1401f7118]
mov rcx, qword [0x1401fbab8]
xor r8d, r8d
mov edx, 0x1026
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [0x1401f7118]
mov rcx, qword [0x1401fbb50]
xor r8d, r8d
mov edx, 0x111d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401fbab8]
lea rdx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [rbp - 0x60]
mov rcx, qword [0x1401fbba0]
sub ebx, dword [rbp - 0x68]
mov eax, 0x55555556
lea r8, [rbp - 0x50]
mov r9d, 0x30
mov dword [rsp + 0x60], InitCommonControls
imul ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, edx
sub ebx, edx
mov dword [rsp + 0x68], edx
mov edx, 0x4e86
call qword [sym.imp.USER32.dll_LoadStringW]
lea rcx, [rbp - 0x50]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov rcx, qword [0x1401fbab8]
xor r8d, r8d
mov edx, 0x1061
mov dword [rsp + 0x64], r14d
mov dword [rsp + 0x7c], r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 0x55555556
mov ecx, InitCommonControls
imul ebx
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
call fcn.1400e9140
mov ecx, ebx
sub ecx, eax
mov r9d, 0x30
mov dword [rsp + 0x68], ecx
mov rcx, qword [0x1401fbba0]
lea r8, [rbp - 0x50]
mov edx, 0x516
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [0x1401fbab8]
lea rax, [rbp - 0x50]
lea r9, [rsp + 0x60]
mov edx, 0x1061
mov r8d, 1
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x7c], 1
mov dword [rsp + 0x64], 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x20
call fcn.1400e9140
mov rcx, qword [0x1401fbba0]
lea r8, [rbp - 0x50]
add eax, ebx
mov r9d, 0x30
mov edx, 0x4e87
mov dword [rsp + 0x68], eax
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [0x1401fbab8]
lea rax, [rbp - 0x50]
lea r9, [rsp + 0x60]
mov edx, 0x1061
mov r8d, 2
mov dword [rsp + 0x7c], 2
mov dword [rsp + 0x64], 2
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0xa
call fcn.1400e9140
mov rcx, qword [0x1401fbba0]
lea r8, [rbp - 0x50]
sub ebx, eax
mov r9d, 0x30
mov edx, 0x4e88
mov dword [rsp + 0x68], ebx
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [0x1401fbab8]
lea rax, [rbp - 0x50]
lea r9, [rsp + 0x60]
mov edx, 0x1061
mov r8d, 3
mov dword [rsp + 0x7c], 3
mov dword [rsp + 0x64], 2
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x1401f7160]
call fcn.1400c7ce0
test dword [0x1401f7160], 0xfffffffb
jne 0x1400c5dfe
mov ecx, 5
call fcn.1400c7f80
cmp dword [0x1401f714c], 0x32
mov rcx, qword [0x1401fbab8]
setg r14b
or edx, 0xffffffff
mov r8d, r14d
call fcn.1400c6200
mov rcx, qword [0x1401fbab8]
mov r9d, 0x10421
xor r8d, r8d
mov edx, 0x1036
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400f9a80
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret