Function at 0x18001aa20
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18002c040]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x180032083]
call fcn.180011721
nop
movzx eax, byte [0x18002c4c9]
test eax, eax
je 0x18001aa70
mov al, 1
jmp 0x18001acac
lea rcx, str.ScrapMechanic.exe
call fcn.180011799
mov dword [0x18002c500], eax
cmp dword [0x18002c500], 0
jne 0x18001aa92
xor al, al
jmp 0x18001acac
lea rdx, [0x18002c4f8]
lea rcx, [0x180011014]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
movzx eax, byte [0x18002c4ca]
test eax, eax
jne 0x18001aab9
xor al, al
jmp 0x18001acac
call qword [sym.imp.UxTheme.dll_BufferedPaintInit]
nop
mov dword [rbp + 0x10], 0x50
mov dword [rbp + 0x14], 3
lea rax, [0x180011424]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], 6
mov qword [rbp + 0x48], 0
lea rax, str.betterDLL
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, ax
test eax, eax
jne 0x18001ab5e
mov eax, dword [0x18002c004]
add eax, 0x57
mov r8d, eax
lea rdx, str.D:UsersUserAppDataRoamingAxolot_GamesScrap_MechanicUserUser_76561198977226540Mods_better_API__file_mod__sources_betterDLLdllmain.cpp
lea rcx, str.RegisterClassEx_wcex_
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x18002c504], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x18002c508], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [0x18002c508]
mov dword [rsp + 0x38], eax
mov eax, dword [0x18002c504]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
lea r8, str.betterDLL
mov rdx, qword [rbp + 0x50]
mov ecx, 0x80028
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x18002c4f0], rax
cmp qword [0x18002c4f0], 0
jne 0x18001abf9
xor al, al
jmp 0x18001acac
mov edx, 0xffffffec
mov rcx, qword [0x18002c4f0]
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0x13
mov r8d, eax
mov edx, 0xffffffec
mov rcx, qword [0x18002c4f0]
call qword [sym.imp.USER32.dll_SetWindowLongA]
nop
mov r9d, 1
xor r8d, r8d
mov edx, 0xffffff
mov rcx, qword [0x18002c4f0]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
nop
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x18002c4f0]
call qword [sym.imp.USER32.dll_SetWindowPos]
nop
mov edx, 5
mov rcx, qword [0x18002c4f0]
call qword [sym.imp.USER32.dll_ShowWindow]
nop
mov rcx, qword [0x18002c4f0]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
mov rcx, qword [0x18002c4f8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
mov byte [0x18002c4c9], 1
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x180026fb0]
call fcn.18001160e
mov rax, rdi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.180011393
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret