Function at 0x40347a
Capabilities:
Create process on windows
Create process suspended
Delete file
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409b08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
mov dword [ebp - 0x494], ecx
push 0
push 0x13
push 0xbc2
mov eax, dword [ebp - 0x494]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebp - 0x494]
add edx, 0x14
push edx
lea ecx, [ebp - 0x488]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 4], 0
push str.SkypeSetup.exe
lea ecx, [ebp - 0x488]
call dword [0x40b35c]
push 0x40e344
lea ecx, [ebp - 0x488]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x40352e
mov byte [ebp - 0x48c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x48c]
jmp 0x4036f5
call fcn.00401d80
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x54], eax
push 0x40e348
push 0x8d
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
jne 0x40356c
push 0xffffffffffffffff
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sub.MFC42.DLL_AfxMessageBox
mov edx, dword [ebp - 0x470]
push edx
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x474], eax
mov edx, dword [ebp - 0x470]
push edx
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x46c], eax
mov ecx, dword [ebp - 0x58]
push ecx
push 1
mov edx, dword [ebp - 0x46c]
push edx
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 0x478]
push ecx
call fcn.00403a00
mov edx, dword [ebp - 0x478]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push 0
push 4
push 0xbc2
mov ecx, dword [ebp - 0x494]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x68]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x494]
add ecx, 0x14
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x488]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push str.__s___verysilent__startclient__dir__s_
lea edx, [ebp - 0x468]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x468]
push edx
lea ecx, [ebp - 0x488]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4036c2
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 1
call fcn.00408db5
add esp, 0xc
lea ecx, [ebp - 0x488]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0x490], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x488]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x490]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret