joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4112d2
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x2c
mov eax, 0x44d3dd
call fcn.00436706
push 0
mov ecx, esi
call fcn.0041001d
push dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call ebx
cmp eax, 0xffffffff
je 0x4113dc
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
test eax, eax
jne 0x4113dc
push dword [esi]
call ebx
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 0x4113a1
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4113dc
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 0x4113dc
push str.SHFileOperation_FO_DELETE__failed:
lea ecx, [ebp - 0x10]
call fcn.00402148
and dword [ebp - 4], 0
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.0040dd5d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
jmp 0x4113a7
call edi
test eax, eax
jne 0x4113dc
push str.RemoveDirectory___DeleteFile___failed:
lea ecx, [ebp - 0x14]
call fcn.00402148
push 0x186a0
xor eax, eax
push esi
lea ecx, [ebp - 0x14]
inc eax
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0040dd5d
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
jmp 0x4113df
xor eax, eax
inc eax
call fcn.004367de
ret

Function at 0x4113e5
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x44e3c4
call fcn.0043676f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x41141f
xor eax, eax
jmp 0x4114c4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402148
mov dword [ebp - 4], esi
call fcn.004234c0
push eax
lea ecx, [ebp - 0x220]
call fcn.0040f910
lea eax, [ebp - 0x220]
mov esi, 0x4808dc
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041dea2
mov edi, dword [ebp - 0x220]
push edi
call fcn.004352cf
cmp eax, 0xa
pop ecx
jge 0x411486
mov eax, esi
call fcn.0040518a
test eax, eax
mov eax, str.AdobeReader
jne 0x411483
mov eax, str.AdobeAcrobat
push eax
jmp 0x41148b
push str.AdobeARM
lea ecx, [ebp - 0x21c]
call fcn.004086b5
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.004114cc
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.004025ca
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, esi
call fcn.004367f2
ret 4
Function at 0x412a5f
Capabilities:
Download url
Receive data

