joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4189a8
Capabilities:
Create bits job

Disassembly:
push 8
mov eax, 0x4af38e
call fcn.0046c638
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.004527d1
push eax
lea ecx, [edi + 8]
call fcn.00402899
xor ebx, ebx
lea ecx, [edi + 0x2c]
mov dword [ebp - 4], ebx
call fcn.0043e809
push 0x10
mov byte [ebp - 4], 1
lea eax, [edi + 0x1c]
push ebx
push eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.00484ac0
add esp, 0xc
mov dword [edi + 0xc], ebx
lea ecx, [edi + 8]
mov dword [edi + 0x3c], 4
mov dword [edi + 0x40], ebx
mov dword [edi + 0x18], 0x1b7740
push dword [ebp + 8]
call fcn.0040286d
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, 0x272f4
mov dword [edi + 0xc], eax
cmp dword [0x51a3b4], esi
je 0x418af1
test eax, eax
js 0x418af1
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [edi + 0xc], eax
test eax, eax
jns 0x418a74
cmp eax, 0x80010119
je 0x418a74
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp - 0x10]
call fcn.00402829
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
push eax
push 0x27358
jmp 0x418ad4
push edi
push 0x4eb8c4
push 4
push ebx
push 0x4eb8b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [edi + 0xc], eax
cmp dword [0x51a3b4], 0x222e0
je 0x418a9f
test eax, eax
jns 0x418b1f
mov ecx, dword [edi]
test ecx, ecx
je 0x418ab7
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4ba7e8]
call esi
mov dword [edi], ebx
push str.Failed_to_connect_to_BITS
lea ecx, [ebp - 0x10]
call fcn.00402829
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
push eax
push 0x222e0
mov ecx, 0x51a3ac
call fcn.00415893
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x418b1f
push str.Failed_to_connect_to_BITS___COM_threading_returned_an_error__CoInitializeEx_
lea ecx, [ebp - 0x10]
call fcn.00402829
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
mov ecx, 0x51a3ac
push eax
push esi
call fcn.00415893
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.0046c601
ret 4

Function at 0x41a400
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor edx, edx
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x41a408
mov dword [edx*4 + 0x51a4e0], ecx
inc edx
cmp edx, 0x100
jb 0x41a403
mov esi, 0x800
jmp 0x41a450
mov ecx, dword [edx*4 + 0x51a0e0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x51a4e0]
mov dword [edx*4 + 0x51a4e0], ecx
inc edx
cmp edx, esi
jb 0x41a434
mov dword [0x51a43c], 0x41a480
call fcn.0041d79f
mov ecx, dword [0x51a43c]
test eax, eax
mov edx, 0x41a520
cmove ecx, edx
mov dword [0x51a43c], ecx
pop esi
ret
Function at 0x41af74
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 8], ecx
mov esi, dword [edi]
test esi, esi
je 0x41afcf
and dword [edi], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
mov edx, 0x400000
mov eax, esi
cmp esi, edx
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x41afc7
test ecx, ecx
je 0x41afcf
test esi, esi
je 0x41afcf
mov ecx, dword [ebp - 8]
jmp 0x41af8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41afd1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41d57f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x41d5a2
xor eax, eax
jmp 0x41d6d8
push ebx
lea ebx, [edx - 4]
or ecx, 0xffffffff
add ebx, eax
mov dword [ebp - 0x14], ebx
lea edx, [edi + eax]
cmp edx, ebx
jae 0x41d5c5
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x41d5c2
inc edx
cmp edx, ebx
jb 0x41d5b5
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
mov eax, edi
sub eax, ecx
cmp edx, ebx
jae 0x41d6c0
cmp eax, 3
jbe 0x41d5fc
xor esi, esi
mov al, byte [edx + 4]
mov ecx, edi
mov dword [ebp - 0x10], ecx
test al, al
je 0x41d638
cmp al, 0xff
je 0x41d638
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x41d6b9
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x41d5dc
cmp byte [esi + 0x4e6e08], 0
je 0x41d625
movzx eax, byte [esi + 0x4e6e10]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x41d625
cmp al, 0xff
jne 0x41d5dc
and esi, 3
mov ecx, edi
add esi, esi
or esi, 1
inc edi
mov eax, dword [ebp - 4]
jmp 0x41d5ae
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, 5
mov dword [ebp - 0xc], ebx
test esi, esi
je 0x41d691
movzx eax, byte [esi + 0x4e6e10]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 8], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x41d680
cmp al, 0xff
jne 0x41d691
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 8]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0xc]
jmp 0x41d656
mov ecx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x41d630
lea ecx, [eax - 1]
shl esi, cl
xor ecx, ecx
and esi, 7
cmp eax, 3
mov eax, dword [ebp + 0xc]
cmova esi, ecx
pop ebx
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4212dc
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x28
mov eax, 0x4afaf0
call fcn.0046c638
mov esi, dword [ebp + 8]
xor edi, edi
push edi
mov ecx, esi
call fcn.00427e76
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4213ec
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4213ec
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
and ebx, 0xfffffffe
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
test bl, 0x10
je 0x4213ae
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4213ec
xorps xmm0, xmm0
mov dword [ebp - 0x28], edi
movlpd qword [ebp - 0x22], xmm0
mov dword [ebp - 0x1a], edi
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 0x4213ec
push str.SHFileOperation_FO_DELETE__failed:
lea ecx, [ebp - 0x10]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
push edi
push esi
inc ecx
call fcn.00417010
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x4213b8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4213ec
push str.RemoveDirectory___DeleteFile___failed:
lea ecx, [ebp - 0x14]
call fcn.00402829
xor eax, eax
lea edx, [ebp - 0x14]
inc eax
push 0x186a0
push esi
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.00417010
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x4213ef
xor eax, eax
inc eax
call fcn.0046c601
ret 4
Function at 0x429b72
Capabilities:
Create process on windows

Disassembly:
push 0x14
mov eax, 0x4b0e08
call fcn.0046c638
mov edi, ecx
call fcn.004527d1
push eax
lea ecx, [ebp - 0x18]
call fcn.00402899
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x519f74], 2
mov esi, dword [0x519f58]
jne 0x429be5
test esi, esi
jne 0x429bb2
cmp dword [0x51a3b0], 0x249f0
jne 0x429be5
push 0x51a068
lea ecx, [ebp - 0x18]
call fcn.00402e14
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x429c56
test esi, esi
mov ecx, str.http:__www.adobe.com_go_update_error_win
mov eax, str.http:__www.adobe.com_go_ARMUpgradeFailedHelp
cmove eax, ecx
lea ecx, [ebp - 0x18]
push eax
call fcn.0040286d
jmp 0x429c56
cmp dword [0x51a010], ebx
jne 0x429bfa
mov eax, 0x51a024
cmp dword [0x51a05c], ebx
je 0x429bff
mov eax, 0x51a06c
push eax
lea ecx, [ebp - 0x18]
call fcn.00402e14
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x429c32
mov ecx, 0x519f84
call fcn.004031f2
test eax, eax
mov edx, 0x519e24
mov ecx, 0x519e28
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402e14
cmp dword [0x51a010], ebx
je 0x429c56
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], bl
push eax
push ebx
push 0x4ce724
push str.Upgrade_WhatsNew
mov ecx, 0x519e58
call fcn.00409e40
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
push ebx
call fcn.00402d9f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
add edi, 0x84
push eax
mov ecx, edi
call fcn.00402e14
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402e64
push 0x4d0aa4
lea ecx, [ebp - 0x14]
call fcn.00402829
push 1
xor eax, eax
mov byte [ebp - 4], 2
push eax
push eax
push dword [edi]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x21
jge 0x429d7b
mov ecx, esi
sub ecx, 0
je 0x429d14
dec ecx
sub ecx, 1
je 0x429d07
sub ecx, 1
je 0x429d00
dec ecx
sub ecx, 1
je 0x429d14
sub ecx, 3
je 0x429cf9
sub ecx, 0x12
je 0x429cf2
sub ecx, 6
lea ecx, [ebp - 0x14]
je 0x429ceb
push str.All_other_non_caught_scenarios
jmp 0x429d0f
push str.The_specified_DLL_was_not_found.
jmp 0x429d0f
push str.A_sharing_violation_occurred.
jmp 0x429d0c
push str.There_was_not_enough_memory_to_complete_the_operation.
jmp 0x429d0c
push str.The_specified_path_was_not_found.
jmp 0x429d0c
push str.The_specified_file_was_not_found.
lea ecx, [ebp - 0x14]
call fcn.0040286d
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x429d7b
push str.Failed_to_navigate_to_URL:
lea ecx, [ebp - 0x1c]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 3
push esi
push edi
lea edx, [ebp - 0x1c]
inc ecx
call fcn.00417010
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___Error_message:
lea ecx, [ebp - 0x1c]
call fcn.00402829
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
xor ecx, ecx
lea edx, [ebp - 0x1c]
push 0
push eax
inc ecx
call fcn.00417010
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, ebx
call fcn.00402e64
xor eax, eax
inc eax
call fcn.0046c601
ret
Function at 0x42a57f
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x4ac9a8
call fcn.0046c638
mov esi, ecx
mov ebx, str.GlobalARM_Update_Mutex
xor edi, edi
push ebx
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x42a5bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42a5bd
push ebx
push 1
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x3c], edi
je 0x42a5ea
push str.ARM_update_mutex_created
lea ecx, [ebp - 0x10]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], edi
pop ecx
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046c601
ret
Function at 0x42d408
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4b15c0
call fcn.0046c638
push str.ExecuteRetryInstall...
lea ecx, [ebp - 0x10]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x10]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00417741
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___file__
lea ecx, [ebp - 0x10]
call fcn.00402829
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x10]
push ebx
push 2
pop esi
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00417010
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xd
pop edi
call fcn.004527d1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402899
mov dword [ebp - 4], esi
push 0x5c
push dword [ebx]
call fcn.004854d7
pop ecx
pop ecx
test eax, eax
je 0x42d4cd
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x42d4cd
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004097e9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e14
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edx, str..exe
mov ecx, ebx
call fcn.004444d5
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x42d53a
mov edi, 0x4d0aa4
test esi, esi
je 0x42d509
push 5
push 0
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 5
push 0
push edi
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
cmp edi, 0x21
jae 0x42d57c
push str.ShellExecute_failed
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 4
push edi
jmp 0x42d593
mov edx, str..msi
mov ecx, ebx
call fcn.004444d5
test eax, eax
je 0x42d580
mov edi, 0x4d0aa4
test esi, esi
je 0x42d573
push 5
push 0
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push dword [ebx]
call dword [sym.imp.msi.dll_MsiOpenDatabaseW]
xor edi, edi
jmp 0x42d5aa
push str.Not_supported_file_type
lea ecx, [ebp - 0x14]
call fcn.00402829
mov byte [ebp - 4], 5
push 0
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.00417741
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.0046c601
ret 4
Function at 0x42f1d5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x514554]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x42f201
push 0xd
jmp 0x42f266
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42f264
push 0x250
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00484ac0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42f264
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0xffffffff
je 0x42f24b
cmp dword [esp + 0x30], edi
je 0x42f24b
mov eax, 0x5b6
jmp 0x42f267
push ebx
mov ecx, esi
call fcn.0042e4fc
neg eax
pop ecx
sbb eax, eax
and eax, 0xfffffc12
add eax, 0x3ee
jmp 0x42f267
push 2
pop eax
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046c05a
mov esp, ebp
pop ebp
ret
Function at 0x42fb58
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x4b1988
call fcn.0046c638
mov edi, ecx
push str.InitUpdateFromProductUpdatesTable...
lea ecx, [ebp - 0x1c]
call fcn.00402829
xor esi, esi
lea edx, [ebp - 0x1c]
push esi
push 2
pop ecx
mov dword [ebp - 4], esi
call fcn.00417741
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.SELECT__FROM__ProductUpdates__WHERE__ProductCode_
lea ecx, [ebp - 0x14]
call fcn.00402829
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
push str._AND__ProductVersion_
lea ecx, [ebp - 0x14]
call fcn.0041052e
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
push 0x4f1300
lea ecx, [ebp - 0x14]
call fcn.0041052e
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
push dword [edi + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov esi, eax
test esi, esi
je 0x42fc16
push 0x4f1304
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x42fc38
push 0
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiViewModify]
mov esi, eax
test esi, esi
je 0x42fc49
push 0x4f1310
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 5
push esi
lea edx, [ebp - 0x1c]
mov ecx, ebx
call fcn.004177f2
pop ecx
mov ecx, dword [ebp - 0x1c]
jmp 0x42fcae
cmp dword [ebp - 0x10], 0
je 0x42fc58
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x42fc8d
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 3
push eax
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0042fef4
mov esi, eax
jmp 0x42fcbb
push 0x4f1318
lea ecx, [ebp - 0x20]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 6
push ebx
lea edx, [ebp - 0x20]
inc ecx
call fcn.004177f2
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, 0x3d32
cmp dword [ebp - 0x10], 0
je 0x42fcca
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x18], 0
je 0x42fcd9
push dword [ebp - 0x18]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
call fcn.0046c601
ret 8
Function at 0x434814
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x4b2800
call fcn.0046c638
mov ebx, ecx
mov eax, dword [0x51a064]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
mov dword [esp], str.SELECT__FileSequences__FROM__ProductUpgrades__WHERE__UpgradeMatch_
call fcn.00402829
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push dword [esi - 0xc]
push esi
call fcn.004025c6
push 0x4f1300
lea ecx, [ebp - 0x18]
call fcn.0041052e
cmp dword [ebp - 0x10], edi
je 0x43487f
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
push dword [ebp - 0x18]
push dword [ebx + 4]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
je 0x4348a9
push 0x4f1304
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x4348c8
push edi
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x4348e7
push 0x4f1310
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 5
xor ecx, ecx
lea edx, [ebp - 0x1c]
mov edi, 0x3d32
inc ecx
push edi
call fcn.004177f2
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x434919
cmp dword [ebp - 0x14], 0
je 0x4348f6
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x434919
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call fcn.0044a01b
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x14], 0
je 0x434933
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x434942
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.0046c601
ret 4
Function at 0x437756
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x514554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, str.Shell_TrayWnd
push edi
xor edi, edi
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4377a0
push edi
push str.TrayNotifyWnd
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x4377a0
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x437862
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x437806
mov eax, dword [ebp - 0x1c]
sub eax, edi
je 0x4377ea
sub eax, 1
je 0x4377d1
sub eax, 1
je 0x4377ea
sub eax, 1
jne 0x437862
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
lea eax, [ecx - 0x64]
mov dword [esi], eax
lea eax, [ecx - 0x10]
jmp 0x437801
mov ecx, dword [ebp - 0xc]
lea eax, [ecx - 0x64]
mov dword [esi + 4], eax
lea eax, [ecx - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
jmp 0x437862
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x437844
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, dword [esi]
cmp eax, 0x96
jle 0x437832
lea eax, [ecx - 0x96]
mov dword [esi], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 4]
cmp eax, 0x1e
jle 0x437862
lea eax, [ecx - 0x1e]
jmp 0x43785f
push edi
push esi
push edi
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
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c05a
leave
ret 4
Function at 0x438922
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x4b30db
call fcn.0046c66c
mov edi, ecx
push dword [edx]
push str._INSTALLDIR_
call fcn.00409868
test eax, eax
jne 0x438a3d
call fcn.004527d1
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402899
xor ebx, ebx
mov esi, str._WindowsFolder_
push ebx
push esi
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0040982e
cmp eax, 0xffffffff
je 0x438974
push 0x24
jmp 0x4389ce
push ebx
mov esi, str._SystemFolder_
mov ecx, edi
push esi
call fcn.0040982e
cmp eax, 0xffffffff
je 0x43898b
push 0x25
jmp 0x4389ce
push ebx
mov esi, str._ProgramFilesFolder_
mov ecx, edi
push esi
call fcn.0040982e
cmp eax, 0xffffffff
je 0x4389a2
push 0x26
jmp 0x4389ce
push ebx
mov esi, str._CommonFilesFolder_
mov ecx, edi
push esi
call fcn.0040982e
cmp eax, 0xffffffff
je 0x4389b9
push 0x2b
jmp 0x4389ce
push ebx
mov esi, str._LocalAppDataFolder_
mov ecx, edi
push esi
call fcn.0040982e
cmp eax, 0xffffffff
je 0x438a2f
push 0x1c
pop ebx
push esi
lea ecx, [ebp - 0x21c]
call fcn.0040286d
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00484ac0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x438a2f
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x438a2f
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
push esi
mov ecx, edi
call fcn.00409868
jmp 0x438a35
mov esi, dword [ebp - 0x21c]
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.0046c616
ret