joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412db2
Capabilities:
Write file on windows

Disassembly:
push 0x10
mov eax, 0x4ab528
call fcn.00468fa8
mov ebx, ecx
push str.Notify...
lea ecx, [ebp - 0x10]
call fcn.00402829
xor edi, edi
lea edx, [ebp - 0x10]
push edi
push 2
pop ecx
mov dword [ebp - 4], edi
call fcn.004137d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call fcn.00487ace
pop ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
test ecx, ecx
je 0x412e15
cmp eax, ecx
jbe 0x412e15
sub eax, ecx
cmp eax, 0x64
jae 0x412e15
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push edi
push 3
pop esi
push esi
push edi
push edi
push 0x40000000
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x412f23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
je 0x412e7a
push str.Could_not_find_ARM_server_to_notify
lea ecx, [ebp - 0x10]
call fcn.00402829
push 0x186a0
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 1
pop ecx
call fcn.004137d1
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x412f9d
push 0x7d0
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x412ea8
push str.Wait_to_notify_ARM_Server_failed
lea ecx, [ebp - 0x10]
call fcn.00402829
push 2
pop eax
mov dword [ebp - 4], eax
mov ecx, eax
push 0x186a0
jmp 0x412edc
xor eax, eax
push eax
push eax
push esi
push eax
push eax
push 0x40000000
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x412f23
push str.Failed_to_contact_ARM_Server_to_notify
lea ecx, [ebp - 0x10]
call fcn.00402829
push 0x186a0
push 2
mov dword [ebp - 4], esi
pop ecx
lea edx, [ebp - 0x10]
call fcn.004137d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.Notify_ARM_Server_failed:_invalid_handle
lea ecx, [ebp - 0x14]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 6
pop ecx
call fcn.004137d1
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x412f93
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push 0
push eax
push 4
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x412f59
push str.Notify_ARM_Server:_failed_WriteFile
call fcn.00402829
mov dword [ebp - 4], 4
push 0x186a0
jmp 0x412f6f
push 2
pop esi
push str.WriteFile_succeeded_in_Notify
call fcn.00402829
mov dword [ebp - 4], 5
push 0
push 2
lea edx, [ebp - 0x10]
pop ecx
call fcn.004137d1
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x10], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.00468f71
ret 4
Function at 0x412fa5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x20019
push esi
push dword [0x514d04]
xor ebx, ebx
mov dword [ebp - 0xc], esi
inc ebx
mov dword [ebp - 0x14], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x514c98], bl
mov dword [0x514c9c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41308e
push edi
push 4
pop edi
lea eax, [ebp - 4]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [0x514d10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413016
cmp dword [ebp - 0xc], ebx
je 0x41303d
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x4e5094
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413047
cmp dword [ebp - 0x14], ebx
jne 0x413047
mov dword [0x514c9c], 2
mov edx, dword [0x514d04]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push str.iLogLevelDebug
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], esi
call fcn.0043fc1c
add esp, 0xc
pop edi
test eax, eax
jne 0x413085
movzx eax, byte [0x514c96]
cmp dword [ebp - 0x18], 0x64
cmovae eax, ebx
mov byte [0x514c96], al
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret
Function at 0x4144da
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0x828
mov eax, 0x4ab7f7
call fcn.00468fdc
mov eax, dword [ebp + 0xc]
lea ebx, [ecx + 4]
mov edi, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x824], edi
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x81c], ebx
call fcn.004549be
push ebx
call fcn.00414732
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414727
call fcn.0044f181
push eax
lea ecx, [ebp - 0x818]
call fcn.00402899
and dword [ebp - 4], 0
mov esi, 0x104
imul esi, esi, 5
lea ecx, [ebp - 0x818]
push esi
call fcn.00402bd2
push dword [edi]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x818]
mov ebx, eax
call fcn.00409889
lea ecx, [esi - 2]
cmp ebx, ecx
je 0x41453c
mov esi, dword [ebp - 0x818]
test ebx, ebx
je 0x41471f
cmp dword [esi - 4], 1
jle 0x414593
push dword [esi - 0xc]
lea ecx, [ebp - 0x818]
call fcn.00402aac
mov esi, dword [ebp - 0x818]
mov edi, 0x4cc6b4
lea ecx, [ebp - 0x814]
push edi
call fcn.00402829
push edi
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 1
call fcn.00402829
lea eax, [ebx - 1]
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x81c]
xor edi, edi
mov dword [ebp - 0x834], eax
movzx eax, word [esi + edi*2]
test ax, ax
jne 0x4146b5
mov eax, dword [ebp - 0x814]
cmp dword [eax - 0xc], 0
je 0x4146a8
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00481750
mov eax, dword [ebp - 0x824]
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x810]
push 0x400
push eax
mov eax, dword [ebp - 0x828]
push 0x4cc6b4
push dword [eax]
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x820]
call fcn.0040286d
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x82c], eax
cmp dword [eax - 0xc], 0
je 0x414669
push dword [ebp - 0x814]
mov ecx, ebx
call fcn.0045475d
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.0040286d
jmp 0x4146a8
push str.Attention:_read_an_empty_string_from_resource_file__use_default_English_string_then:
lea ecx, [ebp - 0x81c]
call fcn.00402829
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 3
xor ecx, ecx
lea edx, [ebp - 0x81c]
push 0
push eax
inc ecx
call fcn.004130a0
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x81c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [ebp - 0x814]
call fcn.00402a6b
jmp 0x4146e9
push ecx
push eax
lea ecx, [ebp - 0x830]
call fcn.0041481c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x814]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.004025c6
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x830]
add ecx, 0xfffffff0
call fcn.00402e64
inc edi
cmp edi, dword [ebp - 0x834]
jbe 0x4145c9
push 0xffffffffffffffff
lea ecx, [ebp - 0x818]
call fcn.00409889
mov ecx, dword [ebp - 0x820]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x814]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
xor eax, eax
inc eax
call fcn.00468f86
ret 8
Function at 0x414b1f
Capabilities:
Create bits job

Disassembly:
push 8
mov eax, 0x4ab8ee
call fcn.00468fa8
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0044f181
push eax
lea ecx, [edi + 8]
call fcn.00402899
xor ebx, ebx
lea ecx, [edi + 0x2c]
mov dword [ebp - 4], ebx
call fcn.0043a20c
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.00481750
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 [0x515280], esi
je 0x414c68
test eax, eax
js 0x414c68
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 0x414beb
cmp eax, 0x80010119
je 0x414beb
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 0x414c4b
push edi
push 0x4e65d4
push 4
push ebx
push 0x4e65c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [edi + 0xc], eax
cmp dword [0x515280], 0x222e0
je 0x414c16
test eax, eax
jns 0x414c96
mov ecx, dword [edi]
test ecx, ecx
je 0x414c2e
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4b67e8]
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, 0x515278
call fcn.00411723
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x414c96
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, 0x515278
push eax
push esi
call fcn.00411723
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.00468f71
ret 4

Function at 0x416580
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 0x416588
mov dword [edx*4 + 0x515380], ecx
inc edx
cmp edx, 0x100
jb 0x416583
mov esi, 0x800
jmp 0x4165d0
mov ecx, dword [edx*4 + 0x514f80]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x515380]
mov dword [edx*4 + 0x515380], ecx
inc edx
cmp edx, esi
jb 0x4165b4
mov dword [0x5152dc], 0x416600
call fcn.0041991f
mov ecx, dword [0x5152dc]
test eax, eax
mov edx, 0x4166a0
cmove ecx, edx
mov dword [0x5152dc], ecx
pop esi
ret
Function at 0x4170f4
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 0x41714f
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 0x417147
test ecx, ecx
je 0x41714f
test esi, esi
je 0x41714f
mov ecx, dword [ebp - 8]
jmp 0x41710d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x417151
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4196ff
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 0x419722
xor eax, eax
jmp 0x419858
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 0x419745
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x419742
inc edx
cmp edx, ebx
jb 0x419735
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
mov eax, edi
sub eax, ecx
cmp edx, ebx
jae 0x419840
cmp eax, 3
jbe 0x41977c
xor esi, esi
mov al, byte [edx + 4]
mov ecx, edi
mov dword [ebp - 0x10], ecx
test al, al
je 0x4197b8
cmp al, 0xff
je 0x4197b8
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x419839
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x41975c
cmp byte [esi + 0x4e28d8], 0
je 0x4197a5
movzx eax, byte [esi + 0x4e28e0]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x4197a5
cmp al, 0xff
jne 0x41975c
and esi, 3
mov ecx, edi
add esi, esi
or esi, 1
inc edi
mov eax, dword [ebp - 4]
jmp 0x41972e
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 0x419811
movzx eax, byte [esi + 0x4e28e0]
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 0x419800
cmp al, 0xff
jne 0x419811
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 0x4197d6
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 0x4197b0
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 0x41d43c
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x28
mov eax, 0x4ac050
call fcn.00468fa8
mov esi, dword [ebp + 8]
xor edi, edi
push edi
mov ecx, esi
call fcn.0042390b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d54c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41d54c
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 0x41d50e
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41d54c
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 0x41d54c
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.004130a0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x41d518
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41d54c
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.004130a0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor eax, eax
jmp 0x41d54f
xor eax, eax
inc eax
call fcn.00468f71
ret 4
Function at 0x4255d2
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x4ad348
call fcn.00468fa8
mov edi, ecx
call fcn.0044f181
push eax
lea ecx, [ebp - 0x14]
call fcn.00402899
and dword [ebp - 4], 0
cmp dword [0x514e4c], 2
mov esi, dword [0x514e30]
jne 0x425641
test esi, esi
jne 0x425611
cmp dword [0x51527c], 0x249f0
jne 0x425641
push 0x514f30
lea ecx, [ebp - 0x14]
call fcn.00402e14
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x425691
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 - 0x14]
push eax
call fcn.0040286d
jmp 0x425691
cmp dword [0x514ee0], 0
jne 0x425658
cmp dword [0x514f24], 0
mov eax, 0x514ef0
je 0x42565d
mov eax, 0x514f34
push eax
lea ecx, [ebp - 0x14]
call fcn.00402e14
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x425691
mov ecx, 0x514e5c
call fcn.004031f2
test eax, eax
mov edx, 0x514cfc
mov ecx, 0x514d00
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402e14
mov ebx, dword [ebp - 0x14]
add ebx, 0xfffffff0
push ebx
call fcn.00402d9f
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
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 0x4cc6b4
lea ecx, [ebp - 0x10]
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 0x4257b6
mov ecx, esi
sub ecx, 0
je 0x42574f
dec ecx
sub ecx, 1
je 0x425742
sub ecx, 1
je 0x42573b
dec ecx
sub ecx, 1
je 0x42574f
sub ecx, 3
je 0x425734
sub ecx, 0x12
je 0x42572d
sub ecx, 6
lea ecx, [ebp - 0x10]
je 0x425726
push str.All_other_non_caught_scenarios
jmp 0x42574a
push str.The_specified_DLL_was_not_found.
jmp 0x42574a
push str.A_sharing_violation_occurred.
jmp 0x425747
push str.There_was_not_enough_memory_to_complete_the_operation.
jmp 0x425747
push str.The_specified_path_was_not_found.
jmp 0x425747
push str.The_specified_file_was_not_found.
lea ecx, [ebp - 0x10]
call fcn.0040286d
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4257b6
push str.Failed_to_navigate_to_URL:
lea ecx, [ebp - 0x18]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 3
push esi
push edi
lea edx, [ebp - 0x18]
inc ecx
call fcn.004130a0
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.___Error_message:
lea ecx, [ebp - 0x18]
call fcn.00402829
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
xor ecx, ecx
lea edx, [ebp - 0x18]
push 0
push eax
inc ecx
call fcn.004130a0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, ebx
call fcn.00402e64
xor eax, eax
inc eax
call fcn.00468f71
ret
Function at 0x425faf
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x4a9628
call fcn.00468fa8
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 0x425fed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x425fed
push ebx
push 1
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x3c], edi
je 0x42601a
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.004137d1
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.00468f71
ret
Function at 0x42fc71
Capabilities:
Reference sql statements

Disassembly:
push 0x14
mov eax, 0x4aec80
call fcn.00468fa8
mov ebx, ecx
mov eax, dword [0x514f2c]
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 0x4ebf58
lea ecx, [ebp - 0x18]
call fcn.00411e9f
cmp dword [ebp - 0x10], edi
je 0x42fcdc
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 0x42fd06
push 0x4ebf5c
lea ecx, [ebp - 0x1c]
call fcn.00402829
mov byte [ebp - 4], 4
jmp 0x42fd25
push edi
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
je 0x42fd44
push 0x4ebf68
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.00413882
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x42fd76
cmp dword [ebp - 0x14], 0
je 0x42fd53
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 0x42fd76
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
inc edx
call fcn.00445ab6
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x14], 0
je 0x42fd90
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
cmp dword [ebp - 0x10], 0
je 0x42fd9f
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
call fcn.00468f71
ret 4
Function at 0x432f36
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x50f554]
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 0x432f80
push edi
push str.TrayNotifyWnd
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x432f80
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x433042
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x24
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x432fe6
mov eax, dword [ebp - 0x1c]
sub eax, edi
je 0x432fca
sub eax, 1
je 0x432fb1
sub eax, 1
je 0x432fca
sub eax, 1
jne 0x433042
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 0x432fe1
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 0x433042
push edi
push ebx
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x433024
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 0x433012
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 0x433042
lea eax, [ecx - 0x1e]
jmp 0x43303f
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.004689ca
leave
ret 4