Function at 0x1401326b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r13
sub rsp, 0x50
lea rbp, [r8 + 0x10]
mov r13, rcx
mov rbx, r8
mov rcx, rbp
mov rsi, rdx
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x140132922
lea rcx, [0x1402732b8]
mov dl, 1
call fcn.1400c7fd0
test al, al
jne 0x14013270b
mov r8, rbx
mov rdx, rsi
mov rcx, r13
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r13
pop rsi
pop rbp
jmp method.CExtPaintManager.virtual_496
mov rdx, qword [rbx]
mov qword [rsp + 0x70], rdi
lea rcx, str.CWnd
xor edi, edi
mov qword [rsp + 0x78], r12
mov r12, rdi
call fcn.14001b184
test rax, rax
je 0x140132732
mov r12, qword [rax + 0x40]
cmp dword [rbx + 0x20], 1
jne 0x1401327c0
lea r8, str.WINDOW
lea rcx, [0x1402732b8]
mov rdx, r12
call fcn.1400c8040
test rax, rax
je 0x140132918
movzx eax, byte [rbx + 0x24]
test al, 4
jne 0x14013276a
mov eax, 4
jmp 0x14013277e
test al, 2
je 0x140132775
mov eax, 3
jmp 0x14013277e
test al, 1
mov eax, edi
setne al
inc eax
test rsi, rsi
je 0x140132787
mov rdi, qword [rsi + 8]
mov qword [rsp + 0x30], rbp
lea rcx, [0x1402732b8]
mov r9d, 0x13
mov r8, rdi
mov rdx, r12
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call fcn.1400c83b0
lea rcx, [0x1402732b8]
xor edx, edx
call fcn.1400c14f0
jmp 0x140132918
mov eax, dword [rbp]
lea rcx, [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
mov dword [rcx + 4], eax
mov eax, dword [rbp + 8]
mov dword [rcx + 8], eax
mov eax, dword [rbp + 0xc]
mov dword [rcx + 0xc], eax
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x48]
cmp ecx, eax
jle 0x1401327f0
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], ecx
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x4c]
cmp ecx, eax
jle 0x140132804
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x4c], ecx
movzx eax, byte [rbx + 0x24]
test al, 1
jne 0x140132814
test al, 2
je 0x140132894
test al, 4
je 0x140132894
lea r8, str.TOOLBAR
lea rcx, [0x1402732b8]
mov rdx, r12
call fcn.1400c8040
test rax, rax
je 0x140132894
movzx eax, byte [rbx + 0x24]
test al, 2
je 0x140132842
mov eax, 3
jmp 0x14013284b
test al, 1
mov eax, edi
setne al
inc eax
test rsi, rsi
jne 0x140132855
mov r8, rdi
jmp 0x140132859
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0x40]
mov r9d, 1
mov rdx, r12
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [0x1402732b8]
mov dword [rsp + 0x20], eax
call fcn.1400c83b0
lea rcx, [0x1402732b8]
xor edx, edx
call fcn.1400c14f0
movzx eax, byte [rbx + 0x24]
mov dword [rsp + 0x80], edi
test al, 4
jne 0x1401328aa
mov ecx, 0x11
jmp 0x1401328be
test al, 1
jne 0x1401328b9
test al, 2
jne 0x1401328b9
mov ecx, 0xe
jmp 0x1401328be
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetSysColor]
test byte [rbx + 0x24], 2
lea rdi, [0x14026bd00]
mov dword [rsp + 0x84], eax
movsxd rax, dword [rbx + 0x20]
mov rdi, qword [rdi + rax*8]
je 0x1401328f3
mov edx, 1
lea rcx, [rsp + 0x40]
mov r8d, edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov rax, qword [r13]
lea rcx, [rsp + 0x80]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov rdx, rsi
mov rcx, r13
call qword [rax + 0x1a8]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r13
pop rsi
pop rbp
ret