joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41219f
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov ebx, 0x104
push ebx
lea esi, [edi + 4]
push 0
push esi
mov dword [edi], vtable.CArmReport.0
call fcn.00445f90
add esp, 0xc
push esi
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4121ed
push str.AdobeARM_
mov eax, ebx
mov ecx, esi
call fcn.004126d1
push str.ArmReport.ini
mov eax, ebx
mov ecx, esi
call fcn.004126d1
pop esi
mov eax, edi
pop ebx
ret

Function at 0x4125d5
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, dword [esp + 8]
add ebp, 4
push ebp
call dword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
jne 0x4125f0
push 3
pop eax
jmp 0x41267f
push ebp
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x412600
push 2
jmp 0x4125ea
push esi
mov esi, 0x82
push ebx
add esi, esi
cmp esi, 0x1041
jae 0x412683
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call main
lea ecx, [esi + esi]
push ecx
push 0
push eax
mov dword [edi], eax
call fcn.00445f90
add esp, 0x10
push ebp
push esi
push dword [edi]
push 0x469238
push 0
push str.SESSION
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
mov ebx, eax
test ebx, ebx
je 0x41265b
lea eax, [esi - 2]
cmp ebx, eax
jne 0x41266a
push dword [edi]
call main
and dword [edi], 0
pop ecx
test ebx, ebx
je 0x412688
lea eax, [esi - 2]
cmp ebx, eax
je 0x412607
mov eax, dword [edi]
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
pop ebx
pop esi
pop ebp
ret 4
push 0xd
pop eax
jmp 0x41267d
mov eax, 0xe8
jmp 0x41267d

Function at 0x4127b1
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x497d50]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
push esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1a0]
mov esi, 0x104
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00445f90
add esp, 0xc
push dword [edi]
lea eax, [ebp - 0x78]
push esi
push eax
mov eax, dword [ebp - 0x80]
push 0x469238
push dword [eax]
push dword [ebx]
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push eax
call fcn.004020d4
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.00445157
add ebp, 0x194
leave
ret 8
Function at 0x412db6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x68
mov eax, 0x460322
call fcn.00447dc4
push 0xf
pop edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call fcn.004140cd
push dword [ebp + 8]
mov ecx, esi
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00412cfd
pop ecx
cmp dword [0x49c3d0], ebx
je 0x412e0e
mov eax, dword [0x49c3d8]
cmp eax, ebx
je 0x412e0e
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x412e03
lea ecx, [ebp - 0x28]
push ecx
call eax
pop ecx
mov esi, eax
jmp 0x412ed9
or dword [ebp - 0x4c], 0xffffffff
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x30], edi
call fcn.004140cd
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 1
call fcn.00413d1a
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call main
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.004140e9
cmp dword [ebp - 0x30], 0x10
mov edi, dword [ebp - 0x44]
jae 0x412e5f
lea edi, [ebp - 0x44]
cmp edi, ebx
je 0x412e75
push edi
call dword [sym.imp.kernel32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x412e79
xor eax, eax
jmp 0x412e8d
lea eax, [esi + esi]
call fcn.00450b10
mov eax, esp
push 3
push esi
push edi
push eax
call main
lea ecx, [ebp - 0x50]
push ecx
push 0x20019
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x412ecb
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push str.OptIn
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4c]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.004140e9
sub esi, ebx
je 0x412eea
dec esi
je 0x412ee5
or esi, 0xffffffff
jmp 0x412eec
xor esi, esi
inc esi
jmp 0x412eec
xor esi, esi
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004140e9
mov eax, esi
lea esp, [ebp - 0x84]
call fcn.00447e47
ret
Function at 0x413519
Capabilities:
Check if file exists
Get common file path
Get file attributes
Link many functions at runtime
Set current directory

Disassembly:
push 0xc
mov eax, 0x45d00e
call fcn.00447d5b
xor ebx, ebx
cmp dword [0x49c3d0], ebx
jne 0x4136c5
cmp dword [ebp + 8], ebx
je 0x4136c5
mov edi, dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
push ebx
push ebx
call edi
mov esi, eax
add esi, 0x13
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call main
pop ecx
push eax
push esi
mov dword [ebp - 0x18], eax
call edi
mov esi, dword [ebp + 8]
lea eax, [esi + 0x70]
push eax
lea ecx, [ebp - 0x10]
call fcn.004020a4
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.00405157
lea ecx, [ebp - 0x10]
test eax, eax
je 0x413590
push str.Reader_
jmp 0x413595
push str.Acrobat_
call fcn.00409019
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.004020a4
push str.logsession.dll
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00409019
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov edi, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x4135fb
push edi
push str.Agent
push str.SoftwareAdobeCommonFilesUsage_
push 0x80000001
call main
mov esi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
add esp, 0x10
push edi
call esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryW]
push dword [ebp - 0x18]
mov dword [0x49c3d0], eax
call esi
push dword [ebp - 0x18]
call main
mov eax, dword [0x49c3d0]
pop ecx
test eax, eax
jne 0x413622
lea ecx, [ebx - 0x10]
call fcn.0040253e
lea ecx, [edi - 0x10]
call fcn.0040253e
jmp 0x413717
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.UTInitialize
push eax
call esi
push str.UTOptInGet
push dword [0x49c3d0]
mov dword [0x49c3d4], eax
call esi
push str.UTSetOptIn
push dword [0x49c3d0]
mov dword [0x49c3d8], eax
call esi
push str.UTStartSession
push dword [0x49c3d0]
mov dword [0x49c3dc], eax
call esi
push str.UTLogEvent
push dword [0x49c3d0]
mov dword [0x49c3e0], eax
call esi
push str.UTNewDataGroup
push dword [0x49c3d0]
mov dword [0x49c3e4], eax
call esi
push str.UTAddToGroup
push dword [0x49c3d0]
mov dword [0x49c3e8], eax
call esi
push str.UTCloseSession
push dword [0x49c3d0]
mov dword [0x49c3ec], eax
call esi
lea ecx, [ebx - 0x10]
mov dword [0x49c3f0], eax
call fcn.0040253e
lea ecx, [edi - 0x10]
call fcn.0040253e
xor ebx, ebx
cmp dword [0x49c3d8], ebx
je 0x413701
cmp dword [0x49c3dc], ebx
je 0x413701
cmp dword [0x49c3e0], ebx
je 0x413701
cmp dword [0x49c3e4], ebx
je 0x413701
cmp dword [0x49c3e8], ebx
je 0x413701
cmp dword [0x49c3ec], ebx
je 0x413701
cmp dword [0x49c3f0], ebx
je 0x413701
mov al, 1
jmp 0x413719
mov eax, dword [0x49c3d0]
cmp eax, ebx
je 0x413711
push eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [0x49c3d0], ebx
xor al, al
call fcn.00447e33
ret
Function at 0x415e33
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x2c
mov eax, 0x45cd09
call fcn.00447d5b
push 0
mov ecx, esi
call fcn.00419795
mov eax, esi
call fcn.00401000
test eax, eax
je 0x415f3d
push dword [esi]
mov edi, dword [sym.imp.kernel32.dll_DeleteFileW]
call edi
test eax, eax
jne 0x415f3d
push dword [esi]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, dword [esi]
and ebx, 0xfffffffe
push ebx
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push dword [esi]
test bl, 0x10
je 0x415f02
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
jne 0x415f3d
and dword [ebp - 0x34], eax
push 6
pop ecx
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x34], eax
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov eax, 0x414
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x30], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
test edi, edi
je 0x415f3d
push str.SHFileOperation_FO_DELETE__failed:
lea ecx, [ebp - 0x10]
call fcn.00402060
and dword [ebp - 4], 0
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.00411b27
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x415f08
call edi
test eax, eax
jne 0x415f3d
push str.RemoveDirectory___DeleteFile___failed:
lea ecx, [ebp - 0x14]
call fcn.00402060
push 0x186a0
xor eax, eax
push esi
lea ecx, [ebp - 0x14]
inc eax
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.00411b27
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
jmp 0x415f40
xor eax, eax
inc eax
call fcn.00447e33
ret
Function at 0x4182d8
Capabilities:
Download url
Receive data

Disassembly:
push 0x18
mov eax, 0x46020b
call fcn.00447d5b
mov ebx, ecx
mov esi, edx
push str.DownloadFileDirectly...
lea ecx, [ebp - 0x10]
call fcn.00402060
xor edi, edi
push edi
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], edi
call fcn.00411fad
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [ebp - 0x14]
push eax
push str.iForbidURLDownloadToFile
push dword [0x49c460]
mov dword [ebp - 0x10], edi
push 0x80000002
mov dword [ebp - 0x14], edi
call main
add esp, 0x10
cmp dword [ebp - 0x14], 1
jne 0x418375
push str.URLDownloadToFile_is_not_allowed
lea ecx, [ebp + 8]
call fcn.00402060
push edi
lea eax, [ebp + 8]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.00411fad
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
jmp 0x4184be
mov dword [ebp - 0x24], vtable.CCallback.0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 2
mov eax, dword [0x49cd00]
mov dword [ebp - 0x20], eax
lea eax, [esi + 4]
push eax
push ebx
call fcn.0040a5b1
pop ecx
pop ecx
test al, al
jne 0x4183be
lea eax, [esi + 0xc]
push eax
push ebx
call fcn.0040a5b1
pop ecx
pop ecx
test al, al
jne 0x4183be
add esi, 0x18
push esi
push ebx
call fcn.0040a5b1
pop ecx
pop ecx
test al, al
je 0x4183c5
mov dword [ebp - 0x1c], 0x3c
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
lea edx, [ebp - 0x24]
push edx
push edi
push eax
push ecx
push edi
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, edi
jl 0x41840a
push str.Download_success:
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], 1
call fcn.00402060
push edi
push esi
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.00411b27
add esp, 0x10
jmp 0x4184b0
cmp dword [0x49c548], edi
jne 0x4184bb
mov esi, eax
call fcn.00417e00
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004020a4
push str.http:__
push str.https:__
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 4
call main
test eax, eax
je 0x4184b0
push 0x7d0
call dword [sym.imp.kernel32.dll_Sleep]
mov ebx, dword [ebx]
push edi
push edi
push ebx
push dword [ebp + 8]
push edi
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, edi
jl 0x41847a
push str.Download_success:
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 1
call fcn.00402060
mov byte [ebp - 4], 5
jmp 0x418492
mov esi, eax
call fcn.00417e00
push str.Download_failed:
lea ecx, [ebp - 0x18]
call fcn.00402060
mov byte [ebp - 4], 6
push edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.00411b27
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp - 0x10]
call fcn.00447e33
ret 4
Function at 0x4184c6
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x4609a5
call fcn.00447d5b
push str.DownloadFilesDirectly...
lea ecx, [ebp - 0x14]
call fcn.00402060
xor esi, esi
push esi
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.00411fad
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [0x49c944]
cmp eax, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
jle 0x41861b
push dword [ebp - 0x14]
mov ecx, 0x49c93c
call fcn.0040907c
mov edi, eax
mov eax, dword [edi]
cmp eax, esi
je 0x41860c
cmp dword [eax + 0x18], esi
jne 0x41860c
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.004020a4
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov eax, dword [edi]
add eax, 4
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call main
mov eax, dword [edi]
lea ecx, [eax + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00409158
mov ecx, edi
call fcn.00415f46
test eax, eax
je 0x4185bd
push str.File_already_exist_and_valid:
lea ecx, [ebp - 0x18]
call fcn.00402060
mov byte [ebp - 4], 2
mov eax, dword [edi]
push 0
add eax, 8
push eax
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.00411b27
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov edi, dword [edi]
mov dword [edi + 0x18], esi
jmp 0x4185fb
mov eax, dword [edi]
add eax, 0xc
push eax
lea ecx, [ebp - 0x10]
mov edx, ebx
call fcn.004182d8
cmp dword [0x49c548], 0
jne 0x418626
test eax, eax
mov eax, dword [edi]
je 0x41866b
mov ebx, dword [eax + 0x14]
mov esi, dword [ebp - 0x10]
call main
mov edi, dword [edi]
test eax, eax
je 0x418635
mov ebx, dword [ebp + 8]
mov dword [edi + 0x18], 1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
xor esi, esi
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jl 0x418524
xor eax, eax
inc eax
call fcn.00447e33
ret 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
jmp 0x41861e
and dword [edi + 0x18], 0
push str.Downloaded_file_is_not_valid:
lea ecx, [ebp + 8]
call fcn.00402060
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.00411b27
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x418626
and dword [eax + 0x18], 0
jmp 0x418626
Function at 0x41b9eb
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x45d10a
call fcn.00447d5b
mov esi, str.GlobalARM_Update_Mutex
push esi
push 1
xor ebx, ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [edi + 0x1c], eax
cmp eax, ebx
jne 0x41ba27
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
jne 0x41ba27
push esi
push 1
push ebx
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x1c], ebx
je 0x41ba56
push str.ARM_update_mutex_created
lea ecx, [ebp - 0x10]
call fcn.00402060
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00411fad
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
call fcn.00447e33
ret
Function at 0x42346e
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x45f971
call fcn.00447d5b
push 0x49ca00
lea ecx, [ebp - 0x1c]
call fcn.004020a4
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push str.SELECT__FileSequences__FROM__ProductUpgrades__WHERE__UpgradeMatch_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00402060
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x1c]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x18]
push ebx
call main
push 0x4816f8
lea eax, [ebp - 0x18]
push eax
call fcn.00408ceb
cmp dword [ebp - 0x10], edi
je 0x4234d1
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
push eax
call sub.msi.dll_MsiEnumClientsA
cmp eax, edi
je 0x423552
push 0x4816fc
lea ecx, [ebp + 8]
call fcn.00402060
mov byte [ebp - 4], 4
mov esi, 0x3d32
push esi
lea eax, [ebp + 8]
push eax
push 1
call fcn.00411fad
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x14], edi
je 0x423533
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x423540
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.0040253e
mov eax, esi
call fcn.00447e33
ret 8
push edi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
cmp eax, edi
je 0x423572
push 0x481708
lea ecx, [ebp + 8]
call fcn.00402060
mov byte [ebp - 4], 5
jmp 0x4234fc
cmp dword [ebp - 0x14], edi
je 0x42357f
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x4235a2
push dword [ebp + 0xc]
push 1
push dword [ebp - 0x14]
call main
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x14], edi
je 0x4235ba
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], edi
je 0x4235c7
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor esi, esi
jmp 0x423540
Function at 0x42559c
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x497d50]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x45c2f3
call fcn.00447d5b
mov eax, dword [ebp + 0x214]
push dword [eax]
mov esi, ecx
push 0x483644
push esi
call main
test eax, eax
jne 0x4256a0
call fcn.00434582
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
and dword [ebp - 4], 0
mov edi, str._WindowsFolder_
push edi
xor ecx, ecx
call fcn.00408f4f
or ebx, 0xffffffff
cmp eax, ebx
je 0x425607
push 0x24
jmp 0x425644
mov edi, str._SystemFolder_
push edi
xor ecx, ecx
call fcn.00408f4f
cmp eax, ebx
je 0x42561c
push 0x25
jmp 0x425644
mov edi, str._ProgramFilesFolder_
push edi
xor ecx, ecx
call fcn.00408f4f
cmp eax, ebx
je 0x425631
push 0x26
jmp 0x425644
mov edi, str._CommonFilesFolder_
push edi
xor ecx, ecx
call fcn.00408f4f
cmp eax, ebx
je 0x425695
push 0x2b
pop ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.004020d4
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.00445f90
add esp, 0xc
lea eax, [ebp]
push eax
push edi
push edi
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x425695
lea eax, [ebp]
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
je 0x425695
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push esi
call main
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00445157
add ebp, 0x20c
leave
ret
Function at 0x4259d0
Capabilities:
Enumerate gui resources

