Function at 0x428820
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 0x4290c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1a48
call fcn.004253d0
cmp dword [0x803948], 0x12
push ebx
push ebp
push esi
push edi
jne 0x4288e4
push 0
call fcn.0040a1ce
add esp, 4
push 0
call fcn.00427fd6
add esp, 4
lea eax, [esp + 0x70]
push eax
call fcn.00406680
lea esi, [esp + 0x18]
mov dword [esp + 0x1a64], 0
call fcn.00406f20
sub esp, 0x1c
mov byte [esp + 0x1a80], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0
call fcn.00406230
mov ecx, esi
call fcn.00406fc0
push 0
lea ecx, [esp + 0x2c]
call fcn.00406230
lea ebx, [esp + 0x28]
mov eax, esi
mov byte [esp + 0x1a64], 2
call fcn.00406f40
mov ecx, ebx
mov byte [esp + 0x1a64], 1
call fcn.004062c0
push 0
call fcn.0040a3af
add esp, 4
call fcn.0040a53e
mov eax, 0x38d6
add dword [0x803948], 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 0x42890a
call ebp
cmp esi, 0x1ea07e8b
jle 0x428922
cmp edi, 0xad234a
je 0x428922
cmp ebx, 0x8cae548
jne 0x42892b
inc esi
cmp esi, 0x8c6ffc72
jb 0x428900
mov ecx, dword [0x803948]
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 [0x7ffdb8], eax
mov eax, dword [0x803948]
mov dword [esp + 0x10], 0x962d40
cmp eax, 3
jne 0x428976
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x803948]
cmp eax, 0x3f5
jne 0x428a5b
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 0x4046ec
call ebx
push 0x4046f8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0
lea ecx, [esp + 0x25c]
push ecx
push 0x404790
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 0x4047a0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push 0x4047c4
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x4047f8
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 [0x803948]
dec dword [esp + 0x10]
jne 0x428964
xor esi, esi
test eax, eax
je 0x428a8c
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call fcn.004284d0
mov eax, dword [0x803948]
cmp eax, 0x29
jne 0x428a87
call edi
mov eax, dword [0x803948]
inc esi
cmp esi, eax
jb 0x428a71
cmp eax, 0x19c
jne 0x428aea
push 0x404888
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x4048d0
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 0x4047dc
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0x404938
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 0x428af5
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 0x25095
mov ebx, 0x92
lea esp, [esp]
cmp dword [0x803948], ebx
jne 0x428b1f
lea edx, [esp + 0x70]
push edx
call esi
dec edi
jne 0x428b10
mov byte [0x462c50], 0
call fcn.00428010
call fcn.004287f0
call fcn.004284b0
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, 0xf3743
mov ebp, 0x21
mov edi, edi
cmp dword [0x803948], ebp
jne 0x428b6f
push 0
push 0
lea eax, [esp + 0x260]
push eax
push 0
call edi
push 0x4049a4
call esi
dec ebx
jne 0x428b50
call fcn.00428790
cmp dword [0x803948], 0xd5c
mov byte [0x462c51], 0x73
jne 0x428c15
lea ecx, [esp + 0x118]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
lea eax, [esp + 0x125c]
push eax
lea ecx, [esp + 0xa60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push 0x4049b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push ebx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0x404a44
call esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
push 0x404a78
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
call fcn.004284c0
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