Function at 0x10009360
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.10024b30
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x10009350
mov eax, 1
add dword [0x10059ebc], eax
xor ebx, ebx
mov dword [esp + 0xc], edi
cmp dword [0x1004f62c], ebx
jne 0x10009582
lea ecx, [esp + 0x34]
push ecx
push 0x10000000
push eax
push ebx
push ebx
push 0x1005b014
mov dword [esp + 0x4c], 0xc
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_CreateDesktopA]
mov dword [0x1004f62c], eax
cmp eax, ebx
jne 0x100093d9
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], 0x1005b014
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1000972b
mov eax, edi
cmp edi, ebx
jne 0x10009439
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 [0x1004f530], eax
cmp eax, ebx
jne 0x10009493
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
push 0xa
call edi
call esi
mov dword [0x1004f530], eax
cmp eax, ebx
je 0x10009480
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [0x10059ef8], edx
mov esi, eax
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x100094c9
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x100094c9
test byte [esp + 0xc], 2
jne 0x100094c9
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 0x100094f5
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x100094f5
test byte [esp + 0xc], 2
jne 0x100094f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebx
push str.Shell_TrayWnd
mov dword [0x10059ed4], eax
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x1005b014
mov dword [0x1004ebb4], eax
mov dword [0x10059ec0], ebx
mov dword [0x10059ec4], ebx
mov dword [0x10059ec8], ebx
mov dword [0x10059ecc], ebx
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push ebx
push ebx
push ebx
push 0x10009050
push ebx
push ebx
mov dword [0x1004f59c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov dword [esp + 0xc], ebx
cmp esi, ebx
je 0x1000972b
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x1000972b
test byte [esp + 0xc], 2
jne 0x1000972b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000972b
cmp dword [0x10059ef8], ebx
je 0x10009597
call fcn.100253e0
test eax, eax
jne 0x1000972b
mov ecx, dword [0x1004f62c]
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], 0x1005b014
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1000972b
mov eax, edi
cmp edi, ebx
jne 0x10009606
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 [0x1004f530], eax
cmp eax, ebx
jne 0x1000965f
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
push 0xa
call edi
call esi
mov dword [0x1004f530], eax
cmp eax, ebx
je 0x10009650
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov dword [0x10059ef8], edx
mov esi, eax
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x10009697
lea ecx, [esp + 0x10]
push ecx
push eax
call edi
test eax, eax
je 0x10009697
test byte [esp + 0x10], 2
jne 0x10009697
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 0x100096bf
lea edx, [esp + 0x10]
push edx
push eax
call edi
test eax, eax
je 0x100096bf
test byte [esp + 0x10], 2
jne 0x100096bf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebx
push str.Shell_TrayWnd
mov dword [0x10059ed4], eax
call dword [sym.imp.USER32.dll_FindWindowA]
push ebx
push ebx
push ebx
push 0x10009050
push ebx
push ebx
mov dword [0x1004ebb4], eax
mov dword [0x10059ec0], ebx
mov dword [0x10059ec4], ebx
mov dword [0x10059ec8], ebx
mov dword [0x10059ecc], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov dword [esp + 0x10], ebx
cmp esi, ebx
je 0x10009727
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x10009727
test byte [esp + 0x10], 2
jne 0x10009727
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0xc]
mov ecx, dword [0x1004eb08]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp edi, ebx
je 0x1000975c
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 0x1000975c
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