Function at 0x433ae0
Capabilities:
Clear file content
Enumerate files on windows
Get disk information
Get file attributes
Get hostname
Manipulate console buffer
Move file
Print debug messages
Read file on windows
Set console window title
Set current directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2884
call fcn.004341d0
cmp dword [0x4d6784], 0x177
jne 0x433b21
push 0
call fcn.0044ab00
push 0
push 0
call fcn.0044a920
call fcn.00434260
push 0
call fcn.00434230
push 0
push 0
call fcn.00434200
add esp, 0x18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [ebp - 0x10], eax
jmp 0x433b40
cmp dword [0x4d6784], 0x123f
jne 0x433c8e
push 0
call edi
lea eax, [ebp - 0x34]
push eax
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
push 0
lea ecx, [ebp - 0x1084]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0x401498
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
lea edx, [ebp - 0x1c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
xor eax, eax
lea edx, [ebp - 0xc]
push edx
push eax
push eax
push eax
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push 0
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push 0
push 0
lea ecx, [ebp - 0x884]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0x4014c4
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTimerQueueTimer]
push 0x4014d8
push 0x4014f0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
lea edx, [ebp - 4]
push edx
push 0
push 0x401574
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0x401588
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 0x10]
cmp eax, 0x6a2
je 0x433ca6
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1138085
jl 0x433b40
jmp 0x433cb0
mov eax, dword [0x4594ac]
mov dword [0x4d6784], eax
xor ebx, ebx
xor edi, edi
cmp edi, 0x5e3
jge 0x433cca
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemID]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4d6784], 0x6b
jne 0x433cdc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapValidate]
mov dword [0x4d5d70], ebx
cmp edi, 0x26f28
jle 0x433d1f
mov eax, 0xdff62a
cmp dword [ebp - 0xc], eax
je 0x433d1f
cmp dword [ebp - 0x58], eax
je 0x433d1f
cmp dword [0x4d6784], 0xfc5
jne 0x433d1f
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
inc edi
cmp edi, 0x6ad5a8f9
jl 0x433cb4
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProfileStringW]
xor eax, eax
mov dword [ebp - 8], eax
lea esp, [esp]
cmp eax, 0x3fa
jne 0x433d51
add dword [0x4d6784], 0x12336
cmp dword [0x4d6784], 0x65
jne 0x433ee9
lea eax, [ebp - 0x3c]
push eax
call edi
push 0
lea ecx, [ebp - 0x2884]
push ecx
push 0x4015c8
push 0x401620
push 0x401688
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
push 0x401698
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push 0
call dword [sym.imp.KERNEL32.dll_LocalLock]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
lea ecx, [ebp - 0x484]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
push 0x4016e0
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x2084]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
xor ecx, ecx
mov eax, ecx
push eax
push ecx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x1884]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LockFile]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
inc eax
mov dword [ebp - 8], eax
cmp eax, 0x485ceb
jl 0x433d40
call fcn.004338a0
mov esi, 0x199615
cmp dword [0x4d6784], 0x105
jne 0x433f19
push 0x401744
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
dec esi
jne 0x433f02
mov edi, dword [sym.imp.KERNEL32.dll_SetLocalTime]
mov ebx, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
cmp dword [0x4d6784], 0xfd
jne 0x433f5e
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x2d4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp dword [ebp - 4], 0x3c76
jne 0x433f73
mov edx, dword [0x4594a0]
mov dword [0x4d6788], edx
cmp dword [0x4d6784], 0x23
jne 0x434034
push 0
push 0
push 0
push 0
call esi
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push 0
lea eax, [ebp - 0xc84]
push eax
push 0
push 0x401758
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0
push 0
push 0
push 0
call esi
push 0
lea ecx, [ebp - 0x484]
push ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea edx, [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
lea ecx, [ebp - 0xc]
push ecx
push 0
lea edx, [ebp - 0x1884]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapWalk]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 0xe67cf
jl 0x433f31
xor esi, esi
cmp dword [0x4d6784], esi
jbe 0x434077
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
call fcn.00433640
cmp dword [0x4d6784], 0xc66
jne 0x43406e
lea eax, [ebp - 0x18]
push eax
call edi
inc esi
cmp esi, dword [0x4d6784]
jb 0x434056
call fcn.004337f0
call fcn.004338c0
cmp dword [0x4d6784], 0x1d
jne 0x4341b9
xor esi, esi
push esi
push 0x401784
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0x4017ac
push 0x4017c8
push 0x4017d8
push 0x4017fc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x401810
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push esi
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push esi
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
push esi
lea ecx, [ebp - 0x1884]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x40181c
push 0x401858
push 0x401878
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalWire]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleMouseButtons]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 0xc84]
push eax
push esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
lea ecx, [ebp - 0x2d4]
push ecx
push 0x4018b0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea edx, [ebp - 4]
push edx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10