Function at 0x414af0
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, 0x1194
call fcn.0040eb70
cmp dword [0x7f8834], 0x422
push ebx
push ebp
push esi
push edi
jne 0x414b5b
push 0
push 0
push 0
call fcn.00403a4b
add esp, 0xc
push 0x403530
push 0
call fcn.00403a4b
push 0
call fcn.00403a40
add esp, 0xc
push 0
call fcn.00403a10
add esp, 4
push 0x40353c
push 0x403540
push 0x4490a0
call fcn.00403a4b
add esp, 0xc
push 0
push 0
call fcn.00403bad
add esp, 8
mov eax, 0x38d6
add dword [0x7f8834], eax
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
xor esi, esi
cmp esi, 0x1c2a7
jge 0x414b82
push 0
call ebp
cmp esi, 0x1ea072e7
jle 0x414b9a
cmp edi, 0xacd468
je 0x414b9a
cmp ebx, 0xad1ade0
jne 0x414ba3
inc esi
cmp esi, 0x8c6fd558
jb 0x414b76
mov eax, dword [0x7f8834]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov edi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
mov dword [0x7f8318], eax
mov eax, dword [0x7f8834]
mov dword [esp + 0x10], 0x962ae8
jmp 0x414be0
cmp eax, 0xd
jne 0x414ca4
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x9a4]
push edx
push 0x403548
call edi
lea eax, [esp + 0x20]
push eax
call ebp
push 0
push 0x403574
call ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1a4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
lea eax, [esp + 0x48]
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 0x4035a4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x4035bc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
lea ecx, [esp + 0x5a4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0x4035d4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov eax, dword [0x7f8834]
dec dword [esp + 0x10]
jne 0x414be0
xor esi, esi
test eax, eax
je 0x414ced
mov edi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp eax, 0xfe
jne 0x414cd2
push 0
lea eax, [esp + 0x24]
push eax
push 0
call edi
call fcn.004147b0
mov eax, dword [0x7f8834]
cmp eax, 0x29
jne 0x414ce8
call ebx
mov eax, dword [0x7f8834]
inc esi
cmp esi, eax
jb 0x414cc0
cmp eax, 0x19c
jne 0x414d30
push 0x4035f8
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push 0
lea ecx, [esp + 0x5a4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x403600
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0x40363c
push 0x403670
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
jmp 0x414d40
push 0
call edi
dec esi
jne 0x414d40
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, 0x25865
mov ebx, 0x15a
cmp dword [0x7f8834], ebx
jne 0x414d78
lea edx, [esp + 0x88]
push edx
call esi
push 0x4036a8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
dec edi
jne 0x414d57
mov byte [0x4490a0], 0
call fcn.004142f0
call fcn.00414ac0
call fcn.00414790
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
jmp 0x414db0
cmp dword [0x7f8834], 0x21
jne 0x414dd9
call esi
push 0
push 0
lea eax, [esp + 0x9a8]
push eax
push 0
call edi
lea ecx, [esp + 0x14]
push ecx
push 0x4036b8
push 0
call ebx
dec ebp
jne 0x414db0
call fcn.00414920
cmp dword [0x7f8834], 0x58c
mov byte [0x4490a1], 0x73
jne 0x414ea3
lea edx, [esp + 0x1a0]
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]
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
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 ecx, [esp + 0x48]
push ecx
push 0x4036f0
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringW]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push 0x40374c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor eax, eax
lea edx, [esp + 0x20]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push 0x4036dc
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
call fcn.004147a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1194
ret