Function at 0x422fa0
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 0x428841
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1a48
call fcn.00421d20
cmp dword [0x7eef80], 0x12
push ebx
push ebp
push esi
push edi
jne 0x423064
push 0
call fcn.00409cfb
add esp, 4
push 0
call fcn.00422754
add esp, 4
lea eax, [esp + 0x70]
push eax
call fcn.004065f0
lea esi, [esp + 0x18]
mov dword [esp + 0x1a64], 0
call fcn.00406e90
sub esp, 0x1c
mov byte [esp + 0x1a80], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0
call fcn.004061a0
mov ecx, esi
call fcn.00406f30
push 0
lea ecx, [esp + 0x2c]
call fcn.004061a0
lea ebx, [esp + 0x28]
mov eax, esi
mov byte [esp + 0x1a64], 2
call fcn.00406eb0
mov ecx, ebx
mov byte [esp + 0x1a64], 1
call fcn.00406230
push 0
call fcn.00409edc
add esp, 4
call fcn.0040a06b
mov eax, 0x38d6
add dword [0x7eef80], 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, 0x1c44b
jge 0x42308a
call ebp
cmp esi, 0x1ea08a43
jle 0x4230a2
cmp edi, 0xacd52a
je 0x4230a2
cmp ebx, 0xb2d3f48
jne 0x4230ab
inc esi
cmp esi, 0x8c6f8742
jb 0x423080
mov ecx, dword [0x7eef80]
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 [0x7eb3f0], eax
mov eax, dword [0x7eef80]
mov dword [esp + 0x10], 0x962d40
cmp eax, 3
jne 0x4230f6
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x7eef80]
cmp eax, 0x3f5
jne 0x4231db
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 0x404688
call ebx
push 0x4046a8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0
lea ecx, [esp + 0xa5c]
push ecx
push 0x404694
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x25c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
push 0x404740
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push 0x404764
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x404780
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 [0x7eef80]
dec dword [esp + 0x10]
jne 0x4230e4
xor esi, esi
test eax, eax
je 0x42320c
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call fcn.00422c40
mov eax, dword [0x7eef80]
cmp eax, 0x29
jne 0x423207
call edi
mov eax, dword [0x7eef80]
inc esi
cmp esi, eax
jb 0x4231f1
cmp eax, 0x19c
jne 0x42326c
push 0x404810
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x404858
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0x4048bc
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0x4048d8
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 0x423277
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 0x25095
mov ebx, 0x92
mov edi, edi
cmp dword [0x7eef80], ebx
jne 0x42329f
lea edx, [esp + 0x70]
push edx
call esi
dec edi
jne 0x423290
mov byte [0x44e288], 0
call fcn.00422780
call fcn.00422f70
call fcn.00422c20
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, 0xf3743
nop
cmp dword [0x7eef80], 0x21
jne 0x4232f4
push 0
call edi
push 0
push 0
lea eax, [esp + 0x1260]
push eax
push 0
call ebx
push 0x404944
call esi
dec ebp
jne 0x4232d0
call fcn.00422db0
cmp dword [0x7eef80], 0xd5c
mov byte [0x44e289], 0x73
jne 0x423399
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 + 0x25c]
push eax
lea ecx, [esp + 0xa60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
push 0x404950
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
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_WaitForDebugEvent]
push ebp
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push ebp
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push 0x40499c
call esi
push ebp
call dword [sym.imp.KERNEL32.dll_RequestWakeupLatency]
push 0x4049d0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
call fcn.00422c30
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