Function at 0x435f00
Capabilities:
Check for unexpected memory writes
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, 0x2484
call fcn.004367e0
cmp dword [0x4dfbc4], 0x177
jne 0x435f41
push 0
call fcn.00453d30
push 0
push 0
call fcn.00453b50
call fcn.00436870
push 0
call fcn.00436840
push 0
push 0
call fcn.00436810
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 0x435f60
cmp dword [0x4dfbc4], 0x123f
jne 0x4360ae
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 - 0x484]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0x4014e0
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 - 0xc84]
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 0x40150c
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 0x401520
push 0x401538
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 0x4015bc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0x4015d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 0x10]
cmp eax, 0x6a2
je 0x4360c6
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1138085
jl 0x435f60
jmp 0x4360d0
mov eax, dword [0x4624ac]
mov dword [0x4dfbc4], eax
xor ebx, ebx
xor edi, edi
cmp edi, 0x5e3
jge 0x4360ea
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemID]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4dfbc4], 0x6b
jne 0x4360fc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapValidate]
mov dword [0x4df1b0], ebx
cmp edi, 0x26f28
jle 0x43613f
mov eax, 0xdff62a
cmp dword [ebp - 0xc], eax
je 0x43613f
cmp dword [ebp - 0x58], eax
je 0x43613f
cmp dword [0x4dfbc4], 0xfc5
jne 0x43613f
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 0x4360d4
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 0x436171
add dword [0x4dfbc4], 0x12336
cmp dword [0x4dfbc4], 0x65
jne 0x436311
lea eax, [ebp - 0x3c]
push eax
call edi
push 0
lea ecx, [ebp - 0x2484]
push ecx
push 0x401610
push 0x401668
push 0x4016d0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
push 0x4016e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
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_GetConsoleAliasExesLengthW]
push 0
lea ecx, [ebp - 0x484]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
push 0x401728
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x1c84]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov eax, ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x1484]
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_EnumCalendarInfoExW]
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 0x436160
call fcn.00435cc0
mov esi, 0x199615
lea ebx, [ebx]
cmp dword [0x4dfbc4], 0x105
jne 0x436347
push 0x40178c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
dec esi
jne 0x436330
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]
nop
cmp dword [0x4dfbc4], 0xfd
jne 0x43638d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x2d4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp dword [ebp - 4], 0x3c76
jne 0x4363a2
mov edx, dword [0x4624a0]
mov dword [0x4dfbc8], edx
cmp dword [0x4dfbc4], 0x23
jne 0x436463
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 - 0x884]
push eax
push 0
push 0x4017a0
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 - 0x1484]
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 0x436360
xor esi, esi
cmp dword [0x4dfbc4], esi
jbe 0x4364a6
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
call fcn.00435a60
cmp dword [0x4dfbc4], 0xc66
jne 0x43649d
lea eax, [ebp - 0x18]
push eax
call edi
inc esi
cmp esi, dword [0x4dfbc4]
jb 0x436485
call fcn.00435c10
call fcn.00435ce0
cmp dword [0x4dfbc4], 0x1d
jne 0x4365e8
xor esi, esi
push esi
push 0x4017cc
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0x4017f4
push 0x401810
push 0x401820
push 0x401844
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x401858
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 - 0x1484]
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 0x401864
push 0x4018a0
push 0x4018c0
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 - 0x884]
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 0x4018f8
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