Function at 0x471580
Capabilities:
Connect pipe
Get disk information
Get file size
Get geographical location
Manipulate console buffer
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x185c
call fcn.00409650
mov eax, dword [0x478004]
xor eax, esp
mov dword [esp + 0x1858], eax
mov edx, dword [0x479370]
mov ecx, dword [0x85fb0c]
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 0x4715cd
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x4715e1
mov dword [0x47a180], edi
mov dword [0x47a184], esi
inc eax
cmp eax, 0x1180b56
jl 0x4715c0
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [0x85fb0c], ecx
xor esi, esi
cmp esi, 0x55b763
jne 0x471609
mov eax, dword [0x478f18]
mov dword [0x85fc3c], eax
cmp ecx, 0x3c
jne 0x471618
push ebx
push ebx
call edi
mov ecx, dword [0x85fb0c]
inc esi
cmp esi, 0x4cd9711a
jl 0x4715f7
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
call edi
cmp esi, 0x16ea61
jg 0x471643
inc esi
cmp esi, 0x9438ed
jl 0x471630
cmp dword [0x85fb0c], 0x2a
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
jne 0x471720
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
mov dword [0x85fb00], ebx
mov dword [0x85fb04], ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
xor eax, eax
push ebx
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
lea eax, [esp + 0x1064]
push eax
push str.luwopucitawuzefehufosererorukaw_rovufacikuric
lea ecx, [esp + 0x28]
push ecx
push ebx
xor edx, edx
push ebx
mov word [esp + 0x34], dx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
push ebx
push str.Ditu_tefabud
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_MoveFileExW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push ebx
lea edx, [esp + 0x464]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
call esi
push ebx
push ebx
call fcn.0040109d
push ebx
call fcn.0040100f
add esp, 0xc
push ebx
push ebx
call fcn.0040109d
push 0x476488
push 0x47a0f8
call fcn.004010fe
add esp, 0x10
cmp dword [0x85fb0c], 0x7c
jne 0x4717f8
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push ebx
lea ecx, [esp + 0xc64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push ebx
lea edx, [esp + 0x18]
push edx
push ebx
lea eax, [esp + 0x6c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomA]
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.004053d0
add esp, 0xc
push ebx
lea edx, [esp + 0x30]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push ebx
push ebx
lea eax, [esp + 0x468]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push ebx
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push ebx
lea edx, [esp + 0x1064]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [0x85fb0c], 0x2d
jne 0x4717e6
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebx
call fcn.004010dd
add esp, 4
push ebx
call fcn.004010f3
add esp, 4
mov eax, dword [0x85fb0c]
push eax
push ebx
call esi
mov edx, dword [0x85fb0c]
mov esi, eax
xor ecx, ecx
mov dword [0x85f954], esi
cmp edx, ebx
jbe 0x47183e
mov edi, dword [0x85fc3c]
mov eax, 0x17bc
mov bl, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], bl
cmp edx, 0x8d
jne 0x471837
mov dword [0x85f958], eax
inc ecx
cmp ecx, edx
jb 0x471820
xor ebx, ebx
call fcn.00471340
call fcn.00471200
call fcn.004714f0
mov edi, dword [sym.imp.KERNEL32.dll_QueryMemoryResourceNotification]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
jmp 0x471860
cmp dword [0x85fb0c], 0x41
jne 0x471878
lea ecx, [esp + 0x14]
push ecx
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd606b
jne 0x471885
call fcn.004711f0
cmp dword [0x85fb0c], 0xc
jne 0x4718a3
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Beep]
inc esi
cmp esi, 0x24e87d
jl 0x471860
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, 0x1dfefd
mov edi, 0x8e4e015c
lea esp, [esp]
cmp dword [0x85fb0c], 0x7c4
mov dword [0x85f95c], edi
jne 0x4718ef
xor ecx, ecx
xor eax, eax
lea edx, [esp + 0x14]
push edx
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov eax, dword [esp + 0x14]
push eax
push ecx
push ecx
push ecx
call esi
sub ebx, 1
jne 0x4718c0
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.USER32.dll_GetClassLongW]
xor esi, esi
lea ecx, [esp + 0x2c]
push ecx
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetBoundsRect]
cmp esi, 0x408e
jle 0x47192f
cmp dword [esp + 0x34], 0xf5bed7
jne 0x471938
inc esi
cmp esi, 0x687ed2
jl 0x471902
mov ecx, dword [esp + 0x1864]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret