Function at 0x41c500
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 [0x41f008]
xor eax, esp
mov dword [esp + 0x1c60], eax
mov edx, dword [0x4200a0]
mov ecx, dword [0x80651c]
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 0x41c54d
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x41c561
mov dword [0x420b90], edi
mov dword [0x420b94], esi
inc eax
cmp eax, 0x1180b56
jl 0x41c540
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [0x80651c], ecx
xor esi, esi
cmp esi, 0x55b763
jne 0x41c589
mov eax, dword [0x41fc48]
mov dword [0x80664c], eax
cmp ecx, 0x3c
jne 0x41c598
push ebx
push ebx
call edi
mov ecx, dword [0x80651c]
inc esi
cmp esi, 0x4cd9711a
jl 0x41c577
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
call edi
cmp esi, 0x16ea61
jg 0x41c5c3
inc esi
cmp esi, 0x9438ed
jl 0x41c5b0
mov eax, dword [0x80651c]
cmp eax, 0x2a
jne 0x41c688
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
mov dword [0x806510], ebx
mov dword [0x806514], 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 0x41c784
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 [0x80651c], 0x2d
jne 0x41c776
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push ebx
call fcn.004011f6
mov eax, dword [0x80651c]
add esp, 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x80651c]
mov esi, eax
xor ecx, ecx
mov dword [0x806364], esi
cmp edx, ebx
jbe 0x41c7ce
mov edi, dword [0x80664c]
mov eax, 0x17bc
jmp 0x41c7b0
mov bl, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], bl
cmp edx, 0x8d
jne 0x41c7c7
mov dword [0x806368], eax
inc ecx
cmp ecx, edx
jb 0x41c7b0
xor ebx, ebx
call fcn.0041c1e0
call fcn.0041c0a0
call fcn.0041c470
mov edi, dword [sym.imp.KERNEL32.dll_QueryMemoryResourceNotification]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
jmp 0x41c7f0
cmp dword [0x80651c], 0x41
jne 0x41c808
lea edx, [esp + 0x14]
push edx
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd589b
jne 0x41c815
call fcn.0041c090
cmp dword [0x80651c], 0xc
jne 0x41c831
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 0x41c7f0
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, 0x1dfefd
mov edi, 0x8e4e015c
lea ebx, [ebx]
cmp dword [0x80651c], 0x7c4
mov dword [0x80636c], edi
jne 0x41c87f
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 0x41c850
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 0x41c8b3
cmp dword [esp + 0x3c], 0xf5bed7
jne 0x41c8bc
inc esi
cmp esi, 0x687ed2
jl 0x41c892
mov ecx, dword [esp + 0x1c6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret