Function at 0x4f7be8
Capabilities:
Check for software breakpoints

Disassembly:
mov rax, rsp
push rdi
push r13
push r14
sub rsp, 0x1d0
mov qword [rsp + 0x110], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, rcx
lea r8, [rax + 8]
lea rdx, [0x0078dc30]
lea rcx, [rax - 0xc8]
call fcn.004023b4
nop
lea rax, str..dctheme
mov qword [rsp + 0x28], rax
lea rax, str.DC_Theme_Files
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x120]
xor r8d, r8d
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x120]
call fcn.0055c7ac
mov r13d, 0x100
cmp al, 1
jne 0x4f815d
lea rcx, [rsp + 0x60]
call fcn.004d1360
nop
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x1a0]
call fcn.00402190
nop
mov r9d, 1
mov r8d, 0x80000000
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.005944d4
nop
lea rdx, [rsp + 0x170]
mov rcx, rax
call fcn.005954d8
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.005f51d4
nop
lea rax, [rsp + 0x170]
mov rcx, qword [rsp + 0x198]
cmp rcx, rax
je 0x4f7cfd
test rcx, rcx
je 0x4f7cfd
mov rdx, qword [rsp + 0x170]
sub rdx, rcx
cmp rdx, r13
jbe 0x4f7cf7
call fcn.006a4944
jmp 0x4f7cfd
call fcn.006a3610
nop
lea rax, [0x007955b8]
mov qword [rsp + 0x30], rax
lea rax, [0x007955c8]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.0059492c
lea r11, [0x007955f8]
mov qword [rsp + 0x38], r11
lea rax, [0x007955e8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1c8]
cmp rcx, rax
je 0x4f7d6d
test rcx, rcx
je 0x4f7d6d
mov rdx, qword [rsp + 0x1a0]
sub rdx, rcx
cmp rdx, r13
jbe 0x4f7d68
call fcn.006a4944
jmp 0x4f7d6d
call fcn.006a3610
mov byte [rsp + 0x108], 0
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rax]
mov qword [rsp + 0x100], rcx
lea rcx, [rsp + 0x60]
call fcn.004d11d4
mov r11, qword [rsp + 0x100]
mov rax, qword [r11]
mov qword [rsp + 0xf8], rax
mov rax, qword [rax]
mov qword [rsp + 0x100], rax
mov byte [rsp + 0x108], 0
lea r8, [rsp + 0x1f0]
lea rdx, str.Settings
lea rcx, [rsp + 0x30]
call fcn.004021a8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.005f40f0
mov bl, al
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x4f7e0f
test rcx, rcx
je 0x4f7e0f
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
cmp rdx, r13
jbe 0x4f7e0a
call fcn.006a4944
jmp 0x4f7e0f
call fcn.006a3610
test bl, bl
je 0x4f8153
lea rcx, [rsp + 0x60]
call fcn.004d11d4
mov r11, qword [rsp + 0x100]
mov rcx, qword [r11]
mov qword [rsp + 0xf8], rcx
mov rax, qword [rcx]
mov qword [rsp + 0x100], rax
mov byte [rsp + 0x108], 0
mov rax, qword [rcx]
mov qword [rsp + 0x100], rax
lea r14, [0x00400000]
test rcx, rcx
je 0x4f8153
cmp rax, qword [rcx + 8]
je 0x4f8153
lea r8, [rsp + 0x1f0]
lea rdx, str.type
lea rcx, [rsp + 0x30]
call fcn.004021a8
nop
lea rcx, [rsp + 0x60]
call fcn.004d11d4
mov r11, qword [rsp + 0x100]
mov rax, qword [r11]
mov rbx, qword [rax + 0x20]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, qword [rax + 0x18]
call fcn.005ccb0c
lea rsi, [rax + 0x30]
lea rcx, [0x0085e820]
cmp rax, rbx
cmove rsi, rcx
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x4f7eef
test rcx, rcx
je 0x4f7eef
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
cmp rdx, r13
jbe 0x4f7eea
call fcn.006a4944
jmp 0x4f7eef
call fcn.006a3610
lea rcx, [rsp + 0x60]
call fcn.004d11d4
mov r11, qword [rsp + 0x100]
mov r8, qword [r11]
add r8, 0x30
mov rcx, qword [0x00862cb8]
add rcx, 0x50
lea rdx, [rsp + 0x118]
call fcn.0056b500
mov rax, qword [rax]
test rax, rax
je 0x4f7f2d
mov edi, dword [rax + 0x38]
jmp 0x4f7f32
mov edi, 0x3c4
cmp edi, 0x3c4
je 0x4f8116
movsxd rbx, edi
test byte [rbx + r14 + 0x393920], 0x80
je 0x4f8116
cmp edi, 0xcd
ja 0x4f7fde
mov rcx, qword [rsi + 0x28]
mov rax, qword [rsi + 0x20]
sub rax, rcx
cmp rax, 6
jne 0x4f7fde
mov edx, dword [rcx]
cmp edx, dword [r14 + 0x39c044]
jne 0x4f7f8a
mov dx, word [rcx + 4]
cmp dx, word [r14 + 0x39c048]
jne 0x4f7f8a
xor eax, eax
jmp 0x4f7f8f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4f7fde
lea rcx, [rsp + 0x60]
call fcn.004d11d4
mov r11, qword [rsp + 0x100]
mov rdx, qword [r11]
add rdx, 0x60
mov rdi, qword [rbp + 0xa8]
lea rax, [rbx + rbx*2]
add rax, rax
lea rcx, [rdi + rax*8 + 0x38]
cmp rdx, rcx
je 0x4f7fd1
mov r8, qword [rdx + 0x20]
mov rdx, qword [rdx + 0x28]
call fcn.0040289c
mov byte [rdi + rbx + 0x2df8], 1
jmp 0x4f8116
lea eax, [rdi - 0xcf]
cmp eax, 0x15a
ja 0x4f807e
mov rcx, qword [rsi + 0x28]
mov rax, qword [rsi + 0x20]
sub rax, rcx
cmp rax, 3
jne 0x4f807e
mov dx, word [rcx]
cmp dx, word [r14 + 0x39c04c]
jne 0x4f801d
mov dl, byte [rcx + 2]
cmp dl, byte [r14 + 0x39c04e]
jne 0x4f801d
xor eax, eax
jmp 0x4f8022
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4f807e
lea rcx, [rsp + 0x60]
call fcn.004d11d4
mov r11, qword [rsp + 0x100]
mov rax, qword [r11]
mov rsi, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x88]
cmp rcx, qword [rax + 0x80]
jne 0x4f8067
mov byte [rsi + rbx + 0x2df8], 0
and dword [rsi + rbx*4 + 0x239c], 0
jmp 0x4f8116
call fcn.006a5458
mov r8d, eax
mov edx, edi
mov rcx, rsi
call fcn.0040a41c
jmp 0x4f8116
lea eax, [rdi - 0x3c1]
cmp eax, 2
ja 0x4f8116
mov rcx, qword [rsi + 0x28]
mov rax, qword [rsi + 0x20]
sub rax, rcx
cmp rax, 5
jne 0x4f8116
mov edx, dword [rcx]
cmp edx, dword [r14 + 0x39c050]
jne 0x4f80b9
mov dl, byte [rcx + 4]
cmp dl, byte [r14 + 0x39c054]
jne 0x4f80b9
xor eax, eax
jmp 0x4f80be
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4f8116
lea rcx, [rsp + 0x60]
call fcn.004d11d4
mov r11, qword [rsp + 0x100]
mov rax, qword [r11]
mov rdi, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x88]
cmp rcx, qword [rax + 0x80]
jne 0x4f8101
mov byte [rdi + rbx + 0x2df8], 0
and qword [rdi + rbx*8 + 0xfd8], 0
jmp 0x4f8116
call fcn.006a5464
mov qword [rdi + rbx*8 + 0xfd8], rax
mov byte [rdi + rbx + 0x2df8], 1
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
jne 0x4f8130
mov rax, qword [rsp + 0x100]
jmp 0x4f7e59
mov rax, qword [rsp + 0x100]
cmp rax, qword [rcx + 8]
je 0x4f7e59
add rax, 8
mov qword [rsp + 0x100], rax
jmp 0x4f7e59
lea rcx, [rsp + 0x60]
call fcn.004d126c
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov byte [0x008668e2], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x110
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rax, [rsp + 0x120]
mov rcx, qword [rsp + 0x168]
cmp rcx, rax
je 0x4f81ca
test rcx, rcx
je 0x4f81ca
mov rdx, qword [rsp + 0x120]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, r13
jbe 0x4f81c5
call fcn.006a4944
jmp 0x4f81ca
call fcn.006a3610
xor eax, eax
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rdi
ret