Function at 0x422fe0
Capabilities:
Enumerate gui resources
Get disk information
Get file attributes
Get hostname
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1a48
call fcn.00421d50
cmp dword [0x803ba0], 0x12
push ebx
push ebp
push esi
push edi
jne 0x4230a4
push 0
call fcn.00409d4b
add esp, 4
push 0
call fcn.00422784
add esp, 4
lea eax, [esp + 0x70]
push eax
call fcn.00406670
lea esi, [esp + 0x18]
mov dword [esp + 0x1a64], 0
call fcn.00406f10
sub esp, 0x1c
mov byte [esp + 0x1a80], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0
call fcn.00406220
mov ecx, esi
call fcn.00406fb0
push 0
lea ecx, [esp + 0x2c]
call fcn.00406220
lea ebx, [esp + 0x28]
mov eax, esi
mov byte [esp + 0x1a64], 2
call fcn.00406f30
mov ecx, ebx
mov byte [esp + 0x1a64], 1
call fcn.004062b0
push 0
call fcn.00409f2c
add esp, 4
call fcn.0040a0bb
mov eax, 0x38d6
add dword [0x803ba0], eax
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x54]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
nop
cmp esi, 0x1c423
jge 0x4230ca
call ebp
cmp esi, 0x1ea07e8b
jle 0x4230e2
cmp edi, 0xad234a
je 0x4230e2
cmp ebx, 0x8cae548
jne 0x4230eb
inc esi
cmp esi, 0x8c6ffc72
jb 0x4230c0
mov ecx, dword [0x803ba0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetComputerNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x800010], eax
mov eax, dword [0x803ba0]
mov dword [esp + 0x10], 0x962d40
cmp eax, 3
jne 0x423136
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x803ba0]
cmp eax, 0x3f5
jne 0x42321b
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call esi
push 0
call ebp
xor eax, eax
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push edx
lea eax, [esp + 0x4c]
push eax
push 0x4046a0
call ebx
push 0x4046c0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0
lea ecx, [esp + 0x25c]
push ecx
push 0x4046ac
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0xa5c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
push 0x404758
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push 0x40477c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x404798
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
call edi
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x125c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov eax, dword [0x803ba0]
dec dword [esp + 0x10]
jne 0x423124
xor esi, esi
test eax, eax
je 0x42324c
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call fcn.00422c80
mov eax, dword [0x803ba0]
cmp eax, 0x29
jne 0x423247
call edi
mov eax, dword [0x803ba0]
inc esi
cmp esi, eax
jb 0x423231
cmp eax, 0x19c
jne 0x4232aa
push 0x404828
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x404870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
mov esi, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
call esi
push 0x4048d4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0x4048f0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
push 0
call edi
dec esi
jne 0x4232b5
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 0x25095
mov ebx, 0x92
lea esp, [esp]
cmp dword [0x803ba0], ebx
jne 0x4232df
lea edx, [esp + 0x70]
push edx
call esi
dec edi
jne 0x4232d0
mov byte [0x462ea8], 0
call fcn.004227c0
call fcn.00422fb0
call fcn.00422c60
mov edi, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, 0xf3743
nop
cmp dword [0x803ba0], 0x21
jne 0x423334
push 0
call edi
push 0
push 0
lea eax, [esp + 0x260]
push eax
push 0
call ebx
push 0x40495c
call esi
dec ebp
jne 0x423310
call fcn.00422f50
cmp dword [0x803ba0], 0xd5c
mov byte [0x462ea9], 0x73
jne 0x4233da
lea ecx, [esp + 0x118]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebp
lea eax, [esp + 0x125c]
push eax
lea ecx, [esp + 0xa60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push 0x404968
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push ebp
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push ebp
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0x4049fc
call esi
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
push 0x404a30
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
call fcn.00422c70
mov ecx, dword [esp + 0x1a5c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret