Function at 0x414ee0
Capabilities:
Enumerate gui resources
Get common file path
Get disk information
Get file attributes
Get hostname
Manipulate console buffer
Read .ini file

Disassembly:
mov eax, 0x1e5c
call fcn.0040ef10
cmp dword [0x80c93c], 0x422
push ebx
push ebp
push esi
push edi
jne 0x414f3f
push 0
push 0
push 0
call fcn.00403e20
add esp, 0xc
push 0x4035e4
push 0
call fcn.00403e20
push 0
call fcn.00414686
add esp, 0xc
push 0x40364c
push 0x403768
push 0x45d1a8
call fcn.00403e20
add esp, 0xc
push 0
call fcn.00403de6
add esp, 4
mov eax, 0x38d6
add dword [0x80c93c], eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1c2a7
jge 0x414f6c
push 0
call ebp
cmp esi, 0x1ea072e7
jle 0x414f84
cmp edi, 0xacd468
je 0x414f84
cmp ebx, 0xad1ade0
jne 0x414f8d
inc esi
cmp esi, 0x8c6fd558
jb 0x414f60
mov eax, dword [0x80c93c]
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_WaitNamedPipeA]
mov dword [0x80c420], eax
mov eax, dword [0x80c93c]
mov dword [esp + 0x14], 0x962ae8
cmp eax, 0xd
jne 0x41509e
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xe6c]
push edx
push 0x4036e4
call edi
lea eax, [esp + 0x28]
push eax
call ebp
push 0
push 0x403770
call ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x66c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x26c]
push ecx
push 0
push 0x403784
push 0x4037b0
push 0x4037d4
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push 0x403850
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0x4037fc
push 0
lea edx, [esp + 0x1670]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x403908
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov eax, dword [0x80c93c]
dec dword [esp + 0x14]
jne 0x414fc5
xor esi, esi
test eax, eax
je 0x4150ed
mov edi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea ebx, [ebx]
cmp eax, 0xfe
jne 0x4150d2
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
call edi
call fcn.00414b80
mov eax, dword [0x80c93c]
cmp eax, 0x29
jne 0x4150e8
call ebx
mov eax, dword [0x80c93c]
inc esi
cmp esi, eax
jb 0x4150c0
mov ebx, dword [sym.imp.KERNEL32.dll_AddAtomA]
cmp eax, 0x19c
jne 0x415132
push 0x403988
call ebx
push 0
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x403824
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0x403894
push 0x4039dc
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov edi, dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, 0x8dc
lea ecx, [ecx]
push 0
push 0
call edi
dec esi
jne 0x415140
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 0x25865
cmp dword [0x80c93c], 0x15a
jne 0x41516e
push 0
call ebx
lea eax, [esp + 0x90]
push eax
call esi
dec edi
jne 0x415154
mov byte [0x45d1a8], 0
call fcn.004146c0
call fcn.00414eb0
call fcn.00414b60
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov ebp, 0xdd7b3
mov edi, edi
cmp dword [0x80c93c], 0x21
jne 0x4151c9
call esi
push 0
push 0
lea ecx, [esp + 0x1670]
push ecx
push 0
call edi
lea edx, [esp + 0x18]
push edx
push 0x4038d4
push 0
call ebx
dec ebp
jne 0x4151a0
call fcn.00414cf0
cmp dword [0x80c93c], 0x58c
mov byte [0x45d1a9], 0x73
jne 0x415293
lea eax, [esp + 0x128]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push ebp
push ebp
lea ecx, [esp + 0x20]
push ecx
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_EnumResourceTypesW]
lea edx, [esp + 0x50]
push edx
push 0x4039f8
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringA]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push 0x403a5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x28]
push eax
push ebp
push ebp
push ebp
push ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push 0x403a7c
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
lea ecx, [esp + 0x20]
push ecx
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
call fcn.00414b70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1e5c
ret