Function at 0x4149a0
Capabilities:
Delete file
Enumerate files on windows
Enumerate gui resources
Get file attributes
Manipulate console buffer
Terminate thread

Disassembly:
sub esp, 0xabc
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ActivateActCtx]
xor esi, esi
cmp esi, 0xfc0
jne 0x4149c5
mov eax, 0x38d6
add dword [0x4dd64c], eax
cmp dword [0x4dd64c], 0xd04
jne 0x4149da
push 0
lea eax, [esp + 0x18]
push eax
call edi
inc esi
cmp esi, 0x31a576
jl 0x4149b2
mov ecx, dword [0x4dd64c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
mov edi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [0x4dd130], eax
mov dword [esp + 0x10], 0x962ae8
cmp dword [0x4dd64c], 3
jne 0x414a29
lea edx, [esp + 0x48]
push edx
push 0
call ebp
cmp dword [0x4dd64c], 0xd
jne 0x414a4a
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call edi
push 0
call ebx
dec dword [esp + 0x10]
jne 0x414a17
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp esi, 0x1c289
jge 0x414a6c
push 0
call ebp
cmp esi, 0x1ea070f3
jle 0x414a84
cmp edi, 0xacd440
je 0x414a84
cmp ebx, 0xad1af0c
jne 0x414a8d
inc esi
cmp esi, 0x8ded4d98
jb 0x414a60
mov eax, dword [0x4dd64c]
xor esi, esi
test eax, eax
je 0x414ac8
mov edi, dword [sym.imp.KERNEL32.dll__llseek]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 0xfe
jne 0x414ab9
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
call fcn.004146f0
mov eax, dword [0x4dd64c]
inc esi
cmp esi, eax
jb 0x414aa4
mov ebx, dword [sym.imp.KERNEL32.dll_AddAtomA]
cmp eax, 0x19c
jne 0x414b0a
push 0x403418
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
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_LoadMenuA]
mov esi, 0x8dc
push 0
push 0
call edi
dec esi
jne 0x414b15
mov esi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edi, 0x2592d
mov ebp, 0x15a
mov edi, edi
cmp dword [0x4dd64c], ebp
jne 0x414b46
push 0
call ebx
push 0
push 0
push 0
push 0
call esi
dec edi
jne 0x414b30
mov byte [0x462228], 0
call fcn.00414230
call fcn.00414970
call fcn.004146d0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [esp + 0x10], 0xdd7b3
nop
cmp dword [0x4dd64c], 0x21
jne 0x414bac
push 0
push 0
push 0
call esi
push 0
push 0
lea eax, [esp + 0x2d0]
push eax
push 0
call edi
lea ecx, [esp + 0x14]
push ecx
call ebp
push 0
call ebx
dec dword [esp + 0x10]
jne 0x414b80
call fcn.00414800
cmp dword [0x4dd64c], 0x58c
mov byte [0x462229], 0x73
jne 0x414c77
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea edx, [esp + 0x188]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push 0
push 0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
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_EnumResourceTypesA]
push 0x403424
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 + 0x1c]
push 0
push ecx
mov dword [esp + 0x20], 0
call fcn.004050d0
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [esp + 0x48]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
call fcn.004146e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xabc
ret