Function at 0x42d1d0
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, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x1930]
push edi
lea eax, [ebx*4]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
call fcn.0046f41d
add esp, 4
mov dword [ebp - 8], eax
test ebx, ebx
jle 0x42d289
lea ecx, [esi + 0x1128]
mov dword [ebp - 4], ecx
lea ebx, [esi + 0x128]
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
mov dword [eax + edi*4], 0
test ecx, ecx
je 0x42d279
cmp dword [ebx + 8], 0
jne 0x42d22d
test byte [ebx + 0xd], 4
je 0x42d279
mov edx, dword [ebx]
push 4
push 0x1000
add ecx, 2
push ecx
mov dword [eax + edi*4], edx
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov dword [ebx], eax
test eax, eax
je 0x42d537
test byte [ebx + 0xd], 4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
je 0x42d260
add ecx, 2
lea edx, [ebp + 8]
push edx
push ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edi*4]
push edx
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov eax, dword [ebp - 8]
add dword [ebp - 4], 8
inc edi
add ebx, 0x10
cmp edi, dword [esi + 0x1930]
jl 0x42d211
mov ecx, fcn.0042d1d0
cmp ecx, 0x42cfe0
jbe 0x42d2a9
mov edx, fcn.0042d1d0
sub edx, 0x42cfe0
mov dword [esi + 0x118], edx
jmp 0x42d2b9
mov eax, 0x42cfe0
sub eax, fcn.0042d1d0
mov dword [esi + 0x118], eax
mov ecx, 0x42cfe0
cmp ecx, fcn.0042ce70
jbe 0x42d2d9
mov edx, 0x42cfe0
sub edx, fcn.0042ce70
mov dword [esi + 0x11c], edx
jmp 0x42d2e9
mov eax, fcn.0042ce70
sub eax, 0x42cfe0
mov dword [esi + 0x11c], eax
mov eax, 0xfa0
cmp dword [esi + 0x118], eax
jae 0x42d2fc
mov dword [esi + 0x118], eax
cmp dword [esi + 0x11c], eax
jae 0x42d30a
mov dword [esi + 0x11c], eax
mov ecx, dword [esi + 0x11c]
mov edx, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
push 0x40
push 0x1000
push ecx
push 0
push edx
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x42d537
mov ecx, dword [esi + 0x11c]
mov edx, dword [esi]
lea eax, [ebp + 8]
push eax
push ecx
push fcn.0042ce70
push edi
push edx
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov eax, dword [esi]
push 4
push 0x1000
push 0x1950
push 0
push eax
mov dword [esi + 0x120], edi
call ebx
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x42d537
mov edx, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x1950
push esi
push edi
push edx
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov eax, dword [esi + 0x118]
mov ecx, dword [esi]
push 0x40
push 0x1000
push eax
push 0
push ecx
call ebx
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x42d537
mov eax, dword [esi + 0x118]
mov ecx, dword [esi]
lea edx, [ebp + 8]
push edx
push eax
push 0x42cfe0
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
mov eax, dword [esi]
lea edx, [ebp - 0xc]
push edx
push 0
push edi
push ebx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test ebx, ebx
je 0x42d537
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x1950
push esi
push edi
push edx
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov eax, dword [esi + 0x1948]
cmp eax, 0xffffffff
jge 0x42d44f
mov dword [esi + 0x1944], 0
cmp eax, 0xfffffffe
jne 0x42d437
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x94]
push eax
push str.Cannot_load_remote_library__s.
push ecx
jmp 0x42d447
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.004228b0
add esp, 0xc
xor ebx, ebx
cmp dword [esi + 0x1930], ebx
jle 0x42d4c9
lea ecx, [esi + 0x1128]
lea edi, [esi + 0x128]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
test eax, eax
je 0x42d4b6
cmp dword [edi + 8], 0
jne 0x42d47d
test byte [edi + 0xd], 4
je 0x42d4b6
test byte [edi + 0xd], 1
je 0x42d49b
mov edx, dword [ebp - 8]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [edi]
push eax
mov eax, dword [edx + ebx*4]
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov eax, dword [edi]
mov ecx, dword [esi]
push 0x8000
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
mov dword [edi], eax
add dword [ebp - 4], 8
inc ebx
add edi, 0x10
cmp ebx, dword [esi + 0x1930]
jl 0x42d468
mov edi, dword [ebp - 0x10]
mov ebx, dword [esi + 0x1948]
test ebx, ebx
jle 0x42d504
push ebx
call fcn.0046f41d
mov edx, dword [esi + 0x1938]
add esp, 4
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
mov dword [esi + 0x1944], eax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov ecx, dword [esi + 0x1944]
mov dword [esi + 0x1938], ecx
mov edx, dword [esi]
push 0x8000
push 0
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_VirtualFreeEx]
push edx
call edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi]
push 0x8000
push 0
push eax
push ecx
call edi
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
push 0x8000
push 0
push edx
push eax
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret