joyce8/EMBER2024-capa huggingface dataset:
Function at 0x270352ef
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x57c
mov eax, dword [0x270b313c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x56c], 0
push ebx
mov dword [ebp - 0x578], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x570], eax
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x27035321
sub eax, ecx
mov esi, eax
mov edi, 0x101
cmp esi, edi
jbe 0x2703533f
mov eax, 0xffffd800
jmp 0x2703548c
push 0x208
lea eax, [ebp - 0x318]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x110]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
push dword [ebp - 0x570]
lea eax, [ebp - 0x110]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov byte [ebp + esi - 0x110], 0x5c
inc esi
lea eax, [ebp + esi - 0x110]
push edi
mov dword [ebp - 0x574], eax
mov byte [eax], 0x2a
lea eax, [ebp - 0x318]
push eax
inc esi
push esi
lea eax, [ebp - 0x110]
push eax
xor edi, edi
push edi
push edi
call sub.KERNEL32.dll_MultiByteToWideChar
test eax, eax
je 0x27035335
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x318]
push eax
call sub.KERNEL32.dll_FindFirstFileW
mov dword [ebp - 0x570], eax
cmp eax, 0xffffffff
jne 0x270353e5
mov eax, 0xffffd700
jmp 0x2703548c
sub ebx, esi
push ebx
push edi
push dword [ebp - 0x574]
call sub.msvcrt.dll_memset
add esp, 0xc
test byte [ebp - 0x568], 0x10
jne 0x27035451
push edi
push edi
lea eax, [ebx - 1]
push eax
push dword [ebp - 0x574]
lea eax, [ebp - 0x53c]
push eax
call sub.KERNEL32.dll_lstrlenW
push eax
lea eax, [ebp - 0x53c]
push eax
push edi
push edi
call sub.KERNEL32.dll_WideCharToMultiByte
test eax, eax
je 0x27035471
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x578]
call fcn.270352a5
cmp eax, edi
pop ecx
pop ecx
jge 0x2703544b
inc dword [ebp - 0x56c]
jmp 0x27035451
add dword [ebp - 0x56c], eax
lea eax, [ebp - 0x568]
push eax
push dword [ebp - 0x570]
call sub.KERNEL32.dll_FindNextFileW
test eax, eax
jne 0x270353e7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x12
je 0x2703547b
mov dword [ebp - 0x56c], 0xffffd700
push dword [ebp - 0x570]
call sub.KERNEL32.dll_FindClose
mov eax, dword [ebp - 0x56c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.27088f70
leave
ret
Function at 0x270383de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x270b313c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xa8]
mov eax, dword [ebx + 0x40]
push esi
not ecx
push edi
and ecx, 1
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
call dword [eax + 0x398]
add esp, 0xc
push 1
mov eax, ebx
call fcn.2703bf5d
pop ecx
test eax, eax
jne 0x270384e2
cmp dword [ebx + 0x7c], 0x16
je 0x27038440
push 0xa
push 2
mov ecx, ebx
call fcn.2703c156
mov eax, 0xffff8900
jmp 0x270384e0
mov eax, dword [ebx + 0x74]
cmp byte [eax], 0x14
jne 0x270384d0
cmp dword [ebx + 0x88], 0x10
jne 0x270384d0
lea edi, [eax + 4]
lea eax, [ebp - 0x10]
push 0xc
xor esi, esi
mov byte [ebp - 0x11], 0
sub edi, eax
pop edx
lea eax, [ebp + esi - 0x10]
mov cl, byte [edi + eax]
movzx eax, byte [eax]
movzx ecx, cl
xor eax, ecx
movzx ecx, byte [ebp - 0x11]
or eax, ecx
inc esi
mov byte [ebp - 0x11], al
cmp esi, edx
jb 0x27038466
mov al, byte [ebp - 0x11]
test al, al
jne 0x270384d0
mov dword [ebx + 0xcc], edx
lea esi, [ebp - 0x10]
lea edi, [ebx + 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x40]
cmp dword [eax + 0x7fc], 0
je 0x270384c9
mov eax, dword [ebx]
add eax, 0xa8
test byte [eax], 1
jne 0x270384c0
mov dword [ebx + 4], 0xa
test byte [eax], 1
je 0x270384cc
mov dword [ebx + 4], 0xf
jmp 0x270384cc
inc dword [ebx + 4]
xor eax, eax
jmp 0x270384e2
push 0x32
push 2
mov ecx, ebx
call fcn.2703c156
mov eax, 0xffff8180
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.27088f70
leave
ret
Function at 0x2703a898
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x270b313c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x30
lea esi, [ebp - 0x38]
mov eax, esi
push 0
push eax
mov edi, ecx
call sub.msvcrt.dll_memset
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 1
add esp, 0xc
sub dword [ebp - 0x40], edi
lea ebx, [edi + 0x20]
lea eax, [edi + 0xf]
inc byte [eax]
jne 0x2703a8e1
mov ecx, dword [ebp - 0x40]
dec eax
add ecx, eax
test ecx, ecx
jg 0x2703a8d3
push 1
push ebx
mov ecx, esi
mov eax, edi
call fcn.2703f086
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x2703a93c
add dword [ebp - 0x3c], 0x10
add esi, 0x10
cmp dword [ebp - 0x3c], 0x30
jl 0x2703a8d0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x38]
xor ecx, ecx
sub esi, eax
lea eax, [ebp + ecx - 0x38]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, 0x30
jl 0x2703a90d
lea eax, [ebp - 0x38]
push 0x100
push eax
mov edx, ebx
call fcn.2703e246
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x2703a93c
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
push 0x30
push eax
call fcn.270419d8
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.27088f70
leave
ret

Function at 0x2703b0ce
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add esi, 4
push 8
mov eax, esi
sub ecx, esi
pop esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x2703b0f8
pop edi
pop esi
pop ebp
ret
Function at 0x2703d195
Capabilities:
Hash data using sha1
Hash data using sha224
Hash data using sha256

Disassembly:
test eax, eax
je 0x2703d1e4
mov ecx, dword [eax]
test ecx, ecx
je 0x2703d1e4
mov ecx, dword [ecx + 4]
sub ecx, 3
je 0x2703d1dc
dec ecx
je 0x2703d1d4
dec ecx
je 0x2703d1cf
dec ecx
je 0x2703d1c5
dec ecx
je 0x2703d1c0
dec ecx
jne 0x2703d1e4
xor edx, edx
mov eax, dword [eax + 4]
jmp fcn.27041f48
xor edx, edx
inc edx
jmp 0x2703d1b8
xor ecx, ecx
mov eax, dword [eax + 4]
jmp fcn.27049b63
xor ecx, ecx
inc ecx
jmp 0x2703d1c7
mov eax, dword [eax + 4]
jmp fcn.2704599c
mov eax, dword [eax + 4]
jmp fcn.2703d5d0
mov eax, 0xffffaf00
ret

Function at 0x2703d311
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x270b313c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x50], edi
test esi, esi
je 0x2703d41b
mov eax, dword [esi]
test eax, eax
je 0x2703d41b
cmp dword [esi + 8], 0
je 0x2703d41b
movzx ecx, byte [eax + 9]
cmp dword [ebp + 8], ecx
jbe 0x2703d397
mov eax, esi
call fcn.2703d195
mov ebx, eax
test ebx, ebx
jne 0x2703d40a
mov edx, dword [ebp + 8]
push edi
mov eax, esi
call fcn.2703d1ea
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x2703d40a
lea ecx, [ebp - 0x4c]
mov eax, esi
call fcn.2703d24e
mov ebx, eax
test ebx, ebx
jne 0x2703d40a
mov eax, dword [esi]
movzx ecx, byte [eax + 8]
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
movzx eax, byte [eax + 9]
mov edi, dword [esi + 8]
push eax
push 0x36
push edi
lea ebx, [eax + edi]
call sub.msvcrt.dll_memset
mov eax, dword [esi]
movzx eax, byte [eax + 9]
add esp, 0xc
push eax
push 0x5c
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0
jbe 0x2703d3ec
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x50], ebx
sub ecx, eax
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
mov dl, byte [eax]
xor byte [ecx + eax], dl
mov edx, dword [ebp - 0x50]
mov bl, byte [eax]
add edx, eax
xor byte [edx], bl
inc eax
dec dword [ebp - 0x54]
jne 0x2703d3d8
mov eax, esi
call fcn.2703d195
mov ebx, eax
test ebx, ebx
jne 0x2703d40a
mov eax, dword [esi]
movzx edx, byte [eax + 9]
push edi
mov eax, esi
call fcn.2703d1ea
pop ecx
mov ebx, eax
lea eax, [ebp - 0x4c]
push 0x40
push eax
call fcn.270419d8
pop ecx
pop ecx
mov eax, ebx
jmp 0x2703d420
mov eax, 0xffffaf00
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.27088f70
leave
ret

Function at 0x2703d5d0
Capabilities:
Hash data with md5

Disassembly:
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
xor eax, eax
ret
Function at 0x2703e4aa
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
push edi
mov edi, eax
lea eax, [esp + 0x18]
push eax
call fcn.2703e215
push dword [ebp + 0xc]
lea esi, [edi + 8]
push dword [ebp + 8]
lea edx, [esp + 0x24]
mov dword [edi + 4], esi
call fcn.2703e246
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x2703e59d
mov eax, dword [esp + 0x18]
mov dword [edi], eax
shl eax, 4
add eax, dword [esp + 0x1c]
push 4
mov ecx, dword [eax]
mov dword [esi], ecx
pop ecx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
mov edi, dword [edi]
add esi, ecx
dec edi
sub eax, 0x1c
jmp 0x2703e57f
mov dword [esp + 0x10], ecx
movzx edx, byte [eax + 3]
movzx edx, byte [edx + str.cw]
movzx ebx, byte [eax + 2]
movzx ebx, byte [ebx + str.cw]
mov edx, dword [edx*4 + 0x2709ece0]
xor edx, dword [ebx*4 + 0x2709e8e0]
movzx ebx, byte [eax + 1]
movzx ebx, byte [ebx + str.cw]
xor edx, dword [ebx*4 + 0x2709e4e0]
mov ebx, dword [eax]
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
xor edx, dword [ebx*4 + 0x2709e0e0]
add eax, ecx
mov dword [esi], edx
add esi, ecx
dec dword [esp + 0x10]
jne 0x2703e523
dec edi
sub eax, 0x20
test edi, edi
jg 0x2703e51f
mov edx, dword [eax]
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add esi, ecx
add eax, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
lea eax, [esp + 0x18]
push eax
call fcn.2703e22c
mov eax, dword [esp + 0x18]
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x2703f0a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x270b313c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov edi, edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
test cl, 0xf
je 0x2703f0db
push 0xffffffffffffffde
pop eax
jmp 0x2703f19a
cmp dword [ebp + 0xc], 0
jne 0x2703f13f
test ecx, ecx
jbe 0x2703f198
sub edi, eax
lea eax, [ecx - 1]
shr eax, 4
inc eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov esi, ebx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp - 0x24]
mov eax, ebx
movsd dword es:[edi], dword [esi]
call fcn.2703f086
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
push 0x10
pop esi
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x2703f118
mov edi, dword [ebp - 0x28]
sub dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ebx, 0x10
dec dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], eax
jne 0x2703f0f8
jmp 0x2703f198
test ecx, ecx
jbe 0x2703f198
sub ebx, edi
mov dword [ebp - 0x18], ebx
lea ebx, [ecx - 1]
sub eax, edi
shr ebx, 4
mov dword [ebp - 0x20], eax
inc ebx
jmp 0x2703f15c
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
push 0x10
mov esi, edi
pop ecx
mov edx, dword [ebp - 0x18]
mov dl, byte [edx + esi]
xor dl, byte [esi]
mov byte [eax + esi], dl
inc esi
dec ecx
jne 0x2703f161
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x24]
mov ecx, eax
call fcn.2703f086
mov esi, dword [ebp - 0x1c]
add dword [ebp - 0x18], 0x10
add dword [ebp - 0x1c], 0x10
add dword [ebp - 0x20], 0x10
dec ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
pop ecx
movsd dword es:[edi], dword [esi]
jne 0x2703f156
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.27088f70
leave
ret
Function at 0x2704099e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push 0x270b5ef8
push dword [ebp + 8]
call sub.msvcrt.dll_fopen
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 4], edi
test edi, edi
jne 0x270409c9
mov eax, 0xffffc200
jmp 0x27040a84
push 2
push 0
push edi
call sub.msvcrt.dll_fseek
push edi
call sub.msvcrt.dll_ftell
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
jne 0x270409f5
push dword [ebp - 4]
call sub.msvcrt.dll_fclose
mov eax, 0xffffc200
jmp 0x27040a83
push 0
push 0
push dword [ebp - 4]
call sub.msvcrt.dll_fseek
lea eax, [edi + 1]
add esp, 0xc
mov dword [esi], edi
test eax, eax
je 0x27040a76
push eax
push 1
call sub.msvcrt.dll_calloc
pop ecx
pop ecx
mov dword [ebx], eax
test eax, eax
je 0x27040a76
push dword [ebp - 4]
push edi
push 1
push eax
call sub.msvcrt.dll_fread
add esp, 0x10
push dword [ebp - 4]
cmp eax, dword [esi]
je 0x27040a50
call sub.msvcrt.dll_fclose
push dword [esi]
push dword [ebx]
call fcn.270419d8
push dword [ebx]
call sub.msvcrt.dll_free
add esp, 0x10
jmp 0x270409bf
call sub.msvcrt.dll_fclose
mov eax, dword [ebx]
mov ecx, dword [esi]
mov dword [esp], str._____BEGIN
push eax
mov byte [eax + ecx], 0
call sub.msvcrt.dll_strstr
pop ecx
pop ecx
test eax, eax
je 0x27040a72
inc dword [esi]
xor eax, eax
jmp 0x27040a84
push dword [ebp - 4]
call sub.msvcrt.dll_fclose
mov eax, 0xffffc080
pop ecx
pop edi
pop ebx
leave
ret

Function at 0x27041753
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebx
push esi
mov eax, 0x2709cb40
push edi
mov ebx, eax
test edx, edx
je 0x27041787
cmp dword [0x2709cb40], 0
je 0x27041787
mov ecx, dword [edx + 4]
cmp dword [eax + 4], ecx
jne 0x2704177d
mov esi, dword [eax]
mov edi, dword [edx + 8]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x2704178d
add ebx, 0x18
cmp dword [ebx], 0
mov eax, ebx
jne 0x2704176a
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, ebx
jmp 0x27041789
Function at 0x27041f48
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
cmp edx, ecx
jne 0x27041fcb
mov dword [eax + 0x10], 0xf3bcc908
mov dword [eax + 0x14], 0x6a09e667
mov dword [eax + 0x18], 0x84caa73b
mov dword [eax + 0x1c], 0xbb67ae85
mov dword [eax + 0x20], 0xfe94f82b
mov dword [eax + 0x24], 0x3c6ef372
mov dword [eax + 0x28], 0x5f1d36f1
mov dword [eax + 0x2c], 0xa54ff53a
mov dword [eax + 0x30], 0xade682d1
mov dword [eax + 0x34], 0x510e527f
mov dword [eax + 0x38], 0x2b3e6c1f
mov dword [eax + 0x3c], 0x9b05688c
mov dword [eax + 0x40], 0xfb41bd6b
mov dword [eax + 0x44], 0x1f83d9ab
mov dword [eax + 0x48], 0x137e2179
mov dword [eax + 0x4c], 0x5be0cd19
jmp 0x2704203b
mov dword [eax + 0x10], 0xc1059ed8
mov dword [eax + 0x14], 0xcbbb9d5d
mov dword [eax + 0x18], 0x367cd507
mov dword [eax + 0x1c], 0x629a292a
mov dword [eax + 0x20], 0x3070dd17
mov dword [eax + 0x24], 0x9159015a
mov dword [eax + 0x28], 0xf70e5939
mov dword [eax + 0x2c], 0x152fecd8
mov dword [eax + 0x30], 0xffc00b31
mov dword [eax + 0x34], 0x67332667
mov dword [eax + 0x38], 0x68581511
mov dword [eax + 0x3c], 0x8eb44a87
mov dword [eax + 0x40], 0x64f98fa7
mov dword [eax + 0x44], 0xdb0c2e0d
mov dword [eax + 0x48], 0xbefa4fa4
mov dword [eax + 0x4c], 0x47b5481d
mov dword [eax + 0xd0], edx
xor eax, eax
ret
Function at 0x2704599c
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
xor eax, eax
ret

Function at 0x270487af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebx + 1]
push eax
push 0
push edi
call sub.msvcrt.dll_memset
and dword [ebp - 8], 0
add esp, 0xc
test ebx, ebx
jbe 0x2704880c
movzx eax, byte [ebp + 0xc]
xor esi, esi
test eax, eax
jbe 0x27048804
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
call fcn.2704359b
add dword [ebp - 0xc], ebx
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, esi
shl dl, cl
or byte [eax + edi], dl
movzx eax, byte [ebp + 0xc]
inc esi
cmp esi, eax
jb 0x270487e1
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jb 0x270487d1
xor esi, esi
inc esi
xor al, al
cmp ebx, esi
jb 0x2704884d
mov bl, byte [esi + edi]
mov dl, bl
xor bl, al
and dl, al
mov al, bl
and al, 1
mov cl, 1
sub cl, al
mov al, byte [esi + edi - 1]
imul cl
mov byte [ebp - 1], al
and al, bl
shl cl, 7
or cl, byte [esi + edi - 1]
or al, dl
mov dl, byte [ebp - 1]
mov byte [esi + edi], bl
xor byte [esi + edi], dl
mov byte [esi + edi - 1], cl
inc esi
cmp esi, dword [ebp + 8]
jbe 0x27048815
pop esi
pop ebx
leave
ret

Function at 0x27049b63
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
and dword [eax], 0
and dword [eax + 4], 0
test ecx, ecx
jne 0x27049ba8
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
jmp 0x27049be0
mov dword [eax + 8], 0xc1059ed8
mov dword [eax + 0xc], 0x367cd507
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0xf70e5939
mov dword [eax + 0x18], 0xffc00b31
mov dword [eax + 0x1c], 0x68581511
mov dword [eax + 0x20], 0x64f98fa7
mov dword [eax + 0x24], 0xbefa4fa4
mov dword [eax + 0x68], ecx
xor eax, eax
ret
Function at 0x2704c1be
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov byte [ebp - 1], 0
test edi, edi
jbe 0x2704c1ec
push esi
mov esi, dword [ebp + 8]
sub esi, eax
mov cl, byte [esi + eax]
movzx edx, byte [eax]
movzx ecx, cl
xor edx, ecx
movzx ecx, byte [ebp - 1]
or edx, ecx
inc eax
dec edi
mov byte [ebp - 1], dl
jne 0x2704c1d3
pop esi
mov al, byte [ebp - 1]
movzx eax, al
pop edi
leave
ret
Function at 0x2704e1c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x270b313c]
xor eax, esp
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
cmp ecx, esi
je 0x2704e373
xor eax, eax
lea edx, [ebx + 0x160]
mov edi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebx + 0x170]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x140], esi
mov dword [ebx + 0x144], esi
mov dword [ebx + 0x148], esi
mov dword [ebx + 0x14c], esi
cmp ecx, 0xc
jne 0x2704e24c
mov esi, dword [esp + 0xc]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x16f], 1
jmp 0x2704e2f0
xor eax, eax
lea edi, [esp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ecx
shl edi, 3
mov eax, edi
shr eax, 0x18
mov byte [esp + 0x20], al
mov eax, edi
shr eax, 0x10
mov byte [esp + 0x21], al
mov eax, edi
shr eax, 8
mov byte [esp + 0x22], al
mov al, cl
shl al, 3
mov byte [esp + 0x23], al
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
cmp ecx, esi
jbe 0x2704e2d2
jmp 0x2704e290
mov ecx, dword [ebp + 0x14]
push 0x10
pop esi
cmp ecx, esi
jae 0x2704e299
mov esi, ecx
xor edi, edi
test esi, esi
jbe 0x2704e2b4
mov ecx, dword [esp + 0xc]
mov cl, byte [edi + ecx]
lea eax, [ebx + edi + 0x160]
xor byte [eax], cl
inc edi
cmp edi, esi
jb 0x2704e29f
lea edi, [ebx + 0x160]
push edi
mov eax, ebx
call fcn.2704dfd9
sub dword [ebp + 0x14], esi
add dword [esp + 0x10], esi
cmp dword [ebp + 0x14], 0
pop ecx
ja 0x2704e28d
xor esi, esi
xor eax, eax
mov cl, byte [esp + eax + 0x14]
lea edi, [ebx + 0x160]
xor byte [edi + eax], cl
inc eax
cmp eax, 0x10
jb 0x2704e2d4
push edi
mov eax, ebx
call fcn.2704dfd9
pop ecx
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x150]
push eax
push 0x10
lea eax, [ebx + 0x160]
push eax
push ebx
call fcn.2703c81e
add esp, 0x14
test eax, eax
jne 0x2704e376
mov eax, dword [ebp + 0x1c]
and dword [ebx + 0x14c], 0
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x148], eax
mov dword [esp + 0xc], ecx
test eax, eax
jbe 0x2704e36f
mov esi, dword [ebp + 0x1c]
cmp esi, 0x10
jb 0x2704e338
push 0x10
pop esi
xor edi, edi
test esi, esi
jbe 0x2704e353
mov ecx, dword [esp + 0xc]
mov cl, byte [edi + ecx]
lea eax, [ebx + edi + 0x170]
xor byte [eax], cl
inc edi
cmp edi, esi
jb 0x2704e33e
lea edi, [ebx + 0x170]
push edi
mov eax, ebx
call fcn.2704dfd9
sub dword [ebp + 0x1c], esi
add dword [esp + 0x10], esi
cmp dword [ebp + 0x1c], 0
pop ecx
ja 0x2704e32d
xor eax, eax
jmp 0x2704e376
push 0xffffffffffffffec
pop eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.27088f70
mov esp, ebp
pop ebp
ret