Function at 0x414aa0
Capabilities:
Enumerate gui resources
Get common file path
Get disk information
Get file attributes
Get hostname
Manipulate console buffer
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1454
call fcn.0040eb50
cmp dword [0x7ea214], 0x422
push ebx
push ebp
push esi
push edi
jne 0x414b0b
push 0
push 0
push 0
call fcn.00403a27
add esp, 0xc
push 0x40348c
push 0
call fcn.00403a27
push 0
call fcn.00403a1c
add esp, 0xc
push 0
call fcn.004039ec
add esp, 4
push 0x4034f0
push 0x4034f4
push 0x43aa80
call fcn.00403a27
add esp, 0xc
push 0
push 0
call fcn.00403b89
add esp, 8
mov eax, 0x38d6
add dword [0x7ea214], eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x44]
mov ebp, dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
xor esi, esi
cmp esi, 0x1c2a7
jge 0x414b32
push 0
call ebp
cmp esi, 0x1ea072e7
jle 0x414b4a
cmp edi, 0xacd468
je 0x414b4a
cmp ebx, 0xad1ade0
jne 0x414b53
inc esi
cmp esi, 0x8c6fd558
jb 0x414b26
mov eax, dword [0x7ea214]
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 [0x7e9cf8], eax
mov eax, dword [0x7ea214]
mov dword [esp + 0x14], 0x962ae8
jmp 0x414b90
cmp eax, 0xd
jne 0x414c5b
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call edi
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xc64]
push edx
push 0x4034fc
call ebp
lea eax, [esp + 0x190]
push eax
call ebx
push 0
push 0x403528
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x864]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
lea eax, [esp + 0x38]
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 0x403558
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x403570
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
lea ecx, [esp + 0x464]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
lea edx, [esp + 0x34]
push edx
push 0
push 0x403588
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov eax, dword [0x7ea214]
dec dword [esp + 0x14]
jne 0x414b90
xor ebp, ebp
xor esi, esi
cmp eax, ebp
jbe 0x414cc9
mov edi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea esp, [esp]
cmp eax, 0xfe
jne 0x414cae
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0x4035ac
mov dword [esp + 0x28], ebp
call edi
call fcn.00414780
mov eax, dword [0x7ea214]
cmp eax, 0x29
jne 0x414cc4
call ebx
mov eax, dword [0x7ea214]
inc esi
cmp esi, eax
jb 0x414c80
cmp eax, 0x19c
jne 0x414d08
push 0x4035d8
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push ebp
lea edx, [esp + 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x4035e0
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0x40361c
push 0x403650
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
push ebp
call edi
dec esi
jne 0x414d13
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, 0x25865
cmp dword [0x7ea214], 0x15a
jne 0x414d44
lea eax, [esp + 0x78]
push eax
call esi
push 0x403688
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
dec edi
jne 0x414d24
mov byte [0x43aa80], 0
call fcn.004142c0
call fcn.00414a70
call fcn.00414760
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 [0x7ea214], 0x21
jne 0x414d9d
call esi
push 0
push 0
lea ecx, [esp + 0xc68]
push ecx
push 0
call edi
lea edx, [esp + 0x18]
push edx
push 0x403698
push 0
call ebx
dec ebp
jne 0x414d74
call fcn.00414a30
cmp dword [0x7ea214], 0x58c
mov byte [0x43aa81], 0x73
jne 0x414e73
lea eax, [esp + 0x190]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push ebp
push ebp
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push ebp
lea edx, [esp + 0x464]
push edx
push 0x4036bc
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 eax, [esp + 0x38]
push eax
push 0x403710
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_LoadLibraryA]
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push eax
push eax
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push 0x4036fc
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
lea edx, [esp + 0x30]
push edx
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
call fcn.00414770
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1454
ret