Function at 0x433bd0
Capabilities:
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, 0x2490
call fcn.00434330
cmp dword [0x4d6784], 0x177
jne 0x433c01
push 0
call fcn.0044ac30
push 0
push 0
call fcn.0044aa50
add esp, 0xc
call fcn.00434380
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
xor eax, eax
push edi
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x10]
jmp 0x433c20
cmp dword [0x4d6784], 0x123f
jne 0x433d98
push 0
call ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea ecx, [ebp - 0x890]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
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 edx, [ebp - 0x490]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0x4014ac
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
xor ecx, ecx
lea eax, [ebp - 0xc]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push 0
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push 0
push 0
lea edx, [ebp - 0x1c90]
push edx
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_FatalAppExitW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
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 0x4014d8
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 0x4014ec
push 0x401508
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
lea eax, [ebp - 4]
push eax
push 0
push 0x40158c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0x4015a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 0x10]
cmp eax, 0x6a2
je 0x433db0
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1138085
jl 0x433c20
jmp 0x433dbc
mov ecx, dword [0x4594ac]
mov dword [0x4d6784], ecx
mov ebx, dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
xor edi, edi
cmp edi, 0x5e3
jge 0x433de4
push 0
call dword [sym.imp.USER32.dll_GetCursorInfo]
push 0
push 0
call dword [sym.imp.USER32.dll_GetMenuItemID]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4d6784], 0x6b
jne 0x433e1d
push 0x30
lea edx, [ebp - 0x6c]
push 0
push edx
mov dword [ebp - 0x70], 0
call fcn.004344c0
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0
push 0x4015c0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapValidate]
mov dword [0x4d5d70], 0
cmp edi, 0x26f28
jle 0x433e67
mov eax, 0xdff62a
cmp dword [ebp - 0xc], eax
je 0x433e67
cmp dword [ebp - 0x58], eax
je 0x433e67
cmp dword [0x4d6784], 0xfc5
jne 0x433e67
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
inc edi
cmp edi, 0x6ad5a8f9
jl 0x433dc4
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProfileStringW]
xor eax, eax
mov dword [ebp - 8], eax
cmp eax, 0x3fa
jne 0x433e96
add dword [0x4d6784], 0x12336
cmp dword [0x4d6784], 0x65
jne 0x434032
lea eax, [ebp - 0x3c]
push eax
call edi
push 0
lea ecx, [ebp - 0x1c90]
push ecx
push 0x401608
push 0x401660
push 0x4016c8
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
push 0x4016d8
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
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
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
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
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 - 0x490]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
push 0x401720
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0xc90]
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
mov dword [ebp - 0x10], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x2490]
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_UnlockFile]
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 0x433e85
call fcn.00433990
mov esi, 0x199615
jmp 0x434050
cmp dword [0x4d6784], 0x105
jne 0x434067
push 0x4017f0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
dec esi
jne 0x434050
mov edi, dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLocalTime]
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
lea esp, [esp]
cmp dword [0x4d6784], 0xfd
jne 0x4340ad
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x5d0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp dword [ebp - 4], 0x3c76
jne 0x4340c2
mov edx, dword [0x4594a0]
mov dword [0x4d6788], edx
cmp dword [0x4d6784], 0x23
jne 0x434188
push 0
push 0
push 0
push 0
call esi
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push 0
lea eax, [ebp - 0x490]
push eax
push 0
push 0x401804
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0
push 0
push 0
push 0
call esi
push 0
lea ecx, [ebp - 0x890]
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
call dword [sym.imp.KERNEL32.dll_UnregisterWait]
lea ecx, [ebp - 0xc]
push ecx
push 0
lea edx, [ebp - 0x1490]
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
push edi
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
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 0x434080
xor esi, esi
cmp dword [0x4d6784], esi
jbe 0x4341d1
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ebx, [ebx]
push esi
call fcn.00433750
cmp dword [0x4d6784], 0xc66
jne 0x4341c8
lea eax, [ebp - 0x18]
push eax
call edi
inc esi
cmp esi, dword [0x4d6784]
jb 0x4341b0
call fcn.004338e0
call fcn.004339b0
cmp dword [0x4d6784], 0x1d
jne 0x434313
xor esi, esi
push esi
push 0x401830
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0x401858
push 0x401874
push 0x401884
push 0x4018a8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x4018bc
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 - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push esi
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
push esi
lea ecx, [ebp - 0x1490]
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 0x4018c8
push 0x4018e8
push 0x4018f4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
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 - 0x490]
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 - 0x6e0]
push ecx
push 0x401918
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