Function at 0x414b40
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, 0x1254
call fcn.0040eba0
cmp dword [0x7f89fc], 0x422
push ebx
push ebp
push esi
push edi
jne 0x414ba9
push 0
push 0
push 0
call fcn.00403aa5
add esp, 0xc
push 0x403530
push 0
call fcn.00403aa5
push 0
call fcn.00403a9a
add esp, 0xc
push 0
call fcn.00403a6a
add esp, 4
push 0x40353c
push 0x403540
push 0x449268
call fcn.00403aa5
add esp, 0xc
push 0
call fcn.00403a30
add esp, 4
mov eax, 0x38d6
add dword [0x7f89fc], 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 0x414bd0
push 0
call ebp
cmp esi, 0x1ea072e7
jle 0x414be8
cmp edi, 0xacd468
je 0x414be8
cmp ebx, 0xad1ade0
jne 0x414bf1
inc esi
cmp esi, 0x8c6fd558
jb 0x414bc4
mov eax, dword [0x7f89fc]
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 [0x7f84e0], eax
mov eax, dword [0x7f89fc]
mov dword [esp + 0x10], 0x962ae8
lea esp, [esp]
cmp eax, 0xd
jne 0x414cf1
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 + 0xa64]
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 + 0x664]
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 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
lea ecx, [esp + 0x264]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0x4035bc
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov eax, dword [0x7f89fc]
dec dword [esp + 0x10]
jne 0x414c30
xor esi, esi
test eax, eax
je 0x414d3d
mov edi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea ecx, [ecx]
cmp eax, 0xfe
jne 0x414d22
push 0
lea eax, [esp + 0x24]
push eax
push 0
call edi
call fcn.004147e0
mov eax, dword [0x7f89fc]
cmp eax, 0x29
jne 0x414d38
call ebx
mov eax, dword [0x7f89fc]
inc esi
cmp esi, eax
jb 0x414d10
mov ebx, dword [sym.imp.KERNEL32.dll_AddAtomA]
cmp eax, 0x19c
jne 0x414d82
push 0x4035e0
call ebx
push 0
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x403634
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0x403660
push 0x403694
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
lea ecx, [ecx]
push 0
call edi
dec esi
jne 0x414d90
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 0x25865
mov ebp, 0x15a
cmp dword [0x7f89fc], ebp
jne 0x414dbd
push 0
call ebx
lea edx, [esp + 0x88]
push edx
call esi
dec edi
jne 0x414da7
mov byte [0x449268], 0
call fcn.00414320
call fcn.00414b10
call fcn.004147c0
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
lea ecx, [ecx]
cmp dword [0x7f89fc], 0x21
jne 0x414e19
call esi
push 0
push 0
lea eax, [esp + 0xa68]
push eax
push 0
call edi
lea ecx, [esp + 0x14]
push ecx
push 0x4036cc
push 0
call ebx
dec ebp
jne 0x414df0
call fcn.00414950
cmp dword [0x7f89fc], 0x58c
mov byte [0x449269], 0x73
jne 0x414ee3
lea edx, [esp + 0x120]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
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_EnumResourceTypesW]
lea ecx, [esp + 0x48]
push ecx
push 0x403700
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 0x40375c
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 0x40377c
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.004147d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1254
ret