Function at 0x4876e0
Capabilities:
Connect pipe
Get disk information
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.0040a230
mov eax, dword [0x48e004]
xor eax, esp
mov dword [esp + 0x1858], eax
mov edx, dword [0x48f450]
mov ecx, dword [0x2b8e1e4]
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov edi, 0xec58ae96
or esi, 0xffffffff
lea esp, [esp]
cmp eax, 0x4db
jne 0x48772d
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x487741
mov dword [0x490258], edi
mov dword [0x49025c], esi
inc eax
cmp eax, 0x1180b56
jl 0x487720
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [0x2b8e1e4], ecx
xor esi, esi
cmp esi, 0x55b763
jne 0x487769
mov eax, dword [0x48eff8]
mov dword [0x2b8e314], eax
cmp ecx, 0x3c
jne 0x487778
push ebx
push ebx
call edi
mov ecx, dword [0x2b8e1e4]
inc esi
cmp esi, 0x4cd9711c
jl 0x487757
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea esp, [esp]
call edi
cmp esi, 0x24c2d
jg 0x4877a3
inc esi
cmp esi, 0xee1cb
jl 0x487790
cmp dword [0x2b8e1e4], 0x2a
jne 0x4878b8
push ebx
lea ecx, [esp + 0x18]
push ecx
push ebx
lea edx, [esp + 0x6c]
push edx
push ebx
push ebx
push ebx
mov dword [0x2b8e1d8], ebx
mov dword [0x2b8e1dc], ebx
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
lea eax, [esp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push ebx
xor eax, eax
lea edx, [esp + 0x864]
push edx
push str.hisorezawixupisosovagafepa
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 ebx
xor ecx, ecx
push ebx
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 ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.004015e6
push ebx
push ebx
call fcn.0040100f
push ebx
call fcn.0040109e
add esp, 0x1c
push ebx
push ebx
push ebx
push ebx
call fcn.00401596
push 0x48c358
push 0x4901d0
call fcn.004011ee
push ebx
call fcn.00401353
add esp, 0x1c
cmp dword [0x2b8e1e4], 0x7c
jne 0x48799b
push ebx
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
lea edx, [esp + 0x864]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleFontSize]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x2e
lea ecx, [esp + 0x34]
push ebx
push ecx
mov dword [esp + 0x38], ebx
call fcn.004065b0
add esp, 0xc
push ebx
lea edx, [esp + 0x30]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push ebx
push ebx
push ebx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0x48c35c
push str.xategesiyubesa
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push ebx
lea edx, [esp + 0x1064]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp dword [0x2b8e1e4], 0x2d
jne 0x487989
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebx
call fcn.0040120b
add esp, 4
push ebx
call fcn.00401221
add esp, 4
mov eax, dword [0x2b8e1e4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x2b8e1e4]
mov esi, eax
xor ecx, ecx
mov dword [0x2b8e02c], esi
cmp edx, ebx
jbe 0x4879ee
mov edi, dword [0x2b8e314]
mov eax, 0x17bc
jmp 0x4879d0
mov bl, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], bl
cmp edx, 0x8d
jne 0x4879e7
mov dword [0x2b8e030], eax
inc ecx
cmp ecx, edx
jb 0x4879d0
xor ebx, ebx
call fcn.00487530
call fcn.004873f0
call fcn.00487680
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
jmp 0x487a10
cmp dword [0x2b8e1e4], 0x41
jne 0x487a21
push 0
call edi
push 0
call ebx
cmp esi, 0xd606b
jne 0x487a2e
call fcn.004873e0
cmp dword [0x2b8e1e4], 0xc
jne 0x487a4a
push 0
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call dword [sym.imp.KERNEL32.dll_GetACP]
inc esi
cmp esi, 0x24e87d
jl 0x487a10
mov esi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov ebx, 0x1dfefd
mov edi, 0x8e4e015c
jmp 0x487a70
cmp dword [0x2b8e1e4], 0x7c4
mov dword [0x2b8e034], edi
jne 0x487a9f
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 0x487a70
mov ecx, dword [esp + 0x34]
xor eax, eax
lea ebx, [ebx]
cmp eax, 0x408e
jle 0x487abf
cmp ecx, 0xf5bed7
jne 0x487ac7
inc eax
cmp eax, 0x687ed2
jl 0x487ab0
mov ecx, dword [esp + 0x1864]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret