Function at 0x41aa30
Capabilities:
Enumerate gui resources
Get common file path
Get disk information
Get file attributes
Get hostname
Manipulate console buffer
Query environment variable

Disassembly:
mov eax, 0x184c
call fcn.00417f20
cmp dword [0x7f033c], 0x422
push ebx
push ebp
push esi
push edi
jne 0x41aae5
push 0
push 0
push 0
call fcn.00404080
add esp, 0xc
push 0x4034f8
push 0
call fcn.00404080
push 0
call fcn.00404075
add esp, 0xc
push 0
call fcn.00404045
add esp, 4
push 0x403504
push 0x403508
push 0x440ba8
call fcn.00404080
add esp, 0xc
push 0
push 0
call fcn.004041e2
push 0
push 0
push 0
call fcn.00404319
add esp, 0x14
push 0
push 0
push 0
push 0
push 0
call fcn.00403a5a
add esp, 0x14
push 0
push 0
push 0
call fcn.00403fb4
add esp, 0xc
push 0
push 0
push 0
push 0
call fcn.00403fdf
push 0
push 0
call fcn.00403d72
fstp st(0)
add esp, 0x18
mov eax, 0x38d6
add dword [0x7f033c], eax
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
xor esi, esi
cmp esi, 0x1c2a7
jge 0x41ab0c
push 0
call ebp
cmp esi, 0x1ea072e7
jle 0x41ab24
cmp edi, 0xacd468
je 0x41ab24
cmp ebx, 0xad1ade0
jne 0x41ab2d
inc esi
cmp esi, 0x8c6fd558
jb 0x41ab00
mov eax, dword [0x7f033c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov edi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov dword [0x7efe20], eax
mov eax, dword [0x7f033c]
mov dword [esp + 0x10], 0x962ae8
cmp eax, 0xd
jne 0x41ac28
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call edi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x85c]
push edx
push 0x403510
call ebp
lea eax, [esp + 0x588]
push eax
call ebx
push 0
push 0x40353c
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x18c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
lea eax, [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCommProperties]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push 0x40356c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x403584
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
lea ecx, [esp + 0x105c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov eax, dword [0x7f033c]
dec dword [esp + 0x10]
jne 0x41ab65
xor ebp, ebp
xor esi, esi
cmp eax, ebp
jbe 0x41ac8f
mov edi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp eax, 0xfe
jne 0x41ac74
xor eax, eax
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x34]
push eax
push 0x40359c
mov dword [esp + 0x24], ebp
call edi
call fcn.0041a710
mov eax, dword [0x7f033c]
cmp eax, 0x29
jne 0x41ac8a
call ebx
mov eax, dword [0x7f033c]
inc esi
cmp esi, eax
jb 0x41ac46
cmp eax, 0x19c
jne 0x41acce
push 0x4035c8
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
push ebp
lea ecx, [esp + 0x18c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x4035d4
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0x403610
push 0x40361c
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
lea esp, [esp]
push ebp
call edi
dec esi
jne 0x41ace0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, 0x25865
cmp dword [0x7f033c], 0x15a
jne 0x41ad11
lea edx, [esp + 0x70]
push edx
call esi
push 0x40362c
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
dec edi
jne 0x41acf1
mov byte [0x440ba8], 0
call fcn.0041a250
call fcn.0041aa00
call fcn.0041a6f0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov ebp, 0xdd7b3
cmp dword [0x7f033c], 0x21
jne 0x41ad6a
call esi
push 0
push 0
lea eax, [esp + 0x1060]
push eax
push 0
call edi
lea ecx, [esp + 0x14]
push ecx
push 0x40363c
push 0
call ebx
dec ebp
jne 0x41ad41
call fcn.0041a9c0
cmp dword [0x7f033c], 0x58c
mov byte [0x440ba9], 0x73
jne 0x41ae40
lea edx, [esp + 0x588]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push ebp
push ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push ebp
lea ecx, [esp + 0x18c]
push ecx
push 0x403660
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_BackupSeek]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
lea edx, [esp + 0x30]
push edx
push 0x403680
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringW]
push ebp
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push 0x4036dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push ebp
push ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push 0x40371c
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
lea ecx, [esp + 0x2c]
push ecx
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
call fcn.0041a700
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x184c
ret