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

Disassembly:
push 0xc
mov eax, 0x46643e
call fcn.004508b2
mov esi, ecx
lea eax, [esi + 0x298]
push eax
lea ecx, [ebp - 0x14]
call fcn.004012e2
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x407461
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407461
cmp dword [esi + 0x198], ebx
jne 0x4073d5
push str.Report_is_not_enabled_in_Session
lea ecx, [ebp - 0x18]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00410d56
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov esi, 0x30d0e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, esi
jmp 0x40749a
lea edi, [esi + 0x294]
push 0x4731d4
push str.Reported
lea esi, [ebp - 0xd]
mov ecx, edi
mov byte [ebp - 0xd], bl
call fcn.0041212f
cmp byte [ebp - 0xd], bl
je 0x407427
push str.already_reported
lea ecx, [ebp - 0x18]
call fcn.004012e2
mov byte [ebp - 4], 3
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.00410d56
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
push 0x15
pop esi
jmp 0x4073c3
push ebx
push str.SessionApplication
lea esi, [ebp - 0xd]
mov ecx, edi
mov byte [ebp - 0xd], bl
call fcn.0041212f
cmp byte [ebp - 0xd], bl
jne 0x407452
push str.Product_info_missing__cannot_report_data
lea ecx, [ebp - 0x18]
call fcn.004012e2
mov byte [ebp - 4], 4
jmp 0x407408
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017ba
xor eax, eax
jmp 0x40749a
push str.No_Report_file
lea ecx, [ebp - 0x18]
call fcn.004012e2
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.00410d56
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017ba
push 2
pop eax
call fcn.0045098a
ret
Function at 0x40e1de
Capabilities:
Create bits job

Disassembly:
push 4
mov eax, 0x468c57
call fcn.004508b2
mov edi, dword [ebp + 8]
lea ecx, [edi + 8]
call fcn.0040138d
xor ebx, ebx
lea esi, [edi + 0x28]
mov dword [ebp - 4], ebx
call fcn.0042d397
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.0044e740
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [edi + 8]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x38], 4
mov dword [edi + 0x3c], ebx
call fcn.00401356
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, 0x272f4
mov dword [edi + 0xc], eax
cmp dword [0x4b2bb4], esi
je 0x40e2ff
cmp eax, ebx
jl 0x40e2ff
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]
cmp eax, ebx
mov dword [edi + 0xc], eax
jge 0x40e294
cmp eax, 0x80010119
je 0x40e294
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 4
push 0x27358
jmp 0x40e2dc
push edi
push 0x4781cc
push 4
push ebx
push 0x4781bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, 0x222e0
mov dword [edi + 0xc], eax
cmp dword [0x4b2bb4], esi
je 0x40e2bc
cmp eax, ebx
jge 0x40e32c
mov eax, dword [edi]
cmp eax, ebx
je 0x40e2ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
push str.Failed_to_connect_to_BITS
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 3
push esi
mov ecx, dword [edi + 0xc]
lea edx, [ebp + 0xc]
mov ebx, 0x4b2bac
call fcn.0040f2d9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017ba
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x40e32c
push str.Failed_to_connect_to_BITS___COM_threading_returned_an_error__CoInitializeEx_
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0xc]
push esi
lea edx, [ebp + 0xc]
mov ebx, 0x4b2bac
call fcn.0040f2d9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, edi
call fcn.0045098a
ret 8

Function at 0x40fa47
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40fa92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x40fa7a
push 0xd
pop esi
cmp esi, 0xe8
jne 0x40fa9f
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x40fa4f
jmp 0x40fa9f
mov esi, dword [ebp - 4]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x410802
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [0x4b26a8]
mov byte [0x4b24e1], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [0x4b24d4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410884
push edi
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [0x4b26b4]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x410884
cmp dword [ebp - 8], 1
jne 0x410884
mov dword [0x4b24d4], 2
leave
ret
Function at 0x411c4a
Capabilities:
Get common file path

Disassembly:
push ebx
push edi
mov ebx, 0x104
push ebx
lea edi, [esi + 4]
push 0
push edi
mov dword [esi], vtable.CArmReport.0
call fcn.0044e740
add esp, 0xc
push edi
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x411c92
push str.AdobeARM_
push ebx
call fcn.0041222a
push str.ArmReport.ini
push ebx
call fcn.0041222a
pop edi
mov eax, esi
pop ebx
ret

Function at 0x411cbb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 1
push esi
push esi
push 0x40000000
add eax, 4
push eax
mov dword [ebp - 4], 0xfeff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x411cf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x411d3c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp - 4]
push eax
push ebx
call edi
test eax, eax
je 0x411d2a
push esi
lea eax, [ebp - 8]
push eax
mov esi, str._SESSION_
push esi
call fcn.0044dafc
pop ecx
lea eax, [eax + eax + 2]
push eax
push esi
push ebx
call edi
test eax, eax
jne 0x411d32
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x411d3b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x411d40
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, eax
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x411db9
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x411db9
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x411db5
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call ebx
push eax
mov edi, str.Delete_Report
call fcn.00411f00
push 4
push 0
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x411db5
call ebx
mov ebx, eax
lea eax, [ebp - 1]
push eax
push ebx
mov edi, str.MoveEx_Report
mov byte [ebp - 1], 0
call fcn.00411f00
mov eax, ebx
jmp 0x411dbc
xor eax, eax
jmp 0x411dbc
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411dc1
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 0x411de7
push 3
pop eax
jmp 0x411ef9
push ebx
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x411e10
and dword [ebp - 8], 0
mov eax, edi
call fcn.00411cbb
mov dword [ebp - 4], eax
test eax, eax
jne 0x411ef9
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x411ed5
cmp dword [ebp - 8], 0
je 0x411ed5
push dword [ebp + 8]
and dword [ebp + 0x14], 0
lea eax, [ebp + 0x14]
mov ecx, edi
call fcn.00411f76
test eax, eax
jne 0x411ed5
push dword [ebp + 0x14]
call esi
mov edi, eax
test edi, edi
je 0x411ed5
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call fcn.0044e7ba
pop ecx
pop ecx
test eax, eax
je 0x411e6f
push dword [ebp + 0x14]
call fcn.0043cada
pop ecx
xor eax, eax
jmp 0x411ef9
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.0043cacf
pop ecx
push dword [ebp + 0x14]
mov edi, eax
mov eax, esi
mov edx, edi
call fcn.00412171
push dword [ebp + 0x10]
push esi
call fcn.0041222a
push dword [ebp + 0xc]
push esi
call fcn.0041222a
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.0043cada
push edi
call fcn.0043cada
pop ecx
pop ecx
jmp 0x411ee9
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 0x411ef6
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 0x411f76
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 0x411f99
push 3
pop eax
jmp 0x412037
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x411fa9
push 2
jmp 0x411f93
mov edi, 0x82
push ebx
add edi, edi
cmp edi, 0x821
jae 0x412033
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043cacf
lea ecx, [edi + edi]
push ecx
push 0
push eax
mov dword [esi], eax
call fcn.0044e740
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 0x412003
lea eax, [edi - 1]
cmp ebx, eax
jne 0x412012
push dword [esi]
call fcn.0043cada
and dword [esi], 0
pop ecx
test ebx, ebx
je 0x41202c
inc ebx
cmp edi, ebx
jbe 0x411faf
mov esi, dword [esi]
test esi, esi
je 0x412033
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x412033
xor eax, eax
jmp 0x412036
mov eax, 0xe8
jmp 0x412036
push 0xd
pop eax
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x412075
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 0x412090
push 3
pop eax
jmp 0x41211f
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4120a0
push 2
jmp 0x41208a
push esi
mov esi, 0x82
push ebx
add esi, esi
cmp esi, 0x1041
jae 0x412123
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043cacf
lea ecx, [esi + esi]
push ecx
push 0
push eax
mov dword [edi], eax
call fcn.0044e740
add esp, 0x10
push ebp
push esi
push dword [edi]
push 0x4748e0
push 0
push str.SESSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
test ebx, ebx
je 0x4120fb
lea eax, [esi - 2]
cmp ebx, eax
jne 0x41210a
push dword [edi]
call fcn.0043cada
and dword [edi], 0
pop ecx
test ebx, ebx
je 0x412128
lea eax, [esi - 2]
cmp ebx, eax
je 0x4120a7
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 0x41211d
mov eax, 0xe8
jmp 0x41211d

Function at 0x4122ac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4add60]
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.0044e740
add esp, 0xc
push dword [edi]
lea eax, [ebp - 0x804]
push esi
push eax
mov eax, dword [ebp - 0x80c]
push 0x4748e0
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.0044da13
leave
ret 8
Function at 0x412329
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466013
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push edi
mov eax, dword [0x4add60]
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.00440fb2
push edi
call fcn.00412510
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4124f9
call fcn.0043ce9a
push eax
lea ecx, [esp + 0x18]
call fcn.00413a25
and dword [esp + 0x40], 0
mov ebx, 0x104
mov edi, dword [esi]
imul ebx, ebx, 5
push ebx
lea ecx, [esp + 0x18]
call fcn.0040163a
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.00409da3
lea eax, [ebx - 2]
cmp edi, eax
je 0x412394
test edi, edi
jbe 0x4124ed
lea ecx, [esp + 0x14]
call fcn.0040f23b
mov ebx, 0x4748e0
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 0x41248f
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x412484
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
lea ebx, [esp + 0x18]
mov edi, esi
call fcn.004122ac
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
je 0x41244a
mov ecx, dword [esp + 0x28]
push eax
push dword [esp + 0x14]
call fcn.0041273a
jmp 0x412484
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.00410886
mov byte [esp + 0x50], 2
mov ecx, dword [esp + 0x30]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
lea ecx, [esp + 0x10]
call fcn.00401522
jmp 0x4124b8
lea ebx, [esp + 0x2c]
call fcn.004125ee
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.004017ba
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x30]
jbe 0x412402
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00409da3
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004017ba
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 0x412751
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 0x4127b2
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 0x4127b4
mov al, 1
pop esi
leave
ret
Function at 0x412cd6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x464d1a
call fcn.004508b2
mov eax, dword [ebp + 8]
add eax, 0x64
push 0x475554
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406977
push str.UsageMeasurement
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00406977
mov ecx, dword [ebp - 0x18]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.004017ba
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 0x412d6d
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.004017ba
mov al, bl
call fcn.0045098a
ret
Function at 0x41482e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x68
mov eax, 0x469a82
call fcn.0045091b
push 0xf
pop esi
mov ebx, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
call fcn.004146e9
push dword [ebp + 8]
mov edx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.00414799
pop ecx
cmp dword [0x4b2614], edi
je 0x414886
mov eax, dword [0x4b261c]
cmp eax, edi
je 0x414886
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x41487b
lea ecx, [ebp - 0x28]
push ecx
call eax
pop ecx
mov esi, eax
jmp 0x414951
or dword [ebp - 0x4c], 0xffffffff
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x30], esi
call fcn.004146e9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 1
call fcn.0041516b
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0041463b
push edi
push 1
lea ecx, [ebp - 0x74]
call fcn.00414705
cmp dword [ebp - 0x30], 0x10
mov ebx, dword [ebp - 0x44]
jae 0x4148d7
lea ebx, [ebp - 0x44]
cmp ebx, edi
je 0x4148ed
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4148f1
xor eax, eax
jmp 0x414905
lea eax, [esi + esi]
call fcn.00459230
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004151b8
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 0x414943
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.00414705
sub esi, edi
je 0x414962
dec esi
je 0x41495d
or esi, 0xffffffff
jmp 0x414964
xor esi, esi
inc esi
jmp 0x414964
xor esi, esi
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00414705
mov eax, esi
lea esp, [ebp - 0x84]
call fcn.0045099e
ret
Function at 0x414efa
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, 0x4655c0
call fcn.004508b2
xor ebx, ebx
cmp dword [0x4b2614], ebx
jne 0x4150a4
cmp dword [ebp + 8], ebx
je 0x4150a4
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.0043cacf
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.00401baa
lea ecx, [ebp - 0x10]
test eax, eax
je 0x414f6f
push str.Reader_
jmp 0x414f74
push str.Acrobat_
call fcn.00406a25
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.00406a25
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x414fda
push edi
push str.Agent
push str.SoftwareAdobeCommonFilesUsage_
push SysReAllocString
call fcn.00432722
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 [0x4b2614], eax
call esi
push dword [ebp - 0x18]
call fcn.0043cada
mov eax, dword [0x4b2614]
pop ecx
test eax, eax
jne 0x415001
lea ecx, [ebx - 0x10]
call fcn.004017ba
lea ecx, [edi - 0x10]
call fcn.004017ba
jmp 0x4150f6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UTInitialize
push eax
call esi
push str.UTOptInGet
push dword [0x4b2614]
mov dword [0x4b2618], eax
call esi
push str.UTSetOptIn
push dword [0x4b2614]
mov dword [0x4b261c], eax
call esi
push str.UTStartSession
push dword [0x4b2614]
mov dword [0x4b2620], eax
call esi
push str.UTLogEvent
push dword [0x4b2614]
mov dword [0x4b2624], eax
call esi
push str.UTNewDataGroup
push dword [0x4b2614]
mov dword [0x4b2628], eax
call esi
push str.UTAddToGroup
push dword [0x4b2614]
mov dword [0x4b262c], eax
call esi
push str.UTCloseSession
push dword [0x4b2614]
mov dword [0x4b2630], eax
call esi
lea ecx, [ebx - 0x10]
mov dword [0x4b2634], eax
call fcn.004017ba
lea ecx, [edi - 0x10]
call fcn.004017ba
xor ebx, ebx
cmp dword [0x4b261c], ebx
je 0x4150e0
cmp dword [0x4b2620], ebx
je 0x4150e0
cmp dword [0x4b2624], ebx
je 0x4150e0
cmp dword [0x4b2628], ebx
je 0x4150e0
cmp dword [0x4b262c], ebx
je 0x4150e0
cmp dword [0x4b2630], ebx
je 0x4150e0
cmp dword [0x4b2634], ebx
je 0x4150e0
mov al, 1
jmp 0x4150f8
mov eax, dword [0x4b2614]
cmp eax, ebx
je 0x4150f0
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4b2614], ebx
xor al, al
call fcn.0045098a
ret
Function at 0x416d88
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0x2c
mov eax, 0x465ec0
call fcn.004508b2
push 0
mov ecx, esi
call fcn.0041b9fc
mov eax, esi
call fcn.00401000
test eax, eax
je 0x416e92
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
test eax, eax
jne 0x416e92
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 0x416e57
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x416e92
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 0x416e92
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.00410886
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
jmp 0x416e5d
call edi
test eax, eax
jne 0x416e92
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.00410886
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
xor eax, eax
jmp 0x416e95
xor eax, eax
inc eax
call fcn.0045098a
ret