Function at 0x422f00
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
cmp dword [esi + 0x1930], eax
jle 0x422f7a
lea edi, [esi + 0x130]
lea ebx, [esi + 0x1128]
cmp dword [edi], 0
je 0x422f65
mov eax, dword [ebx]
test eax, eax
je 0x422f65
push 4
push 0x1000
push eax
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [edi - 8], eax
test eax, eax
je 0x423213
mov edx, dword [ebx]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [esi]
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 8]
inc eax
add ebx, 8
add edi, 0x10
mov dword [ebp - 8], eax
cmp eax, dword [esi + 0x1930]
jl 0x422f28
mov eax, fcn.00422f00
cmp eax, 0x422d30
jbe 0x422f99
mov ecx, fcn.00422f00
sub ecx, 0x422d30
mov dword [esi + 0x118], ecx
jmp 0x422faa
mov edx, 0x422d30
sub edx, fcn.00422f00
mov dword [esi + 0x118], edx
mov eax, 0x422d30
cmp eax, fcn.00422c20
jbe 0x422fc9
mov ecx, 0x422d30
sub ecx, fcn.00422c20
mov dword [esi + 0x11c], ecx
jmp 0x422fda
mov edx, fcn.00422c20
sub edx, 0x422d30
mov dword [esi + 0x11c], edx
mov eax, 0xfa0
cmp dword [esi + 0x118], eax
jae 0x422fed
mov dword [esi + 0x118], eax
cmp dword [esi + 0x11c], eax
jae 0x422ffb
mov dword [esi + 0x11c], eax
mov eax, dword [esi + 0x11c]
mov ecx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x40
push 0x1000
push eax
push 0
push ecx
call edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x423213
mov ecx, dword [esi + 0x11c]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea edx, [ebp + 8]
push edx
mov edx, dword [esi]
push ecx
push fcn.00422c20
push eax
push edx
call ebx
mov ecx, dword [esi]
mov eax, dword [ebp - 0xc]
push 4
push 0x1000
push 0x1950
push 0
push ecx
mov dword [esi + 0x120], eax
call edi
mov dword [ebp - 8], eax
test eax, eax
je 0x423213
lea edx, [ebp + 8]
push edx
push 0x1950
push esi
push eax
mov eax, dword [esi]
push eax
call ebx
mov ecx, dword [esi + 0x118]
mov edx, dword [esi]
push 0x40
push 0x1000
push ecx
push 0
push edx
call edi
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x423213
mov ecx, dword [esi + 0x118]
mov edx, dword [esi]
lea eax, [ebp + 8]
push eax
push ecx
push 0x422d30
push edi
push edx
call ebx
mov ecx, dword [ebp - 8]
mov edx, dword [esi]
lea eax, [ebp - 0x10]
push eax
push 0
push ecx
push edi
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x423213
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 8]
mov edx, dword [esi]
lea eax, [ebp + 8]
push eax
push 0x1950
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [esi + 0x1948]
cmp eax, 0xffffffff
jge 0x423138
mov dword [esi + 0x1944], 0
cmp eax, 0xfffffffe
jne 0x423120
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x94]
push eax
push str.Cannot_load_remote_library__s.
push ecx
jmp 0x423130
mov eax, dword [ebp + 0xc]
lea edx, [esi + 0x94]
push edx
push str.Cannot_find_remote_function__s_in_the_dll.
push eax
call fcn.0041bbe0
add esp, 0xc
xor ebx, ebx
cmp dword [esi + 0x1930], ebx
jle 0x4231a5
lea ecx, [esi + 0x1128]
lea edi, [esi + 0x130]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
test ecx, ecx
je 0x423192
mov eax, dword [edi]
test eax, eax
je 0x423192
test byte [edi + 5], 1
je 0x423179
lea edx, [ebp + 8]
push edx
push ecx
mov ecx, dword [esi]
push eax
mov eax, dword [edi - 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [edi - 8]
mov eax, dword [esi]
push 0x8000
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [edi]
mov dword [edi - 8], ecx
add dword [ebp - 4], 8
inc ebx
add edi, 0x10
cmp ebx, dword [esi + 0x1930]
jl 0x423151
mov edi, dword [ebp - 0x14]
mov ebx, dword [esi + 0x1948]
test ebx, ebx
jle 0x4231e0
push ebx
call fcn.00450baf
mov ecx, dword [esi]
add esp, 4
lea edx, [ebp + 8]
push edx
push ebx
push eax
mov dword [esi + 0x1944], eax
mov eax, dword [esi + 0x1938]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [esi + 0x1944]
mov dword [esi + 0x1938], edx
mov eax, dword [ebp - 8]
mov ecx, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
push 0
push eax
push ecx
call ebx
mov edx, dword [esi]
push 0x8000
push 0
push edi
push edx
call ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [esi]
push 0x8000
push 0
push eax
push ecx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret