Function at 0x4342b0
Capabilities:
Check for unexpected memory writes
Clear file content
Delete file
Enumerate files on windows
Get common file path
Get disk information
Get file attributes
Get hostname
Manipulate console buffer
Move file
Print debug messages
Read .ini file
Set console window title
Set current directory
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24bc
call fcn.00434b00
cmp dword [0x4d6784], 0x177
jne 0x4342f5
push 0
push 0
call fcn.0044b2a0
push 0
push 0
call fcn.00434de0
push 0
call fcn.00434d60
push 0
call fcn.00434b60
push 0
push 0
call fcn.00434b30
add esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 8], 0
mov edi, edi
cmp dword [0x4d6784], 0x123f
jne 0x434485
lea eax, [ebp - 0x10]
push eax
push 0
call esi
push 0x4019c4
call ebx
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea edx, [ebp - 0x4bc]
push edx
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_EnumDateFormatsExW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
push 0
lea eax, [ebp - 0xcbc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0x4019ec
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
lea ecx, [ebp - 0x28]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
xor edx, edx
lea ecx, [ebp - 0x34]
push ecx
push edx
push edx
push edx
push edx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x2c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
push 0
push 0
lea eax, [ebp - 0x1cbc]
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_FatalAppExitW]
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 0x401a04
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push 0x401a2c
push 0x401a38
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_AllocateUserPhysicalPages]
lea eax, [ebp - 0xc]
push eax
push 0
call esi
push 0x401a7c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp dword [ebp - 8], 0x6a2
je 0x4344bc
cmp dword [0x4d6784], 0xf
jne 0x4344a8
push 0
lea ecx, [ebp - 0x4bc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 0x1137c9d
jl 0x434310
jmp 0x4344c8
mov edx, dword [0x4594ac]
mov dword [0x4d6784], edx
mov ebx, dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
xor esi, esi
xor edi, edi
cmp edi, 0x5e3
jge 0x4344ea
push esi
call dword [sym.imp.USER32.dll_GetCursorInfo]
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetBitmapBits]
cmp dword [0x4d6784], 0x6b
jne 0x434519
push 0x30
lea eax, [ebp - 0x64]
push esi
push eax
mov dword [ebp - 0x68], esi
call fcn.00434e30
add esp, 0xc
lea ecx, [ebp - 0x68]
push ecx
push esi
push 0x401a9c
call ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCompact]
mov dword [0x4d5d70], esi
cmp edi, 0x26f46
jle 0x434560
mov eax, 0xdff62a
cmp dword [ebp - 0xc], eax
je 0x434560
cmp dword [ebp - 0x50], eax
je 0x434560
cmp dword [0x4d6784], 0xfc5
jne 0x434560
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x4bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x401ac0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
inc edi
cmp edi, 0x6b4078b9
jl 0x4344d2
mov esi, dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp ecx, 0x3fa
jne 0x434596
push 0x4d6784
call fcn.00433fa0
cmp dword [0x4d6784], 0x65
jne 0x434769
lea ecx, [ebp - 0x88]
push ecx
call esi
push 0x401ad4
push 0x401b08
push 0x401b5c
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 0x401b6c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
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 dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
push 0
call edi
push 0x30
lea edx, [ebp - 0x64]
push 0
push edx
mov dword [ebp - 0x68], 0
call fcn.00434e30
add esp, 0xc
push 0
lea eax, [ebp - 0x68]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
lea edx, [ebp - 0x1cbc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
push 0
push 0x401b90
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4bc]
push ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
xor edx, edx
mov ecx, edx
push ecx
push edx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
lea edx, [ebp - 0x1c]
push edx
push 0
lea eax, [ebp - 0xcbc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push 0
push 0x401bd0
push 0x401c28
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
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
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x401c98
lea ecx, [ebp - 0x14bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, 0x485ceb
jl 0x434584
call fcn.00434050
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0x199615
jmp 0x434790
cmp dword [0x4d6784], 0x105
jne 0x4347a3
push 0x401cf0
call esi
dec dword [ebp - 4]
jne 0x434790
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [ebp - 8], 0
jmp 0x4347c0
cmp dword [0x4d6784], 0xfd
jne 0x4347ed
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea edx, [ebp - 0x1fc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp dword [ebp - 8], 0x3c76
jne 0x434800
mov eax, dword [0x4594a0]
mov dword [0x4d6788], eax
cmp dword [0x4d6784], 0x23
jne 0x434948
push 0
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0
push 0
lea ecx, [ebp - 0x4bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
push 0
lea edx, [ebp - 0x14bc]
push edx
push 0
push 0x401d00
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1cbc]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
lea edx, [ebp - 0x30]
push edx
push eax
xor ecx, ecx
push ecx
lea edx, [ebp - 0xc]
push edx
push eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x7c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_UnregisterWait]
lea edx, [ebp - 0x1c]
push edx
push 0
lea eax, [ebp - 0x8bc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
push 0
push 0
call edi
push 0x401d58
push 0
lea eax, [ebp - 0x24bc]
push eax
push 0x401d70
push 0x401d80
push 0x401dd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 0xe67cf
jl 0x4347c0
xor esi, esi
cmp dword [0x4d6784], esi
jbe 0x43498e
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ebx, [ebx]
push esi
call fcn.00433e00
cmp dword [0x4d6784], 0x22
jne 0x434985
lea ecx, [ebp - 0xc]
push ecx
call edi
inc esi
cmp esi, dword [0x4d6784]
jb 0x434970
call fcn.00433fb0
call fcn.00434070
cmp dword [0x4d6784], 0x1d
jne 0x434ae3
xor esi, esi
push esi
push 0x401e38
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0x401e60
push 0x401e94
push 0x401eb0
push 0x401ef4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x401f18
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0x401f28
push esi
push 0x401f90
push 0x401fcc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push esi
lea ecx, [ebp - 0x24bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalWire]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x30
lea eax, [ebp - 0xb8]
push esi
push eax
mov dword [ebp - 0xbc], esi
call fcn.00434e30
add esp, 0xc
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0xbc]
push edx
push 0x402000
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
lea eax, [ebp - 0x14bc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
lea ecx, [ebp - 0x30c]
push ecx
push 0x402080
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadSelectorEntry]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
lea edx, [ebp - 8]
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