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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x165
push 1
push str.You_are_loading_an_SSH_2_private_key_which_has_an_nold_version_of_the_file_format._This_means_your_key_nfile_is_not_fully_tamperproof._Future_versions_of_nPuTTY_may_stop_supporting_this_private_key_format__nso_we_recommend_you_convert_your_key_to_the_new_nformat._n_nOnce_the_key_is_loaded_into_PuTTYgen__you_can_perform_nthis_conversion_simply_by_saving_it_again._n
call sub.msvcrt.dll_fwrite
add esp, 0x10
leave
ret
Function at 0x405540
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
lea ebx, [ebp - 0x10]
call sub.USER32.dll_GetForegroundWindow
push edi
push edi
push 4
push ebx
mov dword [ebp - 0x10], eax
call fcn.00411b10
add esp, 0x10
lea edi, [ebp - 0x4c]
call sub.USER32.dll_GetCapture
push esi
push esi
push 4
push ebx
mov dword [ebp - 0x10], eax
call fcn.00411b10
add esp, 0x10
lea esi, [ebp - 0x54]
call sub.USER32.dll_GetClipboardOwner
push ecx
push ecx
push 4
push ebx
mov dword [ebp - 0x10], eax
call fcn.00411b10
mov dword [esp], 0xbf
call sub.USER32.dll_GetQueueStatus
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
lea ebx, [ebp - 0x1c]
mov dword [esp], 4
push eax
call fcn.00411b10
mov dword [esp], ebx
call sub.USER32.dll_GetCursorPos
mov dword [esp], 8
push ebx
lea ebx, [ebp - 0x3c]
call fcn.00411b10
mov dword [esp], ebx
call sub.KERNEL32.dll_GlobalMemoryStatus
mov dword [esp], 0x20
push ebx
call fcn.00411b10
add esp, 0x10
call sub.KERNEL32.dll_GetCurrentThread
sub esp, 0xc
lea ebx, [ebp - 0x5c]
lea edx, [ebp - 0x44]
push edx
push edi
push esi
push ebx
push eax
call sub.KERNEL32.dll_GetThreadTimes
mov dword [esp], 0x20
push ebx
call fcn.00411b10
add esp, 0x10
call sub.KERNEL32.dll_GetCurrentProcess
sub esp, 0xc
lea edx, [ebp - 0x44]
push edx
push edi
push esi
push ebx
push eax
call sub.KERNEL32.dll_GetProcessTimes
mov dword [esp], 0x20
push ebx
call fcn.00411b10
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4056d0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x264
lea ebx, [ebp - 0x117]
mov edi, dword [ebp + 8]
push 0x107
push ebx
call sub.KERNEL32.dll_GetWindowsDirectoryA
push eax
push ebx
call sub.msvcrt.dll_strlen
pop ecx
pop esi
lea esi, [ebp - 0x258]
lea eax, [ebx + eax]
mov word [eax], 0x2a5c
mov byte [eax + 2], 0
push esi
push ebx
call sub.KERNEL32.dll_FindFirstFileA
mov ebx, eax
pop eax
cmp ebx, 0xffffffff
pop edx
je 0x405745
nop
lea esi, [esi]
push ecx
push ecx
push 0x140
push esi
call edi
pop eax
pop edx
push esi
push ebx
call sub.KERNEL32.dll_FindNextFileA
pop edx
test eax, eax
pop ecx
jne 0x405720
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_FindClose
add esp, 0xc
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [ebp - 0x10], eax
push eax
push eax
lea eax, [ebp - 0x10]
push 4
push eax
call edi
mov dword [esp], edi
call fcn.00405dc0
add esp, 0x10
call fcn.00405690
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x405840
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov ebx, eax
lea esi, [ebp - 0x115]
lea edi, [ebp - 0x10]
jmp 0x40586b
push eax
push eax
push esi
push ebx
call sub.ADVAPI32.DLL_RegDeleteKeyA
pop ecx
pop eax
push 0x105
push esi
push 0
push ebx
call sub.ADVAPI32.DLL_RegEnumKeyA
test eax, eax
jne 0x4058a4
push ecx
push edi
push esi
push ebx
call sub.ADVAPI32.DLL_RegOpenKeyA
pop edx
test eax, eax
jne 0x405860
mov eax, dword [ebp - 0x10]
call fcn.00405840
sub esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
jmp 0x405860
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x405990
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov esi, eax
mov edi, ecx
mov eax, edx
test edx, edx
je 0x405a01
cmp edx, 2
sete dl
and edx, 0xff
dec edx
and edx, 0x40000000
add edx, 0x40000000
cmp eax, 2
setne al
xor ecx, ecx
xor ebx, ebx
mov cl, al
mov bl, al
and eax, 0xff
sub esp, 4
dec ecx
add ebx, 2
and ecx, 0x80
lea eax, [eax + eax*2]
push 0
push ecx
push ebx
push 0
push eax
push edx
push esi
call sub.KERNEL32.dll_CreateFileA
mov dword [edi], eax
inc eax
setne al
pop edx
and eax, 0xff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 0xc
push esi
call sub.msvcrt.dll_remove
mov dword [edi], 0xffffffff
xor eax, eax
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x405d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov eax, 2
mov ebp, esp
push ebx
sub esp, 0x14
call fcn.00405a20
mov ebx, eax
cmp eax, 0xffffffff
je 0x405db8
sub esp, 0xc
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push ebx
call sub.KERNEL32.dll_WriteFile
push ebx
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x405dc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov eax, 1
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x41c
call fcn.00405a20
mov ebx, eax
cmp eax, 0xffffffff
je 0x405e1e
lea edi, [ebp - 0x10]
lea esi, [ebp - 0x410]
jmp 0x405df9
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x405e12
push edx
push edx
push eax
push esi
call dword [ebp + 8]
add esp, 0x10
sub esp, 0xc
push 0
push edi
push 0x400
push esi
push ebx
call sub.KERNEL32.dll_ReadFile
add esp, 0xc
test eax, eax
jne 0x405de8
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4061c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push 1
push ebx
call sub.msvcrt.dll_strlen
mov dword [esp], esi
mov edi, eax
call sub.msvcrt.dll_strlen
lea eax, [edi + eax]
lea eax, [eax + eax*2 + 0xf]
mov dword [esp], eax
call fcn.00408ee0
mov edx, esi
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov dword [esp], ebx
call fcn.00406160
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push str.SoftwareSimonTathamPuTTYSshHostKeys
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyA
pop esi
test eax, eax
jne 0x406249
sub esp, 0xc
mov ebx, dword [ebp + 0x14]
push ebx
call sub.msvcrt.dll_strlen
pop edx
inc eax
pop ecx
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x10]
push 1
push 0
push edi
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
sub esp, 0xc
push edi
call fcn.00408de0
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4067b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ecx, 1
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
lea ebx, [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov dl, byte [ecx + esi - 1]
lea eax, [edx - 0x41]
cmp al, 0x19
ja 0x406853
movsx eax, dl
sub eax, 0x41
mov dword [ebx + ecx*4 - 4], eax
inc ecx
cmp ecx, 5
jne 0x4067c4
mov ebx, dword [ebp - 0x1c]
cmp ebx, 0xffffffff
je 0x4068a0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x4068a0
mov esi, dword [ebp - 0x14]
cmp esi, 0xffffffff
je 0x4068ac
mov edx, dword [ebp - 0x10]
cmp edx, 0xffffffff
setne al
shl ecx, 0xc
and edx, 0x3f
shl ebx, 0x12
and esi, 0x3f
or ecx, ebx
and eax, 0xff
or ecx, edx
mov edi, eax
shl esi, 6
mov edx, dword [ebp + 0xc]
or ecx, esi
add edi, 2
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
mov eax, ecx
shr eax, 8
cmp edi, 2
mov byte [edx + 1], al
jle 0x406849
mov byte [edx + 2], cl
add esp, 0x10
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x406865
movsx eax, dl
sub eax, 0x47
jmp 0x4067d9
lea eax, [edx - 0x30]
cmp al, 9
jbe 0x406892
mov eax, 0x3e
cmp dl, 0x2b
je 0x4067d9
mov al, 0x3f
cmp dl, 0x2f
je 0x4067d9
cmp dl, 0x3d
jne 0x4068a0
or eax, 0xffffffff
jmp 0x4067d9
movsx eax, dl
add eax, 4
jmp 0x4067d9
xor edi, edi
add esp, 0x10
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4068a0
shl ecx, 0xc
mov eax, dword [ebp + 0xc]
shl ebx, 0x12
mov edi, 1
or ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
jmp 0x406849
Function at 0x406940
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ecx, 5
mov ebp, esp
push edi
cld
push esi
lea eax, [ebp - 0x2d]
push ebx
mov edi, eax
sub esp, 0x84
mov esi, str.PuTTY_User_Key_File_
mov dword [ebp - 0x84], eax
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x41c689]
mov esi, str._____BEGIN_SSH2_ENCRYPTED_PRIVAT
mov byte [edi], al
lea eax, [ebp - 0x6e]
mov edi, eax
mov cl, 8
mov dword [ebp - 0x88], eax
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x41c6ac]
mov byte [edi], al
mov eax, dword [str._____BEGIN]
mov dword [ebp - 0x18], eax
mov eax, dword [0x41c6b1]
mov dword [ebp - 0x14], eax
mov eax, dword [0x41c6b5]
mov dword [ebp - 0x10], eax
push 0x41c650
mov eax, dword [ebp + 8]
push eax
call sub.msvcrt.dll_fopen
add esp, 0x10
mov esi, eax
test eax, eax
je 0x406a62
lea ebx, [ebp - 0x4d]
push eax
push 0x20
push 1
push ebx
call sub.msvcrt.dll_fread
mov dword [esp], esi
mov edi, eax
call sub.msvcrt.dll_fclose
add esp, 0x10
test edi, edi
js 0x406a62
cmp edi, 0x1f
jle 0x406a5b
cld
mov ecx, 0x20
mov edi, str.SSH_PRIVATE_KEY_FILE_FORMAT_1.1_n
mov esi, ebx
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
mov ecx, 2
cmp dl, al
je 0x406a32
mov cl, 0x14
mov esi, ebx
mov edi, dword [ebp - 0x84]
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
mov ecx, 3
cmp dl, al
je 0x406a32
mov cl, 0xb
lea edi, [ebp - 0x18]
mov esi, ebx
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
mov ecx, 4
cmp dl, al
jne 0x406a40
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov cl, 0x20
mov esi, ebx
mov edi, dword [ebp - 0x88]
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
mov ecx, 5
cmp dl, al
je 0x406a32
mov ecx, 1
jmp 0x406a32
xor ecx, ecx
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x408e40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push ebx
sub esp, 0xd4
mov eax, 0x7fffffff
div dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jb 0x408e84
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
imul eax, edx
test ecx, ecx
je 0x408ed0
push ebx
push ebx
push eax
push ecx
call sub.msvcrt.dll_realloc
add esp, 0x10
mov ebx, eax
test ebx, ebx
je 0x408e84
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
sub esp, 0xc
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0x2074754f
mov dword [ebp - 0xc8], 0x6d20666f
mov dword [ebp - 0xc4], 0x726f6d65
mov word [ebp - 0xc0], 0x2179
mov byte [ebp - 0xbe], 0
push eax
call fcn.00401d00
mov eax, ebx
add esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
sub esp, 0xc
push eax
call sub.msvcrt.dll_malloc
add esp, 0x10
mov ebx, eax
jmp 0x408e79

Function at 0x408ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xor edx, edx
mov ebp, esp
push ebx
sub esp, 0xd4
mov eax, 0x7fffffff
div dword [ebp + 0xc]
xor ebx, ebx
cmp eax, dword [ebp + 8]
jb 0x408f23
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
imul eax, ecx
test eax, eax
jne 0x408f0a
mov al, 1
sub esp, 0xc
push eax
call sub.msvcrt.dll_malloc
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x408f23
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
sub esp, 0xc
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xcc], 0x2074754f
mov dword [ebp - 0xc8], 0x6d20666f
mov dword [ebp - 0xc4], 0x726f6d65
mov word [ebp - 0xc0], 0x2179
mov byte [ebp - 0xbe], 0
push eax
call fcn.00401d00
mov eax, ebx
add esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x409700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [ebp - 0x48], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], ecx
test edx, edx
jle 0x4097dd
mov eax, dword [eax + 0xc]
cmp eax, 0x20
jg 0x4097ec
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp edi, eax
jg 0x4097e5
mov dword [ebp - 0x40], 0
nop
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x40]
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x40]
shr eax, 8
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x40]
mov byte [ebp - 0xd], al
call dword [edx]
mov ecx, dword [ebp - 0x48]
mov ebx, eax
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x44]
push ecx
push ebx
call dword [eax + 4]
add esp, 0xc
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x10]
push 4
push edx
push ebx
call dword [eax + 4]
pop eax
mov eax, dword [ebp - 0x44]
pop edx
lea edx, [ebp - 0x30]
push edx
push ebx
call dword [eax + 8]
mov eax, dword [ebp - 0x40]
inc eax
add esp, 0x10
mov dword [ebp - 0x40], eax
test edi, edi
jle 0x4097b1
xor edx, edx
mov al, byte [edx + ebp - 0x30]
xor byte [edx + esi], al
inc edx
cmp edx, edi
jne 0x4097a5
mov eax, dword [ebp + 0xc]
sub eax, edi
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4097dd
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xc]
cmp eax, 0x20
jg 0x4097ec
mov edx, dword [ebp + 0xc]
cmp edx, eax
jle 0x4097d4
mov edx, eax
add esi, edi
mov edi, edx
jmp 0x409740
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, eax
jmp 0x409737
push eax
push 0x376
push str._home_nightlybuild_buildroot_packages_FileZilla3_src_putty_sshrsa.c
push str.h__hlen___SSH2_KEX_MAX_HASH_LEN
call sub.msvcrt.dll__assert
jmp fcn.00409810
Function at 0x411b10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, dword [0x421050]
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x411be1
mov eax, dword [0x421560]
mov edx, 0x40
sub edx, eax
mov ebx, dword [ebp + 8]
cmp esi, edx
jl 0x411bef
add eax, 0x421520
push ecx
push edx
push ebx
push eax
call sub.msvcrt.dll_memcpy
mov edx, dword [0x421560]
mov eax, 0x40
sub eax, edx
pop ecx
add ebx, eax
sub esi, eax
pop eax
push 0x421520
push 0x42150c
call fcn.004156c0
mov edx, dword [0x421508]
xor ecx, ecx
add esp, 0x10
mov al, byte [ecx + 0x421520]
xor byte [edx + 0x421058], al
inc edx
cmp edx, 0x4b0
setl al
and eax, 0xff
inc ecx
neg eax
and edx, eax
cmp ecx, 0x14
jne 0x411b78
mov dword [0x421508], edx
cmp edx, 0x13
jle 0x411be8
xor eax, eax
mov dword [0x421560], 0
mov edx, 0x40
cmp esi, 0x3f
jg 0x411b3d
mov eax, 0x421520
push edx
push esi
push ebx
push eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [0x421560]
add ebx, esi
add esp, 0x10
mov dword [0x421560], ebx
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
call fcn.004117e0
jmp 0x411ba8
add eax, 0x421520
jmp 0x411bc7

Function at 0x411ca0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x54], 0
pop ebp
ret

Function at 0x412590
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x50
lea edi, [ebp - 0x4c]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push 0x40
push 0x36
push edi
call sub.msvcrt.dll_memset
add esp, 0x10
test ebx, ebx
jle 0x412647
mov edx, 1
lea esi, [esi]
mov al, byte [edx + esi - 1]
xor byte [edx + edi - 1], al
mov eax, edx
inc edx
cmp ebx, eax
jg 0x412636
mov eax, dword [ebp + 8]
push eax
call fcn.00411ca0
mov eax, dword [ebp + 8]
push 0x40
push edi
push eax
call fcn.00411d30
add esp, 0xc
push 0x40
push 0x5c
push edi
call sub.msvcrt.dll_memset
mov edx, 1
add esp, 0x10
lea esi, [esi]
mov al, byte [edx + esi - 1]
xor byte [edx + edi - 1], al
mov eax, edx
inc edx
cmp ebx, eax
jg 0x412640
mov ebx, dword [ebp + 8]
add ebx, 0x5c
push ebx
call fcn.00411ca0
push 0x40
push edi
push ebx
call fcn.00411d30
cld
mov ecx, 0x10
xor eax, eax
rep stosd dword es:[edi], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x3f
jle 0x4125c0
jmp 0x4125cf
cmp eax, 0x3f
jle 0x412600
jmp 0x41260f
mov esi, dword [ebp + 8]
push esi
call fcn.00411ca0
mov ebx, dword [ebp + 8]
push 0x40
push edi
push ebx
call fcn.00411d30
add esp, 0xc
push 0x40
push 0x5c
push edi
call sub.msvcrt.dll_memset
add esp, 0x10
jmp 0x41260f
Function at 0x4159e0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
pop ebp
ret

Function at 0x415ba0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x50
lea edi, [ebp - 0x4c]
mov ebx, ecx
mov dword [ebp - 0x50], eax
push 0x40
push 0x36
push edi
mov esi, edx
call sub.msvcrt.dll_memset
add esp, 0x10
test ebx, ebx
jle 0x415c57
mov edx, 1
lea esi, [esi]
mov al, byte [edx + esi - 1]
xor byte [edx + edi - 1], al
mov eax, edx
inc edx
cmp ebx, eax
jg 0x415c46
mov eax, dword [ebp - 0x50]
push eax
call fcn.004159e0
mov eax, dword [ebp - 0x50]
push 0x40
push edi
push eax
call fcn.00415a40
add esp, 0xc
push 0x40
push 0x5c
push edi
call sub.msvcrt.dll_memset
mov edx, 1
add esp, 0x10
lea esi, [esi]
mov al, byte [edx + esi - 1]
xor byte [edx + edi - 1], al
mov eax, edx
inc edx
cmp ebx, eax
jg 0x415c50
mov ebx, dword [ebp - 0x50]
add ebx, 0x60
push ebx
call fcn.004159e0
push 0x40
push edi
push ebx
call fcn.00415a40
cld
mov ecx, 0x10
xor eax, eax
rep stosd dword es:[edi], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x3f
jle 0x415bd0
jmp 0x415bdf
cmp eax, 0x3f
jle 0x415c10
jmp 0x415c1f
mov eax, dword [ebp - 0x50]
push eax
call fcn.004159e0
mov eax, dword [ebp - 0x50]
push 0x40
push edi
push eax
call fcn.00415a40
add esp, 0xc
push 0x40
push 0x5c
push edi
call sub.msvcrt.dll_memset
add esp, 0x10
jmp 0x415c1f

