Function at 0x425210
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 0x42528a
lea edi, [esi + 0x130]
lea ebx, [esi + 0x1128]
cmp dword [edi], 0
je 0x425275
mov eax, dword [ebx]
test eax, eax
je 0x425275
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 0x425527
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 0x425238
mov eax, fcn.00425210
cmp eax, 0x425040
jbe 0x4252a9
mov ecx, fcn.00425210
sub ecx, 0x425040
mov dword [esi + 0x118], ecx
jmp 0x4252ba
mov edx, 0x425040
sub edx, fcn.00425210
mov dword [esi + 0x118], edx
mov eax, 0x425040
cmp eax, fcn.00424ed0
jbe 0x4252d9
mov ecx, 0x425040
sub ecx, fcn.00424ed0
mov dword [esi + 0x11c], ecx
jmp 0x4252ea
mov edx, fcn.00424ed0
sub edx, 0x425040
mov dword [esi + 0x11c], edx
mov eax, 0xfa0
cmp dword [esi + 0x118], eax
jae 0x4252fd
mov dword [esi + 0x118], eax
cmp dword [esi + 0x11c], eax
jae 0x42530b
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 0x425527
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.00424ed0
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 0x425527
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 0x425527
mov ecx, dword [esi + 0x118]
mov edx, dword [esi]
lea eax, [ebp + 8]
push eax
push ecx
push 0x425040
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 0x425527
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 0x42544c
mov dword [esi + 0x1944], 0
cmp eax, 0xfffffffe
jne 0x425434
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x94]
push ecx
push str.Cannot_load_remote_library__s.
push edx
jmp 0x425444
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.0041d030
add esp, 0xc
xor ebx, ebx
cmp dword [esi + 0x1930], ebx
jle 0x4254b6
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 0x4254a6
mov eax, dword [edi]
test eax, eax
je 0x4254a6
test byte [edi + 5], 1
je 0x42548d
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 0x425465
mov edi, dword [esi + 0x1948]
test edi, edi
jle 0x4254f1
push edi
call fcn.0045852a
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