Function at 0x4e0da0
Capabilities:
Query environment variable
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x264]
sub esp, 0x264
push 0xffffffffffffffff
push 0x59da4d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x634384]
xor eax, ebp
mov dword [ebp + 0x260], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp + 0x44]
push eax
push 0x20019
push 0
push 0x5b95a8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4e0e41
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push str.PagingFiles
push dword [ebp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4e0e3c
cmp dword [ebp - 0x1c], eax
je 0x4e0e3c
push dword [ebp + 0x44]
call ebx
push esi
push 0x4e08d0
call sub.PSAPI.DLL_EnumPageFilesW
jmp 0x4e0e41
push dword [ebp + 0x44]
call ebx
push str._csc__
mov ecx, esi
call fcn.004e2600
push str._lanmanredirector__
mov ecx, esi
call fcn.004e2600
push str._mailslotredirector__
mov ecx, esi
call fcn.004e2600
push str._webdavredirector__
mov ecx, esi
call fcn.004e2600
push str.__pipe_
mov ecx, esi
call fcn.004e2600
push str.systemroot
call fcn.00561e2f
push str.windir
mov ebx, eax
call fcn.00561e2f
add esp, 8
mov ecx, esi
mov edi, eax
push 0
push str.system32GroupPolicy_registry.pol
push ebx
call fcn.004e23e0
push 0
push str.system32WBEMLogswbemcore.log
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.SoftwareDistributionDatastoreDatastore.edb
push edi
mov ecx, esi
call fcn.004e23e0
push 0
push str.SoftwareDistributionDatastoreLogsEdb.log
push edi
mov ecx, esi
call fcn.004e23e0
cmp byte [esi + 0x19], 0
mov ecx, esi
push 0
je 0x4e0ef2
push str.SoftwareDistributionDatastoreLogsEdbres00001.jrs
push edi
call fcn.004e23e0
push 0
push str.SoftwareDistributionDatastoreLogsEdbres00002.jrs
jmp 0x4e0f04
push str.SoftwareDistributionDatastoreLogsRes1.log
push edi
call fcn.004e23e0
push 0
push str.SoftwareDistributionDatastoreLogsRes2.log
push edi
mov ecx, esi
call fcn.004e23e0
push 0
push str.SoftwareDistributionDatastoreLogsEdb.chk
push edi
mov ecx, esi
call fcn.004e23e0
push 0
push str.SoftwareDistributionDatastoreLogsTmp.edb
push edi
mov ecx, esi
call fcn.004e23e0
cmp byte [ebp + 0x26c], 0
je 0x4e0f51
push 0
push str.prefetch.db
push edi
mov ecx, esi
call fcn.004e23e0
push 0
push str.prefetch.pf
push edi
mov ecx, esi
call fcn.004e23e0
push 0
push str.SecurityDatabase.edb
push edi
mov ecx, esi
call fcn.004e23e0
push 0
push str.SecurityDatabase.sdb
push edi
mov ecx, esi
call fcn.004e23e0
push 0
push str.SecurityDatabase.log
push edi
mov ecx, esi
call fcn.004e23e0
push 0
push str.SecurityDatabase.chk
push edi
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5b9d88
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackDEFAULT.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackDEFAULT
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5b9e60
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackSAM.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackSAM
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5b9f20
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackSECURITY.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackSECURITY
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba008
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackSOFTWARE.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackSOFTWARE
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba0ec
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackSYSTEM.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configRegBackSYSTEM
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba1c0
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configBCD_TEMPLATE.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configBCD_TEMPLATE
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba28c
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configcomponents.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configcomponents
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba348
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configDEFAULT.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configDEFAULT
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba3ec
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configSAM.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configSAM
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba478
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configSECURITY.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configSECURITY
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba524
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configSOFTWARE.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configSOFTWARE
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba5d0
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configSYSTEM.LOG
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configSYSTEM
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push 0x5ba670
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32catroot2edb.chk
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32catroot2edb.log
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32catroot2edbres.jrs
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32catroot2_tmp.edb
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32catroot2catdb
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32catroot.cat
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32configTxR.regtrans_ms
push ebx
mov ecx, esi
call fcn.004e23e0
cmp byte [esi + 0x1a], 0
je 0x4e1834
xor eax, eax
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x5b3ea4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push 0x80000002
push str.SystemCurrentControlSetServicesNTDSParameters
push eax
call fcn.004e29f0
add esp, 0xc
mov byte [ebp - 0xd], al
test al, al
je 0x4e129d
push 0
push str.DSA_Database_File
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004e2a90
add esp, 0x10
push 0
push str.Ntds.dit
push str._ntds
push edi
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call fcn.004e2250
push 0
push str.Ntds.pat
push str._ntds
push edi
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call fcn.004e2250
cmp byte [ebp - 0xd], 0
je 0x4e12ea
push 0
push str.Database_Log_Files_Path
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004e2a90
add esp, 0x10
push 0
push str.EDB.log
push str._ntds
push edi
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call fcn.004e2250
cmp byte [esi + 0x19], 0
lea eax, [ebp + 0x48]
push 0
mov ecx, esi
je 0x4e1329
push str.Edbres00001.jrs
push str._ntds
push edi
push eax
call fcn.004e2250
push 0
push str.Edbres00002.jrs
jmp 0x4e1341
push str.Res2.log
push str._ntds
push edi
push eax
call fcn.004e2250
push 0
push str.Res2.log
push str._ntds
push edi
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call fcn.004e2250
cmp byte [esi + 0x18], 0
jne 0x4e1370
push 0
push str.Ntds.pat
push str._ntds
push edi
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call fcn.004e2250
cmp byte [ebp - 0xd], 0
je 0x4e138d
push 0
push str.DSA_Working_Directory
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004e2a90
add esp, 0x10
push 0
push str.Temp.edb
push str._ntds
push edi
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call fcn.004e2250
push 0
push str.Edb.chk
push str._ntds
push edi
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call fcn.004e2250
push 0x80000002
lea eax, [ebp - 0x18]
push str.SystemCurrentControlSetServicesNtFrsParameters
push eax
call fcn.004e29f0
add esp, 0xc
mov byte [ebp - 0xd], al
test al, al
je 0x4e13f1
push 0
push str.Working_Directory
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004e2a90
add esp, 0x10
cmp dword [ebp + 0x58], 0
je 0x4e1445
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.FRS_Working_Dirjet_sysedb.chk
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.FRS_Working_Dirjet_ntfrs.jdb
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.FRS_Working_Dirjetlog.log
push eax
call fcn.004e23e0
cmp byte [ebp - 0xd], 0
je 0x4e1462
push 0
push str.DB_Log_File_Directory
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004e2a90
add esp, 0x10
cmp dword [ebp + 0x58], 0
lea eax, [ebp + 0x48]
push 0
mov ecx, esi
jne 0x4e149a
push str.FRS_Working_Dirjetlog.log
push str._ntfrs
push edi
push eax
call fcn.004e2250
push 0
push str.FRS_Working_Dirjetlog.jrs
push str._ntfrs
push edi
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call fcn.004e2250
jmp 0x4e14c7
cmp dword [ebp + 0x5c], 8
push str.DB_Log_File_Directorylog.log
cmovae eax, dword [ebp + 0x48]
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.DB_Log_File_Directorylog.jrs
push eax
call fcn.004e23e0
push 0x80000002
lea eax, [ebp - 0x18]
push str.systemcurrentcontrolset_servicesNtFrsParametersReplica_Sets
push eax
call fcn.004e29f0
add esp, 0xc
test al, al
je 0x4e160a
xor edi, edi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x100
push eax
lea eax, [ebp + 0x60]
push eax
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4e160a
mov eax, dword [ebp - 0x1c]
cmp eax, 0x100
jae 0x4e1530
add eax, eax
cmp eax, 0x200
jae 0x4e1c35
xor ecx, ecx
mov word [ebp + eax + 0x60], cx
jmp 0x4e1539
xor eax, eax
mov word [ebp + 0x25e], ax
mov dword [ebp + 0x40], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
mov dword [ebp + 0x44], 0
mov byte [ebp - 4], 3
mov dword [ebp + 0x40], 0x5b3ea4
mov byte [ebp - 4], 4
lea eax, [ebp + 0x60]
push dword [ebp - 0x14]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.004e29f0
add esp, 0xc
test al, al
jne 0x4e156f
jmp 0x4e15dd
push 0
push str.Replica_Set_Stage
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004e2a90
add esp, 0x10
cmp dword [ebp + 0x58], 0
je 0x4e15a6
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push 0x5eacd0
push eax
call fcn.004e23e0
push 0
push str.Replica_Set_Root
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004e2a90
add esp, 0x10
cmp dword [ebp + 0x58], 0
je 0x4e15dd
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push 0x5eacd0
push eax
call fcn.004e23e0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x40], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
test eax, eax
je 0x4e15f6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
mov dword [ebp + 0x44], 0
cmp edi, 0x7fffffff
jb 0x4e14e7
push 0
push str.sysvol
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.sysvoldomainDO_NOT_REMOVE_NtFrs_PreInstall_Directory
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.sysvol_staging
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.sysvol_staging_area
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.sysvol_sysvol
push ebx
mov ecx, esi
call fcn.004e23e0
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
mov byte [ebp - 4], 7
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], 7
mov word [ebp + 0x18], ax
mov byte [ebp - 4], 8
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x18]
push 0x80000002
push str.SystemCurrentControlSet_servicesDHCPServerParameters
push eax
call fcn.004e29f0
add esp, 0xc
test al, al
je 0x4e1704
push 0
push str.DatabasePath
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
call fcn.004e2a90
push 0
push str.DhcpLogFilePath
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.004e2a90
push 0
push str.BackupDatabasePath
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.004e2a90
add esp, 0x30
cmp dword [ebp + 0x10], 0
je 0x4e1724
cmp dword [ebp + 0x14], 8
lea eax, [ebp]
push 0
cmovae eax, dword [ebp]
mov ecx, esi
push 0x5eacd0
push eax
call fcn.004e23e0
cmp dword [ebp + 0x28], 0
je 0x4e1758
lea eax, [ebp]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0044ff30
add esp, 8
test al, al
je 0x4e1758
cmp dword [ebp + 0x2c], 8
lea eax, [ebp + 0x18]
push 0
cmovae eax, dword [ebp + 0x18]
mov ecx, esi
push 0x5eacd0
push eax
call fcn.004e23e0
mov edi, dword [ebp + 0x40]
test edi, edi
je 0x4e17a4
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0044ff30
add esp, 8
test al, al
je 0x4e17a4
lea eax, [ebp]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.0044ff30
add esp, 8
test al, al
je 0x4e17a4
cmp dword [ebp + 0x44], 8
lea eax, [ebp + 0x30]
push 0
cmovae eax, dword [ebp + 0x30]
mov ecx, esi
push 0x5eacd0
push eax
call fcn.004e23e0
mov edi, dword [ebp + 0x40]
cmp dword [ebp + 0x10], 0
je 0x4e17b4
cmp dword [ebp + 0x28], 0
je 0x4e17b4
test edi, edi
jne 0x4e17c3
push 0
push str.System32DHCP
push ebx
mov ecx, esi
call fcn.004e23e0
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x30]
call fcn.0041ba60
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x18]
call fcn.0041ba60
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.0041ba60
push 0
push str.system32dns
push ebx
mov ecx, esi
call fcn.004e23e0
push 0
push str.system32wins
push ebx
mov ecx, esi
call fcn.004e23e0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
test eax, eax
je 0x4e181e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x48]
call fcn.0041ba60
push str.allusersprofile
call fcn.00561e2f
add esp, 4
mov ebx, eax
mov ecx, esi
mov dword [ebp - 0x1c], ebx
push 0
push str.NTUser.pol
push ebx
call fcn.004e23e0
cmp byte [ebp + 0x270], 0
je 0x4e1b88
mov dword [ebp - 0x18], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x18], 0x5b3ea4
mov dword [ebp - 4], 0xc
xor eax, eax
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x5c], 7
mov word [ebp + 0x48], ax
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x18]
push 0x80000002
push str.SOFTWAREMicrosoftWindows_Search
push eax
call fcn.004e29f0
add esp, 0xc
test al, al
je 0x4e19f8
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push str.DataDirectory
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004e2a90
mov ecx, dword [ebp + 0x58]
add esp, 0x10
test ecx, ecx
jne 0x4e1911
lea eax, [ebp - 0xd]
push eax
push str.DefaultDataDirectory
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.004e2a90
mov ecx, dword [ebp + 0x58]
add esp, 0x10
test ecx, ecx
je 0x4e19ff
cmp byte [ebp - 0xd], 0
je 0x4e19fb
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov byte [ebp - 4], 0xe
lea eax, [ebp + 0x3c]
push eax
push 0x1fffe
mov ecx, eax
call fcn.00439720
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0x1fffe
push dword [ebp + 0x3c]
cmovae eax, dword [ebp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4e19a6
cmp dword [ebp + 0x5c], 8
lea ecx, [ebp + 0x48]
mov edx, dword [ebp + 0x48]
lea ebx, [ebp + 0x48]
mov eax, dword [ebp + 0x58]
cmovae ecx, edx
cmovae ebx, edx
lea eax, [ecx + eax*2]
sub eax, ebx
lea ecx, [ebp + 0x48]
sar eax, 1
cmp dword [ebp + 0x5c], 8
cmovae ecx, edx
mov edx, dword [ebp + 0x3c]
sub ebx, ecx
mov ecx, dword [ebp + 0x40]
sub ecx, edx
sar ebx, 1
sar ecx, 1
push ecx
push edx
push eax
push ebx
lea ecx, [ebp + 0x48]
call fcn.00433ff0
mov ebx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x4e19f8
mov eax, dword [ebp + 0x44]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e19d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1c30
push edx
push ecx
call fcn.00539070
add esp, 8
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov ecx, dword [ebp + 0x58]
test ecx, ecx
jne 0x4e1a6c
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e1a04
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp + 0x48]
call fcn.0041bc10
mov ecx, dword [ebp + 0x58]
test ecx, ecx
je 0x4e1a41
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
cmovae eax, dword [ebp + 0x48]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4e1a41
push 0x5c
lea ecx, [ebp + 0x48]
call fcn.00433cd0
cmp byte [esi + 0x19], 0
jne 0x4e1a56
push 0x12
push str.Applications_Data_
lea ecx, [ebp + 0x48]
call fcn.00437860
push 0x15
push str.MicrosoftSearchdata
lea ecx, [ebp + 0x48]
call fcn.00437860
mov ecx, dword [ebp + 0x58]
test ecx, ecx
je 0x4e1a89
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
cmovae eax, dword [ebp + 0x48]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4e1a89
push 0x5c
lea ecx, [ebp + 0x48]
call fcn.00433cd0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.applicationswindowsmss.chk
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.applicationswindowsmss.log
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.applicationswindowswindows.edb
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.applicationswindowsprojects_systemindexindexercifiles.dir
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.applicationswindowsprojects_systemindexindexercifiles.ci
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.applicationswindowsprojects_systemindexindexercifilesindex.
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.applicationswindowsprojects_systemindexindexercifilescimg.
push eax
call fcn.004e23e0
cmp dword [ebp + 0x5c], 8
lea eax, [ebp + 0x48]
push 0
cmovae eax, dword [ebp + 0x48]
mov ecx, esi
push str.applicationswindowsprojects_systemindexindexercifiles.wid
push eax
call fcn.004e23e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 0x48]
call fcn.0041ba60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], vtable.Utils::ResourceHolders::resource_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__struct_Utils::ResourceHolders::puredrop_and_null_t_struct_HKEY_____struct_Utils::ResourceHolders::kh_dtor_t__.0
test eax, eax
je 0x4e1b81
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
cmp byte [ebp + 0x274], 0
je 0x4e1c0b
push esi
lea ecx, [ebp + 0x1dc]
call fcn.004c89a0
mov dword [ebp - 4], 0x10
mov ecx, eax
call fcn.004c9010
mov dword [ebp - 4], 0x15
lea ecx, [ebp + 0x244]
call fcn.0041ba60
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 0x22c]
call fcn.0041ba60
mov byte [ebp - 4], 0x13
lea ecx, [ebp + 0x214]
call fcn.0041ba60
mov byte [ebp - 4], 0x12
lea ecx, [ebp + 0x1fc]
call fcn.0041ba60
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0x1e4]
call fcn.0041ba60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1dc]
call fcn.00451f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x260]
xor ecx, ebp
call fcn.005395e6
lea esp, [ebp + 0x264]
pop ebp
ret 0x10
call fcn.00555b08
call fcn.0053986d
int3