Function at 0x40dd00
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Get file attributes
Inject thread
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x466600
push 0x43a420
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x46d560]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test eax, eax
jns 0x40dd65
push 0x30
push 0x45f808
push str._InjectDll_DLL
jmp 0x40df3d
test al, 0x10
jne 0x40df45
push esi
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x40ddc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4615d0
lea eax, [ebp - 0x80]
push eax
call fcn.00413500
add esp, 0xc
push 0x34
push 0x45f808
lea eax, [ebp - 0x80]
push eax
push esi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
call edi
cmp eax, 6
jne 0x40df45
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40ddd4
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x8c], eax
push 0x40
push 0x3000
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x40de49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46162c
lea eax, [ebp - 0x80]
push eax
call fcn.00413500
add esp, 0xc
push 0x34
push 0x45f808
lea eax, [ebp - 0x80]
push eax
push 0
call edi
cmp eax, 6
jne 0x40df45
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x88]
push 0
push dword [ebp - 0x8c]
push dword [ebp - 0x84]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40de77
push 0x30
push 0x45f808
push 0x461654
push eax
call edi
jmp 0x40df45
push 0x461670
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push dword [ebp - 0x88]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x40deeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46168c
lea eax, [ebp - 0x80]
push eax
call fcn.00413500
add esp, 0xc
push 0x34
push 0x45f808
lea eax, [ebp - 0x80]
push eax
push 0
call edi
cmp eax, 6
jne 0x40df45
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x84]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x4000
push dword [ebp - 0x8c]
push dword [ebp - 0x88]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x84]
call esi
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x40df4e
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004384c1
mov esp, ebp
pop ebp
ret 8