joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e180
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040e134
test al, al
jne 0x40e1a1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x40e1ed
xor eax, eax
push ebp
push 0x40e1dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404d24
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e1e4
lea eax, [ebp - 0xc]
call fcn.0040e170
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e5f4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x40e64e
inc esi
xor edi, edi
cmp edi, 1
jne 0x40e61a
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep_1
jmp 0x40e628
cmp edi, 1
jle 0x40e628
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0040e180
test eax, eax
jne 0x40e64e
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x40e64e
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x40e64e
inc edi
dec esi
jne 0x40e60a
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x40e658
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40e67c
mov eax, dword [ebp - 4]
jmp 0x40e67f
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x40e684
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x40e6d1
xor ebx, ebx
jmp 0x40e6c6
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.00407bdc
test eax, eax
jne 0x40e6c5
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x40e77b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e6a7
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x40e6dd
je 0x40e6e6
jmp 0x40e6ef
call fcn.0040bcb4
mov esi, eax
jmp 0x40e6f1
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x40e6f1
xor esi, esi
test si, si
je 0x40e77b
xor ebx, ebx
jmp 0x40e717
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x40e716
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e77b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e6fe
xor ebx, ebx
jmp 0x40e770
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, esi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x40e76f
mov eax, esi
and ax, 0x3ff
cmp ax, 4
jne 0x40e764
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.0040e658
push eax
mov eax, esi
call fcn.0040e658
pop edx
cmp edx, eax
jne 0x40e76f
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x40e77b
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x40e726
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x401020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.00404b10
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret
Function at 0x4025d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465217
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.ARM.0
push 0x484394
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004030b0
mov dword [ebp - 4], 0
push str.Adobe_Acrobat
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.004030b0
mov byte [ebp - 4], 1
push str.Adobe_Reader
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004030b0
mov byte [ebp - 4], 2
push 0x4843c4
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004030b0
mov byte [ebp - 4], 3
push str.Adobe_Reader_Updater
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.004030b0
mov byte [ebp - 4], 4
push 0x4843f4
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004030b0
mov byte [ebp - 4], 5
push str.ReaderUpdater.exe
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.004030b0
mov byte [ebp - 4], 6
push str.AcrobatUpdater.exe
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.004030b0
mov byte [ebp - 4], 7
push str.AdobeARM.bin
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004030b0
mov byte [ebp - 4], 8
push str.RevertToAUM
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.004030b0
mov byte [ebp - 4], 9
push str.RevertToSemiFromFullAuto
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004030b0
mov byte [ebp - 4], 0xa
push str.DisplayFilesInUseInHandler
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004030b0
mov byte [ebp - 4], 0xb
push str.thsnYaVieBoda
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004030b0
mov byte [ebp - 4], 0xc
push str.https:__armmf.adobe.com_arm_manifests_win_
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.004030b0
mov byte [ebp - 4], 0xd
push str.http:__www.adobe.com_support_downloads_product.jsp_product1platformWindows
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.004030b0
mov byte [ebp - 4], 0xe
push str.http:__www.adobe.com_support_downloads_product.jsp_product10platformWindows
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.004030b0
mov byte [ebp - 4], 0xf
push str.SOFTWAREAdobeAdobe_ARM1.0ARM
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.004030b0
mov byte [ebp - 4], 0x10
push str.iLogLevel
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004030b0
mov byte [ebp - 4], 0x11
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004030b0
mov byte [ebp - 4], 0x12
push str.AdobeARM.log
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.004030b0
mov byte [ebp - 4], 0x13
push str.AdobeARM_backup.log
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.004030b0
mov byte [ebp - 4], 0x14
push str.ForceError
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.004030b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x408a50
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 0xc], 0
jne 0x408a63
xor al, al
jmp 0x408a95
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408850
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x408a93
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov al, 1
jmp 0x408a95
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x40c43d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40c485
call fcn.0040e2ac
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40c485
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40c4c8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40c4b1
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40c4b1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40c4c5
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40ec4d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x460870
call fcn.00429831
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40ec72
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40ecb8
lea ecx, [ebp - 0x10]
call fcn.00404f90
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004091ca
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402510
mov eax, esi
call fcn.00429909
ret 8
Function at 0x4166d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41671c
call fcn.0040e2ac
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41671c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x416738
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041624d
mov esi, eax
test edi, edi
je 0x416736
test ebx, ebx
je 0x416736
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x417395
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4173b9
cmp dword [edi + 0x54], 0
jne 0x4173b9
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040e2ac
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00417356
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x427284
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x494680]
jne 0x42728e
repz ret
jmp fcn.0042eeae
Function at 0x43a462
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042e812
and dword [ebp - 4], 0
cmp dword [0x498a20], 0
mov ebx, eax
jne 0x43a513
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43a5c4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43a5c4
push eax
call fcn.0042e7a0
mov dword [esp], 0x46b120
push edi
mov dword [0x498a20], eax
call esi
push eax
call fcn.0042e7a0
mov dword [esp], 0x46b10c
push edi
mov dword [0x498a24], eax
call esi
push eax
call fcn.0042e7a0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x498a28], eax
call esi
push eax
call fcn.0042e7a0
pop ecx
mov dword [0x498a30], eax
test eax, eax
je 0x43a513
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042e7a0
pop ecx
mov dword [0x498a2c], eax
mov eax, dword [0x498a2c]
cmp eax, ebx
je 0x43a56b
cmp dword [0x498a30], ebx
je 0x43a56b
push eax
call fcn.0042e81b
push dword [0x498a30]
mov esi, eax
call fcn.0042e81b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43a56b
test edi, edi
je 0x43a56b
call esi
test eax, eax
je 0x43a562
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43a562
test byte [ebp - 0xc], 1
jne 0x43a56b
or dword [ebp + 0x10], 0x200000
jmp 0x43a5a4
mov eax, dword [0x498a24]
cmp eax, ebx
je 0x43a5a4
push eax
call fcn.0042e81b
pop ecx
test eax, eax
je 0x43a5a4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43a5a4
mov eax, dword [0x498a28]
cmp eax, ebx
je 0x43a5a4
push eax
call fcn.0042e81b
pop ecx
test eax, eax
je 0x43a5a4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x498a20]
call fcn.0042e81b
pop ecx
test eax, eax
je 0x43a5c4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43a5c6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4401e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x440220
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44022d
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x440240
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4402d2
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
jne 0x4402d2
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4402e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44033f
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4403b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x494680]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov word [ebp - 0x430], ax
push 0x208
push 0
lea ecx, [ebp - 0x42e]
push ecx
call fcn.00427990
add esp, 0xc
xor edx, edx
mov word [ebp - 0x218], dx
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00427990
add esp, 0xc
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x438], 0
push 0x105
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x434]
push ecx
push 0x105
lea edx, [ebp - 0x430]
push edx
push 0x46eb08
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x440476
push 0xa
push 0x104
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call fcn.004280c8
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x440498
push 0x46eb10
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.00408e30
cmp dword [ebp + 0xc], 0
je 0x4404b0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.00408e30
mov dword [ebp - 0x21c], 0
jmp 0x4404cb
mov eax, dword [ebp - 0x21c]
add eax, 1
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x21c], eax
jge 0x44054d
mov ecx, dword [ebp - 0x21c]
xor ecx, 2
mov eax, dword [ebp - 0x21c]
cdq
mov esi, 0xf
idiv esi
imul ecx, edx
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 8]
movzx edx, word [eax + edx*2]
add edx, ecx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2]
cmp ecx, 0xff
jle 0x440548
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2]
sub ecx, 0x100
mov edx, dword [ebp - 0x21c]
mov eax, dword [ebp + 8]
mov word [eax + edx*2], cx
jmp 0x4404bc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427284
mov esp, ebp
pop ebp
ret
Function at 0x440840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4408f1
push 0x208
call fcn.004283c3
add esp, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x4408f1
mov edx, dword [ebp - 0x14]
push edx
call fcn.004282e6
add esp, 4
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.004283c3
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x440903
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00401a40
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004282e6
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x440a40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00401a60
lea ecx, [ebp - 0xc]
call fcn.00404f20
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x440af1
cmp dword [ebp + 0x18], 1
je 0x440a97
cmp dword [ebp + 0x18], 2
jne 0x440ac1
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x440ae7
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xc]
call fcn.00405030
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x4410d0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462faa
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x494680]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 0xc]
call fcn.00401ef0
push 8
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.00427990
add esp, 0xc
push 8
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00427990
add esp, 0xc
push 8
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.00427990
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401b20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004013c0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
call fcn.00404f20
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x24], ecx
mov ecx, 0x498b64
call fcn.004013c0
mov dword [ebp - 0x10], eax
mov ecx, 0x498b64
call fcn.00404f20
shr eax, 1
add eax, 1
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push str.Encrypted_by_Adobe.
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x441236
mov edx, dword [str.0123456789ABCDEF]
mov dword [ebp - 0x44], edx
mov eax, dword [0x46eb58]
mov dword [ebp - 0x40], eax
mov ecx, dword [0x46eb5c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [0x46eb60]
mov dword [ebp - 0x38], edx
mov al, byte [0x46eb64]
mov byte [ebp - 0x34], al
mov dword [ebp - 0x48], 0
jmp 0x4411e5
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x2c]
jae 0x441223
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x48]
movzx ecx, byte [eax]
sar ecx, 4
movzx edx, byte [ebp + ecx - 0x44]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00404f00
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x48]
movzx ecx, byte [eax]
and ecx, 0xf
movzx edx, byte [ebp + ecx - 0x44]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00404f00
jmp 0x4411dc
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x441263
push str.Encryption_failed.
lea ecx, [ebp - 0x4c]
call fcn.00401a60
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x4c]
push ecx
push 1
call fcn.0045c8c0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00405030
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004016e0
push 0xffffffffffffffff
mov ecx, 0x498b64
call fcn.004016e0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405030
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00427284
mov esp, ebp
pop ebp
ret