Function at 0x44f690
Capabilities:
Allocate or change rwx memory
Delete file
Enumerate files on windows
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get disk information
Get file attributes
Get hostname
Get memory capacity
Manipulate console buffer
Move file
Print debug messages
Read .ini file
Set console window title
Set current directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x3144
call fcn.00440250
cmp dword [0x4e3abc], 0x177
push ebx
push esi
push edi
jne 0x44f72e
push 0x4e30b8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x204
jne 0x44f72e
cmp dword [0x4e3abc], 0xf76
jne 0x44f6e4
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
push 0
push 0
push 0
push 0x467670
call fcn.00434170
push 0
call fcn.004341a0
add esp, 0x14
push 0
call fcn.004345a0
add esp, 4
push 0
push 0
call fcn.0044ea60
push 0
push 0
call fcn.00434020
call fcn.00433fc0
push 0
call fcn.004343c0
add esp, 0x14
call fcn.00434460
mov edi, dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
mov dword [esp + 0xc], 0
cmp dword [0x4e3abc], 0x123f
jne 0x44f8c3
lea ecx, [esp + 0x18]
push ecx
push 0
call edi
push 0
call ebx
lea edx, [esp + 0xe0]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea eax, [esp + 0x154]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
push 0
lea ecx, [esp + 0x554]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea edx, [esp + 0x3c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
xor eax, eax
lea edx, [esp + 0x40]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
push 0
push 0
lea ecx, [esp + 0xd58]
push ecx
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_GetCurrentProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AllocateUserPhysicalPages]
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp dword [esp + 0xc], 0x63e
je 0x44f8fe
cmp dword [0x4e3abc], 0xf
jne 0x44f8e8
push 0
lea edx, [esp + 0xd54]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x1138855
jl 0x44f748
jmp 0x44f908
mov eax, dword [0x4663fc]
mov dword [0x4e3abc], eax
mov edi, dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapSize]
xor esi, esi
cmp dword [0x4e3abc], 0x6b
jne 0x44f94e
push 0x30
lea ecx, [esp + 0x4c]
push 0
push ecx
mov dword [esp + 0x50], 0
call fcn.0043d920
add esp, 0xc
lea edx, [esp + 0x44]
push edx
push 0
push 0x4330d0
call edi
push 0
push 0
push 0
call ebx
mov dword [0x4e30b0], 0
cmp esi, 0x22112
jle 0x44f99f
mov eax, 0x342502a
cmp dword [esp + 0x14], eax
je 0x44f99f
cmp dword [esp + 0x50], eax
je 0x44f99f
cmp dword [0x4e3abc], 0xfc5
jne 0x44f99f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x554]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x4330d8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
inc esi
cmp esi, 0x5f54b6cd
jl 0x44f916
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
mov edi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebx, dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
xor eax, eax
mov dword [esp + 0xc], eax
cmp eax, 0x3fa
jne 0x44f9d0
call fcn.0044ed30
cmp dword [0x4e3abc], 0x65
jne 0x44fbad
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
push 0x433100
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x43310c
push 0x433128
push 0x433154
call dword [sym.imp.KERNEL32.dll_WriteProfileStringA]
lea eax, [esp + 0x34]
push eax
push 0
call esi
push 0x43315c
push 0
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
call dword [sym.imp.KERNEL32.dll__lclose]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
push 0x30
lea ecx, [esp + 0xb4]
push 0
push ecx
mov dword [esp + 0xb8], 0
call fcn.0043d920
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xb0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
lea edx, [esp + 0x554]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push 0
push 0
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x154]
push edx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
xor eax, eax
mov edx, eax
push edx
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea eax, [esp + 0x30]
push eax
push 0
lea ecx, [esp + 0xd58]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTime]
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapWalk]
push 0x433184
lea edx, [esp + 0x954]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
cmp eax, 0x485ceb
jl 0x44f9c4
call fcn.0044ec70
mov eax, dword [0x4e3abc]
mov esi, 0x199615
lea esp, [esp]
cmp eax, 0x105
jne 0x44fbe7
push 0x4331b4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x4e3abc]
dec esi
jne 0x44fbd0
mov edi, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 0x9e2
jne 0x44fc1c
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x150]
push eax
push 0
call ebx
mov eax, dword [0x4e3abc]
cmp esi, 0x3b22
jne 0x44fc30
mov ecx, dword [0x4663f0]
mov dword [0x4e3ac0], ecx
cmp eax, 0xdb5
je 0x44fdd9
inc esi
cmp esi, 0xe6793
jl 0x44fbf6
xor esi, esi
test eax, eax
je 0x44fc6e
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call fcn.0044ed50
cmp dword [0x4e3abc], 0x22
jne 0x44fc65
lea edx, [esp + 0x14]
push edx
call edi
inc esi
cmp esi, dword [0x4e3abc]
jb 0x44fc50
call fcn.0044ec90
call fcn.0044f390
cmp dword [0x4e3abc], 0x1d
jne 0x44fdce
xor esi, esi
push esi
push 0x4331d4
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
push 0x4331f4
push 0x433210
push 0x433220
push 0x433244
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push 0x433258
push esi
push 0x43328c
push 0x4332ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push esi
lea edx, [esp + 0x2954]
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_TerminateProcess]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x30
lea ecx, [esp + 0x80]
push esi
push ecx
mov dword [esp + 0x84], esi
call fcn.0043d920
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
lea ecx, [esp + 0x1d50]
push ecx
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_WriteFileGather]
lea edx, [esp + 0x150]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadSelectorEntry]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x4332c4
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
lea eax, [esp + 0xc]
push eax
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
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 0
push 0
push 0
call esi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push ebx
push ebx
lea edx, [esp + 0x958]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push ebx
push ebx
push ebx
push ebx
call esi
push ebx
lea eax, [esp + 0x554]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea edx, [esp + 0x34]
push edx
xor eax, eax
push eax
xor ecx, ecx
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
lea eax, [esp + 0x20]
push eax
push ebx
lea ecx, [esp + 0xe8]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
lea edx, [esp + 0x44]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea eax, [esp + 0x2c]
push eax
push ebx
lea ecx, [esp + 0x1d58]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea edx, [esp + 0x150]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x110]
push ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringW]
push 0x30
lea edx, [esp + 0x80]
push ebx
push edx
mov dword [esp + 0x84], ebx
call fcn.0043d920
add esp, 0xc
push ebx
lea eax, [esp + 0x7c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea eax, [esp + 0x1550]
push eax
push ebx
push 0x4331bc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
push ebx
push ebx
lea ecx, [esp + 0x1958]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
push ebx
lea edx, [esp + 0xb0]
push edx
call dword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
push ebx
push ebx
lea eax, [esp + 0x2558]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xd54]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push ebx
push ebx
lea eax, [esp + 0x2958]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]