Function at 0x4dbf2c
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
push 0x10
call fcn.0050854a
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.0050854a
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x57c388
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.0050854a
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x57c388
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
cmp dword [0x589bc4], 0
jne 0x4dc0aa
push SysStringLen
push 0
push 0x5850ef
push 1
mov ebx, 0x194
call fcn.00509200
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.0050ab10
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push 0x40
push dword [ebp - 0x24]
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4dc04f
push 0xa3
push 0x401eb76
push 6
call fcn.00508556
add esp, 0xc
mov dword [0x589bc4], eax
cmp dword [0x589bc4], 0
jne 0x4dc06b
mov eax, 1
jmp 0x4dc6cd
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
mov eax, 0x5850ef
test eax, eax
je 0x4dc07d
add eax, 8
push eax
push dword [0x589bc4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4dc0aa
push 0x11b
push 0x401eb76
push 6
call fcn.00508556
add esp, 0xc
mov dword [ebp - 0x24], esp
push 0x10
push dword [ebp + 0x1c]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4dc0de
push 0x156
push 0x401eb76
push 6
call fcn.00508556
add esp, 0xc
fild dword [ebp + 8]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x57d6b4]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.004032fc
push eax
call fcn.00409b81
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x168
call fcn.00508c20
add esp, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc]
call fcn.0040beda
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4dc13f
push ebx
call fcn.00508550
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dc159
mov eax, 1
jmp 0x4dc6cd
mov eax, str.comptr
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xc]
call fcn.0040beda
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4dc180
push ebx
call fcn.00508550
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, 2
call fcn.00508980
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
call fcn.00403724
mov dword [ebp - 0x2c], ecx
mov edi, dword [ebp - 0x28]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4dc1c9
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x2c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x28]
call fcn.00508562
add esp, 8
mov dword [ebp - 0x18], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x2c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
je 0x4dc675
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], 1
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
cmp eax, 0
jge 0x4dc23a
push 0x312
push 0x401eb76
push 0xa
call fcn.00508556
add esp, 0xc
mov dword [ebp - 0x28], eax
lea ebx, [ebp - 0x2c]
call fcn.00403724
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0050854a
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x28]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x1c]
call fcn.00403724
pop edx
test ecx, ecx
je 0x4dc292
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00508550
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4dc27b
pop edx
pop edi
test edx, edx
je 0x4dc2d4
mov ebx, edi
push edx
push ebx
push 0x10
call fcn.0050854a
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x4dc29c
push dword [ebp - 0x1c]
call fcn.00508550
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x57dc9d]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], esp
fld qword [ebp - 0x38]
call fcn.004032fc
push eax
mov ebx, dword [ebp - 0x24]
push dword [ebx]
mov ebx, dword [ebp - 0x1c]
call fcn.00403724
push ebx
mov dword [ebp - 0x40], ecx
test ecx, ecx
jne 0x4dc32b
xor eax, eax
jmp 0x4dc337
imul ecx, ecx, 0x10
push ecx
call fcn.0050854a
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x4dc390
push ecx
push edi
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
pop edi
pop ecx
dec ecx
je 0x4dc390
add ebx, 4
add edi, 0x10
jmp 0x4dc34c
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x4dc3b6
push 0x368
push 0x401eb76
push 6
call fcn.00508556
add esp, 0xc
mov ebx, dword [ebp - 0x44]
push ebx
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x4dc40c
push ecx
push edi
push ebx
mov edi, dword [edi]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
pop edi
pop ecx
dec ecx
je 0x4dc40c
add ebx, 0x10
add edi, 4
jmp 0x4dc3c8
call fcn.00508550
add esp, 4
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
lea eax, [ebp - 0x20]
mov ebx, eax
pop ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 1
jl 0x4dc672
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x20]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 5
je 0x4dc4ae
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x20]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx], 0x14
je 0x4dc4ae
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x20]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
cmp dword [ebx], 0x15
je 0x4dc4ae
xor eax, eax
jmp 0x4dc4b3
mov eax, 1
test eax, eax
je 0x4dc5dc
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x20]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, 2
call fcn.00508980
add esp, 8
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
call fcn.00403724
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp - 0x2c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4dc51e
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x30]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x2c]
call fcn.00508562
add esp, 8
mov dword [ebp - 0x18], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x30]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x20]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, 2
call fcn.00508980
add esp, 8
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
call fcn.00403724
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp - 0x2c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4dc5ac
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x30]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x2c]
call fcn.00508562
add esp, 8
mov dword [ebp - 0x18], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x30]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
jmp 0x4dc66a
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x20]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x18]
push eax
push 4
mov eax, 2
call fcn.00508980
add esp, 8
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
call fcn.00403724
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp - 0x2c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4dc63f
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x30]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x2c]
call fcn.00508562
add esp, 8
mov dword [ebp - 0x18], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x30]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
pop ebx
pop ecx
dec ecx
jmp 0x4dc428
add esp, 8
mov ebx, dword [ebp - 0x18]
call fcn.00402186
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push 0
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
call fcn.00403724
push ebx
push dword [ebp - 0x10]
push dword [0x589bc4]
xor eax, eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x4dc6c3
push 0x56c
push 0x401eb76
push 6
call fcn.00508556
add esp, 0xc
mov eax, 0
jmp 0x4dc6cd
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00508550
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00508550
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4dc704
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4dc700
imul eax, dword [ebx]
jmp 0x4dc6f5
mov ecx, eax
test ecx, ecx
je 0x4dc71f
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00508550
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4dc70a
call fcn.00508550
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24