Function at 0x403087
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 0x4030f1
push 4
push edi
push 0x80
push ebx
call esi
mov edi, eax
cmp edi, ebx
mov dword [ebp - 8], edi
jne 0x4030f8
push 0x4000
push 0x40
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x4032fd
push ebx
push 0x10
lea eax, [ebp - 4]
push 0x403302
push eax
call sub.USER32.dll_DdeInitializeA
test eax, eax
jne 0x4032dd
push 0x3ec
push str.PROGMAN
push dword [ebp - 4]
call sub.USER32.dll_DdeCreateStringHandleA
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x4032d2
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.0040d570
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 0x403195
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.0040d570
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 0x4031e6
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.0040d570
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 0x403237
push dword [ebp - 4]
call sub.USER32.dll_DdeGetLastError
mov dword [ebp - 0xc], eax
push 0x417188
push dword [ebp + 0xc]
call fcn.0040dc0e
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
je 0x4032bf
push 0x7c
push eax
call fcn.0040d600
pop ecx
cmp eax, ebx
pop ecx
je 0x403260
mov byte [eax], bl
inc eax
jne 0x403265
mov eax, 0x41a910
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.0040d570
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 0x4032b7
push dword [ebp - 4]
call sub.USER32.dll_DdeGetLastError
mov dword [ebp - 0xc], eax
push 0x417188
push ebx
jmp 0x40323f
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