Function at 0x4e94c8
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 0x4e94ff
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4e953c
push 0x44
push 0x4010579
push 6
call fcn.004f3d8f
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4e957c
push 0x95
push 0x4010579
push 6
call fcn.004f3d8f
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4e95bc
push 0xe6
push 0x4010579
push 6
call fcn.004f3d8f
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 0x4e95d4
mov eax, 0x5d0987
push eax
push 1
mov ebx, 0x194
call fcn.004f4800
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e966d
push 0x80000601
push 0x4212bfad
push 0xed600000
push 1
mov ebx, 0x168
call fcn.004f4500
add esp, 0x10
mov dword [ebp - 0x14], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4e962b
mov eax, 0x5d09a3
push eax
push 1
mov ebx, 0x198
call fcn.004f49e0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e9651
push ebx
call fcn.004f3d83
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4e9667
push ebx
call fcn.004f3d83
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.004e997e
mov dword [ebp - 0x14], eax
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4e968b
mov eax, 0x5d09a3
push eax
push 1
mov ebx, 0x154
call fcn.004f5a10
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e96b1
push ebx
call fcn.004f3d83
add esp, 4
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 9
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4e96dc
mov eax, 0x5d09a3
push eax
push 3
mov ebx, 0x13c
call fcn.004f5b80
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e9702
push ebx
call fcn.004f3d83
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4e9715
mov eax, 0x5d09a3
push eax
push 1
mov ebx, 0x198
call fcn.004f49e0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e973b
push ebx
call fcn.004f3d83
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e974f
push ebx
call fcn.004f3d83
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x4e986c
push 0x5e2ea7
push dword [ebp - 0x10]
mov ecx, 2
call fcn.004e4a02
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004e997e
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e9791
push ebx
call fcn.004f3d83
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4e97a4
mov eax, 0x5d09a3
push eax
push 1
mov ebx, 0x154
call fcn.004f5a10
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e97ca
push ebx
call fcn.004f3d83
add esp, 4
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 9
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4e97f5
mov eax, 0x5d09a3
push eax
push 3
mov ebx, 0x13c
call fcn.004f5b80
add esp, 0x28
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e981b
push ebx
call fcn.004f3d83
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4e982e
mov eax, 0x5d09a3
push eax
push 1
mov ebx, 0x198
call fcn.004f49e0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4e9854
push ebx
call fcn.004f3d83
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e9868
push ebx
call fcn.004f3d83
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 0x4e988f
mov eax, 0x5d0987
push eax
push 3
mov ebx, 0x914
call fcn.004f5aa0
add esp, 0x28
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 8]
push 0xa0000101
push 0
push 0x5e2ecf
push 3
mov ebx, 0x914
call fcn.004f5aa0
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]
call dword [sym.imp.kernel32.dll_VirtualFree]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4e9918
push 0xf46
push 0x4010579
push 6
call fcn.004f3d8f
add esp, 0xc
mov dword [ebp - 0x14], esp
push 0x8000
push 0
push dword [ebp - 0xc]
call dword [sym.imp.kernel32.dll_VirtualFree]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4e994e
push 0xf72
push 0x4010579
push 6
call fcn.004f3d8f
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x4e9966
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e9977
push ebx
call fcn.004f3d83
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc