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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push esi
push 0x190000
push 3
push esi
push esi
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40138f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 0xd
pop esi
cmove eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4013c3
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 4
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4013e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
push ebx
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], esi
je 0x401473
push edi
mov dword [ebp - 8], esi
xor edi, edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40143b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, 0xd
test esi, esi
cmove esi, eax
cmp esi, 0xe8
jne 0x401446
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x4013f3
jmp 0x401446
cmp dword [ebp - 4], 4
je 0x40144a
mov esi, 0xd
test esi, esi
jne 0x401472
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 8]
inc ecx
cmp eax, ecx
mov dword [ebp - 4], eax
push edx
lea eax, [ebp - 0xc]
mov esi, 0xd
push eax
push 4
lea eax, [ebp - 4]
cmove esi, edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4027d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4027d9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4027ca
cmp esi, edx
jae 0x4027d9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4027b8
cmp esi, edx
jae 0x4027d9
cmp word [esi], 0
je 0x4027d9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x404f00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414698
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], dx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], edx
jb 0x404f4e
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404ffb
xor esi, esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404fed
push 0x41d4fd
push dword [ebp - 0x30]
call fcn.004129ab
mov esi, eax
add esp, 8
test esi, esi
je 0x404fd3
lea eax, [ebp - 0x30]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404fca
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404fb1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00408510
push esi
call fcn.004129a6
add esp, 4
push 0
push str.Acrobat_Reader
lea ecx, [ebp - 0x28]
call fcn.00408660
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
movzx esi, cx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx esi, si
jmp 0x404ffe
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x405048
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x40503e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40503e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
mov ax, si
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
Function at 0x405280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414741
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0
push 0x4f
push str.SOFTWAREGoogleChromeNativeMessagingHostscom.adobe.acrobat.chrome_webcapture
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408510
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov word [edi], ax
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], 1
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405394
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40538b
push 0x41d4fd
push dword [ebp - 0x30]
call fcn.004129ab
mov esi, eax
add esp, 8
test esi, esi
je 0x40538b
lea eax, [ebp - 0x30]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405382
push esi
mov ecx, edi
call fcn.004084e0
push esi
call fcn.004129a6
add esp, 4
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4053db
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 2
cmp edx, 0x1000
jb 0x4053d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4053d1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
Function at 0x405e50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414841
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov dword [ebp - 4], 1
mov word [esi], ax
mov dword [ebp - 0x34], 1
call fcn.004065b0
test eax, eax
je 0x405ecb
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_Reader_
mov ecx, 0x27
jmp 0x405ed5
mov eax, str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
mov ecx, 0x26
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408510
push 2
push 0x41702c
lea ecx, [ebp - 0x28]
call fcn.00408390
push 0x10
push str.FeatureLockDown
lea ecx, [ebp - 0x28]
call fcn.00408390
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x30]
push ecx
push 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405fa9
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push str.tSharePointUrls
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405fa0
cmp dword [ebp - 0x38], 1
jne 0x405fa0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x405fa0
inc eax
push 0x41d4fd
push eax
call fcn.004129ab
mov edi, eax
add esp, 8
test edi, edi
je 0x405f97
mov eax, dword [ebp - 0x2c]
inc eax
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push edi
push 0
push 0
push str.tSharePointUrls
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405f97
push edi
mov ecx, esi
call fcn.004084e0
push edi
call fcn.004129a6
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x405ff0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 2
cmp edx, 0x1000
jb 0x405fe6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405fe6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
Function at 0x406500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0xc]
push esi
push eax
push 0x20019
push 0
push str.SOFTWAREAdobeAdobe_AcrobatDCInstaller
push 0x80000002
or esi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4065a6
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4065a6
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], 4
push ecx
push 0
push str.bIsSingleClientApp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40659d
cmp dword [ebp - 4], 4
jne 0x40659d
cmp dword [ebp - 8], eax
je 0x40659d
lea esi, [eax + 1]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.bIsSCAcroAppInstalled
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40659d
cmp dword [ebp - 4], 4
jne 0x40659d
cmp dword [ebp - 8], esi
cmove esi, eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, si
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4065b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414904
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4f
xor eax, eax
mov dword [ebp - 0x18], 0
push str.SOFTWAREGoogleChromeNativeMessagingHostscom.adobe.acrobat.chrome_webcapture
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408510
mov eax, dword fs:[0x2c]
mov ecx, dword [0x41d554]
mov dword [ebp - 4], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x41d4b0]
cmp eax, dword [ecx + 4]
jg 0x4066db
mov ax, word [0x41d4ac]
cmp ax, 0xffff
jne 0x40666b
lea eax, [ebp - 0x28]
push eax
push 0x201
push 0x80000002
call fcn.00404f00
add esp, 0xc
mov word [0x41d4ac], ax
cmp ax, 0xffff
jne 0x40666b
lea eax, [ebp - 0x28]
push eax
push 1
push 0x80000001
call fcn.00404f00
add esp, 0xc
mov word [0x41d4ac], ax
mov edx, dword [ebp - 0x14]
xor ebx, ebx
cmp ax, 1
mov dword [ebp - 4], 0xffffffff
sete bl
cmp edx, 8
jb 0x4066be
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 2
cmp edx, 0x1000
jb 0x4066b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4066b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
push 0x41d4b0
call fcn.00412d9a
add esp, 4
cmp dword [0x41d4b0], 0xffffffff
jne 0x406624
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
push 0x20019
push 0
push str.SOFTWAREAdobeAdobe_AcrobatDCInstaller
push 0x80000002
or esi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4067a0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4067a0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 4
push ecx
push 0
push str.bIsSingleClientApp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406795
cmp dword [ebp - 0x2c], 4
jne 0x406795
cmp dword [ebp - 0x30], eax
je 0x406795
lea esi, [eax + 1]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push str.bIsSCAcroAppInstalled
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406795
cmp dword [ebp - 0x2c], 4
jne 0x406795
cmp dword [ebp - 0x30], esi
cmove esi, eax
jmp 0x406795
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4067a0
push 0x41d4b0
mov word [0x41d4ac], si
mov byte [ebp - 4], 0
call fcn.00412d50
add esp, 4
jmp 0x406624
Function at 0x4067c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414940
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x201
lea eax, [ebp - 0x40]
push 0x80000002
push eax
call fcn.00405280
add esp, 0xc
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
jne 0x406852
push 1
lea eax, [ebp - 0x28]
push 0x80000001
push eax
call fcn.00405280
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.00404d90
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x406841
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004085f0
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
jne 0x406852
xor esi, esi
jmp 0x4068e4
push 0x28
xor eax, eax
mov dword [ebp - 0x18], 0
push str.......plug_insTest_Tools_aaFEAT.api
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408510
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.00408390
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 8
jb 0x4068e4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x4068da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4068da
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 4
cmp eax, 8
jb 0x406900
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004085f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
Function at 0x406920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414978
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
call fcn.004065b0
test eax, eax
je 0x406991
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_Reader_
mov ecx, 0x27
jmp 0x40699b
mov eax, str.SOFTWAREPoliciesAdobeAdobe_Acrobat_
mov ecx, 0x26
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408510
push 2
push 0x41702c
lea ecx, [ebp - 0x28]
call fcn.00408390
push 0x10
push str.FeatureLockDown
lea ecx, [ebp - 0x28]
call fcn.00408390
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x30]
push ecx
push 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406a13
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406a0a
xor ebx, ebx
cmp dword [ebp - 0x2c], ebx
setne bl
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x406a5d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 1
cmp edx, 0x1000
jb 0x406a53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406a53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
Function at 0x406a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4149b4
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x41d554]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x41d4c4]
cmp eax, dword [ecx + 4]
jg 0x406ae4
mov eax, dword [0x41d4c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
push 0x41d4c4
call fcn.00412d9a
add esp, 4
cmp dword [0x41d4c4], 0xffffffff
jne 0x406ac5
push 1
push str.bFillnSignInChromeEx
mov dword [ebp - 4], 0
call fcn.00406920
add esp, 8
test eax, eax
je 0x406c20
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
call fcn.004065b0
test eax, eax
je 0x406b45
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
mov ecx, 0x43
jmp 0x406b51
mov eax, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov ecx, 0x42
jmp 0x406b51
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408510
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x30]
push ecx
mov esi, 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406bcf
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x406bcf
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 4
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 4
push ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], 0
push ecx
push 0
push str.bToggleFillSign
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406bc4
cmp dword [ebp - 0x2c], esi
cmove esi, eax
jmp 0x406bc4
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406bcf
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x406c15
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x406c09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406c09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
jmp 0x406c15
test esi, esi
je 0x406c20
mov eax, 1
jmp 0x406c24
xor eax, eax
jmp 0x406c24
push 0x41d4c4
mov dword [0x41d4c0], eax
call fcn.00412d50
add esp, 4
jmp 0x406ac5
Function at 0x406c40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414a00
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x41d554]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x41d4cc]
cmp eax, dword [edi + 4]
jg 0x406cc4
cmp dword [0x41d4c8], 1
jne 0x406c93
xor eax, eax
jmp 0x406ca9
mov eax, dword [0x41d4d4]
cmp eax, dword [edi + 4]
jg 0x406e21
mov eax, dword [0x41d4d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004129c0
mov esp, ebp
pop ebp
ret
push 0x41d4cc
call fcn.00412d9a
add esp, 4
cmp dword [0x41d4cc], 0xffffffff
jne 0x406c86
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
call fcn.004065b0
test eax, eax
je 0x406d0e
mov eax, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
mov ecx, 0x43
jmp 0x406d1a
mov eax, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov ecx, 0x42
jmp 0x406d1a
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408510
lea ecx, [ebp - 0x30]
xor esi, esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 1
push esi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406dc0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x406dc0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 4
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 4
push ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x2c], esi
push ecx
push esi
push str.bToggleAdobeDocumentServices
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406d88
cmp dword [ebp - 0x2c], 1
jne 0x406d88
lea esi, [eax + 1]
jmp 0x406db5
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push str.bUpdater
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406db5
cmp dword [ebp - 0x2c], esi
mov eax, 1
cmove esi, eax
jmp 0x406db5
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406dc0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x406e02
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x406df6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406df6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
jmp 0x406e02
push 0x41d4cc
mov dword [0x41d4c8], esi
mov dword [ebp - 4], 0xffffffff
call fcn.00412d50
add esp, 4
jmp 0x406c86
push 0x41d4d4
call fcn.00412d9a
add esp, 4
cmp dword [0x41d4d4], 0xffffffff
jne 0x406ca4
push 1
push str.bEnableFrictionlessInChromeExtn
mov dword [ebp - 4], 3
call fcn.00406920
push 0x41d4d4
mov dword [0x41d4d0], eax
call fcn.00412d50
add esp, 0xc
jmp 0x406ca4