Function at 0x416190
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret
Function at 0x10004c60
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push esi
mov esi, eax
push edi
lea edi, [esi + 0x68]
test edi, edi
je 0x10004c79
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
test eax, eax
je 0x10004c86
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
call sub.LogTransport2.dll_AgentExists
neg al
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
cmp dword [0x100160ec], 0
jle 0x10004cb0
test eax, eax
jne 0x10004cb0
call fcn.10004a90
pop edi
pop esi
ret
cmp dword [esi + 0x60], 0x10
jb 0x10004cc0
mov ecx, dword [esi + 0x4c]
pop edi
pop esi
jmp fcn.10008550
pop edi
lea ecx, [esi + 0x4c]
pop esi
jmp fcn.10008550
Function at 0x10007f60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100105e9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x100113cb
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ebx, 0x10
lea ecx, [esp + 8]
mov eax, esi
mov dword [esp + 0x30], 0
call fcn.10002c70
test eax, eax
je 0x10007fd6
cmp eax, 1
je 0x10007fd6
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebx - 0xf]
jmp 0x10007fff
cmp dword [esp + 0x20], ebx
mov ecx, dword [esp + 0xc]
jae 0x10007fe4
lea ecx, [esp + 0xc]
call fcn.10009d70
lea ecx, [esp + 8]
mov dword [edi], eax
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1000e1de
add esp, 0x2c
ret

Function at 0x10008170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10008187
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100081b8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x100081b4
cmp esi, eax
jae 0x100081b8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x100081a4
cmp esi, eax
jb 0x100081be
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x10008260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1000f602
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1001601c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov edx, dword [0x1001659c]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, 0x1001659c
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 1
mov ebx, dword [esp + 0x2c]
push ecx
lea edi, [esp + 0x14]
call fcn.1000c5e0
mov esi, dword [esp + 0x10]
cmp dword [esi - 4], 1
jle 0x100082df
mov edx, dword [esi - 0xc]
push edx
mov eax, edi
push eax
call fcn.1000cb30
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push esi
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
test esi, esi
mov dword [esp + 0x18], 1
jne 0x100082fc
xor eax, eax
jmp 0x1000830e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10008301
sub eax, edx
js 0x1000835d
cmp eax, dword [esi - 8]
jg 0x1000835d
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea esi, [esp + 0x10]
call fcn.1000c740
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008348
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0x80070057
call fcn.10002bb0
int3

Function at 0x10008370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov eax, dword [0x1001601c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
lea eax, [esp + 4]
push eax
push str.SOFTWAREPoliciesAdobeAPIP
push 0x80000002
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0x10
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100083dd
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.enabled
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100083d2
cmp dword [esp + 0xc], eax
jne 0x100083d2
xor bl, bl
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
xor ecx, esp
call fcn.1000e1de
add esp, 0x1c
ret