joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406de3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4c
mov eax, dword [0x43c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
push ecx
push eax
mov dword [ebp - 0xa10], edx
call fcn.0040b61b
pop ecx
pop ecx
test eax, eax
je 0x406f42
push edi
push 0x3c
xor edi, edi
lea eax, [ebp - 0xa4c]
push edi
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0xa10]
mov dword [ebp - 0xa34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0x208]
push eax
push edi
push edi
push edi
push esi
mov dword [ebp - 0xa4c], 0x3c
mov dword [ebp - 0xa48], 0x100
mov dword [ebp - 0xa44], edi
mov dword [ebp - 0xa40], ebx
mov dword [ebp - 0xa3c], esi
mov dword [ebp - 0xa38], edi
mov dword [ebp - 0xa0c], 0x400
call dword [sym.imp.MSVCR100.dll__wsplitpath]
add esp, 0x20
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa08]
push eax
push str.open
lea eax, [ebp - 0x208]
push eax
push 9
push edi
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
pop edi
test eax, eax
jne 0x406f42
push dword [ebp - 0xa0c]
mov esi, dword [sym.imp.MSVCR100.dll_wcsncmp]
lea eax, [ebp - 0xa08]
push str.WinWord
push eax
call esi
add esp, 0xc
test eax, eax
je 0x406f2d
push dword [ebp - 0xa0c]
lea eax, [ebp - 0xa08]
push str.Excel
push eax
call esi
add esp, 0xc
test eax, eax
je 0x406f2d
push dword [ebp - 0xa0c]
lea eax, [ebp - 0xa08]
push str.OUTLOOK
push eax
call esi
add esp, 0xc
test eax, eax
je 0x406f2d
push dword [ebp - 0xa0c]
lea eax, [ebp - 0xa08]
push str.POWERPNT
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x406f42
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x406f42
xor eax, eax
jmp 0x406f47
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e7ae
leave
ret 0x1c

Function at 0x406f57
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x43c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push ecx
push eax
call fcn.0040b61b
pop ecx
pop ecx
test eax, eax
jne 0x406f88
mov eax, 0x80004005
jmp 0x406fb9
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x406fa6
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x406fb6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
neg eax
sbb eax, eax
inc eax
movzx esi, ax
movzx eax, si
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042e7ae
leave
ret 0x10

Function at 0x406fc8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x406fdd
xor eax, eax
pop ebp
ret
and eax, 0xfffffffe
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret
Function at 0x406ff2
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x87c
mov eax, dword [0x43c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR100.dll_wcscat_s]
mov ebx, 0x433118
push ebx
mov esi, 0x104
push esi
push eax
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x878], ecx
mov dword [ebp - 0x870], 1
call edi
push ebx
push esi
push dword [ebp - 0x878]
call edi
push dword [ebp - 0x87c]
mov ebx, dword [sym.imp.MSVCR100.dll_wcscpy_s]
lea eax, [ebp - 0x61c]
push esi
push eax
call ebx
push 0x433110
lea eax, [ebp - 0x61c]
push esi
push eax
call edi
add esp, 0x30
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x874], eax
cmp eax, 0xffffffff
jne 0x407091
xor eax, eax
jmp 0x407213
test eax, eax
je 0x407201
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x874]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x407201
push dword [ebp - 0x87c]
lea eax, [ebp - 0x414]
push esi
push eax
call ebx
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x414]
push esi
push eax
call edi
push dword [ebp - 0x878]
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call fcn.00406fc8
add esp, 0x34
test byte [ebp - 0x86c], 0x10
jne 0x407129
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4071ee
mov ecx, 0x43310c
lea eax, [ebp - 0x840]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40715a
test dx, dx
je 0x407156
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40715a
add eax, 4
add ecx, 4
test dx, dx
jne 0x407134
xor eax, eax
jmp 0x40715f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407099
mov ecx, 0x433104
lea eax, [ebp - 0x840]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407198
test dx, dx
je 0x407194
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407198
add eax, 4
add ecx, 4
test dx, dx
jne 0x407172
xor eax, eax
jmp 0x40719d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407099
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x870], eax
test eax, eax
jne 0x4071d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407099
mov dword [ebp - 0x870], 1
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00406ff2
pop ecx
pop ecx
test eax, eax
jne 0x407099
and dword [ebp - 0x870], eax
jmp 0x407099
push dword [ebp - 0x874]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x870]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e7ae
leave
ret
Function at 0x4090f3
Capabilities:
Link many functions at runtime

Disassembly:
push 0
mov eax, 0x4308ba
call fcn.0042e7c4
mov esi, ecx
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], 0
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x2c], eax
setne al
push str.MAPI32.DLL
mov byte [esi + 0x20], al
call fcn.0040906b
mov dword [esi + 0x18], eax
test eax, eax
je 0x409205
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
pop ecx
mov dword [ebp + 0x10], ebx
and dword [ebp - 4], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test ebx, ebx
je 0x40919d
push str.MAPIFreeBuffer
push dword [esi + 0x18]
call edi
push str.MAPIAllocateBuffer
push dword [esi + 0x18]
mov dword [ebp + 0xc], eax
call edi
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], eax
mov dword [ebx], vtable.MapiAllocator.0
mov eax, ebx
xor ebx, ebx
jmp 0x4091a1
xor ebx, ebx
xor eax, eax
or dword [ebp - 4], 0xffffffff
push str.MAPIInitialize
push dword [esi + 0x18]
mov dword [esi + 0x14], eax
call edi
push str.MAPIUninitialize
push dword [esi + 0x18]
mov dword [esi + 4], eax
call edi
push str.MAPILogonEx
push dword [esi + 0x18]
mov dword [esi + 8], eax
call edi
push str.HrQueryAllRows
push dword [esi + 0x18]
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x409205
cmp dword [esi + 8], ebx
je 0x409205
cmp dword [esi + 0xc], ebx
je 0x409205
push ebx
call eax
mov dword [esi + 0x1c], eax
cmp eax, ebx
jl 0x40920c
push esi
push 0x63
push ebx
push ebx
push ebx
call dword [esi + 0xc]
mov dword [esi + 0x1c], eax
jmp 0x40920c
mov dword [esi + 0x1c], 0x80040102
mov eax, esi
call fcn.0042e89c
ret 0x28
Function at 0x40b21e
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call fcn.0040c9c0
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x40b2e9
push ebx
push 0x40cbf0
push dword [edi]
call fcn.0040caf0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x40b2e9
push ebx
push 0x4383e4
push dword [edi]
call fcn.0040cb40
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x40b2e9
push 0x10
pop eax
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.MSVCR100.dll_malloc]
pop ecx
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [ebp - 4], eax
mov esi, ecx
cmp esi, ebx
jne 0x40b2e9
push 0x10
push ebx
push eax
call fcn.0040b17a
add esp, 0xc
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x40b2f0
push dword [ebp - 4]
push 0x10
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x40b2f0
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
push 0x10
push dword [ebp - 4]
push dword [edi]
call fcn.0040cb70
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x40b2f0
push edi
call fcn.0040cab0
pop ecx
push dword [ebp - 0xc]
push ebx
push dword [ebp - 4]
call fcn.0040b17a
push dword [ebp - 4]
call fcn.0040b1ec
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40b731
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x43c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.MSVCR100.dll_vsprintf]
add esp, 0xc
lea eax, [ebp - 0x60c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.AcroBroker.log
lea eax, [ebp - 0x60c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_wcscat_s]
lea eax, [ebp - 0x60c]
push 0x433424
push eax
call dword [sym.imp.MSVCR100.dll__wfopen]
mov edi, eax
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x40b7b7
xor eax, eax
jmp 0x40b7d1
lea eax, [esi + esi]
call fcn.0042eac0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x404]
push ecx
push eax
call fcn.00408ee4
push eax
push edi
call dword [sym.imp.MSVCR100.dll_fwprintf]
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
and dword [ebp - 0x614], 0
add esp, 0xc
lea eax, [ebp - 0x610]
push eax
mov ebx, 0x20019
push ebx
push 0
push str.SoftwareAdobeAdobe_Acrobat11.0Private
mov edi, SysReAllocString
push edi
mov dword [ebp - 0x618], 0x400
call esi
test eax, eax
jne 0x40b8a9
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x614]
push eax
push 0
push 0
push str.bAlertOnUnexpectedWrites
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b89d
cmp dword [ebp - 0x614], eax
je 0x40b89d
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x61c], eax
cmp eax, 0x3fffffff
jle 0x40b86c
xor eax, eax
jmp 0x40b88a
add eax, eax
call fcn.0042eac0
mov eax, esp
push 3
push dword [ebp - 0x61c]
lea ecx, [ebp - 0x404]
push ecx
push eax
call fcn.00408ee4
push 0x10000
push str.AcroBroker:_Unexpected_Write_Warning__
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x614], 0
jne 0x40b953
lea eax, [ebp - 0x610]
push eax
push ebx
push 0
push str.SoftwareAdobeAcrobat_Reader11.0Private
push edi
call esi
test eax, eax
jne 0x40b953
lea eax, [ebp - 0x618]
push eax
lea eax, [ebp - 0x614]
push eax
xor edi, edi
push edi
push edi
push str.bAlertOnUnexpectedWrites
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b947
cmp dword [ebp - 0x614], edi
je 0x40b947
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x40b91b
xor eax, eax
jmp 0x40b935
lea eax, [esi + esi]
call fcn.0042eac0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x404]
push ecx
push eax
call fcn.00408ee4
push 0x10000
push str.AcroBroker:_Unexpected_Write_Warning__
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x610]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0x628]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e7ae
leave
ret
Function at 0x40c08b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x43c4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push esi
mov dword [ebp - 0x81c], ecx
lea ecx, [ebp - 0x810]
push ecx
mov esi, 0x20019
push esi
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x40c22c
push edi
lea eax, [ebp - 0x814]
push eax
push esi
push 0
push 0x433518
push dword [ebp - 0x810]
mov dword [ebp - 0x808], 0x400
call ebx
mov esi, dword [sym.imp.MSVCR100.dll_wcstok_s]
mov edi, 0x433514
test eax, eax
jne 0x40c179
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push str.tWhiteList
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c16d
mov ecx, dword [ebp - 0x808]
and dword [ebp - 0x80c], eax
mov word [ebp + ecx*2 - 0x804], ax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push edi
push eax
call esi
add esp, 0xc
mov ecx, dword [ebp - 0x81c]
push eax
call fcn.0040bf6f
lea eax, [ebp - 0x80c]
push eax
push edi
push 0
call esi
add esp, 0xc
test eax, eax
jne 0x40c14e
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x818]
push eax
push 0x20019
push 0
push str.cAllowedFolderPaths
push dword [ebp - 0x810]
call ebx
test eax, eax
jne 0x40c21f
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
xor ebx, ebx
push ebx
push ebx
push str.tWhiteList
push dword [ebp - 0x818]
mov dword [ebp - 0x808], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c213
mov ecx, dword [ebp - 0x808]
mov word [ebp + ecx*2 - 0x804], ax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push edi
push eax
mov dword [ebp - 0x80c], ebx
call esi
add esp, 0xc
mov ecx, dword [ebp - 0x81c]
push eax
call fcn.0040c00c
lea eax, [ebp - 0x80c]
push eax
push edi
push ebx
call esi
add esp, 0xc
cmp eax, ebx
jne 0x40c1f5
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e7ae
leave
ret 4
Function at 0x40c23c
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x43098e
call fcn.0042e82d
push ecx
mov esi, ecx
mov dword [ebp - 0x21c], esp
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], esp
call fcn.0040b575
lea ecx, [esi + 0xc]
push ecx
xor edi, edi
mov dword [ebp - 0x21c], esp
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], esp
call fcn.0040b575
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Acrobat11.0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040bf6f
push str.HKEY_CURRENT_USERSoftwareAdobeAcrobat_Reader11.0
mov ecx, esi
call fcn.0040bf6f
push str.HKEY_CURRENT_USERSoftwareAdobeAdobe_Synchronizer11.0
mov ecx, esi
call fcn.0040bf6f
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
push 0x1a
lea eax, [ebp - 0x218]
push eax
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_wcscat_s]
test eax, eax
je 0x40c306
push str.AdobeAcrobat11.0
lea eax, [ebp - 0x218]
push 0x104
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040c00c
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call edi
test eax, eax
je 0x40c33d
push str.AdobeAcrobat11.0
lea eax, [ebp - 0x218]
push 0x104
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040c00c
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call edi
test eax, eax
je 0x40c374
push str.AdobeLinguisticsDictionaries
lea eax, [ebp - 0x218]
push 0x104
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0040c00c
push str.SOFTWAREPoliciesAdobeAdobe_Acrobat11.0FeatureLockDown
mov ecx, esi
call fcn.0040c08b
push str.SOFTWAREPoliciesAdobeAcrobat_Reader11.0FeatureLockDown
mov ecx, esi
call fcn.0040c08b
mov eax, esi
call fcn.0042e8b0
ret

Function at 0x40c3d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp + 8]
push eax
mov edi, 0x20019
push edi
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x40c440
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40c43b
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push dword [ebp + 0x14]
mov dword [ebp + 0x10], 4
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
call esi
push dword [ebp + 8]
call esi
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
pop esi
setne al
pop ebx
leave
ret 0x10
Function at 0x411610
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.00419400
cmp eax, 0x17
je 0x41164e
mov dword [esi], 0x418a58
pop esi
ret
mov dword [esi], 0x4115e0
pop esi
ret

Function at 0x411660
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x4c
mov eax, dword [0x43c4b0]
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 0x411692
mov edi, 0x78
sub edi, eax
push edi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0040b17a
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 0x4116b5
add edi, 8
push edi
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004114e0
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 0x4116f5
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.00419400
cmp eax, 0x17
je 0x411764
pop edi
mov dword [esi], 0x418a58
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042e7ae
add esp, 0x4c
ret
mov ecx, dword [esp + 0x58]
pop edi
mov dword [esi], 0x4115e0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e7ae
add esp, 0x4c
ret
Function at 0x4223c0
Capabilities:
Hash data using sha1

Disassembly:
call fcn.00419400
add eax, 0xfffffffd
cmp eax, 0x25
ja case.0x4223d4.8
movzx eax, byte [eax + 0x42245c]
jmp dword [eax*4 + 0x422448]
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x4275e8
jmp 0x42241a
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x4264b0
jmp 0x42241a
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x425400
jmp 0x42241a
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x422390
jmp 0x42241a
mov eax, dword [esp + 4]
mov dword [eax + 0x5c], 0x415f40
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x422490
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x60
mov eax, dword [0x43c4b0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, dword [esp + 0x78]
lea ecx, [esp + 0x1c]
and ecx, 7
push 0x48
lea ebx, [esp + 0x28]
sub ebx, ecx
push 0
push ebx
mov dword [esp + 0x1c], eax
call fcn.0040b17a
mov edx, dword [esi + 0x18]
and edx, 0x3f
mov eax, 0x40
sub eax, edx
add esp, 0xc
cmp eax, 8
ja 0x4224e1
add eax, 0x40
mov ecx, dword [esi + 0x14]
mov ebp, dword [esi + 0x18]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, ebp
shr edx, 0x1d
or ecx, edx
mov byte [ebx], 0x80
lea edx, [ebp*8]
mov dword [esp + 0x18], edx
mov edx, ecx
shr edx, 0x18
mov byte [eax + ebx - 8], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + ebx - 7], dl
mov edx, ecx
shr edx, 8
mov byte [eax + ebx - 6], dl
mov byte [eax + ebx - 5], cl
mov ecx, dword [esp + 0x18]
mov edx, ecx
shr edx, 0x18
mov byte [eax + ebx - 4], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + ebx - 3], dl
mov edx, ecx
mov byte [eax + ebx - 1], cl
mov ecx, dword [esp + 0x10]
push ecx
push eax
shr edx, 8
push ebx
push esi
mov byte [eax + ebx - 2], dl
call fcn.00422290
movzx edx, byte [esi + 3]
mov byte [edi], dl
movzx eax, byte [esi + 2]
mov byte [edi + 1], al
mov ecx, dword [esi]
shr ecx, 8
mov byte [edi + 2], cl
movzx edx, byte [esi]
mov byte [edi + 3], dl
movzx eax, byte [esi + 7]
mov byte [edi + 4], al
movzx ecx, byte [esi + 6]
mov byte [edi + 5], cl
mov edx, dword [esi + 4]
shr edx, 8
mov byte [edi + 6], dl
movzx eax, byte [esi + 4]
mov byte [edi + 7], al
movzx ecx, byte [esi + 0xb]
mov byte [edi + 8], cl
movzx edx, byte [esi + 0xa]
mov byte [edi + 9], dl
mov eax, dword [esi + 8]
shr eax, 8
mov byte [edi + 0xa], al
movzx ecx, byte [esi + 8]
mov byte [edi + 0xb], cl
movzx edx, byte [esi + 0xf]
mov byte [edi + 0xc], dl
movzx eax, byte [esi + 0xe]
mov byte [edi + 0xd], al
mov ecx, dword [esi + 0xc]
shr ecx, 8
mov byte [edi + 0xe], cl
movzx edx, byte [esi + 0xc]
mov byte [edi + 0xf], dl
movzx eax, byte [esi + 0x13]
mov byte [edi + 0x10], al
movzx ecx, byte [esi + 0x12]
mov byte [edi + 0x11], cl
mov edx, dword [esi + 0x10]
shr edx, 8
mov byte [edi + 0x12], dl
movzx eax, byte [esi + 0x10]
push esi
mov byte [edi + 0x13], al
call fcn.004223c0
push 0x140
push 0
add esi, 0x60
push esi
call fcn.0040b17a
mov ecx, dword [esp + 0x8c]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e7ae
add esp, 0x60
ret