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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42799a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x439014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.DialogMain.0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xf
mov byte [ebx + 0x20], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov byte [ebp - 4], 2
lea esi, [ebx + 0x54]
push ecx
mov byte [ebx + 0x48], 0
mov ecx, esi
mov dword [ebx + 0x50], 0
mov dword [ebp - 0x14], esi
call fcn.004012e0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x1000
push 0x38
push 0
mov dword [esi], vtable.TControl.0
call edi
mov dword [esi + 0xb8], eax
mov dword [esi], vtable.TButton.0
lea esi, [ebx + 0x114]
mov byte [ebp - 4], 3
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004012e0
push 0x40
push 0x1000
push 0x38
push 0
mov dword [esi], vtable.TControl.0
call edi
mov dword [esi + 0xb8], eax
mov dword [esi], vtable.TEdit.0
mov dword [esi + 0xc0], 0
lea esi, [ebx + 0x1d8]
mov byte [ebp - 4], 4
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004012e0
push 0x40
push 0x1000
push 0x38
push 0
mov dword [esi], vtable.TControl.0
call edi
mov dword [esi + 0xb8], eax
mov dword [esi], vtable.TEdit.0
mov dword [esi + 0xc0], 0
lea esi, [ebx + 0x29c]
mov byte [ebp - 4], 5
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004012e0
push 0x40
push 0x1000
push 0x38
push 0
mov dword [esi], vtable.TControl.0
call edi
mov dword [esi + 0xb8], eax
mov dword [esi], vtable.TEdit.0
mov dword [esi + 0xc0], 0
lea esi, [ebx + 0x360]
mov byte [ebp - 4], 6
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004012e0
push 0x40
push 0x1000
push 0x38
push 0
mov dword [esi], vtable.TControl.0
call edi
mov dword [esi + 0xb8], eax
mov dword [esi], vtable.TEdit.0
mov dword [esi + 0xc0], 0
lea ecx, [ebx + 0x424]
mov byte [ebp - 4], 7
call fcn.00401e10
lea ecx, [ebx + 0x52c]
mov byte [ebp - 4], 8
call fcn.00401e10
lea ecx, [ebx + 0x634]
mov byte [ebp - 4], 9
call fcn.00401e10
lea esi, [ebx + 0x73c]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004012e0
push 0x40
push 0x1000
push 0x38
push 0
mov dword [esi], vtable.TControl.0
call edi
mov dword [esi + 0xb8], eax
mov dword [esi], vtable.TComboBox.0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
lea esi, [ebx + 0x808]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004012e0
push 0x40
push 0x1000
push 0x38
push 0
mov dword [esi], vtable.TControl.0
call edi
mov dword [esi + 0xb8], eax
mov dword [esi], vtable.TButton.0
lea esi, [ebx + 0x8c8]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004012e0
push 0x40
push 0x1000
push 0x38
push 0
mov dword [esi], vtable.TControl.0
call edi
mov dword [esi + 0xb8], eax
mov dword [esi], vtable.TButton.0
lea esi, [ebx + 0x988]
mov byte [ebp - 4], 0xd
push ecx
mov dword [ebp - 0x14], esi
mov ecx, esi
call fcn.004012e0
push 0x40
push 0x1000
push 0x38
push 0
mov dword [esi], vtable.TControl.0
call edi
mov dword [esi + 0xb8], eax
mov eax, ebx
mov dword [esi], vtable.TButton.0
mov dword [ebx + 0xa48], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret