Function at 0x423020
Capabilities:
Check mutex on windows
Enumerate gui resources
Get disk information
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428771
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x17f8
call fcn.00422040
cmp dword [0x7e9b38], 0x12
push ebx
push ebp
push esi
push edi
jne 0x4230f3
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_FindExecutableA]
push 0
call fcn.0040a15e
add esp, 4
push 0
call fcn.0042280a
add esp, 4
lea eax, [esp + 0x90]
push eax
call fcn.004065b0
lea esi, [esp + 0x40]
mov dword [esp + 0x1814], 0
call fcn.00406e70
sub esp, 0x1c
mov byte [esp + 0x1830], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push 0
call fcn.00406120
mov ecx, esi
call fcn.00406f10
push 0
lea ecx, [esp + 0x28]
call fcn.00406120
lea ebx, [esp + 0x24]
mov eax, esi
mov byte [esp + 0x1814], 2
call fcn.00406e90
mov ecx, ebx
mov byte [esp + 0x1814], 1
call fcn.004061b0
push 0
call fcn.0040a33f
add esp, 4
call fcn.0040a4c3
mov eax, 0x38d6
add dword [0x7e9b38], eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x74]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov edi, edi
cmp esi, 0x1c423
jge 0x423120
call ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x1ea07e8b
jle 0x423138
cmp edi, 0xad234a
je 0x423138
cmp ebx, 0x8cae548
jne 0x423141
inc esi
cmp esi, 0x8c6ffc72
jb 0x423110
mov ecx, dword [0x7e9b38]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x7e5fa8], eax
mov eax, dword [0x7e9b38]
mov dword [esp + 0x14], 0x963510
lea ebx, [ebx]
cmp eax, 3
jne 0x423192
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x7e9b38]
cmp eax, 0xbc5
jne 0x4232eb
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call esi
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x4c]
push edx
push 0
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
push 0
lea ecx, [esp + 0x100c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea edx, [esp + 0xc0c]
push edx
push 0x404588
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalFix]
push 0
lea eax, [esp + 0x80c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x6c]
push edx
push eax
mov dword [esp + 0x30], eax
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_BuildCommDCBAndTimeoutsW]
push 0x4045f0
call edi
push 0
lea eax, [esp + 0x40c]
push eax
push 0x40467c
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0x404688
call ebp
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push 0x4046a8
call edi
push 0x4046e8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
call ebp
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
mov eax, dword [0x7e9b38]
dec dword [esp + 0x14]
jne 0x423180
xor esi, esi
test eax, eax
je 0x42331c
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call fcn.00422d00
mov eax, dword [0x7e9b38]
cmp eax, 0x29
jne 0x423317
call edi
mov eax, dword [0x7e9b38]
inc esi
cmp esi, eax
jb 0x423301
cmp eax, 0x19c
jne 0x42337c
push 0x404708
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea edx, [esp + 0x14]
push edx
push 0
push 0x404720
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0x404778
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
push 0x404798
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edi, dword [sym.imp.USER32.dll_GetMenuBarInfo]
mov esi, 0x8dc
push 0
push 0
push 0
push 0
call edi
dec esi
jne 0x423387
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov edi, 0x25095
mov ebx, 0x92
cmp dword [0x7e9b38], ebx
jne 0x4233b5
push 0x4047ac
push 0
call esi
dec edi
jne 0x4233a4
mov byte [0x448e40], 0
call fcn.00422840
call fcn.00422ff0
call fcn.00422ce0
mov edi, dword [sym.imp.USER32.dll_DefDlgProcA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebp, 0xf3743
cmp dword [0x7e9b38], 0x21
jne 0x42340f
push 0
push 0
push 0
push 0
call edi
push 0
push 0
lea eax, [esp + 0x410]
push eax
push 0
call ebx
push 0x4047c8
call esi
dec ebp
jne 0x4233e5
call fcn.00422f90
cmp dword [0x7e9b38], 0xd5c
mov byte [0x448e41], 0x73
jne 0x423493
lea ecx, [esp + 0x138]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebp
lea eax, [esp + 0x100c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push 0x4047e4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push ebp
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push 0x4047f8
call esi
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
call fcn.00422cf0
mov ecx, dword [esp + 0x180c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret