joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414aaa
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0x828
mov eax, 0x487537
call fcn.00464e7c
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.0045108e
push ebx
call fcn.00414d02
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414cf7
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x818]
call fcn.00402824
and dword [ebp - 4], 0
mov esi, 0x104
imul esi, esi, 5
lea ecx, [ebp - 0x818]
push esi
call fcn.00402b5d
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.004097d8
lea ecx, [esi - 2]
cmp ebx, ecx
je 0x414b0c
mov esi, dword [ebp - 0x818]
test ebx, ebx
je 0x414cef
cmp dword [esi - 4], 1
jle 0x414b63
push dword [esi - 0xc]
lea ecx, [ebp - 0x818]
call fcn.00402a37
mov esi, dword [ebp - 0x818]
mov edi, 0x49fb6c
lea ecx, [ebp - 0x814]
push edi
call fcn.0040279b
push edi
lea ecx, [ebp - 0x820]
mov byte [ebp - 4], 1
call fcn.0040279b
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 0x414c85
mov eax, dword [ebp - 0x814]
cmp dword [eax - 0xc], 0
je 0x414c78
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00466990
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 0x49fb6c
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.004027df
mov eax, dword [ebp - 0x820]
mov dword [ebp - 0x82c], eax
cmp dword [eax - 0xc], 0
je 0x414c39
push dword [ebp - 0x814]
mov ecx, ebx
call fcn.00450e2d
push dword [ebp - 0x82c]
mov ecx, eax
call fcn.004027df
jmp 0x414c78
push str.Attention:_read_an_empty_string_from_resource_file__use_default_English_string_then:
lea ecx, [ebp - 0x81c]
call fcn.0040279b
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 3
xor ecx, ecx
lea edx, [ebp - 0x81c]
push 0
push eax
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x81c]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea ecx, [ebp - 0x814]
call fcn.004029f6
jmp 0x414cb9
push ecx
push eax
lea ecx, [ebp - 0x830]
call fcn.00414dec
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x814]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402556
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x830]
add ecx, 0xfffffff0
call fcn.00402def
inc edi
cmp edi, dword [ebp - 0x834]
jbe 0x414b99
push 0xffffffffffffffff
lea ecx, [ebp - 0x818]
call fcn.004097d8
mov ecx, dword [ebp - 0x820]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x814]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea ecx, [esi - 0x10]
call fcn.00402def
xor eax, eax
inc eax
call fcn.00464e26
ret 8
Function at 0x4150ef
Capabilities:
Create bits job

Disassembly:
push 8
mov eax, 0x48762e
call fcn.00464e48
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0044afe1
push eax
lea ecx, [edi + 8]
call fcn.00402824
xor ebx, ebx
lea ecx, [edi + 0x28]
mov dword [ebp - 4], ebx
call fcn.00439e90
push 0x10
mov byte [ebp - 4], 1
lea eax, [edi + 0x18]
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.00466990
add esp, 0xc
mov dword [edi + 0xc], ebx
lea ecx, [edi + 8]
mov dword [edi + 0x38], 4
mov dword [edi + 0x3c], ebx
push dword [ebp + 8]
call fcn.004027df
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, 0x272f4
mov dword [edi + 0xc], eax
cmp dword [0x4e24d4], esi
je 0x415231
test eax, eax
js 0x415231
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 0x4151b4
cmp eax, 0x80010119
je 0x4151b4
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp - 0x10]
call fcn.0040279b
mov byte [ebp - 4], 4
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
push eax
push 0x27358
jmp 0x415214
push edi
push 0x4ba364
push 4
push ebx
push 0x4ba354
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [edi + 0xc], eax
cmp dword [0x4e24d4], 0x222e0
je 0x4151df
test eax, eax
jns 0x41525f
mov ecx, dword [edi]
test ecx, ecx
je 0x4151f7
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4907c8]
call esi
mov dword [edi], ebx
push str.Failed_to_connect_to_BITS
lea ecx, [ebp - 0x10]
call fcn.0040279b
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
push eax
push 0x222e0
mov ecx, 0x4e24cc
call fcn.004121e3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x41525f
push str.Failed_to_connect_to_BITS___COM_threading_returned_an_error__CoInitializeEx_
lea ecx, [ebp - 0x10]
call fcn.0040279b
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push dword [edi + 0xc]
mov ecx, 0x4e24cc
push eax
push esi
call fcn.004121e3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, edi
call fcn.00464e11
ret 4

Function at 0x416b40
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 0x416b48
mov dword [edx*4 + 0x4e2620], ecx
inc edx
cmp edx, 0x100
jb 0x416b43
mov esi, 0x800
jmp 0x416b90
mov ecx, dword [edx*4 + 0x4e2220]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4e2620]
mov dword [edx*4 + 0x4e2620], ecx
inc edx
cmp edx, esi
jb 0x416b74
mov dword [0x4e2530], 0x416bc0
call fcn.00419edf
mov ecx, dword [0x4e2530]
test eax, eax
mov edx, 0x416c60
cmove ecx, edx
mov dword [0x4e2530], ecx
pop esi
ret
Function at 0x4176b4
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 0x41770f
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 0x417707
test ecx, ecx
je 0x41770f
test esi, esi
je 0x41770f
mov ecx, dword [ebp - 8]
jmp 0x4176cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x417711
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x419cbf
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 0x419ce2
xor eax, eax
jmp 0x419e18
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 0x419d05
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x419d02
inc edx
cmp edx, ebx
jb 0x419cf5
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
mov eax, edi
sub eax, ecx
cmp edx, ebx
jae 0x419e00
cmp eax, 3
jbe 0x419d3c
xor esi, esi
mov al, byte [edx + 4]
mov ecx, edi
mov dword [ebp - 0x10], ecx
test al, al
je 0x419d78
cmp al, 0xff
je 0x419d78
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x419df9
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x419d1c
cmp byte [esi + 0x4b6958], 0
je 0x419d65
movzx eax, byte [esi + 0x4b6960]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x419d65
cmp al, 0xff
jne 0x419d1c
and esi, 3
mov ecx, edi
add esi, esi
or esi, 1
inc edi
mov eax, dword [ebp - 4]
jmp 0x419cee
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 0x419dd1
movzx eax, byte [esi + 0x4b6960]
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 0x419dc0
cmp al, 0xff
jne 0x419dd1
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 0x419d96
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 0x419d70
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 0x41d9a2
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x28
mov eax, 0x487dc0
call fcn.00464e48
mov esi, dword [ebp + 8]
xor edi, edi
push edi
mov ecx, esi
call fcn.00423dfd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41dab2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41dab2
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 0x41da74
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41dab2
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 0x41dab2
push str.SHFileOperation_FO_DELETE__failed:
lea ecx, [ebp - 0x10]
call fcn.0040279b
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
push edi
push esi
inc ecx
call fcn.00413900
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
jmp 0x41da7e
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41dab2
push str.RemoveDirectory___DeleteFile___failed:
lea ecx, [ebp - 0x14]
call fcn.0040279b
xor eax, eax
lea edx, [ebp - 0x14]
inc eax
push 0x186a0
push esi
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402def
xor eax, eax
jmp 0x41dab5
xor eax, eax
inc eax
call fcn.00464e11
ret 4
Function at 0x425bbe
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x488fc8
call fcn.00464e48
lea eax, [ecx + 0x64]
push 0x49fb68
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004023e9
push str.UsageMeasurement
push eax
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004023e9
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x20019
push ebx
push dword [ebp - 0x18]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], ebx
je 0x425c52
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push str.bHighbeamNoticeShown
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
seta bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402def
mov al, bl
call fcn.00464e11
ret
Function at 0x4277d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x5c
mov eax, 0x4891e0
call fcn.00464e7c
push 0xf
xor eax, eax
pop edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x40], al
push edx
mov edx, ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
call fcn.00427738
or ebx, 0xffffffff
cmp dword [0x4e2560], 0
pop ecx
je 0x42782d
mov esi, dword [0x4e2568]
test esi, esi
je 0x42782d
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, esi
cmovae eax, dword [ebp - 0x40]
push eax
call dword [0x4907c8]
call esi
pop ecx
mov esi, eax
jmp 0x42791e
and dword [ebp - 0x18], 0
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.00428186
mov esi, eax
lea eax, [ebp - 0x28]
pop ecx
cmp eax, esi
je 0x427891
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42786d
mov ecx, dword [ebp - 0x28]
inc edx
call fcn.0042739a
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
push 0x18
push esi
push eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], 0
call fcn.00466410
add esp, 0xc
mov dword [esi + 0x14], edi
and dword [esi + 0x10], 0
mov byte [esi], 0
lea ecx, [ebp - 0x58]
call fcn.00426cea
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
jb 0x4278a9
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x4278bb
push esi
call fcn.0046e0e0
pop ecx
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x4278bf
xor eax, eax
jmp 0x4278d3
lea eax, [edi + edi]
call fcn.00484140
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.004282da
lea ecx, [ebp - 0x5c]
push ecx
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x427913
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push str.OptIn
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
call fcn.00426cea
sub esi, 0
je 0x42792d
sub esi, 1
jne 0x42792f
xor ebx, ebx
inc ebx
jmp 0x42792f
xor ebx, ebx
lea ecx, [ebp - 0x40]
call fcn.00426cea
mov eax, ebx
lea esp, [ebp - 0x78]
call fcn.00464e26
ret
Function at 0x428312
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
mov esi, edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], 0
je 0x428374
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 1
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
seta al
jmp 0x428376
mov al, 1
pop esi
leave
ret
Function at 0x428a42
Capabilities:
Create process on windows

Disassembly:
push 0x14
mov eax, 0x4894b8
call fcn.00464e48
mov edi, ecx
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x18]
call fcn.00402824
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x4e20ac], 2
mov esi, dword [0x4e2090]
jne 0x428ab5
test esi, esi
jne 0x428a82
cmp dword [0x4e24d0], 0x249f0
jne 0x428ab5
push 0x4e21a4
lea ecx, [ebp - 0x18]
call fcn.00402d9f
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x428b26
test esi, esi
mov ecx, str.http:__www.adobe.com_go_update_error_win
mov eax, 0x4bddd8
cmove eax, ecx
lea ecx, [ebp - 0x18]
push eax
call fcn.004027df
jmp 0x428b26
cmp dword [0x4e2148], ebx
jne 0x428aca
mov eax, 0x4e2160
cmp dword [0x4e2198], ebx
je 0x428acf
mov eax, 0x4e21a8
push eax
lea ecx, [ebp - 0x18]
call fcn.00402d9f
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
jne 0x428b02
mov ecx, 0x4e20bc
call fcn.00403212
test eax, eax
mov edx, 0x4e1f58
mov ecx, 0x4e1f5c
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402d9f
cmp dword [0x4e2148], ebx
je 0x428b26
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], bl
push eax
push ebx
push 0x49db4c
push str.Upgrade_WhatsNew
mov ecx, 0x4e1f90
call fcn.004098b0
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
push ebx
call fcn.00402d2a
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.00402d9f
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402def
push 0x49fb6c
lea ecx, [ebp - 0x14]
call fcn.0040279b
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 0x428c4b
mov ecx, esi
sub ecx, 0
je 0x428be4
dec ecx
sub ecx, 1
je 0x428bd7
sub ecx, 1
je 0x428bd0
dec ecx
sub ecx, 1
je 0x428be4
sub ecx, 3
je 0x428bc9
sub ecx, 0x12
je 0x428bc2
sub ecx, 6
lea ecx, [ebp - 0x14]
je 0x428bbb
push str.All_other_non_caught_scenarios
jmp 0x428bdf
push str.The_specified_DLL_was_not_found.
jmp 0x428bdf
push str.A_sharing_violation_occurred.
jmp 0x428bdc
push str.There_was_not_enough_memory_to_complete_the_operation.
jmp 0x428bdc
push str.The_specified_path_was_not_found.
jmp 0x428bdc
push str.The_specified_file_was_not_found.
lea ecx, [ebp - 0x14]
call fcn.004027df
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x428c4b
push str.Failed_to_navigate_to_URL:
lea ecx, [ebp - 0x1c]
call fcn.0040279b
xor ecx, ecx
mov byte [ebp - 4], 3
push esi
push edi
lea edx, [ebp - 0x1c]
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402def
push str.___Error_message:
lea ecx, [ebp - 0x1c]
call fcn.0040279b
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
xor ecx, ecx
lea edx, [ebp - 0x1c]
push 0
push eax
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, ebx
call fcn.00402def
xor eax, eax
inc eax
call fcn.00464e11
ret
Function at 0x42943f
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x4850f8
call fcn.00464e48
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 + 0x20], eax
test eax, eax
jne 0x42947d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42947d
push ebx
push 1
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x20], eax
cmp dword [esi + 0x20], edi
je 0x4294aa
push str.ARM_update_mutex_created
lea ecx, [ebp - 0x10]
call fcn.0040279b
push edi
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], edi
pop ecx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
call fcn.00464e11
ret
Function at 0x42b7b7
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x489ac0
call fcn.00464e48
push str.ExecuteRetryInstall...
lea ecx, [ebp - 0x10]
call fcn.0040279b
xor ebx, ebx
lea edx, [ebp - 0x10]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
push str.___file__
lea ecx, [ebp - 0x10]
call fcn.0040279b
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.00413900
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
push 0xd
pop edi
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x10]
call fcn.00402824
mov dword [ebp - 4], esi
push 0x5c
push dword [ebx]
call fcn.004673a7
pop ecx
pop ecx
test eax, eax
je 0x42b87c
sub eax, dword [ebx]
sar eax, 1
cmp eax, 0xffffffff
je 0x42b87c
push eax
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004091c9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00402d9f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov edx, str..exe
mov ecx, ebx
call fcn.0043f971
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x42b8e9
mov edi, 0x49fb6c
test esi, esi
je 0x42b8b8
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 0x42b92b
push str.ShellExecute_failed
lea ecx, [ebp - 0x14]
call fcn.0040279b
mov byte [ebp - 4], 4
push edi
jmp 0x42b942
mov edx, str..msi
mov ecx, ebx
call fcn.0043f971
test eax, eax
je 0x42b92f
mov edi, 0x49fb6c
test esi, esi
je 0x42b922
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 0x42b959
push str.Not_supported_file_type
lea ecx, [ebp - 0x14]
call fcn.0040279b
mov byte [ebp - 4], 5
push 0
push 2
lea edx, [ebp - 0x14]
pop ecx
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea ecx, [esi - 0x10]
call fcn.00402def
mov eax, edi
call fcn.00464e11
ret 4
Function at 0x42d48a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x4dd554]
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 0x42d4b6
push 0xd
jmp 0x42d51b
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42d519
push 0x250
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00466990
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42d519
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0xffffffff
je 0x42d500
cmp dword [esp + 0x30], edi
je 0x42d500
mov eax, 0x5b6
jmp 0x42d51c
push ebx
mov ecx, esi
call fcn.0042c7b2
neg eax
pop ecx
sbb eax, eax
and eax, 0xfffffc12
add eax, 0x3ee
jmp 0x42d51c
push 2
pop eax
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046486a
mov esp, ebp
pop ebp
ret