Function at 0x4116d0
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push str.Log:GetModuleHandleA_Remote___Enter:_n
mov eax, dword [0x52c378]
push eax
call fcn.00406560
add esp, 8
mov dword [ebp - 0x2c], 0
mov ecx, 0x4123e0
sub ecx, 0x412390
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0xc], 0
je 0x411718
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041c2f0
add esp, 4
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x41171f
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx + 0xc]
mov dword [ebp - 0x30], eax
push 0x40
push 0x3000
mov ecx, dword [ebp - 0x30]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4118ad
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xc
mov dword [ebp - 0x24], edx
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push 0x4e4d04
push 0x4e4d18
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00411df0
add esp, 8
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0xc], 0
je 0x4117a3
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
jmp 0x4117aa
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0xc]
push eax
push 0x412390
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00411650
add esp, 0x10
movzx eax, al
test eax, eax
je 0x411898
push 0xc
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00411650
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x411898
cmp dword [ebp + 0xc], 0
je 0x41181a
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00411650
add esp, 0x10
movzx eax, al
test eax, eax
je 0x411898
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x411898
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x28], 0x54fd32fc
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x41188e
cmp dword [ebp - 0x28], 0xab02cd03
jne 0x41188e
push 0xc
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004115d0
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x41188e
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push str.Log:GetModuleHandleA_Remote___Exit._n
mov eax, dword [0x52c378]
push eax
call fcn.00406560
add esp, 8
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret