Function at 0x4046aa
Capabilities:
Create process on windows
Enumerate gui resources
Find taskbar
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x4e4
push ebx
push esi
xor ebx, ebx
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x25f]
push ebx
push eax
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x74], ebx
mov byte [ebp - 0x260], bl
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x157]
push ebx
push eax
mov byte [ebp - 0x158], bl
call sub.msvcrt.dll_memset
add esp, 0x18
push esi
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push str.Explorer.exe
call sub.msvcrt.dll_strlen
mov edi, eax
lea eax, [ebp - 0x260]
push eax
call sub.msvcrt.dll_strlen
lea eax, [edi + eax + 1]
cmp eax, esi
pop ecx
pop ecx
jae 0x404744
lea eax, [ebp - 0x260]
push str.Explorer.exe
push eax
lea eax, [ebp - 0x158]
call fcn.00402452
pop ecx
pop ecx
jmp 0x40474a
mov byte [ebp - 0x158], bl
call fcn.004023e9
test eax, eax
push ebx
je 0x4048a4
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
mov dword [ebp + 0x58], eax
je 0x40491e
lea ecx, [ebp + 0x74]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp + 0x74], ebx
je 0x40491e
push dword [ebp + 0x74]
mov dword [ebp + 0x70], ebx
push ebx
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x4047cd
lea eax, [ebp + 0x6c]
push eax
push edi
lea eax, [ebp + 0x5c]
mov dword [ebp + 0x6c], ebx
call fcn.004012d9
test eax, eax
je 0x4047c6
lea eax, [ebp + 0x70]
push eax
push dword [ebp + 0x6c]
lea eax, [ebp + 0x5c]
call fcn.004012fc
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 0x70], ebx
je 0x404910
push ebx
push ebx
push 0x5b4
push dword [ebp + 0x58]
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp + 0x74]
call fcn.00404622
pop ecx
call fcn.004023b4
cmp dword [eax + 4], 0xa
jb 0x404817
mov eax, dword [ebp + 0x74]
push ebx
push 0x404663
mov dword [0x4163ac], eax
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [ebp + 0x74]
call fcn.00404622
pop ecx
push 0x40
lea eax, [ebp - 0x4c]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp + 0x38], ebx
lea edi, [ebp + 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x208
stosd dword es:[edi], eax
lea eax, [ebp - 0x46a]
push ebx
push eax
mov dword [ebp - 0x50], 0x44
mov word [ebp - 0x46c], bx
call sub.msvcrt.dll_memset
add esp, 0x18
push esi
lea eax, [ebp - 0x46c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x158]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x46c]
push eax
push dword [ebp + 0x70]
lea eax, [ebp + 0x5c]
call fcn.004012aa
push dword [ebp + 0x70]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp esi, ebx
jne 0x404910
push 0x40
lea eax, [ebp - 8]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x4048e2
push str.Progman
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, ebx
je 0x40491e
lea eax, [ebp + 0x74]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebx
push ebx
push 0x12
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp + 0x74]
call fcn.00404622
push 0x40
lea eax, [ebp - 8]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x10
xor eax, eax
mov dword [ebp + 0x48], ebx
lea edi, [ebp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x158]
push eax
push ebx
mov dword [ebp - 0xc], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
cmp dword [ebp + 0x68], ebx
je 0x40491e
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret