Function at 0x486dc0
Capabilities:
Connect pipe
Get geographical location
Manipulate console buffer
Move file
Read pipe
Set file attributes
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x185c
call fcn.00409480
mov eax, dword [0x48e008]
xor eax, esp
mov dword [esp + 0x1858], eax
mov edx, dword [0x48f350]
mov ecx, dword [0x2b8e0ec]
push ebx
push esi
push edi
xor eax, eax
mov edi, 0xec58ae96
or esi, 0xffffffff
cmp eax, 0x4db
jne 0x486e04
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x486e18
mov dword [0x490160], edi
mov dword [0x490164], esi
inc eax
cmp eax, 0x1180b56
jl 0x486df7
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [0x2b8e0ec], ecx
xor esi, esi
mov edi, edi
cmp esi, 0x55b763
jne 0x486e42
mov eax, dword [0x48eef8]
mov dword [0x2b8e21c], eax
cmp ecx, 0x3c
jne 0x486e53
push 0
push 0
call edi
mov ecx, dword [0x2b8e0ec]
inc esi
cmp esi, 0x4cd9711c
jl 0x486e30
mov edi, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea ebx, [ebx]
push 0
push 0
call edi
call ebx
cmp esi, 0x24c2d
jg 0x486e89
inc esi
cmp esi, 0xee1cb
jl 0x486e70
mov eax, dword [0x2b8e0ec]
cmp eax, 0x2a
jne 0x486fa9
xor esi, esi
push esi
lea ecx, [esp + 0x18]
push ecx
push esi
lea edx, [esp + 0x6c]
push edx
push esi
push esi
push esi
mov dword [0x2b8e0e0], esi
mov dword [0x2b8e0e4], esi
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
lea eax, [esp + 0x18]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push esi
xor eax, eax
lea edx, [esp + 0x864]
push edx
push str.docifazivilipabizidaxozow
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 esi
xor ecx, ecx
push esi
mov word [esp + 0x34], cx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
xor ecx, ecx
xor edx, edx
mov word [esp + 0x10], cx
mov word [esp + 0x12], dx
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
push esi
push esi
call fcn.0040100f
push esi
push esi
call fcn.004015ed
push esi
push esi
call fcn.0040100f
push esi
call fcn.004012ff
add esp, 0x1c
push esi
push esi
push esi
call fcn.0040127b
add esp, 0xc
push 0x48c438
push 0x4900d8
call fcn.00401528
push esi
call fcn.00401511
add esp, 0xc
push esi
call fcn.00401aa8
cmp eax, 0x7c
jne 0x487092
xor esi, esi
push esi
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
lea edx, [esp + 0x864]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleFontSize]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x2e
lea ecx, [esp + 0x34]
push esi
push ecx
mov dword [esp + 0x38], esi
call fcn.00406650
add esp, 0xc
push esi
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push esi
push esi
push esi
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0x48c43c
push str.dafapumivohabijoxubofilepuze
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push esi
push esi
push esi
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
push esi
lea edx, [esp + 0x1064]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp dword [0x2b8e0ec], 0x2d
jne 0x48707b
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push esi
call fcn.004013c9
add esp, 4
push esi
call fcn.004013df
mov eax, dword [0x2b8e0ec]
add esp, 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x2b8e0ec]
mov esi, eax
xor ecx, ecx
mov dword [0x2b8df34], esi
test edx, edx
jbe 0x4870dc
mov edi, dword [0x2b8e21c]
mov eax, 0x17bc
lea ebx, [ebx]
mov bl, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], bl
cmp edx, 0x8d
jne 0x4870d7
mov dword [0x2b8df38], eax
inc ecx
cmp ecx, edx
jb 0x4870c0
call fcn.00486c10
call fcn.00486ad0
call fcn.00486d60
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
lea esp, [esp]
cmp dword [0x2b8e0ec], 0x41
jne 0x487111
push 0
call edi
push 0
call ebx
cmp esi, 0xd606b
jne 0x48711e
call fcn.00486ac0
cmp dword [0x2b8e0ec], 0xc
jne 0x487138
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
call dword [sym.imp.KERNEL32.dll_GetACP]
inc esi
cmp esi, 0x24e87d
jl 0x487100
mov esi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov ebx, 0x1dfefd
mov edi, 0x8e4e015c
jmp 0x487160
cmp dword [0x2b8e0ec], 0x7c4
mov dword [0x2b8df3c], edi
jne 0x48718f
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
mov word [esp + 0x14], cx
mov word [esp + 0x16], dx
mov ecx, dword [esp + 0x14]
push ecx
push edx
push edx
push edx
call esi
sub ebx, 1
jne 0x487160
mov ecx, dword [esp + 0x34]
xor eax, eax
lea ebx, [ebx]
cmp eax, 0x408e
jle 0x4871af
cmp ecx, 0xf5bed7
jne 0x4871b7
inc eax
cmp eax, 0x687ed2
jl 0x4871a0
mov ecx, dword [esp + 0x1864]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret