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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov r12, r8
xor r8d, r8d
mov rdi, rcx
mov dword [rcx + 0x40], r8d
mov dword [rcx + 0x54], r8d
mov dword [rcx + 0x58], r8d
mov rcx, qword [rcx + 0xb8]
mov r14, rdx
mov dword [rsp + 0xc0], r8d
mov r15d, r8d
cmp rcx, r8
je 0x14014c95f
lea rdx, [rax + 0x18]
mov r8d, 1
call fcn.1400dc648
xor r8d, r8d
mov r15d, dword [rax]
cmp qword [rdi + 0x500], r8
mov r13d, r8d
mov ebp, r8d
mov rsi, r8
jle 0x14014cb2e
cmp rsi, r8
jl 0x14014cc51
cmp rsi, qword [rdi + 0x500]
jge 0x14014cc51
cmp ebp, dword [rdi + 0x5c]
mov rax, qword [rdi + 0x4f8]
mov rbx, qword [rax + rsi*8]
jge 0x14014c9bf
or dword [rsp + 0x38], 0xffffffff
or dword [rsp + 0x3c], 0xffffffff
or dword [rsp + 0x40], 0xffffffff
or dword [rsp + 0x44], 0xffffffff
movdqu xmm0, xmmword [rsp + 0x38]
movdqu xmmword [rbx + 0x30], xmm0
jmp 0x14014cb19
mov rax, qword [rbx]
mov rdx, r14
mov rcx, rbx
call qword [rax + 0x1b8]
mov r11, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [r11 + 0x90]
mov r11, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r11 + 0x30]
mov r11, qword [rbx]
lea rdx, [rsp + 0xd0]
mov r8, r14
mov rcx, rbx
call qword [r11 + 0xa0]
xor r8d, r8d
mov dword [rsp + 0xd8], r8d
mov dword [rsp + 0xdc], r8d
cmp dword [rsp + 0xd0], r8d
jne 0x14014ca55
mov rax, qword [rsp + 0xd8]
shr rax, 0x20
cmp dword [rsp + 0xd4], eax
jne 0x14014ca55
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x54], r8d
movdqu xmm0, xmmword [rsp + 0x48]
jmp 0x14014c9b5
mov rcx, r12
call qword [sym.imp.USER32.dll_IsRectEmpty]
xor r8d, r8d
cmp eax, r8d
jne 0x14014ca91
mov eax, dword [r12 + 8]
sub eax, dword [r12]
mov dword [rsp + 0xd0], eax
cmp dword [rdi + 0x24], r8d
je 0x14014ca91
lea rcx, [rsp + 0x28]
call fcn.14002e6a4
xor r8d, r8d
mov ecx, dword [rax]
mov dword [rbx + 0x88], ecx
mov eax, dword [r12 + 4]
mov edx, dword [rsp + 0xc0]
mov ecx, dword [rdi + 0x54]
add ecx, dword [r12]
add eax, edx
add eax, dword [rdi + 0x58]
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xd0]
add ecx, eax
mov rax, qword [rsp + 0xd0]
shr rax, 0x20
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x20]
shr rcx, 0x20
add eax, ecx
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x64], eax
movdqu xmm0, xmmword [rsp + 0x58]
movdqu xmmword [rbx + 0x30], xmm0
mov eax, dword [rsp + 0xd0]
cmp r13d, eax
cmovg eax, r13d
add edx, dword [rsp + 0xd4]
cmp edx, dword [r12 + 0xc]
mov r13d, eax
mov dword [rsp + 0xc0], edx
jle 0x14014cb19
mov dword [rdi + 0x40], 1
inc ebp
inc rsi
movsxd rax, ebp
cmp rax, qword [rdi + 0x500]
jl 0x14014c975
cmp dword [rdi + 0x24], r8d
je 0x14014cb5d
call fcn.14000fc40
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x588]
lea rcx, [rsp + 0xd0]
lea ebx, [rax + rax]
call fcn.14002e6a4
mov ecx, dword [rax]
lea eax, [rbx + rcx]
add r13d, eax
mov rcx, r12
mov dword [rdi + 0x4c], r13d
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x14014cc1f
xor ebx, ebx
xor ebp, ebp
cmp qword [rdi + 0x500], rbx
jle 0x14014cc1f
test rbx, rbx
js 0x14014cc57
cmp rbx, qword [rdi + 0x500]
jge 0x14014cc57
mov rax, qword [rdi + 0x4f8]
lea rcx, [rsp + 0x28]
mov rsi, qword [rax + rbx*8]
movdqu xmm0, xmmword [rsi + 0x30]
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x14014cbf6
mov ecx, dword [rsp + 0x28]
add ecx, r13d
mov dword [rsp + 0x30], ecx
test r15d, r15d
jle 0x14014cbeb
lea rdx, str.CMFCRibbonSeparator
mov rcx, rsi
call fcn.14005a7b0
test eax, eax
je 0x14014cbeb
mov eax, dword [rdi + 0x54]
add eax, r15d
add dword [rsp + 0x28], eax
movdqu xmm0, xmmword [rsp + 0x28]
movdqu xmmword [rsi + 0x30], xmm0
mov rax, qword [rsi]
mov rdx, qword [rsp + 0xc8]
mov rcx, rsi
call qword [rax + pe_nt_image_headers64]
inc ebp
inc rbx
movsxd rax, ebp
cmp rax, qword [rdi + 0x500]
jl 0x14014cb83
movdqu xmm0, xmmword [r12]
mov ecx, dword [rsp + 0xc0]
movdqu xmmword [rdi + 0x70], xmm0
add ecx, dword [rdi + 0x74]
mov eax, dword [rdi + 0x70]
add eax, dword [rdi + 0x4c]
mov dword [rdi + 0x7c], ecx
mov dword [rdi + 0x78], eax
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14001505c
int3
call fcn.14001505c
int3