Function at 0x140001f00
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
movups xmm6, xmmword [0x140004480]
mov edi, dword [0x140004490]
mov edx, 0x14
mov r14d, r9d
mov rbx, rcx
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rdx + 0x2c]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x140001f5f
mov eax, 1
jmp 0x140002291
movups xmmword [rax], xmm6
mov qword [rsp + 0x128], rbp
mov qword [rsp + 0x130], rsi
mov dword [rax + 0x10], edi
call rax
add rax, 0x800
lea rcx, str.win32u.dll
mov qword [0x1400097d0], rax
mov rax, qword [rax + 0x28]
mov qword [0x1400097a8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUserEnableMenuItem
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.win32u.dll
mov qword [0x140007f90], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUserSetClassLongPtr
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUserCreateAcceleratorTable
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUserConsoleControl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xorps xmm0, xmm0
mov qword [rsp + 0x78], rbx
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x80], xmm0
lea rax, [0x1400022c0]
movdqa xmmword [rsp + 0x90], xmm1
xor esi, esi
mov qword [rsp + 0x68], rax
lea rdi, str.EnableMenuItem
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0xa0], rdi
call qword [sym.imp.USER32.dll_RegisterClassW]
mov rdx, qword [rsp + 0xa0]
mov r9d, 0xcf0000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rbx
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0x12c
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbp, rax
test rax, rax
je 0x14000227f
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov qword [0x1400097a0], rax
call qword [sym.imp.USER32.dll_CreatePopupMenu]
lea rcx, str.USER32.DLL
mov qword [0x140006780], rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.IsMenu
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rax, qword [rbx + 0xbd688]
lea rcx, [rdi + rdi*2]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x14000210b
mov rsi, qword [rdx]
sub rsi, qword [0x1400097a8]
mov rax, qword [rsi + 0x20]
mov qword [0x140007f98], rax
call qword [sym.imp.USER32.dll_CreateMenu]
mov qword [0x140006660], rax
call fcn.140001880
cmp qword [0x140006788], 0
je 0x14000227f
mov rcx, qword [0x140006780]
lea r9, [0x140004530]
xor edx, edx
mov r8d, 0x2061
call qword [sym.imp.USER32.dll_AppendMenuW]
mov rcx, qword [0x140006780]
lea r9, [0x140004534]
xor edx, edx
mov r8d, 0xf060
call qword [sym.imp.USER32.dll_AppendMenuW]
mov rcx, qword [0x1400097a0]
xor r8d, r8d
mov edx, 0xf060
call qword [sym.imp.USER32.dll_DeleteMenu]
mov r8, qword [0x140006780]
lea r9, [0x140004538]
mov rcx, qword [0x140006660]
mov edx, 0x10
call qword [sym.imp.USER32.dll_AppendMenuW]
mov r8, qword [0x140006660]
lea r9, str.Menu_B
mov rcx, qword [0x1400097a0]
mov edx, 0x10
call qword [sym.imp.USER32.dll_AppendMenuW]
mov edx, r14d
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbp
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400097a0]
mov edx, 0xf060
mov r8d, 1
mov dword [0x140006678], 1
call qword [0x140007f90]
call fcn.1400014d0
xorps xmm0, xmm0
lea rcx, [rsp + 0xb0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xd0], xmm0
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140002276
nop dword [rax + rax]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140002240
mov eax, dword [rsp + 0xc0]
jmp 0x140002281
xor eax, eax
mov rbp, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140002550
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
pop r14
pop rdi
pop rbx
ret