Disassembly:
push 0x29c
mov eax, 0x45e545
call fcn.00447d5b
push 0x49c9a4
lea ecx, [ebp - 0x20]
call fcn.004020a4
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x49ccac
mov dword [ebp - 0x1c], ebx
call main
cmp dword [0x49c958], ebx
mov dword [ebp - 0x14], ebx
jle 0x425b52
push dword [ebp - 0x14]
mov ecx, 0x49c950
call fcn.0040907c
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x425b08
cmp dword [eax + 0x20], ebx
jne 0x425b08
add eax, 8
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.004020a4
push 0x483870
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00408ff7
lea ecx, [ebp - 0x10]
test eax, eax
je 0x425a95
lea eax, [ebp - 0x20]
push eax
call fcn.0042559c
pop ecx
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0040a4e4
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
je 0x425a85
push 0x469efc
lea ecx, [ebp - 0x10]
call fcn.00409019
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00401e6a
jmp 0x425aa0
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00409158
mov esi, dword [esi]
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x10]
cmp eax, 6
jne 0x425ac9
xor esi, esi
push ebx
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
mov ecx, edi
call main
add esp, 0xc
test eax, eax
je 0x425aea
mov dword [ebp - 0x1c], esi
jmp 0x425aea
cmp eax, ebx
jne 0x425afd
push dword [esi + 4]
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, edi
call main
add esp, 0xc
test eax, eax
je 0x425aea
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], ebx
je 0x425afd
push dword [ebp - 0x18]
push 0x4254fa
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.0040253e
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x49c958]
jl 0x425a10
cmp dword [ebp - 0x1c], ebx
je 0x425b52
push dword [0x49cd00]
lea eax, [ebp - 0x2a8]
push eax
call fcn.0041a5ee
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 2
call fcn.0043fe2b
lea ecx, [ebp - 0x2a8]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0041a713
jmp 0x425b55
xor esi, esi
inc esi
cmp esi, 4
je 0x4259f1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, esi
call fcn.00447e33
ret