Function at 0x4245a0
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 - 4], eax
cmp dword [esi + 0x1930], eax
jle 0x42461a
lea edi, [esi + 0x130]
lea ebx, [esi + 0x1128]
cmp dword [edi], 0
je 0x424605
mov eax, dword [ebx]
test eax, eax
je 0x424605
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 0x4248b7
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 - 4]
inc eax
add ebx, 8
add edi, 0x10
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x1930]
jl 0x4245c8
mov eax, fcn.004245a0
cmp eax, 0x4243d0
jbe 0x424639
mov ecx, fcn.004245a0
sub ecx, 0x4243d0
mov dword [esi + 0x118], ecx
jmp 0x42464a
mov edx, 0x4243d0
sub edx, fcn.004245a0
mov dword [esi + 0x118], edx
mov eax, 0x4243d0
cmp eax, fcn.00424260
jbe 0x424669
mov ecx, 0x4243d0
sub ecx, fcn.00424260
mov dword [esi + 0x11c], ecx
jmp 0x42467a
mov edx, fcn.00424260
sub edx, 0x4243d0
mov dword [esi + 0x11c], edx
mov eax, 0xfa0
cmp dword [esi + 0x118], eax
jae 0x42468d
mov dword [esi + 0x118], eax
cmp dword [esi + 0x11c], eax
jae 0x42469b
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 0x4248b7
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.00424260
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 0x4248b7
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 0x4248b7
mov ecx, dword [esi + 0x118]
mov edx, dword [esi]
lea eax, [ebp + 8]
push eax
push ecx
push 0x4243d0
push edi
push edx
call ebx
mov ebx, dword [ebp - 8]
mov ecx, dword [esi]
lea eax, [ebp - 0x10]
push eax
push 0
push ebx
push edi
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x4248b7
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
lea edx, [ebp + 8]
push edx
push 0x1950
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [esi + 0x1948]
cmp eax, 0xffffffff
jge 0x4247dc
mov dword [esi + 0x1944], 0
cmp eax, 0xfffffffe
jne 0x4247c4
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x94]
push ecx
push str.Cannot_load_remote_library__s.
push edx
jmp 0x4247d4
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x94]
push eax
push str.Cannot_find_remote_function__s_in_the_dll.
push ecx
call fcn.0041ca80
add esp, 0xc
xor ebx, ebx
cmp dword [esi + 0x1930], ebx
jle 0x424846
lea edx, [esi + 0x1128]
lea edi, [esi + 0x130]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x424836
mov eax, dword [edi]
test eax, eax
je 0x424836
test byte [edi + 5], 1
je 0x42481d
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 0x4247f5
mov edi, dword [esi + 0x1948]
test edi, edi
jle 0x424881
push edi
call fcn.00455eef
mov ecx, dword [esi]
add esp, 4
lea edx, [ebp + 8]
push edx
push edi
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 edi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
push 0
push eax
push ecx
call edi
mov edx, dword [ebp - 0x14]
mov eax, dword [esi]
push 0x8000
push 0
push edx
push eax
call edi
mov ecx, dword [ebp - 0xc]
mov edx, dword [esi]
push 0x8000
push 0
push ecx
push edx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret