Function at 0x403050
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x24]
mov dword [ebp - 0x3c], 0x24
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
stosd dword es:[edi], eax
mov edi, 0x1000
mov dword [ebp - 4], ebx
push edi
push 0x40
push ebx
call esi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4030ba
push 4
push edi
push 0x80
push ebx
call esi
mov edi, eax
cmp edi, ebx
mov dword [ebp - 8], edi
jne 0x4030c1
push 0x4000
push 0x40
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x4032c6
push ebx
push 0x10
lea eax, [ebp - 4]
push 0x4032cb
push eax
call sub.USER32.dll_DdeInitializeA
test eax, eax
jne 0x4032a6
push 0x3ec
push str.PROGMAN
push dword [ebp - 4]
call sub.USER32.dll_DdeCreateStringHandleA
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x40329b
lea ecx, [ebp - 0x3c]
push ecx
push eax
push eax
push dword [ebp - 4]
call sub.USER32.dll_DdeConnect
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [ebp - 0x10], eax
push str._CreateGroup__s__
push edi
call esi
add esp, 0xc
push ebx
push 1
push ebx
push ebx
push edi
call fcn.0040d410
pop ecx
inc eax
push eax
push edi
push dword [ebp - 4]
call sub.USER32.dll_DdeCreateDataHandle
lea ecx, [ebp - 0xc]
mov edi, 0x4050
push ecx
push 0x2710
push edi
push ebx
push ebx
push dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
call sub.USER32.dll_DdeClientTransaction
test eax, eax
jne 0x40315e
push dword [ebp - 4]
call sub.USER32.dll_DdeGetLastError
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
push str._ShowGroup__s_2__
push dword [ebp - 8]
call esi
add esp, 0xc
push ebx
push 1
push ebx
push ebx
push dword [ebp - 8]
call fcn.0040d410
pop ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.USER32.dll_DdeCreateDataHandle
lea ecx, [ebp - 0xc]
push ecx
push 0x2710
push edi
push ebx
push ebx
push dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
call sub.USER32.dll_DdeClientTransaction
test eax, eax
jne 0x4031af
push dword [ebp - 4]
call sub.USER32.dll_DdeGetLastError
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
push str._ShowGroup__s_1__
push dword [ebp - 8]
call esi
add esp, 0xc
push ebx
push 1
push ebx
push ebx
push dword [ebp - 8]
call fcn.0040d410
pop ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.USER32.dll_DdeCreateDataHandle
lea ecx, [ebp - 0xc]
push ecx
push 0x2710
push edi
push ebx
push ebx
push dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
call sub.USER32.dll_DdeClientTransaction
test eax, eax
jne 0x403200
push dword [ebp - 4]
call sub.USER32.dll_DdeGetLastError
mov dword [ebp - 0xc], eax
push 0x416184
push dword [ebp + 0xc]
call fcn.0040d86e
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
je 0x403288
push 0x7c
push eax
call fcn.0040d4a0
pop ecx
cmp eax, ebx
pop ecx
je 0x403229
mov byte [eax], bl
inc eax
jne 0x40322e
mov eax, 0x4178cc
push eax
push dword [ebp + 8]
push str._AddItem___s___s__
push dword [ebp - 8]
call esi
add esp, 0x10
push ebx
push 1
push ebx
push ebx
push dword [ebp - 8]
call fcn.0040d410
pop ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.USER32.dll_DdeCreateDataHandle
lea ecx, [ebp - 0xc]
push ecx
push 0x3e8
push edi
push ebx
push ebx
push dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
call sub.USER32.dll_DdeClientTransaction
test eax, eax
jne 0x403280
push dword [ebp - 4]
call sub.USER32.dll_DdeGetLastError
mov dword [ebp - 0xc], eax
push 0x416184
push ebx
jmp 0x403208
push dword [ebp - 0x18]
push dword [ebp - 4]
call sub.USER32.dll_DdeFreeStringHandle
push dword [ebp - 0x10]
call sub.USER32.dll_DdeDisconnect
push dword [ebp - 4]
call sub.USER32.dll_DdeUninitialize
push 1
pop ebx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edi, 0x4000
push edi
push 0x40
push dword [ebp - 0x14]
call esi
push edi
push 0x80
push dword [ebp - 8]
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret