Function at 0x422d00
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 0x422d7a
lea edi, [esi + 0x130]
lea ebx, [esi + 0x1128]
cmp dword [edi], 0
je 0x422d65
mov eax, dword [ebx]
test eax, eax
je 0x422d65
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 0x423013
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 0x422d28
mov eax, fcn.00422d00
cmp eax, 0x422b30
jbe 0x422d99
mov ecx, fcn.00422d00
sub ecx, 0x422b30
mov dword [esi + 0x118], ecx
jmp 0x422daa
mov edx, 0x422b30
sub edx, fcn.00422d00
mov dword [esi + 0x118], edx
mov eax, 0x422b30
cmp eax, fcn.00422a10
jbe 0x422dc9
mov ecx, 0x422b30
sub ecx, fcn.00422a10
mov dword [esi + 0x11c], ecx
jmp 0x422dda
mov edx, fcn.00422a10
sub edx, 0x422b30
mov dword [esi + 0x11c], edx
mov eax, 0xfa0
cmp dword [esi + 0x118], eax
jae 0x422ded
mov dword [esi + 0x118], eax
cmp dword [esi + 0x11c], eax
jae 0x422dfb
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 0x423013
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.00422a10
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 0x423013
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 0x423013
mov ecx, dword [esi + 0x118]
mov edx, dword [esi]
lea eax, [ebp + 8]
push eax
push ecx
push 0x422b30
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 0x423013
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 0x422f38
mov dword [esi + 0x1944], 0
cmp eax, 0xfffffffe
jne 0x422f20
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x94]
push eax
push str.Cannot_load_remote_library__s.
push ecx
jmp 0x422f30
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.0041b9c0
add esp, 0xc
xor ebx, ebx
cmp dword [esi + 0x1930], ebx
jle 0x422fa5
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 0x422f92
mov eax, dword [edi]
test eax, eax
je 0x422f92
test byte [edi + 5], 1
je 0x422f79
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 0x422f51
mov edi, dword [ebp - 0x14]
mov ebx, dword [esi + 0x1948]
test ebx, ebx
jle 0x422fe0
push ebx
call fcn.0045087f
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