Function at 0x5daa0c
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x10
call fcn.004568fc
lea eax, [ebp - 0x84]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
call sub.USER32.DLL_GetDesktopWindow
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5dac96
push 0
push 0x5dac9c
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.USER32.DLL_FindWindowExW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5dac96
push 0
push 0x5dacb8
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.USER32.DLL_FindWindowExW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5dac96
push 0
push 0x5dacd4
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_FindWindowExW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5dac96
push 0
push 0x5dacf4
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.USER32.DLL_FindWindowExW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5dac96
push 0
push 0
push 0x418
mov eax, dword [ebp - 0x1c]
push eax
call sub.USER32.DLL_SendMessageW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jl 0x5dac96
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.USER32.DLL_GetWindowThreadProcessId
cmp dword [ebp - 0x28], 0
je 0x5dac96
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x5dac96
push 0x40
push 0x1000
push 0x1000
push 0
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x5dac96
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jge 0x5dac79
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x417
mov eax, dword [ebp - 0x1c]
push eax
call sub.USER32.DLL_SendMessageW
test eax, eax
je 0x5dac6d
lea eax, [ebp - 0x34]
push eax
push 0x18
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5dac6d
test byte [ebp - 0x47], 0xd
jne 0x5dac6d
mov al, byte [ebp - 0x48]
and al, 8
cmp al, 8
je 0x5dac6d
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5dac6d
cmp dword [ebp - 0x34], 0
je 0x5dac6d
mov eax, dword [0x6b0740]
mov eax, dword [eax]
cmp byte [eax + 0xd3], 0
je 0x5dac01
mov eax, dword [0x6b0740]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x5dac01
mov eax, dword [0x6b0740]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004f0054
mov dword [ebp - 0x3c], eax
jmp 0x5dac11
mov eax, dword [0x6b0740]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jne 0x5dac6d
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0x41d
mov eax, dword [ebp - 0x1c]
push eax
call sub.USER32.DLL_SendMessageW
test eax, eax
je 0x5dac4a
lea eax, [ebp - 0x34]
push eax
push 0x10
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_ReadProcessMemory
cmp dword [ebp - 0x34], 0
je 0x5dac79
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.USER32.DLL_GetWindowRect
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
call fcn.00437804
jmp 0x5dac79
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jl 0x5dab50
push 0x8000
push 0
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_VirtualFreeEx
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov esp, ebp
pop ebp
ret