Disassembly:
push 0x14
mov eax, 0x44e350
call fcn.00436706
mov ebx, ecx
push str.DownloadFileDirectly...
lea ecx, [ebp - 0x10]
call fcn.00402148
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], esi
call fcn.0040e1e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
mov edi, 0x4808dc
mov dword [ebp - 0x10], esi
call fcn.0041d494
test eax, eax
je 0x412be0
mov dword [ebp - 0x20], vtable.CCallback.0
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
mov eax, dword [0x480a94]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 8]
push eax
push ebx
call fcn.00412f7d
pop ecx
pop ecx
test al, al
jne 0x412aee
add edi, 0x10
push edi
push ebx
call fcn.00412f7d
pop ecx
pop ecx
test al, al
je 0x412af5
mov dword [ebp - 0x18], 0x3c
mov eax, dword [ebx]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
lea edx, [ebp - 0x20]
push edx
push esi
push eax
push ecx
push esi
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, esi
jl 0x412b19
mov dword [ebp - 0x10], 1
jmp 0x412baf
cmp dword [0x4804f8], esi
jne 0x412bdd
push edi
lea ecx, [ebp + 8]
call fcn.0040218c
push str.http:__
push str.https:__
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.004083c9
mov edi, dword [ebp + 8]
test eax, eax
je 0x412b9e
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebx]
push esi
push esi
push ebx
push edi
push esi
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, esi
jl 0x412b70
mov dword [ebp - 0x10], 1
jmp 0x412b9e
push str.Download_failed:
lea ecx, [ebp - 0x14]
call fcn.00402148
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push 2
mov byte [ebp - 4], 3
call fcn.0040dd5d
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.004025ca
cmp dword [ebp - 0x10], esi
je 0x412bdd
push str.Download_success:
lea ecx, [ebp + 8]
call fcn.00402148
push esi
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.0040dd5d
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, dword [ebp - 0x10]
call fcn.004367de
ret 8
Function at 0x412be8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f18e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x47bd50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.DownloadFilesDirectly...
lea ecx, [esp + 0x1c]
call fcn.00402148
xor esi, esi
push esi
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x3c], esi
call fcn.0040e1e3
or dword [esp + 0x3c], 0xffffffff
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [0x4808ec]
cmp eax, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], esi
jle 0x412d67
push dword [esp + 0x18]
mov ecx, 0x4808e4
call fcn.00408718
mov edi, eax
cmp dword [edi], esi
je 0x412d55
lea eax, [ebx + 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.0040218c
xor esi, esi
inc esi
mov dword [esp + 0x30], esi
mov eax, dword [edi]
add eax, 4
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [esp + 0x18]
push eax
call fcn.00401f7d
mov eax, dword [edi]
lea ecx, [eax + 8]
lea eax, [esp + 0x14]
push eax
call fcn.00408894
push edi
call fcn.004113e5
test eax, eax
je 0x412d03
push str.File_already_exist_and_valid:
lea ecx, [esp + 0x20]
call fcn.00402148
mov byte [esp + 0x30], 2
mov eax, dword [edi]
push 0
add eax, 8
push eax
lea eax, [esp + 0x24]
push eax
push 2
call fcn.0040dd5d
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
mov edi, dword [edi]
mov dword [edi + 0x18], esi
jmp 0x412d42
mov eax, dword [edi]
add eax, 0xc
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00412a5f
cmp dword [0x4804f8], 0
jne 0x412d7f
test eax, eax
mov eax, dword [edi]
je 0x412dca
mov ebx, dword [eax + 0x14]
mov esi, dword [esp + 0x14]
call fcn.00416714
mov edi, dword [edi]
test eax, eax
je 0x412d8f
mov ebx, dword [ebp + 8]
mov dword [edi + 0x18], 1
or dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
xor esi, esi
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jl 0x412c6d
xor eax, eax
inc eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
jmp 0x412d6a
and dword [edi + 0x18], 0
push str.Downloaded_file_is_not_valid:
lea ecx, [esp + 0x20]
call fcn.00402148
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
push 2
mov byte [esp + 0x40], 3
call fcn.0040dd5d
mov ecx, dword [esp + 0x2c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
jmp 0x412d7f
and dword [eax + 0x18], 0
jmp 0x412d7f
Function at 0x414aec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d33d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x47bd50]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
call fcn.004234c0
push eax
lea ecx, [esp + 0x18]
call fcn.0040f910
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp dword [0x480510], 2
jne 0x414b69
cmp dword [0x480a58], 0x249f0
jne 0x414b69
push 0x480948
lea ecx, [esp + 0x18]
call fcn.00408894
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x414bb0
push 0x46ae28
lea ecx, [esp + 0x18]
call fcn.00402111
jmp 0x414bb0
mov eax, 0x480968
cmp dword [0x480964], ebx
jne 0x414b7b
mov eax, 0x480944
push eax
lea ecx, [esp + 0x18]
call fcn.00408894
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x414bb0
mov eax, 0x4808dc
call fcn.0040518a
test eax, eax
mov eax, 0x48041c
jne 0x414ba6
mov eax, 0x480418
push eax
lea ecx, [esp + 0x18]
call fcn.00408894
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040218c
mov esi, dword [ebp + 8]
lea eax, [esp + 0x18]
add esi, 0x58
push eax
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.00408894
mov byte [esp + 0x28], bl
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004025ca
push 0x457ce8
lea ecx, [esp + 0x14]
call fcn.00402148
push 1
push ebx
push ebx
mov byte [esp + 0x34], 2
mov eax, dword [esi]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x21
jge 0x414cdb
sub eax, ebx
je 0x414c69
dec eax
dec eax
je 0x414c5b
dec eax
je 0x414c54
dec eax
dec eax
je 0x414c69
sub eax, 3
je 0x414c4d
sub eax, 0x12
je 0x414c46
sub eax, 6
lea ecx, [esp + 0x10]
je 0x414c3f
push str.All_other_non_caught_scenarios
jmp 0x414c64
push str.The_specified_DLL_was_not_found.
jmp 0x414c64
push str.A_sharing_violation_occurred.
jmp 0x414c60
push str.There_was_not_enough_memory_to_complete_the_operation.
jmp 0x414c60
push str.The_specified_path_was_not_found.
jmp 0x414c60
push str.The_specified_file_was_not_found.
lea ecx, [esp + 0x14]
call fcn.00402111
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x414cdb
push str.Failed_to_navigate_to_URL:
lea ecx, [esp + 0x1c]
call fcn.00402148
push edi
push esi
lea eax, [esp + 0x20]
push eax
push 1
mov byte [esp + 0x38], 3
call fcn.0040dd5d
mov byte [esp + 0x38], 2
mov ecx, dword [esp + 0x28]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
push str.___Error_message:
lea ecx, [esp + 0x1c]
call fcn.00402148
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
push 1
mov byte [esp + 0x38], 4
call fcn.0040dd5d
mov ecx, dword [esp + 0x28]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
xor eax, eax
inc eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4150ca
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x44c62e
call fcn.00436706
mov esi, 0x46b200
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 0x415106
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x415106
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [edi + 0x1c], eax
cmp dword [edi + 0x1c], ebx
je 0x415135
push str.ARM_update_mutex_created
lea ecx, [ebp - 0x10]
call fcn.00402148
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e1e3
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
call fcn.004367de
ret
Function at 0x4157ed
Capabilities:
Create process on windows

Disassembly:
push 0x64
mov eax, 0x44e27c
call fcn.00436706
push str.InstallProductExe...
lea ecx, [ebp - 0x14]
call fcn.00402148
xor esi, esi
push esi
lea eax, [ebp - 0x14]
xor edi, edi
push eax
inc edi
push edi
mov dword [ebp - 4], esi
call fcn.0040e1e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025ca
push str.___file__
lea ecx, [ebp - 0x14]
call fcn.00402148
push esi
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.0040dd5d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
push str.___args__
lea ecx, [ebp - 0x14]
call fcn.00402148
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 4], 2
call fcn.0040dd5d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
push dword [ebp + 8]
call fcn.00421f59
pop ecx
test eax, eax
jne 0x4158a4
push 0xd
pop eax
jmp 0x4159c4
mov edi, dword [0x480a94]
cmp edi, esi
je 0x4158c9
mov ecx, dword [ebp + 0xc]
push str._ARM
call fcn.0040af22
test eax, eax
je 0x4158c9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x178]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00434dc0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x70], edi
call fcn.00434dc0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x459990
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.004085d4
add esp, 0xc
push dword [ebp + 0xc]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401e2d
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
inc eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0041616f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41597a
cmp dword [ebp - 0x24], esi
je 0x415967
push dword [ebp - 0x24]
call edi
cmp dword [ebp - 0x20], esi
je 0x415971
push dword [ebp - 0x20]
call edi
mov dword [ebp + 8], 0x42b
jmp 0x415998
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004087aa
cmp dword [ebp - 0x24], esi
je 0x4159ac
push dword [ebp - 0x24]
call edi
cmp dword [ebp - 0x20], esi
je 0x4159b6
push dword [ebp - 0x20]
call edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, dword [ebp + 8]
call fcn.004367de
ret 8
Function at 0x416714
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x258
mov eax, dword [0x47bd50]
xor eax, esp
mov dword [esp + 0x254], eax
test esi, esi
je 0x416793
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416793
and dword [esp], 0
push 0x24c
lea eax, [esp + 8]
push 0
push eax
call fcn.00434dc0
add esp, 0xc
lea eax, [esp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x416793
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, 0xffffffff
je 0x416778
cmp dword [esp + 0x20], ebx
jne 0x416793
push esi
call fcn.00416249
pop ecx
test eax, eax
je 0x416793
cmp ebx, 0xffffffff
jne 0x41678e
mov eax, dword [esp + 0x20]
jmp 0x416795
xor eax, eax
inc eax
jmp 0x416795
xor eax, eax
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00433fff
mov esp, ebp
pop ebp
ret
Function at 0x41a763
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x44ec96
call fcn.00436706
push 0x480970
lea ecx, [ebp - 0x1c]
call fcn.0040218c
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
push str.SELECT__FileSequences__FROM__ProductUpgrades__WHERE__UpgradeMatch_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00402148
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x1c]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x18]
push ebx
call fcn.00401f7d
push 0x46bad8
lea eax, [ebp - 0x18]
push eax
call fcn.0040cc41
cmp dword [ebp - 0x10], esi
je 0x41a7c6
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], esi
push eax
call sub.msi.dll_MsiEnumClientsA
cmp eax, esi
je 0x41a847
push str.MDOV
lea ecx, [ebp + 8]
call fcn.00402148
lea eax, [ebp + 8]
push 0x3d32
push eax
mov byte [ebp - 4], 4
call fcn.0041820b
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov edi, eax
call fcn.004025ca
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025ca
cmp dword [ebp - 0x14], esi
je 0x41a826
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x41a833
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
lea ecx, [ebx - 0x10]
call fcn.004025ca
mov eax, esi
call fcn.004367de
ret 8
push esi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
cmp eax, esi
je 0x41a87a
push 0x46bd30
lea ecx, [ebp + 0xc]
call fcn.00402148
lea eax, [ebp + 0xc]
push 0x3d32
push eax
mov byte [ebp - 4], 5
call fcn.0041820b
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
jmp 0x41a804
cmp dword [ebp - 0x14], esi
je 0x41a887
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x41a8aa
push dword [ebp + 0xc]
push 1
push dword [ebp - 0x14]
call fcn.004222be
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025ca
cmp dword [ebp - 0x14], esi
je 0x41a8c2
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x41a835
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x41a835
Function at 0x41b034
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
xor ebx, ebx
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call edi
cmp eax, ebx
je 0x41b06d
push ebx
push str.TrayNotifyWnd
push ebx
push eax
call edi
cmp eax, ebx
je 0x41b06d
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x41b129
lea eax, [ebp - 0x24]
push eax
push 5
mov dword [ebp - 0x24], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x41b0cd
mov eax, dword [ebp - 0x18]
sub eax, ebx
je 0x41b0b1
dec eax
je 0x41b098
dec eax
je 0x41b0b1
dec eax
jne 0x41b129
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x64]
mov dword [esi], ecx
add eax, 0xfffffff0
jmp 0x41b0c8
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x41b129
push ebx
push str.Shell_TrayWnd
push ebx
push ebx
call edi
cmp eax, ebx
je 0x41b10b
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 8]
mov ecx, eax
sub ecx, dword [esi]
cmp ecx, 0x96
jle 0x41b0f9
add eax, 0xffffff6a
mov dword [esi], eax
mov eax, dword [esi + 0xc]
mov ecx, eax
sub ecx, dword [esi + 4]
cmp ecx, 0x1e
jle 0x41b129
add eax, 0xffffffe2
jmp 0x41b126
push ebx
push esi
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi + 8]
sub eax, 0x96
mov dword [esi], eax
mov eax, dword [esi + 0xc]
sub eax, 0x1e
mov dword [esi + 4], eax
pop edi
pop ebx
leave
ret
Function at 0x41b262
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x47bd50]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x44ca89
call fcn.00436706
mov eax, dword [ebp + 0x214]
push dword [eax]
mov esi, ecx
push 0x46cd84
push esi
call fcn.004083c9
test eax, eax
jne 0x41b366
call fcn.004234c0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f910
and dword [ebp - 4], 0
mov edi, str._WindowsFolder_
push edi
xor ecx, ecx
call fcn.00408543
or ebx, 0xffffffff
cmp eax, ebx
je 0x41b2cd
push 0x24
jmp 0x41b30a
mov edi, str._SystemFolder_
push edi
xor ecx, ecx
call fcn.00408543
cmp eax, ebx
je 0x41b2e2
push 0x25
jmp 0x41b30a
mov edi, str._ProgramFilesFolder_
push edi
xor ecx, ecx
call fcn.00408543
cmp eax, ebx
je 0x41b2f7
push 0x26
jmp 0x41b30a
mov edi, str._CommonFilesFolder_
push edi
xor ecx, ecx
call fcn.00408543
cmp eax, ebx
je 0x41b35b
push 0x2b
pop ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.00402111
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.00434dc0
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 0x41b35b
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41b35b
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push esi
call fcn.004083c9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025ca
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.00433fff
add ebp, 0x20c
leave
ret
Function at 0x41b389
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ce5a
mov eax, dword fs:[0]
push eax
sub esp, 0x298
push ebx
push esi
push edi
mov eax, dword [0x47bd50]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
push 0x480938
lea ecx, [esp + 0x24]
call fcn.0040218c
xor ebx, ebx
mov dword [esp + 0x2b0], ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x480a40
mov dword [esp + 0x24], ebx
call fcn.0042571d
cmp dword [0x480900], ebx
mov dword [esp + 0x14], ebx
jle 0x41b53d
push dword [esp + 0x14]
mov ecx, 0x4808f8
call fcn.00408718
mov esi, eax
mov eax, dword [esi]
cmp eax, ebx
je 0x41b4ee
cmp dword [eax + 0x20], ebx
jne 0x41b4ee
add eax, 8
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0040218c
push 0x46a944
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b4], 1
call fcn.0040af22
lea ecx, [esp + 0x10]
test eax, eax
je 0x41b470
lea eax, [esp + 0x20]
push eax
call fcn.0041b262
lea ecx, [esp + 0x14]
mov dword [esp], 0x457b3c
call fcn.004086b5
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.00401f1d
jmp 0x41b47b
mov eax, dword [esi]
add eax, 4
push eax
call fcn.00408894
mov esi, dword [esi]
mov eax, dword [esi + 0x1c]
mov edi, dword [esp + 0x10]
cmp eax, 4
jne 0x41b4a7
xor esi, esi
push ebx
inc esi
lea eax, [esp + 0x1c]
push esi
push eax
mov ecx, edi
call fcn.0041b9cf
add esp, 0xc
test eax, eax
je 0x41b4ca
mov dword [esp + 0x1c], esi
jmp 0x41b4ca
cmp eax, ebx
jne 0x41b4df
push dword [esi + 4]
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, edi
call fcn.0041b9cf
add esp, 0xc
test eax, eax
je 0x41b4ca
mov dword [esp + 0x1c], 1
cmp dword [esp + 0x18], ebx
je 0x41b4df
push dword [esp + 0x18]
push 0x41b1c0
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [edi - 0x10]
mov byte [esp + 0x2b0], bl
call fcn.004025ca
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [0x480900]
jl 0x41b3f3
cmp dword [esp + 0x1c], ebx
je 0x41b53d
push dword [0x480a94]
lea eax, [esp + 0x28]
push eax
call fcn.00414072
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b0], 2
call fcn.0042ed04
lea ecx, [esp + 0x24]
mov esi, eax
mov byte [esp + 0x2b0], bl
call fcn.00414164
jmp 0x41b540
xor esi, esi
inc esi
cmp esi, 4
je 0x41b3d2
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004025ca
mov eax, esi
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret