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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
and dword [rsp + 0x20], 0
mov rcx, rdx
mov esi, r9d
mov r15, r8
mov r13, rdx
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
cmp dword [rax + 0x3c], esi
jg 0x140026f1a
mov r9d, dword [rbx + 0x34]
mov eax, dword [rax + 0x8c]
mov dword [rsp + 0x28], eax
cmp r9d, 0x1c
ja 0x140026d29
mov ecx, 0x10084210
bt ecx, r9d
jb 0x140026d34
and qword [rsp + 0x30], rbp
cmp r9d, 0x21
jne 0x140026d3d
mov qword [rsp + 0x30], 1
xor r12d, r12d
test eax, eax
jle 0x140026f1a
mov edx, r12d
mov rcx, rbx
call fcn.140021bb8
test byte [rbx + 0x10], 4
mov r14, rax
mov edi, dword [rax]
jne 0x140026d67
test byte [rax + 0xf4], 0x10
je 0x140026d6e
or ecx, 0xffffffff
mov edi, ecx
jmp 0x140026d71
or ecx, 0xffffffff
mov r11d, dword [rax + 0x2c]
mov eax, dword [rax + 0xf4]
and r11d, 0x800
cmp dword [rbx + 0x3c], esi
mov esi, eax
mov dword [rsp + 0x24], r11d
cmovg edi, ecx
and esi, 0x80
cmp edi, ecx
je 0x140026dfc
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [rsp + 0x80]
lea r9, [rsp + 0x38]
mov r8d, edi
mov edx, 0x65
mov ecx, ebx
call fcn.14004564c
test eax, eax
jne 0x140026f25
mov r9d, dword [rsp + 0x98]
mov r8, r15
mov rdx, qword [rsp + 0x38]
mov ecx, ebx
call fcn.140026cc4
test eax, eax
jne 0x140026f25
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r11d, dword [rsp + 0x24]
mov rbx, rax
mov eax, dword [r14 + 0xf4]
test eax, eax
je 0x140026f04
test esi, esi
jne 0x140026f04
mov r13, qword [rsp + 0x30]
lea r9, [r15 + 0x24]
xor r8d, r8d
xor r10d, r10d
test r8d, r8d
je 0x140026e30
cmp r8d, 1
jne 0x140026e37
lea edi, [r8 + 1]
mov dword [rsp + 0x20], edi
jmp 0x140026e3b
mov edi, 1
jmp 0x140026e2a
mov edi, dword [rsp + 0x20]
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax*2 + 1]
add rcx, r10
lea rdx, [rcx + rcx*4]
cmp dword [r15 + rdx*4], 0
je 0x140026ee8
test byte [r15 + rdx*4 + 0x10], 4
je 0x140026ee8
test dword [r14 + 0xf4], edi
je 0x140026ee8
test r8d, r8d
je 0x140026e86
cmp r8d, 1
jne 0x140026e99
mov ebp, dword [r14 + 0x40]
test r11d, r11d
je 0x140026e99
xor ebp, ebp
jmp 0x140026e99
mov ebp, dword [r14 + 0x44]
test r11d, r11d
je 0x140026e99
mov rax, r13
neg rax
sbb ecx, ecx
and ebp, ecx
cmp ebp, dword [r15 + rdx*4 + 0xc]
jle 0x140026ee8
movsx eax, word [rbx]
mov dword [r15 + rdx*4 + 4], eax
mov dword [r15 + rdx*4 + 8], r12d
mov dword [r15 + rdx*4 + 0xc], ebp
mov eax, dword [r15 + rdx*4 + 0x10]
test al, 2
je 0x140026ec3
xor eax, 2
mov dword [r15 + rdx*4 + 0x10], eax
test r8d, r8d
jne 0x140026ee8
xor ecx, ecx
cmp dword [rbx + 0x3c], ecx
jle 0x140026ee8
mov rax, r9
cmp dword [rax - 4], ebp
jge 0x140026edd
mov dword [rax - 4], ebp
or dword [rax], 3
inc ecx
add rax, 0x28
cmp ecx, dword [rbx + 0x3c]
jl 0x140026ed2
inc r8d
inc r10
add r9, 0x14
cmp r8d, 1
jle 0x140026e1b
mov r13, qword [rsp + 0x88]
inc r12d
cmp r12d, dword [rsp + 0x28]
jge 0x140026f1a
mov esi, dword [rsp + 0x98]
jmp 0x140026d48
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret