Function at 0x1000fa50
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Execute shellcode via indirect call
Get process heap flags
Get process heap force flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100624ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x10080080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov esi, dword [ebx + 8]
push 0x400
push 0
push edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], esi
call fcn.1003c0d0
lea esi, [edi + 0x404]
mov dword [edi + 0x400], 0
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x38
call fcn.1003a330
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.10007bd0
mov dword [ebp - 4], 2
lea esi, [edi + 0x424]
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
push 0x18
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1003a330
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.10007bd0
mov esi, dword [ebp - 0x20]
sub esp, 0x28
mov byte [ebp - 4], 5
mov eax, esp
mov dword [edi + 0x444], 0
mov dword [edi + 0x448], 0
mov ecx, dword [esi + 0x30]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_Binds::constructor_class_ZealService__::_2::_lambda_1___void___.0
mov dword [eax + 4], edi
push 0
mov dword [eax + 0x24], eax
call fcn.1001dfb0
mov ecx, dword [esi + 0x30]
sub esp, 0x28
mov eax, esp
push 1
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_Binds::constructor_class_ZealService__::_2::_lambda_2___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.1001dfb0
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_Binds::constructor_class_ZealService__::_2::_lambda_3___bool__unsigned_int__int_.0
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 9
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
add ecx, 0x40
push eax
call fcn.1001f000
mov dword [ebp - 0x1c], eax
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x1000fc45
mov dword [ebp - 0x28], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x1000fc3f
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x1c]
add dword [eax + 4], 0x28
jmp 0x1000fc51
lea ecx, [ebp - 0x58]
push ecx
push esi
mov ecx, eax
call fcn.10010cd0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x1000fc6d
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, 0x611220
mov ecx, edi
sub esi, edi
mov edx, 0x80
nop dword [eax + eax]
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edx, 1
jne 0x1000fc80
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x52507a
call edi
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
mov dword [0x52507a], esi
push dword [ebp - 0x18]
push 4
push 0x52507a
call edi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x5254d9
call edi
lea eax, [ebp - 0x18]
mov dword [0x5254d9], esi
push eax
push dword [ebp - 0x18]
push 4
push 0x5254d9
call edi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x525544
call edi
lea eax, [ebp - 0x18]
mov dword [0x525544], esi
push eax
push dword [ebp - 0x18]
push 4
push 0x525544
call edi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x42c52f
call edi
lea eax, [ebp - 0x18]
mov byte [0x42c52f], 0xeb
push eax
push dword [ebp - 0x18]
push 1
push 0x42c52f
call edi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x52485a
call edi
lea eax, [ebp - 0x18]
mov dword [0x52485a], 0x100
push eax
push dword [ebp - 0x18]
push 4
push 0x52485a
call edi
mov esi, dword [0x10080b2c]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push 0x52591c
add esi, 0x1000
call edi
lea eax, [ebp - 0x18]
mov dword [0x52591c], esi
push eax
push dword [ebp - 0x18]
push 4
push 0x52591c
call edi
mov esi, dword [ebp - 0x20]
sub esp, 0x18
mov ecx, esp
xorps xmm0, xmm0
mov esi, dword [esi + 8]
push 9
movups xmmword [ecx], xmm0
push str.initbinds
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100054c0
push 0xffffffffffffffff
push 2
push 0x1000f3c0
push 0x42a9d7
mov ecx, esi
call fcn.100100d0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003a31d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4