Function at 0x435d10
Capabilities:
Check for unexpected memory writes
Clear file content
Enumerate files on windows
Get common file path
Get file attributes
Get hostname
Manipulate console buffer
Move file
Print debug messages
Read file on windows
Set current directory
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1ca4
call fcn.00436620
cmp dword [0x4dfbe4], 0x177
jne 0x435d79
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetAltTabInfoA]
cmp dword [0x4dfbe4], 0xf76
jne 0x435d55
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
push 0
call fcn.00453b40
push 0
push 0
call fcn.00453960
call fcn.00436a00
push 0
call fcn.00436980
add esp, 0x10
call fcn.00436670
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], eax
jmp 0x435da0
cmp dword [0x4dfbe4], 0x123f
jne 0x435ef5
push 0
call esi
lea eax, [ebp - 0x4c]
push eax
call edi
push 0x401484
call ebx
xor eax, eax
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LockFileEx]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
push 0
lea edx, [ebp - 0x4a4]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0
lea eax, [ebp - 0xca4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
lea ecx, [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
xor edx, edx
lea ecx, [ebp - 0x10]
push ecx
push edx
push edx
push edx
push edx
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
push 0
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push 0
push 0
lea eax, [ebp - 0x14a4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
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
call dword [sym.imp.KERNEL32.dll_UnregisterWait]
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 dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
push 0
push 0
push 0x401610
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_SetWaitableTimer]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x401624
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0x401638
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
cmp eax, 0x6a0
je 0x435f0d
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x113846d
jl 0x435da0
jmp 0x435f19
mov edx, dword [0x4624ac]
mov dword [0x4dfbe4], edx
mov edi, dword [sym.imp.USER32.dll_GetComboBoxInfo]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp esi, 0x5e3
jge 0x435f37
push 0
push 0
call edi
call ebx
cmp dword [0x4dfbe4], 0x6b
jne 0x435f4c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapValidate]
mov dword [0x4df1d0], 0
cmp esi, 0x26f28
jle 0x435f96
mov eax, 0xdff62a
cmp dword [ebp - 0x10], eax
je 0x435f96
cmp dword [ebp - 0x78], eax
je 0x435f96
cmp dword [0x4dfbe4], 0xfc5
jne 0x435f96
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14a4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
inc esi
cmp esi, 0x6ad5a8f9
jl 0x435f27
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov edi, dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
xor eax, eax
mov dword [ebp - 8], eax
cmp eax, 0x3fa
jne 0x435fc7
add dword [0x4dfbe4], 0x12336
cmp dword [0x4dfbe4], 0x65
jne 0x43615a
lea edx, [ebp - 0x54]
push edx
call esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
call edi
push 0
call ebx
push 0x401678
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
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
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 - 0xc]
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 - 0x14a4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xca4]
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 - 4], ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [ebp - 0x1ca4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push 0
push 0x4016c0
push 0x401720
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
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_SetSystemTime]
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 0x435fb6
call fcn.00435a80
mov esi, dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov edi, 0x199615
lea esp, [esp]
cmp dword [0x4dfbe4], 0x105
jne 0x436196
push 0
push 0
push 0
push 0
call esi
dec edi
jne 0x436180
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov ebx, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLocalTime]
mov edi, edi
cmp dword [0x4dfbe4], 0xfd
jne 0x4361dd
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0x2f4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp dword [ebp - 0xc], 0x3c76
jne 0x4361f2
mov ecx, dword [0x4624a0]
mov dword [0x4dfbe8], ecx
cmp dword [0x4dfbe4], 0x23
jne 0x4362a6
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 edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
push 0
push 0
push 0
push 0
call esi
push 0
lea edx, [ebp - 0x4a4]
push edx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x48]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
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 - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 0xe67cf
jl 0x4361b0
xor esi, esi
cmp dword [0x4dfbe4], esi
jbe 0x4362e9
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
call fcn.00435830
cmp dword [0x4dfbe4], 0xc66
jne 0x4362e0
lea edx, [ebp - 0x18]
push edx
call edi
inc esi
cmp esi, dword [0x4dfbe4]
jb 0x4362c8
call fcn.004359d0
call fcn.00435aa0
cmp dword [0x4dfbe4], 0x1d
jne 0x436424
xor esi, esi
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
push 0x401778
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push esi
lea edx, [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
lea ecx, [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
push esi
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
push esi
lea edx, [ebp - 0x1ca4]
push edx
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_TerminateThread]
push esi
lea eax, [ebp - 0x14a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalWire]
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleMouseButtons]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x58]
push ecx
push esi
lea edx, [ebp - 0x8a4]
mov dword [ebp - 0x48], esi
push edx
push 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 eax, [ebp - 0x1e4]
push eax
push 0x401784
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [ebp - 0xc]
push ecx
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