Function at 0x1014f8d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10166e01
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1028d83c]
push esi
push edi
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10341cc8]
cmp eax, dword [edi + 4]
jle 0x1014f9bf
push 0x10341cc8
call fcn.1015b77a
add esp, 4
cmp dword [0x10341cc8], 0xffffffff
jne 0x1014f9bf
push str.7B_17_B9________
push str.engine.dll
mov dword [ebp - 4], 0
call fcn.1015b590
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0xeb
push ecx
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1014fd90
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push esi
mov ecx, 0x10341c78
call fcn.1014f7a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x1014f9a1
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1014f997
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014f997
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1015b698
add esp, 8
push 0x10174d40
call fcn.1015bae3
push 0x10341cc8
mov dword [ebp - 4], 0xffffffff
call fcn.1015b729
add esp, 8
mov eax, dword [0x10341cc4]
cmp eax, dword [edi + 4]
jle 0x1014fa8b
push 0x10341cc4
call fcn.1015b77a
add esp, 4
cmp dword [0x10341cc4], 0xffffffff
jne 0x1014fa8b
push str.0F_87_________8B_04_9D_________8B_14_85_________85_D2_0F_84_________8B_06
push str.engine.dll
mov dword [ebp - 4], 2
call fcn.1015b590
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x90909090
push ecx
mov esi, eax
mov word [ebp - 0x24], 0x9090
lea eax, [ebp - 0x22]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1014fd90
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
push esi
mov ecx, 0x10341ca0
call fcn.1014f7a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x1014fa6d
mov ecx, dword [ebp - 0x30]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1014fa63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014fa63
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1015b698
add esp, 8
push 0x10174d30
call fcn.1015bae3
push 0x10341cc4
mov dword [ebp - 4], 0xffffffff
call fcn.1015b729
add esp, 8
mov eax, dword [0x10341c9c]
cmp eax, dword [edi + 4]
jle 0x1014fb4e
push 0x10341c9c
call fcn.1015b77a
add esp, 4
cmp dword [0x10341c9c], 0xffffffff
jne 0x1014fb4e
push str.74_7F_8B_07_8B_CF_FF_90_________8B_4D_F8_8B_F0_8B_11_FF_92_________3B_C6_74_64_8B_75_F8_8B_CE_6A_39_E8_________8B_C8_85_C9_74_1D_8B_01_8B_80_________FF_D0_84_C0_74_0F_80_BE
push str.client.dll
mov dword [ebp - 4], 4
call fcn.1015b590
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xd], 0xeb
push ecx
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1014fd90
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
push esi
mov ecx, 0x10341cd0
call fcn.1014f7a0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x1014fb30
mov ecx, dword [ebp - 0x30]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1014fb26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014fb26
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1015b698
add esp, 8
push 0x10174d20
call fcn.1015bae3
push 0x10341c9c
mov dword [ebp - 4], 0xffffffff
call fcn.1015b729
add esp, 8
call fcn.1014f750
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x1014fbb4
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
cmp byte [ecx + 0x20], 0
jne 0x1014fba9
mov esi, dword [ecx + 0x1c]
lea eax, [ebp - 0x1c]
mov edi, dword [ecx]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
push esi
push dword [eax + 0x10]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x20], 1
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x20]
jne 0x1014fb62
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret