Function at 0x140046440
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1403ca010]
xor rax, rsp
mov qword [rbp - 8], rax
mov eax, dword [0x1403cabf0]
xor r14d, r14d
mov dword [rbp - 0x38], eax
mov esi, edx
mov rax, qword [rcx]
lea rcx, str.win32u.dll
add rax, 0xff0
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x40], 8
mov word [rbp - 0x34], 0x100
mov byte [rbp - 0x32], r14b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDINetDispGetNextChunkInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x50]
call rax
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14004666b
mov eax, dword [0x1403cabf0]
mov dword [rbp - 0x38], eax
lea rax, [rcx + 8]
mov qword [rbp - 0x48], rax
lea rcx, str.win32u.dll
lea rax, [rbp - 0x10]
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x40], 8
mov word [rbp - 0x34], 0x100
mov byte [rbp - 0x32], r14b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDINetDispGetNextChunkInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x50]
call rax
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x14004666b
mov eax, dword [0x1403cabf0]
lea rcx, str.win32u.dll
mov dword [rbp - 0x38], eax
lea rax, [rbx + 0x34]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x30], rax
mov word [rbp - 0x18], r14w
mov qword [rbp - 0x40], 2
mov word [rbp - 0x34], 0x100
mov byte [rbp - 0x32], r14b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDINetDispGetNextChunkInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x50]
call rax
movzx edx, word [rbp - 0x18]
mov ecx, edx
and edx, 0xfffe
and ecx, 1
shl ecx, 2
shl edx, cl
movsxd rdi, edx
add rdi, rbx
je 0x14004666b
mov eax, dword [0x1403cabf0]
lea rcx, str.win32u.dll
mov dword [rbp - 0x38], eax
lea rax, [rdi + 4]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x30], rax
mov word [rbp - 0x18], r14w
mov qword [rbp - 0x40], 2
mov word [rbp - 0x34], 0x100
mov byte [rbp - 0x32], r14b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDINetDispGetNextChunkInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x50]
call rax
movzx edx, word [rbp - 0x18]
mov ecx, edx
shl esi, 5
and ecx, 1
movsxd r8, esi
shl ecx, 2
and edx, 0xfffe
shl edx, cl
movsxd rax, edx
add rax, rdi
add r8, rax
je 0x14004666b
mov eax, dword [0x1403cabf0]
lea rcx, str.win32u.dll
mov dword [rbp - 0x38], eax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x30], rax
mov word [rbp - 0x18], r14w
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x48], r8
mov word [rbp - 0x34], 0x100
mov byte [rbp - 0x32], r14b
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtGdiDdDDINetDispGetNextChunkInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp - 0x50]
call rax
movzx eax, word [rbp - 0x18]
jmp 0x140046670
mov eax, 0xffffffff
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140055620
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret