Function at 0x4149c0
Capabilities:
Delete file
Enumerate files on windows
Enumerate gui resources
Get file attributes
Manipulate console buffer
Read .ini file
Read pipe
Terminate thread
Write pipe

Disassembly:
mov eax, 0x12cc
call fcn.004132e0
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
xor esi, esi
cmp esi, 0xfc0
jne 0x4149e9
mov eax, 0x38d6
add dword [0x2bc2d3c], eax
cmp dword [0x2bc2d3c], 0xd04
jne 0x4149fb
push 0
push 0
call edi
inc esi
cmp esi, 0x31a576
jl 0x4149d6
mov eax, dword [0x2bc2d3c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
mov edi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_SearchPathA]
mov dword [0x2bc2820], eax
mov dword [esp + 0x14], 0x962ae8
cmp dword [0x2bc2d3c], 3
jne 0x414a4d
lea ecx, [esp + 0x58]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp dword [0x2bc2d3c], 0xd
jne 0x414aec
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call edi
push 0
call ebp
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x6dc]
push eax
push 0
push 0
push 0
push 0
call ebx
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x2e4]
push ecx
push eax
push eax
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
push 0
lea edx, [esp + 0xae0]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
dec dword [esp + 0x14]
jne 0x414a37
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp esi, 0x1c275
jge 0x414b12
push 0
call ebp
cmp esi, 0x1ea070f3
jle 0x414b2a
cmp edi, 0xacd436
je 0x414b2a
cmp ebx, 0xad1af0c
jne 0x414b33
inc esi
cmp esi, 0x8c238a18
jb 0x414b06
mov eax, dword [0x2bc2d3c]
xor esi, esi
test eax, eax
je 0x414b6e
mov edi, dword [sym.imp.KERNEL32.dll__llseek]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 0xfe
jne 0x414b5f
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
call fcn.00414710
mov eax, dword [0x2bc2d3c]
inc esi
cmp esi, eax
jb 0x414b4a
mov ebx, dword [sym.imp.KERNEL32.dll_AddAtomA]
cmp eax, 0x19c
jne 0x414bb0
push 0x403448
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, 0x8dc
push 0
push 0
call edi
dec esi
jne 0x414bbb
mov esi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, 0x2592d
mov ebp, 0x15a
cmp dword [0x2bc2d3c], ebp
jne 0x414bea
push 0
call ebx
push 0
push 0
push 0
push 0
call esi
dec edi
jne 0x414bd4
mov byte [0x499528], 0
call fcn.00414250
call fcn.00414990
call fcn.004146f0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esp + 0x14], 0xdd7b3
cmp dword [0x2bc2d3c], 0x21
jne 0x414c4f
push 0
push 0
push 0
call esi
push 0
push 0
lea ecx, [esp + 0x2e0]
push ecx
push 0
call edi
lea edx, [esp + 0x24]
push edx
call ebx
push 0
call ebp
dec dword [esp + 0x14]
jne 0x414c23
call fcn.00414930
cmp dword [0x2bc2d3c], 0x58c
mov byte [0x499529], 0x73
jne 0x414d0b
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [esp + 0x198]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupSeek]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0x403454
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push 0x30
lea ecx, [esp + 0x2c]
push 0
push ecx
mov dword [esp + 0x30], 0
call fcn.004051f0
add esp, 0xc
push 0
lea edx, [esp + 0x28]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [esp + 0x58]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
call fcn.00414700
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x12cc
ret