Function at 0x4235b0
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 0x428e41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1248
call fcn.004224f0
cmp dword [0x803ba0], 0x12
push ebx
push ebp
push esi
push edi
jne 0x423674
push 0
call fcn.00409f8e
add esp, 4
push 0
call fcn.00422d64
add esp, 4
lea eax, [esp + 0x70]
push eax
call fcn.00406610
lea esi, [esp + 0x18]
mov dword [esp + 0x1264], 0
call fcn.00406eb0
sub esp, 0x1c
mov byte [esp + 0x1280], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0
call fcn.004061c0
mov ecx, esi
call fcn.00406f50
push 0
lea ecx, [esp + 0x30]
call fcn.004061c0
lea ebx, [esp + 0x2c]
mov eax, esi
mov byte [esp + 0x1264], 2
call fcn.00406ed0
mov ecx, ebx
mov byte [esp + 0x1264], 1
call fcn.00406250
push 0
call fcn.0040a16f
add esp, 4
call fcn.0040a2fe
mov eax, 0x38d6
add dword [0x803ba0], 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 0x42369a
call ebp
cmp esi, 0x1ea07e8b
jle 0x4236b2
cmp edi, 0xad234a
je 0x4236b2
cmp ebx, 0x8cae548
jne 0x4236bb
inc esi
cmp esi, 0x8c6ffc72
jb 0x423690
mov ecx, dword [0x803ba0]
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_BuildCommDCBAndTimeoutsW]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x800010], eax
mov eax, dword [0x803ba0]
mov dword [esp + 0x10], 0x962d40
cmp eax, 3
jne 0x423706
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [0x803ba0]
cmp eax, 0x3f5
jne 0x4237d4
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 + 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 ebx
push 0x4046e0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0
lea edx, [esp + 0x25c]
push edx
push 0x4046ac
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xa5c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
push 0x4046bc
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push 0x404778
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x404790
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
call edi
xor eax, eax
lea edx, [esp + 0x18]
push edx
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]
mov eax, dword [0x803ba0]
dec dword [esp + 0x10]
jne 0x4236f4
xor esi, esi
test eax, eax
je 0x42380b
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea ebx, [ebx]
call fcn.00423260
mov eax, dword [0x803ba0]
cmp eax, 0x29
jne 0x423806
call edi
mov eax, dword [0x803ba0]
inc esi
cmp esi, eax
jb 0x4237f0
cmp eax, 0x19c
jne 0x423869
push 0x404820
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea eax, [esp + 0x10]
push eax
push 0
push 0x404860
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 0x404844
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
push 0x4048c8
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 0x423874
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 0x25095
mov ebx, 0x92
jmp 0x423890
cmp dword [0x803ba0], ebx
jne 0x42389f
lea ecx, [esp + 0x70]
push ecx
call esi
dec edi
jne 0x423890
mov byte [0x462ea8], 0
call fcn.00422da0
call fcn.00423580
call fcn.00423240
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, 0xf3743
mov ebp, 0x21
mov edi, edi
cmp dword [0x803ba0], ebp
jne 0x4238ef
push 0
push 0
lea edx, [esp + 0x260]
push edx
push 0
call esi
push 0x404934
call edi
dec ebx
jne 0x4238d0
call fcn.00423520
cmp dword [0x803ba0], 0xd5c
mov byte [0x462ea9], 0x73
jne 0x42399a
lea eax, [esp + 0x118]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
lea edx, [esp + 0xa5c]
push edx
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
push 0x404940
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
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 0x4049d4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
push 0x4049f0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
call fcn.00423250
mov ecx, dword [esp + 0x125c]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret