joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4127ab
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
mov edi, eax
lea ebx, [edi + 4]
push ebx
call esi
test eax, eax
jne 0x4127d1
push 3
pop eax
jmp 0x4128e3
push ebx
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4127fa
and dword [ebp - 8], 0
mov eax, edi
call fcn.004126a5
mov dword [ebp - 4], eax
test eax, eax
jne 0x4128e3
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x4128bf
cmp dword [ebp - 8], 0
je 0x4128bf
push dword [ebp + 8]
and dword [ebp + 0x14], 0
lea eax, [ebp + 0x14]
mov ecx, edi
call fcn.00412960
test eax, eax
jne 0x4128bf
push dword [ebp + 0x14]
call esi
mov edi, eax
test edi, edi
je 0x4128bf
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.00450d2a
pop ecx
pop ecx
test eax, eax
je 0x412859
push dword [ebp + 0x14]
call fcn.0043f022
pop ecx
xor eax, eax
jmp 0x4128e3
push dword [ebp + 0xc]
call esi
add eax, edi
lea esi, [eax + eax + 2]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f017
pop ecx
push dword [ebp + 0x14]
mov edi, eax
mov eax, esi
mov edx, edi
call fcn.00412b5b
push dword [ebp + 0x10]
push esi
call fcn.00412c14
push dword [ebp + 0xc]
push esi
call fcn.00412c14
push ebx
push edi
push dword [ebp + 8]
push str.SESSION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [ebp + 0x14]
mov esi, eax
call fcn.0043f022
push edi
call fcn.0043f022
pop ecx
pop ecx
jmp 0x4128d3
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.SESSION
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
test esi, esi
jne 0x4128e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x412960
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
add edi, 4
push edi
mov esi, eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x412983
push 3
pop eax
jmp 0x412a21
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x412993
push 2
jmp 0x41297d
mov edi, 0x82
push ebx
add edi, edi
cmp edi, 0x821
jae 0x412a1d
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f017
lea ecx, [edi + edi]
push ecx
push 0
push eax
mov dword [esi], eax
call fcn.00450cb0
add esp, 0x10
push dword [ebp - 4]
push edi
push dword [esi]
push 0
push dword [ebp + 8]
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
test ebx, ebx
je 0x4129ed
lea eax, [edi - 1]
cmp ebx, eax
jne 0x4129fc
push dword [esi]
call fcn.0043f022
and dword [esi], 0
pop ecx
test ebx, ebx
je 0x412a16
inc ebx
cmp edi, ebx
jbe 0x412999
mov esi, dword [esi]
test esi, esi
je 0x412a1d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x412a1d
xor eax, eax
jmp 0x412a20
mov eax, 0xe8
jmp 0x412a20
push 0xd
pop eax
pop ebx
pop edi
pop esi
leave
ret 4

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

Disassembly:
push ebp
mov ebp, dword [esp + 8]
add ebp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x412a7a
push 3
pop eax
jmp 0x412b09
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x412a8a
push 2
jmp 0x412a74
push esi
mov esi, 0x82
push ebx
add esi, esi
cmp esi, 0x1041
jae 0x412b0d
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f017
lea ecx, [esi + esi]
push ecx
push 0
push eax
mov dword [edi], eax
call fcn.00450cb0
add esp, 0x10
push ebp
push esi
push dword [edi]
push 0x478d20
push 0
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
test ebx, ebx
je 0x412ae5
lea eax, [esi - 2]
cmp ebx, eax
jne 0x412af4
push dword [edi]
call fcn.0043f022
and dword [edi], 0
pop ecx
test ebx, ebx
je 0x412b12
lea eax, [esi - 2]
cmp ebx, eax
je 0x412a91
mov eax, dword [edi]
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
pop ebx
pop esi
pop ebp
ret 4
push 0xd
pop eax
jmp 0x412b07
mov eax, 0xe8
jmp 0x412b07

Function at 0x412c96
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4b2d60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp + 0xc]
mov esi, 0x400
push esi
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00450cb0
add esp, 0xc
push dword [edi]
lea eax, [ebp - 0x804]
push esi
push eax
mov eax, dword [ebp - 0x80c]
push 0x478d20
push dword [eax]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x808]
lea eax, [ebp - 0x804]
push eax
call fcn.00401356
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044ff92
leave
ret 8
Function at 0x412d13
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469e60
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x4b2d60]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
add edi, 4
mov ecx, edi
mov dword [esp + 0x28], edi
call fcn.00443bef
push edi
call fcn.00412efa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412ee3
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x18]
call fcn.004013a1
and dword [esp + 0x40], 0
mov ebx, 0x104
mov edi, dword [esi]
imul ebx, ebx, 5
push ebx
lea ecx, [esp + 0x18]
call fcn.0040165f
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.004076ad
lea eax, [ebx - 2]
cmp edi, eax
je 0x412d7e
test edi, edi
jbe 0x412ed7
lea ecx, [esp + 0x14]
call fcn.0040fceb
mov ebx, 0x478d20
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
call fcn.004012e2
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 1
call fcn.004012e2
and dword [esp + 0x18], 0
dec edi
mov byte [esp + 0x40], 2
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
movzx ecx, word [eax + ecx*2]
test cx, cx
jne 0x412e79
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x412e6e
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
lea ebx, [esp + 0x18]
mov edi, esi
call fcn.00412c96
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x412e34
mov ecx, dword [esp + 0x28]
push eax
push dword [esp + 0x14]
call fcn.00413124
jmp 0x412e6e
push str.Attention:_read_an_empty_string_from_resource_file__use_default_English_string_then:
lea ecx, [esp + 0x24]
call fcn.004012e2
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push 1
mov byte [esp + 0x50], 3
call fcn.00411336
mov byte [esp + 0x50], 2
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [esp + 0x10]
call fcn.00401547
jmp 0x412ea2
lea ebx, [esp + 0x2c]
call fcn.00412fd8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 4
call fcn.00401103
mov byte [esp + 0x40], 2
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.004017df
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x30]
jbe 0x412dec
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.004076ad
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
inc eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41313b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 4], esi
je 0x41319c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 8], 1
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
seta al
jmp 0x41319e
mov al, 1
pop esi
leave
ret
Function at 0x4136c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x468bb5
call fcn.00452eb4
mov eax, dword [ebp + 8]
add eax, 0x64
push 0x479944
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00407458
push str.UsageMeasurement
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00407458
mov ecx, dword [ebp - 0x18]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x14]
mov dword [ebp + 8], ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp + 8], ebx
je 0x413757
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push str.bHighbeamNoticeShown
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], ebx
seta bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov al, bl
call fcn.00452f8c
ret
Function at 0x4151fd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x68
mov eax, 0x46dced
call fcn.00452f1d
push 0xf
pop esi
mov ebx, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
call fcn.004150b8
push dword [ebp + 8]
mov edx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.00415168
pop ecx
cmp dword [0x4b7618], edi
je 0x415255
mov eax, dword [0x4b7620]
cmp eax, edi
je 0x415255
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x41524a
lea ecx, [ebp - 0x28]
push ecx
call eax
pop ecx
mov esi, eax
jmp 0x415320
or dword [ebp - 0x4c], 0xffffffff
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x30], esi
call fcn.004150b8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 1
call fcn.00415b3a
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0041500a
push edi
push 1
lea ecx, [ebp - 0x74]
call fcn.004150d4
cmp dword [ebp - 0x30], 0x10
mov ebx, dword [ebp - 0x44]
jae 0x4152a6
lea ebx, [ebp - 0x44]
cmp ebx, edi
je 0x4152bc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4152c0
xor eax, eax
jmp 0x4152d4
lea eax, [esi + esi]
call fcn.0045b830
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00415b87
lea ecx, [ebp - 0x50]
push ecx
push 0x20019
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415312
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push str.OptIn
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4c]
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.004150d4
sub esi, edi
je 0x415331
dec esi
je 0x41532c
or esi, 0xffffffff
jmp 0x415333
xor esi, esi
inc esi
jmp 0x415333
xor esi, esi
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004150d4
mov eax, esi
lea esp, [ebp - 0x84]
call fcn.00452fa0
ret
Function at 0x4158c9
Capabilities:
Check if file exists
Get common file path
Get file attributes
Link many functions at runtime
Set current directory

Disassembly:
push 0xc
mov eax, 0x469fb9
call fcn.00452eb4
xor ebx, ebx
cmp dword [0x4b7618], ebx
jne 0x415a73
cmp dword [ebp + 8], ebx
je 0x415a73
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
push ebx
call edi
mov esi, eax
add esi, 0x13
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f017
pop ecx
push eax
push esi
mov dword [ebp - 0x18], eax
call edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x68]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401326
mov dword [ebp - 4], ebx
call fcn.00401be2
lea ecx, [ebp - 0x10]
test eax, eax
je 0x41593e
push str.Reader_
jmp 0x415943
push str.Acrobat_
call fcn.00407601
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401326
push str.logsession.dll
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00407601
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x4159a9
push edi
push str.Agent
push str.SoftwareAdobeCommonFilesUsage_
push SysReAllocString
call fcn.0043451f
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
add esp, 0x10
push edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push dword [ebp - 0x18]
mov dword [0x4b7618], eax
call esi
push dword [ebp - 0x18]
call fcn.0043f022
mov eax, dword [0x4b7618]
pop ecx
test eax, eax
jne 0x4159d0
lea ecx, [ebx - 0x10]
call fcn.004017df
lea ecx, [edi - 0x10]
call fcn.004017df
jmp 0x415ac5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UTInitialize
push eax
call esi
push str.UTOptInGet
push dword [0x4b7618]
mov dword [0x4b761c], eax
call esi
push str.UTSetOptIn
push dword [0x4b7618]
mov dword [0x4b7620], eax
call esi
push str.UTStartSession
push dword [0x4b7618]
mov dword [0x4b7624], eax
call esi
push str.UTLogEvent
push dword [0x4b7618]
mov dword [0x4b7628], eax
call esi
push str.UTNewDataGroup
push dword [0x4b7618]
mov dword [0x4b762c], eax
call esi
push str.UTAddToGroup
push dword [0x4b7618]
mov dword [0x4b7630], eax
call esi
push str.UTCloseSession
push dword [0x4b7618]
mov dword [0x4b7634], eax
call esi
lea ecx, [ebx - 0x10]
mov dword [0x4b7638], eax
call fcn.004017df
lea ecx, [edi - 0x10]
call fcn.004017df
xor ebx, ebx
cmp dword [0x4b7620], ebx
je 0x415aaf
cmp dword [0x4b7624], ebx
je 0x415aaf
cmp dword [0x4b7628], ebx
je 0x415aaf
cmp dword [0x4b762c], ebx
je 0x415aaf
cmp dword [0x4b7630], ebx
je 0x415aaf
cmp dword [0x4b7634], ebx
je 0x415aaf
cmp dword [0x4b7638], ebx
je 0x415aaf
mov al, 1
jmp 0x415ac7
mov eax, dword [0x4b7618]
cmp eax, ebx
je 0x415abf
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4b7618], ebx
xor al, al
call fcn.00452f8c
ret
Function at 0x4177b7
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x2c
mov eax, 0x469d0d
call fcn.00452eb4
push 0
mov ecx, esi
call fcn.0041c843
mov eax, esi
call fcn.00401000
test eax, eax
je 0x4178c1
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
test eax, eax
jne 0x4178c1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov eax, dword [esi]
and ebx, 0xfffffffe
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
test bl, 0x10
je 0x417886
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4178c1
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 0x4178c1
push str.SHFileOperation_FO_DELETE__failed:
lea ecx, [ebp - 0x10]
call fcn.004012e2
and dword [ebp - 4], 0
push edi
push esi
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.00411336
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x41788c
call edi
test eax, eax
jne 0x4178c1
push str.RemoveDirectory___DeleteFile___failed:
lea ecx, [ebp - 0x14]
call fcn.004012e2
push 0x186a0
xor eax, eax
push esi
lea ecx, [ebp - 0x14]
inc eax
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.00411336
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
jmp 0x4178c4
xor eax, eax
inc eax
call fcn.00452f8c
ret
Function at 0x4178ca
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x46da6e
call fcn.00452f1d
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
push esi
push 0x8023
mov edi, ecx
push esi
mov dword [ebp - 0x228], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x417903
xor eax, eax
jmp 0x4179de
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.004012e2
push str.AdobeARM
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 4], esi
call fcn.00407458
add esp, 0xc
push edi
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004179e4
mov edi, eax
cmp edi, esi
jne 0x4179c0
mov esi, 0x4b77dc
mov eax, esi
call fcn.00401c10
test eax, eax
je 0x4179c0
mov edi, esi
call fcn.00401be2
test eax, eax
mov eax, str.AdobeReader
jne 0x417971
mov eax, str.AdobeAcrobat
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00407458
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.004077b3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004017df
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.004179e4
mov edi, eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, edi
call fcn.00452fa0
ret
Function at 0x41a064
Capabilities:
Check http status code

Disassembly:
push 0x20
mov eax, 0x46c7fa
call fcn.00452eb4
xor ecx, ecx
push 2
pop edx
xor edi, edi
mov eax, 0x100
mul edx
seto cl
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], 0xff
mov dword [ebp - 0x28], 4
neg ecx
or ecx, eax
push ecx
call fcn.0043f017
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
pop ecx
push edi
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push dword [ebp + 8]
call esi
test eax, eax
je 0x41a228
cmp dword [ebp - 0x18], 0x197
jne 0x41a0cd
push 0x29
jmp 0x41a0dc
cmp dword [ebp - 0x18], 0x191
jne 0x41a1fe
push 0x28
pop edi
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41a130
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41a130
push ebx
call fcn.0043f022
mov eax, dword [ebp - 0x14]
pop ecx
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043f017
pop ecx
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push dword [ebp + 8]
call esi
test eax, eax
je 0x41a228
push ebx
lea ecx, [ebp - 0x10]
call fcn.004012e2
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x10]
jmp 0x41a147
inc esi
inc esi
movzx eax, word [esi]
push eax
call fcn.00451d13
pop ecx
test eax, eax
jne 0x41a145
mov eax, dword [ebp - 0x10]
cmp esi, eax
je 0x41a197
push dword [eax - 0xc]
sub esi, eax
sar esi, 1
lea ecx, [ebp - 0x10]
mov edi, esi
call fcn.0040165f
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
mov esi, ecx
lea edx, [eax + edi*2]
sub esi, edi
lea edi, [esi + esi + 2]
push edi
push edx
lea ecx, [ecx + ecx + 2]
push ecx
push eax
call fcn.0040768e
add esp, 0x10
push esi
lea ecx, [ebp - 0x10]
call fcn.004016a8
lea edi, [ebp - 0x10]
call fcn.00408b79
push str.basic
xor ecx, ecx
mov esi, edi
call fcn.004073c6
test eax, eax
je 0x41a1f2
push str.digest
xor ecx, ecx
call fcn.004073c6
test eax, eax
je 0x41a1f2
push str.Authentication_scheme_is_other_than_basic_or_digest....
lea ecx, [ebp - 0x1c]
call fcn.004012e2
push 0
mov eax, edi
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
mov byte [ebp - 4], 2
call fcn.00411336
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x41a1f9
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x10]
jmp 0x41a220
push str.Status_says_No_Authentication_required...
lea ecx, [ebp - 0x20]
call fcn.004012e2
push edi
lea eax, [ebp - 0x20]
push eax
push 1
mov dword [ebp - 4], edi
call fcn.00411806
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push ebx
call fcn.0043f022
mov eax, dword [ebp - 0x24]
pop ecx
call fcn.00452f8c
ret
Function at 0x41eb0b
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x46f19c
call fcn.00452eb4
mov esi, str.GlobalARM_Update_Mutex
push esi
push 1
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x20], eax
cmp eax, ebx
jne 0x41eb47
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41eb47
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], ebx
je 0x41eb76
push str.ARM_update_mutex_created
lea ecx, [ebp - 0x10]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00411806
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
call fcn.00452f8c
ret
Function at 0x420fc8
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x46c55f
call fcn.00452eb4
push str.ExecuteRetryInstall...
lea ecx, [ebp - 0x14]
call fcn.004012e2
xor edi, edi
push edi
lea eax, [ebp - 0x14]
push eax
push 2
pop esi
push esi
mov dword [ebp - 4], edi
call fcn.00411806
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
push str.___file__
lea ecx, [ebp - 0x14]
call fcn.004012e2
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 8]
push edi
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.00411336
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov dword [ebp - 0x14], 0xd
call fcn.0043f3c0
push eax
lea ecx, [ebp - 0x10]
call fcn.004013a1
push 0x5c
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.00408b57
cmp eax, 0xffffffff
je 0x421089
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.0040741a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004077b3
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
push str..exe
mov ecx, ebx
call fcn.0043442f
pop ecx
test eax, eax
je 0x4210fe
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 0x478d20
cmp dword [ebp - 0x10], edi
je 0x4210c6
push 5
push edi
push esi
push dword [ebp - 0x10]
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 5
push edi
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call ebx
mov dword [ebp - 0x14], eax
cmp eax, 0x21
jae 0x421141
push str.ShellExecute_failed
lea ecx, [ebp + 8]
call fcn.004012e2
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
push 2
jmp 0x42115d
push str..msi
mov ecx, ebx
call fcn.0043442f
pop ecx
test eax, eax
je 0x421146
mov esi, 0x478d20
cmp dword [ebp - 0x10], edi
je 0x421139
push 5
push edi
push esi
push dword [ebp - 0x10]
push edi
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 esi
push dword [ebx]
call sub.msi.dll_MsiOpenDatabaseW
mov dword [ebp - 0x14], edi
jmp 0x421170
push str.Not_supported_file_type
lea ecx, [ebp + 8]
call fcn.004012e2
push edi
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 5
push esi
call fcn.00411806
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp - 0x14]
call fcn.00452f8c
ret 4