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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x4e8
push ebx
push esi
xor ebx, ebx
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x263]
push ebx
push eax
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x74], ebx
mov byte [ebp - 0x264], bl
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x15b]
push ebx
push eax
mov byte [ebp - 0x15c], bl
call sub.msvcrt.dll_memset
add esp, 0x18
push esi
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push str.Explorer.exe
call sub.msvcrt.dll_strlen
mov edi, eax
lea eax, [ebp - 0x264]
push eax
call sub.msvcrt.dll_strlen
lea eax, [edi + eax + 1]
cmp eax, esi
pop ecx
pop ecx
jae 0x4047d5
lea eax, [ebp - 0x264]
push str.Explorer.exe
push eax
lea eax, [ebp - 0x15c]
call fcn.0040249d
pop ecx
pop ecx
jmp 0x4047db
mov byte [ebp - 0x15c], bl
call fcn.00402434
test eax, eax
push ebx
je 0x404937
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
mov dword [ebp + 0x68], eax
je 0x4049b1
lea ecx, [ebp + 0x74]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp + 0x74], ebx
je 0x4049b1
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 0x404860
lea eax, [ebp + 0x6c]
push eax
push edi
lea eax, [ebp + 0x54]
mov dword [ebp + 0x6c], ebx
call fcn.004012e6
test eax, eax
je 0x404859
lea eax, [ebp + 0x70]
push eax
push 2
push dword [ebp + 0x6c]
lea eax, [ebp + 0x54]
call fcn.00401309
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 0x4049a3
push ebx
push ebx
push 0x5b4
push dword [ebp + 0x68]
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp + 0x74]
call fcn.004046b0
pop ecx
call fcn.004023ff
cmp dword [eax + 4], 0xa
jb 0x4048aa
mov eax, dword [ebp + 0x74]
push ebx
push 0x4046f1
mov dword [0x4163ac], eax
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [ebp + 0x74]
call fcn.004046b0
pop ecx
push 0x40
lea eax, [ebp - 0x50]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp + 0x34], ebx
lea edi, [ebp + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x208
stosd dword es:[edi], eax
lea eax, [ebp - 0x46e]
push ebx
push eax
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x470], bx
call sub.msvcrt.dll_memset
add esp, 0x18
push esi
lea eax, [ebp - 0x470]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x15c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x470]
push eax
push dword [ebp + 0x70]
lea eax, [ebp + 0x54]
call fcn.004012b7
push dword [ebp + 0x70]
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp esi, ebx
jne 0x4049a3
push 0x40
lea eax, [ebp - 0xc]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
jmp 0x404975
push str.Progman
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, ebx
je 0x4049b1
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.004046b0
push 0x40
lea eax, [ebp - 0xc]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x10
xor eax, eax
mov dword [ebp + 0x44], ebx
lea edi, [ebp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x15c]
push eax
push ebx
mov dword [ebp - 0x10], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
cmp dword [ebp + 0x64], ebx
je 0x4049b1
push dword [ebp + 0x64]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret