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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4289c1
push eax
mov dword fs:[0], esp
sub esp, 0xa4c
cmp dword [0x7ef160], 0x12
push ebx
push ebp
push esi
push edi
jne 0x4233cf
push 0
call fcn.00409d1e
add esp, 4
push 0
call fcn.00422aea
add esp, 4
lea eax, [esp + 0x70]
push eax
call fcn.004063a0
lea esi, [esp + 0x18]
mov dword [esp + 0xa64], 0
call fcn.00406c40
sub esp, 0x1c
mov byte [esp + 0xa80], 1
mov ecx, esp
mov dword [esp + 0x30], esp
push 0
call fcn.00405f40
mov ecx, esi
call fcn.00406ce0
push 0
lea ecx, [esp + 0x30]
call fcn.00405f40
lea ebx, [esp + 0x2c]
mov eax, esi
mov byte [esp + 0xa64], 2
call fcn.00406c60
mov ecx, ebx
mov byte [esp + 0xa64], 1
call fcn.00405fd0
push 0
call fcn.00409eff
add esp, 4
call fcn.0040a08e
mov eax, 0x38d6
add dword [0x7ef160], eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x54]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x1c423
jge 0x4233fa
call ebp
cmp esi, 0x1ea07e8b
jle 0x423412
cmp edi, 0xad234a
je 0x423412
cmp ebx, 0x8cae548
jne 0x42341b
inc esi
cmp esi, 0x8c6ffc72
jb 0x4233f0
mov ecx, dword [0x7ef160]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetComputerNameW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x7eb5d0], eax
mov eax, dword [0x7ef160]
mov dword [esp + 0x14], 0x963510
cmp eax, 3
jne 0x423466
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x7ef160]
cmp eax, 0xbc5
jne 0x423525
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 + 0x2c]
push edx
lea ecx, [esp + 0x4c]
push ecx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0x4045f0
call edi
push 0
lea edx, [esp + 0x25c]
push edx
push 0x4045cc
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
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 0x40469c
call edi
push 0x4046b8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
call ebp
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
mov eax, dword [0x7ef160]
dec dword [esp + 0x14]
jne 0x423454
xor esi, esi
test eax, eax
je 0x42355b
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x423540
call fcn.00422fe0
mov eax, dword [0x7ef160]
cmp eax, 0x29
jne 0x423556
call edi
mov eax, dword [0x7ef160]
inc esi
cmp esi, eax
jb 0x423540
cmp eax, 0x19c
jne 0x4235b9
push 0x4046e8
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x4046f8
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_Process32FirstW]
push 0
call esi
push 0x40474c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0x404758
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov edi, dword [sym.imp.USER32.dll_GetMenuBarInfo]
mov esi, 0x8dc
push 0
push 0
push 0
push 0
call edi
dec esi
jne 0x4235c4
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov edi, 0x25095
mov ebx, 0x92
cmp dword [0x7ef160], ebx
jne 0x4235f2
push 0x40476c
push 0
call esi
dec edi
jne 0x4235e1
mov byte [0x44e468], 0
call fcn.00422b20
call fcn.004232e0
call fcn.00422fc0
mov esi, dword [sym.imp.USER32.dll_DefDlgProcA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, 0xf3743
cmp dword [0x7ef160], 0x21
jne 0x42364c
push 0
push 0
push 0
push 0
call esi
push 0
push 0
lea edx, [esp + 0x260]
push edx
push 0
call edi
push 0x404788
call ebx
dec ebp
jne 0x423622
call fcn.00423280
cmp dword [0x7ef160], 0xd5c
mov byte [0x44e469], 0x73
jne 0x4236e3
lea eax, [esp + 0x118]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebp
lea edx, [esp + 0x25c]
push edx
push 0x404790
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x4047d8
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]
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 0x4047c4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
call fcn.00422fd0
mov ecx, dword [esp + 0xa5c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret