Function at 0x423090
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 0x4289f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0x1a70
call fcn.00421de0
cmp dword [0x7eee78], 0x12
push ebx
push ebp
push esi
push edi
jne 0x4231a6
push 0
call fcn.00409dcb
add esp, 4
push 0
call fcn.00422814
add esp, 4
lea eax, [esp + 0x98]
push eax
call fcn.004066b0
lea esi, [esp + 0x38]
mov dword [esp + 0x1abc], 0
call fcn.00406f50
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0
mov byte [esp + 0x1adc], 1
call fcn.00406260
mov ecx, esi
call fcn.00406ff0
push 0
lea ecx, [esp + 0x50]
call fcn.00406260
lea ebx, [esp + 0x4c]
mov eax, esi
mov byte [esp + 0x1abc], 2
call fcn.00406f70
mov ecx, ebx
call fcn.004062f0
push 0
call fcn.00409fac
fld qword [0x404ca8]
push ecx
fstp qword [esp]
push 0x404614
call fcn.00409fc3
add esp, 0xc
push 0
push 0
call fcn.00409d8b
push 0
push 0
call fcn.0040a13b
push 0
push 0
push 0
call fcn.0040a272
add esp, 0x1c
push 0
call fcn.004099b6
add esp, 4
call fcn.00406fe0
lea eax, [esp + 0x98]
mov dword [esp + 0x1abc], 0xffffffff
call fcn.00406240
mov eax, 0x38d6
add dword [0x7eee78], 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 0x4231cb
call ebp
cmp esi, 0x1ea08a43
jle 0x4231e3
cmp edi, 0xacd52a
je 0x4231e3
cmp ebx, 0xb2d3f48
jne 0x4231ec
inc esi
cmp esi, 0x8c6f8742
jb 0x4231c1
mov ecx, dword [0x7eee78]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStringTypeA]
mov dword [0x7eb2e8], eax
mov eax, dword [0x7eee78]
mov dword [esp + 0x28], 0x962d40
cmp eax, 3
jne 0x423237
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [0x7eee78]
cmp eax, 0x3f5
jne 0x423365
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
xor eax, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
push edx
lea eax, [esp + 0x74]
push eax
push 0x40461c
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0x404630
call edi
push 0
lea ecx, [esp + 0x684]
push ecx
push 0x404680
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x284]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
push 0x40469c
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push 0x4046b0
call edi
push 0x404768
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea ecx, [esp + 0x30]
push ecx
push 0
push 0x4047b8
push 0
push 0
call ebx
lea edx, [esp + 0x2c]
push edx
push 0
push 0x404808
push 0
push 0
call ebx
push 0
call ebp
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0xa84]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
lea eax, [esp + 0x1284]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupSeek]
mov eax, dword [0x7eee78]
dec dword [esp + 0x28]
jne 0x423225
xor esi, esi
test eax, eax
je 0x42339b
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x423380
call fcn.00422d00
mov eax, dword [0x7eee78]
cmp eax, 0x29
jne 0x423396
call edi
mov eax, dword [0x7eee78]
inc esi
cmp esi, eax
jb 0x423380
cmp eax, 0x19c
jne 0x4233f9
push 0x404858
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea edx, [esp + 0x2c]
push edx
push 0
push 0x4048c0
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 0x40483c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0x404928
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 0x423404
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, 0x25095
lea esp, [esp]
cmp dword [0x7eee78], 0x92
jne 0x423441
lea eax, [esp + 0x98]
push eax
call esi
push 0x4049e0
push 0
push 0
call ebp
dec edi
jne 0x423420
mov byte [0x44e180], 0
call fcn.00422840
call fcn.00423060
call fcn.00422ce0
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 dword [esp + 0x28], 0xdd7b3
cmp dword [0x7eee78], 0x21
jne 0x423498
push 0
call edi
push 0
push 0
lea ecx, [esp + 0x1288]
push ecx
push 0
call ebx
push 0x404a00
call esi
dec dword [esp + 0x28]
jne 0x423474
call fcn.00423000
cmp dword [0x7eee78], 0xd5c
mov byte [0x44e181], 0x73
jne 0x42354c
lea edx, [esp + 0x140]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
lea ecx, [esp + 0x284]
push ecx
lea edx, [esp + 0x688]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x404a08
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0x404a80
call esi
push 0
call dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
push 0x404ac8
push 0
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
call fcn.00422cf0
mov ecx, dword [esp + 0x1ab4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret