joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405e60
Capabilities:
Set registry value

Disassembly:
push ecx
call dword [0x43c4f0]
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push ecx
call fcn.00408f50
add esp, 8
test al, al
jne 0x405e85
mov eax, 0x57
pop ecx
ret 0x10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
neg eax
pop ecx
ret 0x10

Function at 0x405eb0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
call dword [0x43c4f0]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push ecx
call fcn.00408f50
add esp, 8
test al, al
jne 0x405eda
mov eax, 0x57
add esp, 8
ret 0x14
push esi
push edi
mov edi, dword [esp + 0x24]
test edi, edi
je 0x405f57
mov esi, dword [esp + 0x20]
test esi, esi
je 0x405f57
cmp word [esi], 1
jne 0x405f4a
cmp dword [esi + 4], 1
jne 0x405f4a
cmp dword [esi + 0x14], 0
jne 0x405f4a
lea edx, [esp + 8]
push edx
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
jne 0x405f5c
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
push edi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x405f39
pop edi
mov eax, 1
pop esi
add esp, 8
ret 0x14
push esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
pop edi
xor eax, eax
pop esi
add esp, 8
ret 0x14
pop edi
mov eax, 0x80004005
pop esi
add esp, 8
ret 0x14
mov eax, 0x57
pop edi
pop esi
add esp, 8
ret 0x14

Function at 0x405f70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
call dword [0x43c4f0]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 4]
push eax
push ecx
call fcn.00408f50
add esp, 8
test al, al
jne 0x405f9a
mov eax, 0x57
add esp, 0x10
ret 0x10
lea edx, [esp]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x405fd1
mov eax, 1
add esp, 0x10
ret 0x10
cmp dword [esp + 8], 4
jne 0x405fc6
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov dword [ecx], edx
xor eax, eax
add esp, 0x10
ret 0x10
Function at 0x405ff0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
call dword [0x43c4f0]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 4]
push eax
push ecx
call fcn.00408f50
add esp, 8
test al, al
jne 0x40601a
mov eax, 0x57
add esp, 0xc
ret 0x14
push edi
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x40602d
lea eax, [edi + 0x57]
pop edi
add esp, 0xc
ret 0x14
push esi
mov esi, dword [esp + 0x24]
test esi, esi
mov dword [esp + 8], 0
jne 0x406075
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
push edx
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x406068
mov edx, dword [esp + 8]
pop esi
mov dword [edi], edx
pop edi
add esp, 0xc
ret 0x14
pop esi
mov eax, 1
pop edi
add esp, 0xc
ret 0x14
mov eax, dword [edi]
push eax
push 0
push 0x11
mov dword [esp + 0x14], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
test eax, eax
mov dword [esi], eax
jne 0x406099
pop esi
mov eax, 0x80004005
pop edi
add esp, 0xc
ret 0x14
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
jne 0x4060d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x10]
push eax
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esi]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
pop esi
xor eax, eax
pop edi
add esp, 0xc
ret 0x14

Function at 0x4060e0
Capabilities:
Delete registry value

Disassembly:
push ecx
call dword [0x43c4f0]
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push ecx
call fcn.00408f50
add esp, 8
test al, al
jne 0x406105
mov eax, 0x57
pop ecx
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor eax, eax
pop ecx
ret 0xc
Function at 0x406480
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xa48
mov eax, dword [0x43c510]
xor eax, esp
mov dword [esp + 0xa44], eax
mov eax, dword [esp + 0xa54]
mov ecx, dword [esp + 0xa50]
push ebx
mov ebx, dword [esp + 0xa64]
push esi
mov esi, dword [esp + 0xa64]
push edi
mov edi, dword [esp + 0xa64]
push eax
push ecx
call fcn.0040bc10
add esp, 8
test eax, eax
je 0x4065dc
push 0x3c
lea edx, [esp + 0x14]
push 0
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0xa7c]
lea ecx, [esp + 0x58]
push ecx
push 0
push 0
push 0
push esi
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], 0x400
call dword [sym.imp.MSVCR80.dll__wsplitpath]
add esp, 0x20
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x254]
push eax
push str.open
lea ecx, [esp + 0x58]
push ecx
push 9
push 0
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jne 0x4065dc
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCR80.dll_wcsncmp]
push edx
lea eax, [esp + 0x254]
push str.WinWord
push eax
call esi
add esp, 0xc
test eax, eax
je 0x4065c9
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x254]
push str.Excel
push edx
call esi
add esp, 0xc
test eax, eax
je 0x4065c9
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x254]
push str.OUTLOOK
push ecx
call esi
add esp, 0xc
test eax, eax
je 0x4065c9
mov edx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x254]
push 0x432ccc
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x4065dc
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4065dc
xor eax, eax
jmp 0x4065e1
mov eax, 0x80004005
mov ecx, dword [esp + 0xa50]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042fc34
add esp, 0xa48
ret 0x1c

Function at 0x406600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x254
mov eax, dword [0x43c510]
xor eax, esp
mov dword [esp + 0x250], eax
mov eax, dword [esp + 0x260]
mov ecx, dword [esp + 0x25c]
push esi
mov esi, dword [esp + 0x268]
push eax
push ecx
call fcn.0040bc10
add esp, 8
test eax, eax
jne 0x406655
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0042fc34
add esp, 0x254
ret 0x10
lea edx, [esp + 4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x406671
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x406682
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov esi, ecx
mov ecx, dword [esp + 0x254]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0042fc34
add esp, 0x254
ret 0x10
Function at 0x4066a0
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x874
mov eax, dword [0x43c510]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push ebp
mov ebp, dword [esp + 0x884]
push esi
mov esi, dword [sym.imp.MSVCR80.dll_wcscat_s]
push edi
mov edi, dword [esp + 0x888]
push 0x432d2c
push 0x104
push edi
mov dword [esp + 0x20], ebp
mov ebx, 1
call esi
push 0x432d2c
push 0x104
push ebp
call esi
mov ebp, dword [sym.imp.MSVCR80.dll_wcscpy_s]
push edi
lea eax, [esp + 0x694]
push 0x104
push eax
call ebp
push 0x432d24
lea ecx, [esp + 0x6a0]
push 0x104
push ecx
call esi
add esp, 0x30
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x40673f
xor eax, eax
jmp 0x4068e3
test eax, eax
je 0x4068d6
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4068d6
push edi
lea eax, [esp + 0x474]
push 0x104
push eax
call ebp
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x480]
push 0x104
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x284]
push 0x104
push ecx
call ebp
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x290]
push 0x104
push eax
call esi
add esp, 0x30
lea ecx, [esp + 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4067d3
and eax, 0xfffffffe
push eax
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [esp + 0x18], 0x10
jne 0x406801
push 0
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x406747
xor ebx, ebx
jmp 0x406747
mov ecx, 0x432d20
lea eax, [esp + 0x44]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406836
test dx, dx
je 0x406832
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406836
add eax, 4
add ecx, 4
test dx, dx
jne 0x406810
xor eax, eax
jmp 0x40683b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406747
mov ecx, 0x432d18
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406876
test dx, dx
je 0x406872
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406876
add eax, 4
add ecx, 4
test dx, dx
jne 0x406850
xor eax, eax
jmp 0x40687b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x406747
push 0
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x4068af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406747
mov ebx, 1
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x474]
push ecx
call fcn.004066a0
add esp, 8
test eax, eax
jne 0x406747
xor ebx, ebx
jmp 0x406747
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov ecx, dword [esp + 0x880]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042fc34
add esp, 0x874
ret
Function at 0x409200
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
cmp dword [esp + 8], 0
push esi
mov esi, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2c], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x34], ecx
setne cl
push str.MAPI32.DLL
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov byte [esi + 0x20], cl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x18], eax
jne 0x409264
mov edx, dword [esp + 8]
mov dword [esi + 0x1c], 0x80040102
mov dword [edx], eax
mov eax, esi
pop esi
ret 0x24
push ebx
push edi
push 0xc
call fcn.0042fc8e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4092a4
mov eax, dword [esi + 0x18]
push ebp
push str.MAPIFreeBuffer
push eax
call edi
mov ecx, dword [esi + 0x18]
push str.MAPIAllocateBuffer
push ecx
mov ebp, eax
call edi
mov dword [ebx + 8], ebp
mov dword [ebx], vtable.MapiAllocator.0
mov dword [ebx + 4], eax
pop ebp
jmp 0x4092a6
xor ebx, ebx
mov edx, dword [esi + 0x18]
push str.MAPIInitialize
push edx
mov dword [esi + 0x14], ebx
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x18]
push str.MAPIUninitialize
push eax
call edi
mov ecx, dword [esi + 0x18]
push str.MAPILogonEx
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 0x18]
push str.HrQueryAllRows
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
test eax, eax
pop edi
pop ebx
je 0x409326
cmp dword [esi + 8], 0
je 0x409326
cmp dword [esi + 0xc], 0
je 0x409326
push 0
call eax
test eax, eax
mov dword [esi + 0x1c], eax
jl 0x40932d
mov eax, dword [esi + 0xc]
push esi
push 0x63
push 0
push 0
push 0
call eax
mov ecx, dword [esp + 8]
push ecx
push esi
mov dword [esi + 0x1c], eax
call fcn.004090c0
add esp, 8
mov eax, esi
pop esi
ret 0x24
mov dword [esi + 0x1c], 0x80040102
mov ecx, dword [esp + 8]
push ecx
push esi
call fcn.004090c0
add esp, 8
mov eax, esi
pop esi
ret 0x24
Function at 0x40b5f0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
push ebx
xor edi, edi
xor ebp, ebp
call fcn.0040d020
mov esi, eax
add esp, 4
test esi, esi
jne 0x40b6b8
push eax
mov eax, dword [ebx]
push 0x40d250
push eax
call fcn.0040d150
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40b6b8
mov ecx, dword [ebx]
push eax
push 0x43844c
push ecx
call fcn.0040d1a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40b6b8
lea ebp, [edi + 0x10]
push ebp
call dword [sym.imp.MSVCR80.dll_malloc]
xor edx, edx
add esp, 4
mov edi, eax
test edi, edi
sete dl
mov esi, edx
test esi, esi
jne 0x40b6b8
xor eax, eax
push 0xf0000000
mov dword [edi], eax
mov dword [edi + 4], eax
push 1
mov dword [edi + 8], eax
push eax
mov dword [edi + 0xc], eax
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x40b6c5
mov ecx, dword [esp + 0x10]
push edi
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x40b6c5
mov edx, dword [esp + 0x10]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebx]
push esi
push ebp
push edi
push eax
call fcn.0040d1d0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b6c5
push ebx
call fcn.0040d110
add esp, 4
test ebp, ebp
jbe 0x40b6d1
push ebp
push 0
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
test edi, edi
je 0x40b6df
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x40c6a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x818
mov eax, dword [0x43c510]
xor eax, esp
mov dword [esp + 0x814], eax
mov eax, dword [esp + 0x81c]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebp
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
push ecx
push 0x20019
xor ebp, ebp
push ebp
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x40c813
mov eax, dword [esp + 0x14]
push esi
lea edx, [esp + 0x1c]
push edx
push 0x20019
push ebp
push str.cAllowedRegistryPaths
push eax
mov dword [esp + 0x28], 0x400
call ebx
test eax, eax
mov esi, dword [sym.imp.MSVCR80.dll_wcstok_s]
jne 0x40c777
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push 0x4330cc
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c76c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push 0x4330c8
push eax
mov word [esp + ecx*2 + 0x30], bp
mov dword [esp + 0x1c], ebp
call esi
add esp, 0xc
mov edi, edi
push eax
mov ecx, edi
call fcn.0040c450
lea ecx, [esp + 0x10]
push ecx
push 0x4330c8
push ebp
call esi
add esp, 0xc
cmp eax, ebp
jne 0x40c750
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push 0x20019
push ebp
push str.cAllowedFolderPaths
push ecx
call ebx
test eax, eax
jne 0x40c807
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push ebp
push ebp
push 0x4330cc
push ecx
mov dword [esp + 0x2c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c7fc
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push 0x4330c8
push ecx
mov word [esp + edx*2 + 0x30], bp
mov dword [esp + 0x1c], ebp
call esi
add esp, 0xc
jmp 0x40c7e0
push eax
mov ecx, edi
call fcn.0040c4c0
lea edx, [esp + 0x10]
push edx
push 0x4330c8
push ebp
call esi
add esp, 0xc
cmp eax, ebp
jne 0x40c7e0
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [esp + 0x820]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042fc34
add esp, 0x818
ret 4
Function at 0x40c830
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x430f79
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x43c510]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c510]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0040bb10
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x22c], ebx
call fcn.0040bb10
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Acrobat9.0
mov ecx, esi
mov byte [esp + 0x230], 1
call fcn.0040c450
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_Reader9.0
mov ecx, esi
call fcn.0040c450
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Synchronizer9.0
mov ecx, esi
call fcn.0040c450
push 0x206
lea eax, [esp + 0x1e]
push ebx
push eax
mov word [esp + 0x24], bx
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push ebx
push 0x1a
lea ecx, [esp + 0x20]
push ecx
push ebx
call edi
test eax, eax
mov ebp, dword [sym.imp.MSVCR80.dll_wcscat_s]
je 0x40c914
push str.AdobeAcrobat9.0
lea edx, [esp + 0x1c]
push 0x104
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040c4c0
push ebx
push 0x1c
lea ecx, [esp + 0x20]
push ecx
push ebx
call edi
test eax, eax
je 0x40c943
push str.AdobeAcrobat9.0
lea edx, [esp + 0x1c]
push 0x104
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040c4c0
push ebx
push 0x1a
lea ecx, [esp + 0x20]
push ecx
push ebx
call edi
test eax, eax
je 0x40c972
push str.AdobeLinguisticsDictionaries
lea edx, [esp + 0x1c]
push 0x104
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040c4c0
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat9.0FeatureLockDown
mov ecx, esi
call fcn.0040c6a0
push str.SOFTWAREPoliciesAdobeAcrobat_Reader9.0FeatureLockDown
mov ecx, esi
call fcn.0040c6a0
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0042fc34
add esp, 0x21c
ret

Function at 0x40c9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x18], 0
call esi
test eax, eax
jne 0x40ca62
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push ecx
push edx
call esi
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x40ca5b
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push edx
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
xor eax, eax
cmp dword [esp + 4], eax
pop esi
setne al
pop ecx
ret 0x10
Function at 0x411c40
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
push esi
mov esi, dword [esp + 8]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 4], eax
call fcn.00418750
cmp eax, 0x17
je 0x411c7e
mov dword [esi], 0x417da8
pop esi
ret
mov dword [esi], 0x411c10
pop esi
ret

Function at 0x411c90
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x4c
mov eax, dword [0x43c510]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov eax, dword [esi + 0x18]
shr eax, 3
and eax, 0x3f
cmp eax, 0x38
push edi
mov edi, 0x38
jb 0x411cc2
mov edi, 0x78
sub edi, eax
push edi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0040b480
add esp, 0xc
mov byte [esp + 0x10], 0x80
lea ecx, [esp + edi + 0x11]
lea eax, [esi + 0x1a]
mov ebp, 2
movzx edx, byte [eax - 2]
mov byte [ecx - 1], dl
movzx edx, byte [eax - 1]
mov byte [ecx], dl
movzx edx, byte [eax]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 1]
mov byte [ecx + 2], dl
add eax, 4
add ecx, 4
sub ebp, 1
jne 0x411ce5
add edi, 8
push edi
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00411b10
add esp, 0xc
lea ecx, [ebx + 1]
lea eax, [esi + 0xa]
lea edi, [ebp + 4]
movzx edx, byte [eax - 2]
mov byte [ecx - 1], dl
movzx edx, byte [eax - 1]
mov byte [ecx], dl
movzx edx, byte [eax]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 1]
mov byte [ecx + 2], dl
add eax, 4
add ecx, 4
sub edi, 1
jne 0x411d25
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 4], eax
call fcn.00418750
cmp eax, 0x17
je 0x411d94
pop edi
mov dword [esi], 0x417da8
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042fc34
add esp, 0x4c
ret
mov ecx, dword [esp + 0x58]
pop edi
mov dword [esi], 0x411c10
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042fc34
add esp, 0x4c
ret