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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x759454]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x469858
cmp byte [ebx + 0x3d], 0
je 0x469858
mov eax, dword [ebx]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x6a459c]
mov ecx, ebx
call esi
cmp eax, 0xffffffff
je 0x469846
push edi
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [edi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebx + 0x40]
push eax
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x6a459c]
mov ecx, edi
call esi
pop edi
sub eax, 0
je 0x46980e
sub eax, 1
je 0x469812
sub eax, 2
jne 0x469846
mov byte [ebx + 0x3d], al
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x46982f
push dword [ebx + 0x4c]
push esi
push 1
push eax
call fcn.00614af7
add esp, 0x10
cmp esi, eax
jne 0x469846
cmp byte [ebx + 0x3d], 0
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.005e980b
mov esp, ebp
pop ebp
ret
Function at 0x46b950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x759454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 8
mov dword [ebx + 0x30], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x201
mov dword [ebx + 0x18], 6
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0xc], 0
call fcn.005e981c
mov esi, eax
add esp, 4
test esi, esi
je 0x46b9ed
push 1
mov dword [ebp - 4], 0
call fcn.005eb6d4
add esp, 4
mov dword [esi + 4], eax
jmp 0x46b9ef
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
mov edi, dword [esi + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x6a459c]
mov ecx, edi
call esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
call fcn.00463ea0
mov edi, eax
add esp, 4
mov ecx, dword [edi]
push 0x20
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x6a459c]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x14]
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x46ba7e
mov edx, dword [edi]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x6a459c]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x46ba7b
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x6a459c]
mov ecx, edi
call esi
mov al, byte [ebp - 0xd]
cmp dword [ebx + 0x38], 0
mov byte [ebx + 0x40], al
jne 0x46ba9a
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
and eax, 0x13
or eax, 4
mov dword [ebx + 0xc], eax
and ecx, eax
jne 0x46babd
cmp byte [ebp + 0xc], 0
je 0x46baa9
push ebx
call fcn.005ebc50
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x46bac9
mov esi, 0x6b0834
jmp 0x46bad9
test cl, 2
mov esi, 0x6b084c
mov eax, 0x6b0864
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00443e80
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00444350
push 0x731d94
lea eax, [ebp - 0x30]
push eax
call fcn.005fef5e
int3
Function at 0x46bb00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x759454]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp ebx, 0xffffffff
jne 0x46bb30
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x46bb6c
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x46bb6c
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x4c], 0
je 0x46bc61
mov esi, dword [edi + 0xc]
lea eax, [edi + 0x3c]
cmp dword [esi], eax
jne 0x46bb94
mov edx, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [edi + 0x1c]
mov dword [eax], ecx
mov eax, dword [edi + 0x2c]
mov dword [eax], edx
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x46bbca
push dword [edi + 0x4c]
movsx eax, bl
push eax
call fcn.00608949
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov esi, dword [eax]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
mov esi, dword [esi + 0x1c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x6a459c]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x46bc61
cmp eax, 1
jle 0x46bc34
cmp eax, 3
jne 0x46bc61
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.00463a10
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop esi
pop edi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x46bc51
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.00614af7
add esp, 0x10
cmp esi, eax
jne 0x46bc61
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x34], eax
jne 0x46bb57
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.005e980b
mov esp, ebp
pop ebp
ret 4
Function at 0x46cde0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
je 0x46cec1
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
test esi, esi
jl 0x46ceb0
jg 0x46ce18
test edx, edx
je 0x46ceb0
call fcn.00449290
mov esi, eax
mov eax, edx
mov dword [ebp - 0xc], eax
test eax, eax
jl 0x46ce66
jg 0x46ce2e
test esi, esi
je 0x46ce66
cmp ebx, eax
jg 0x46ce3d
jl 0x46ce38
cmp edi, esi
jae 0x46ce3d
mov esi, edi
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
push esi
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push dword [eax]
call fcn.005fe3c0
mov ecx, dword [ebp - 4]
add esp, 0xc
sub edi, esi
sbb ebx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x46ce95
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov eax, dword [ebp - 4]
push ecx
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x6a459c]
mov ecx, dword [ebp - 4]
call esi
cmp eax, 0xffffffff
je 0x46ceaa
mov ecx, dword [ebp - 4]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [ebp - 8], esi
test ebx, ebx
jg 0x46ce18
jl 0x46ceaa
test edi, edi
jne 0x46ce18
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
pop edi
sbb esi, ebx
mov eax, edx
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [eax]
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x46cee0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x46cee2
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [ebp - 0xc], eax
test edi, edi
jl 0x46cf5b
jg 0x46cef4
test esi, esi
je 0x46cf5b
test eax, eax
jl 0x46cf35
jg 0x46cefe
test ebx, ebx
je 0x46cf35
cmp edi, eax
jg 0x46cf0d
jl 0x46cf08
cmp esi, ebx
jae 0x46cf0d
mov ebx, esi
mov dword [ebp - 0xc], edi
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.005fe3c0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [ebp - 0xc]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x46cf38
mov edx, dword [ebp + 8]
test edi, edi
jl 0x46cf5b
jg 0x46cf42
test esi, esi
je 0x46cf5b
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x46cf5b
push eax
push esi
push 1
push edx
call fcn.00614af7
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x476230
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x102
push 0
push 0x6b1d18
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x476264
cmp eax, 2
sete al
mov esp, ebp
pop ebp
ret
push esi
push str.newInstall
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret
Function at 0x476290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat11.0FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 3], 0
xor bh, bh
mov byte [ebp - 2], 0
or esi, 0xffffffff
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4762fd
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bGoCart
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4762fd
mov esi, dword [ebp - 0x14]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x476310
test esi, esi
sete byte [ebp - 1]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2015FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x476367
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bGoCart
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x476367
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x47637a
test esi, esi
sete byte [ebp - 2]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4763d1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bGoCart
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4763d1
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4763e4
test esi, esi
sete byte [ebp - 3]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2017FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47643b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bGoCart
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47643b
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x47644d
test esi, esi
sete bh
cmp byte [ebp - 1], 0
jne 0x47646b
cmp byte [ebp - 2], 0
jne 0x47646b
cmp byte [ebp - 3], 0
jne 0x47646b
test bh, bh
jne 0x47646b
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
test ecx, ecx
je 0x476500
cmp dword [ebp + 0x10], 0
je 0x476500
push ebx
lea eax, [ebp - 4]
xor bl, bl
push eax
movzx eax, byte [ebp + 0x18]
xor eax, 1
shl eax, 8
add eax, 0x101
push eax
push 0
push ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4764f0
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4764f0
mov ecx, dword [ebp + 0x14]
mov bl, 1
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x476510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat11.0FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 2], 0
xor bh, bh
mov byte [ebp - 3], 0
or esi, 0xffffffff
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47657d
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bUpdater
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47657d
mov esi, dword [ebp - 0x14]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x476590
test esi, esi
sete byte [ebp - 1]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4765e7
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bUpdater
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4765e7
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4765fa
test esi, esi
sete byte [ebp - 2]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2015FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x476651
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bUpdater
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x476651
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x476664
test esi, esi
sete byte [ebp - 3]
lea eax, [ebp - 8]
or esi, 0xffffffff
push eax
push 0x201
push 0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat2017FeatureLockdown
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4766bb
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.bUpdater
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4766bb
mov esi, dword [ebp - 0xc]
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4766cd
test esi, esi
sete bh
cmp byte [ebp - 1], 0
jne 0x4766eb
cmp byte [ebp - 2], 0
jne 0x4766eb
cmp byte [ebp - 3], 0
jne 0x4766eb
test bh, bh
jne 0x4766eb
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push ebx
push esi
push eax
push 0x101
push 0
push 0x6b1d18
push reloc.OLEAUT32.dll_SysReAllocString
or esi, 0xffffffff
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47675f
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.newInstall
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47675f
mov esi, dword [ebp - 0x10]
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x476778
cmp esi, 1
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4768d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x759454]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x476920
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x476932
cmp eax, 2
jne 0x476a8e
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
lea edi, [ebx + eax*2]
mov dword [ebp - 0x218], edi
je 0x476961
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov dword [ebp - 0x218], edi
mov word [edi], ax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x476a6b
nop dword [eax]
xor eax, eax
mov ecx, 0x208
mov word [edi], ax
mov eax, ebx
nop dword [eax]
cmp word [eax], 0
je 0x4769be
add eax, 2
sub ecx, 1
jne 0x4769b0
mov eax, 0x208
mov esi, ecx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x476a1c
mov edx, 0x208
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x476a0f
lea edi, [ebp - 0x20c]
mov eax, SysReAllocString
sub edi, ecx
nop word [eax + eax]
test eax, eax
je 0x476a09
movzx esi, word [edi + ecx]
test si, si
je 0x476a09
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x4769f0
mov edi, dword [ebp - 0x218]
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x21c]
push ebx
push esi
call fcn.004768d0
add esp, 8
test al, al
je 0x476a6b
lea eax, [ebp - 0x224]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4769a0
xor eax, eax
mov word [edi - 2], ax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
test eax, eax
je 0x476920
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.005e980b
mov esp, ebp
pop ebp
ret

Function at 0x476b40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, edx
push esi
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x476b50
sub eax, esi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret
Function at 0x477430
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x71c628
push 0x5ff520
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x759454]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x7530
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x4775c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x477590
push dword [ebp - 0x44]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x477590
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x47757d
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x48]
jae 0x4775ba
lea eax, [edi + edi*8]
movups xmm1, xmmword [esi + eax*4]
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ebp - 0x74], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov dword [ebp - 0x64], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x47757d
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x47757d
cmp dword [ebp - 0x3c], 1
je 0x477594
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x44]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x47757d
cmp dword [ebp - 0x3c], 1
je 0x477594
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jbe 0x477543
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x759454
call fcn.005ff680
add esp, 0xc
xor eax, eax
jmp 0x4775cb
mov dword [ebp - 4], 0
call fcn.004775b2
inc edi
mov dword [ebp - 0x50], edi
mov esi, dword [ebp - 0x54]
jmp 0x4774f2
mov dword [ebp - 4], 0xfffffffe
call fcn.004775ea
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005e980b
mov esp, ebp
pop ebp
ret