joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100538b0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x14]
push eax
call fcn.100a7e90
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
ret

Function at 0x10053960
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x100f529c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x54]
push edi
mov edi, dword [ebp + 0x10]
push 0x4c
push 0
push eax
call fcn.100a7e90
push dword [ebp + 0xc]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x74], 0x6a09e667
push esi
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x70], 0xbb67ae85
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x6c], 0x3c6ef372
push eax
push 0x40
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x68], 0xa54ff53a
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x64], 0x510e527f
push eax
push fcn.10009940
mov dword [ebp - 0x60], 0x9b05688c
mov dword [ebp - 0x5c], 0x1f83d9ab
mov dword [ebp - 0x58], 0x5be0cd19
mov dword [ebp - 8], 0x20
call fcn.1005ac50
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 8]
push edi
call fcn.10067ec0
lea eax, [ebp - 0x74]
push 0x70
push eax
call fcn.1006c330
mov ecx, dword [ebp - 4]
add esp, 0x44
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.100a69cd
mov esp, ebp
pop ebp
ret

Function at 0x10053a40
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.100a7e90
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
pop ebp
ret

Function at 0x10053b00
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret
Function at 0x10053cf0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret

Function at 0x10054f10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shl eax, 5
add ecx, eax
push esi
mov eax, dword [ecx]
xor dword [esi], eax
mov eax, dword [ecx + 4]
xor dword [esi + 4], eax
mov eax, dword [ecx + 8]
xor dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [ecx + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [ecx + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
xor dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
xor dword [esi + 0x1c], eax
call fcn.100555f0
push esi
call fcn.10056770
push esi
call fcn.100564e0
push esi
call fcn.10056770
lea ebx, [edi - 1]
add esp, 0x10
test ebx, ebx
je 0x10054fda
mov edi, dword [ebp + 8]
mov eax, ebx
shl eax, 5
add edi, 8
add edi, eax
mov eax, dword [edi - 8]
xor dword [esi], eax
mov eax, dword [edi - 4]
xor dword [esi + 4], eax
mov eax, dword [edi]
xor dword [esi + 8], eax
mov eax, dword [edi + 4]
xor dword [esi + 0xc], eax
mov eax, dword [edi + 8]
xor dword [esi + 0x10], eax
mov eax, dword [edi + 0xc]
xor dword [esi + 0x14], eax
mov eax, dword [edi + 0x10]
xor dword [esi + 0x18], eax
mov eax, dword [edi + 0x14]
xor dword [esi + 0x1c], eax
push esi
call fcn.10055480
push esi
call fcn.100555f0
push esi
call fcn.10056770
push esi
call fcn.100564e0
push esi
call fcn.10056770
add esp, 0x14
lea edi, [edi - 0x20]
sub ebx, 1
jne 0x10054f83
mov ecx, dword [ebp + 8]
pop edi
mov eax, dword [ecx]
xor dword [esi], eax
mov eax, dword [ecx + 4]
xor dword [esi + 4], eax
mov eax, dword [ecx + 8]
xor dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [ecx + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [ecx + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
xor dword [esi + 0x18], eax
mov eax, dword [ecx + 0x1c]
xor dword [esi + 0x1c], eax
pop esi
pop ebx
pop ebp
ret
Function at 0x10055080
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebx]
xor dword [esi], eax
mov eax, dword [ebx + 4]
xor dword [esi + 4], eax
mov eax, dword [ebx + 8]
xor dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [ebx + 0x18]
xor dword [esi + 0x18], eax
mov eax, dword [ebx + 0x1c]
xor dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
cmp eax, 1
jbe 0x10055118
push edi
lea edi, [ebx + 0x28]
lea ebx, [eax - 1]
push esi
call fcn.100564e0
push esi
call fcn.10056350
push esi
call fcn.10055780
mov eax, dword [edi - 8]
lea edi, [edi + 0x20]
xor dword [esi], eax
add esp, 0xc
mov eax, dword [edi - 0x24]
xor dword [esi + 4], eax
mov eax, dword [edi - 0x20]
xor dword [esi + 8], eax
mov eax, dword [edi - 0x1c]
xor dword [esi + 0xc], eax
mov eax, dword [edi - 0x18]
xor dword [esi + 0x10], eax
mov eax, dword [edi - 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [edi - 0x10]
xor dword [esi + 0x18], eax
mov eax, dword [edi - 0xc]
xor dword [esi + 0x1c], eax
sub ebx, 1
jne 0x100550c8
mov ebx, dword [ebp + 8]
pop edi
push esi
call fcn.100564e0
push esi
call fcn.10056350
mov ecx, dword [ebp + 0xc]
add esp, 8
shl ecx, 5
mov eax, dword [ecx + ebx]
xor dword [esi], eax
mov eax, dword [ecx + ebx + 4]
xor dword [esi + 4], eax
mov eax, dword [ecx + ebx + 8]
xor dword [esi + 8], eax
mov eax, dword [ecx + ebx + 0xc]
xor dword [esi + 0xc], eax
mov eax, dword [ecx + ebx + 0x10]
xor dword [esi + 0x10], eax
mov eax, dword [ecx + ebx + 0x14]
xor dword [esi + 0x14], eax
mov eax, dword [ecx + ebx + 0x18]
xor dword [esi + 0x18], eax
mov eax, dword [ecx + ebx + 0x1c]
xor dword [esi + 0x1c], eax
pop esi
pop ebx
pop ebp
ret
Function at 0x10055170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], 0
lea eax, [ebx + 0xf0]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
add eax, 8
movups xmm1, xmmword [ebx]
lea ebx, [ebx + 0x10]
lea eax, [eax + 0x20]
movaps xmm0, xmm1
movd ecx, xmm1
psrldq xmm0, 4
movd dword [eax - 0x20], xmm0
movaps xmm0, xmm1
mov dword [eax - 0x28], ecx
mov edi, ecx
shr edi, 1
psrldq xmm0, 8
movd dword [eax - 0x18], xmm0
psrldq xmm1, 0xc
movd dword [eax - 0x10], xmm1
movups xmm1, xmmword [ebx - 0x10]
movd edx, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
xor edi, edx
and edi, 0x55555555
lea ecx, [edi + edi]
xor edi, edx
xor dword [eax - 0x28], ecx
mov dword [eax - 0x24], edi
mov edi, dword [eax - 0x20]
shr edi, 1
movd edx, xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
xor edi, edx
and edi, 0x55555555
xor edx, edi
mov dword [eax - 0x1c], edx
movd edx, xmm0
lea ecx, [edi + edi]
mov edi, dword [eax - 0x18]
xor dword [eax - 0x20], ecx
shr edi, 1
xor edi, edx
and edi, 0x55555555
xor edx, edi
mov dword [eax - 0x14], edx
movd edx, xmm1
lea ecx, [edi + edi]
mov edi, dword [eax - 0x10]
xor dword [eax - 0x18], ecx
shr edi, 1
xor edi, edx
and edi, 0x55555555
xor edx, edi
mov dword [eax - 0xc], edx
mov edx, dword [ebp + 0xc]
lea ecx, [edi + edi]
xor dword [eax - 0x10], ecx
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [edx]
jbe 0x10055190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10055270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100f529c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [eax + 0x10]
lea eax, [ebp - 0x24]
push eax
movups xmmword [ebp - 0x14], xmm0
call fcn.10056a80
xor edi, edi
add esp, 4
mov dword [ebp - 0x2c], edi
cmp dword [ebp + 0xc], edi
jbe 0x1005546e
lea eax, [ecx + 8]
push ebx
mov dword [ebp - 0x30], eax
push esi
nop dword [eax + eax]
mov edx, dword [ebp + edi*4 - 0xc]
mov eax, dword [ebp + edi*4 - 0x14]
mov ecx, dword [ebp + edi*4 - 0x1c]
movzx eax, al
mov ebx, dword [ebp + edi*4 - 0x24]
movzx esi, dl
shl esi, 8
or esi, eax
mov dword [ebp - 0x28], ecx
movzx eax, cl
shl esi, 8
or esi, eax
movzx eax, bl
shl esi, 8
or esi, eax
mov ecx, esi
shr ecx, 0xc
xor ecx, esi
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
xor esi, eax
mov eax, esi
mov dword [ebp - 0x38], esi
shr eax, 6
xor eax, esi
and eax, 0xcc00cc
mov dword [ebp - 0x34], eax
mov eax, edx
shr eax, 8
movzx edx, al
mov eax, dword [ebp + edi*4 - 0x14]
shr eax, 8
movzx eax, al
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x28]
shr eax, 8
movzx eax, al
shl edx, 8
or edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl edx, 8
or edx, eax
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
mov ecx, dword [ebp - 0x2c]
xor edx, eax
mov edi, edx
mov dword [ebp - 0x3c], edx
shr edi, 6
mov eax, dword [ebp + ecx*4 - 0xc]
xor edi, edx
shr eax, 0x10
and edi, 0xcc00cc
movzx esi, al
mov eax, dword [ebp + ecx*4 - 0x14]
shr eax, 0x10
movzx eax, al
shl esi, 8
or esi, eax
mov eax, dword [ebp - 0x28]
shr eax, 0x10
shl esi, 8
movzx eax, al
or esi, eax
mov eax, ebx
shr eax, 0x10
shl esi, 8
movzx eax, al
or esi, eax
mov ecx, esi
shr ecx, 0xc
xor ecx, esi
shr ebx, 8
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
mov ecx, dword [ebp - 0x2c]
xor esi, eax
mov eax, dword [ebp - 0x28]
and eax, 0xff00ffff
mov edx, esi
or eax, ebx
shr edx, 6
mov dword [ebp - 0x28], eax
mov ebx, eax
mov eax, dword [ebp + ecx*4 - 0x14]
xor edx, esi
and eax, 0xff0000ff
shr ebx, 8
or ebx, eax
and edx, 0xcc00cc
mov eax, dword [ebp + ecx*4 - 0xc]
and eax, 0xff000000
shr ebx, 8
or ebx, eax
mov ecx, ebx
shr ecx, 0xc
xor ecx, ebx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
xor ebx, eax
mov eax, dword [ebp - 0x34]
shl eax, 6
mov ecx, ebx
xor eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x38]
shr ecx, 6
xor ecx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x30]
and ecx, 0xcc00cc
mov dword [ebx - 8], eax
mov eax, edi
shl eax, 6
xor eax, edi
mov edi, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x3c]
inc edi
mov dword [ebx - 4], eax
mov eax, edx
shl eax, 6
xor eax, edx
mov dword [ebp - 0x2c], edi
xor eax, esi
mov dword [ebx], eax
mov eax, ecx
shl eax, 6
xor eax, ecx
xor eax, dword [ebp - 0x28]
mov dword [ebx + 4], eax
add ebx, 0x10
mov dword [ebp - 0x30], ebx
cmp edi, dword [ebp + 0xc]
jb 0x100552c0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.100a69cd
mov esp, ebp
pop ebp
ret
Function at 0x10055a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x100f529c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push edi
push dword [ebp + 0xc]
push eax
mov dword [esi + 0xf0], 0xa
call fcn.10054bd0
movups xmm0, xmmword [ebp - 0x14]
add esp, 8
mov ebx, 1
movups xmmword [esi], xmm0
add esi, 0x10
mov dword [ebp - 0x28], esi
mov edx, dword [ebp - 0x14]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x10]
shr edx, 1
and edx, 0x55555555
shr esi, 1
movups xmmword [ebp - 0x48], xmm0
xor dword [ebp - 0x44], edx
movups xmmword [ebp - 0x38], xmm0
lea eax, [edx + edx]
mov edx, dword [ebp - 0x3c]
xor esi, edx
psrldq xmm0, 4
xor eax, dword [ebp - 0x14]
and esi, 0x55555555
xor edx, esi
mov dword [ebp - 0x48], eax
movd ecx, xmm0
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x2c]
lea eax, [esi + esi]
mov esi, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
shr esi, 1
xor esi, ecx
mov dword [ebp - 0x40], eax
and esi, 0x55555555
xor ecx, esi
mov dword [ebp - 0x34], ecx
lea eax, [esi + esi]
mov esi, dword [ebp - 8]
xor eax, dword [ebp - 0xc]
shr esi, 1
xor esi, edx
mov dword [ebp - 0x38], eax
and esi, 0x55555555
xor edx, esi
mov dword [ebp - 0x2c], edx
lea eax, [esi + esi]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x48]
push eax
call fcn.100564e0
mov eax, dword [ebp - 0x44]
add esp, 4
mov edi, dword [ebp - 0x48]
add eax, eax
mov esi, dword [ebp - 0x40]
xor eax, edi
mov edx, dword [ebp - 0x38]
and eax, 0xaaaaaaaa
xor edi, eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
add eax, eax
mov dword [ebp - 0x24], edi
xor eax, esi
movzx edi, byte [ebx + 0x100c77c3]
and eax, 0xaaaaaaaa
xor esi, eax
mov eax, dword [ebp - 0x34]
add eax, eax
mov dword [ebp - 0x20], esi
xor eax, edx
and eax, 0xaaaaaaaa
xor edx, eax
mov eax, dword [ebp - 0x2c]
add eax, eax
mov dword [ebp - 0x1c], edx
xor eax, ecx
and eax, 0xaaaaaaaa
xor ecx, eax
xor eax, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + eax*4 - 0x24]
mov edx, edi
mov esi, ecx
shr ecx, 8
and esi, 0x3000000
or esi, ecx
mov cl, al
add cl, cl
shr esi, 0x12
shr edx, cl
and edx, 3
xor esi, edx
xor esi, dword [ebp + eax*4 - 0x14]
mov ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
mov dword [ebp + eax*4 - 0x14], ecx
inc eax
cmp eax, 4
jb 0x10055b78
mov eax, dword [ebp - 0x28]
inc ebx
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [eax], xmm0
add eax, 0x10
mov dword [ebp - 0x28], eax
cmp ebx, 0xa
jbe 0x10055a91
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a69cd
mov esp, ebp
pop ebp
ret
Function at 0x10056de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
mov edx, eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
cmp ecx, eax
mov dword [ebp - 4], edi
cmovb edx, ecx
mov dword [ebp - 0xc], edx
test edx, edx
je 0x10056e68
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
sub edx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edx
mov edx, dword [edx + ebx]
mov esi, edx
mov ecx, dword [ebx]
mov ebx, edx
sub ebx, ecx
xor esi, ecx
xor ebx, edx
or ebx, esi
xor ebx, edx
shr ebx, 0x1f
lea edi, [esi - 1]
neg ebx
shr edi, 0x1f
not esi
mov edx, ebx
shr esi, 0x1f
not edx
and edi, esi
and edx, 1
neg edi
or edx, ebx
mov ebx, dword [ebp - 8]
mov ecx, edi
and edi, dword [ebp - 4]
not ecx
and edx, ecx
add ebx, 4
or edi, edx
mov dword [ebp - 8], ebx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edi
sub eax, 1
jne 0x10056e13
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
cmp ecx, eax
jae 0x10056ef6
mov ebx, dword [ebp + 0x10]
mov esi, eax
sub esi, ecx
xor edx, edx
cmp esi, 8
jb 0x10056ed0
and esi, 7
mov edx, eax
sub edx, esi
xorps xmm2, xmm2
xorps xmm1, xmm1
nop dword [eax + eax]
movups xmm0, xmmword [ebx + ecx*4]
por xmm2, xmm0
movups xmm0, xmmword [ebx + ecx*4 + 0x10]
add ecx, 8
mov esi, ecx
por xmm1, xmm0
cmp ecx, edx
jb 0x10056e90
por xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
por xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
por xmm1, xmm0
movd edx, xmm1
cmp esi, eax
jae 0x10056ed8
nop
or edx, dword [ebx + ecx*4]
inc ecx
cmp ecx, eax
jb 0x10056ed0
lea ecx, [edx - 1]
not edx
shr ecx, 0x1f
shr edx, 0x1f
and ecx, edx
neg ecx
mov eax, ecx
not ecx
and eax, edi
pop edi
pop esi
or eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
jbe 0x10056f89
mov ebx, dword [ebp + 8]
mov esi, ecx
sub esi, eax
xor edx, edx
cmp esi, 8
jb 0x10056f60
and esi, 7
mov edx, ecx
sub edx, esi
xorps xmm2, xmm2
xorps xmm1, xmm1
nop word [eax + eax]
movups xmm0, xmmword [ebx + eax*4]
por xmm2, xmm0
movups xmm0, xmmword [ebx + eax*4 + 0x10]
add eax, 8
mov esi, eax
por xmm1, xmm0
cmp eax, edx
jb 0x10056f20
por xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
por xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
por xmm1, xmm0
movd edx, xmm1
cmp esi, ecx
jae 0x10056f68
nop
or edx, dword [ebx + eax*4]
inc eax
cmp eax, ecx
jb 0x10056f60
lea ecx, [edx - 1]
not edx
shr ecx, 0x1f
shr edx, 0x1f
and ecx, edx
neg ecx
mov eax, ecx
not ecx
and eax, edi
and ecx, 1
pop edi
pop esi
or eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10058b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 0xc]
push 0
push esi
call fcn.10057330
add esp, 8
test eax, eax
je 0x10058b48
push 0xaa
push str.C:_boringssl_x86crypto_fipsmodule_bn_montgomery.c
push 0x69
push 0
push 3
call fcn.10068920
add esp, 0x14
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0
jle 0x10058ca0
mov eax, dword [esi]
test byte [eax], 1
je 0x10058ca0
cmp dword [esi + 0xc], 0
je 0x10058b82
push 0xb2
push str.C:_boringssl_x86crypto_fipsmodule_bn_montgomery.c
push 0x6d
push 0
push 3
call fcn.10068920
add esp, 0x14
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x800
push esi
call fcn.10057330
add esp, 8
test eax, eax
jne 0x10058bb2
push 0xb6
push str.C:_boringssl_x86crypto_fipsmodule_bn_montgomery.c
push 0x66
push eax
push 3
call fcn.10068920
add esp, 0x14
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
add edi, 0x14
push esi
push edi
call fcn.10048370
add esp, 8
test eax, eax
jne 0x10058be6
push 0xbc
push str.C:_boringssl_x86crypto_fipsmodule_bn_montgomery.c
push 0x44
push eax
push 3
call fcn.10068920
add esp, 0x14
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call fcn.1005a0a0
mov edx, dword [edi]
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x1c], ecx
cmp dword [edi + 4], 1
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
jle 0x10058c0a
or ecx, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
xorps xmm0, xmm0
mov dword [ebp - 8], 0
movlpd qword [ebp - 0x10], xmm0
mov esi, 1
mov edx, dword [ebp - 0x10]
push ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 0x40
mov dword [ebp - 0xc], edx
and esi, 1
xor edi, edi
neg esi
adc edi, edi
and esi, eax
neg edi
mov edx, edi
and edx, ecx
mov ecx, esi
xor ecx, dword [ebp - 4]
mov eax, edx
xor eax, dword [ebp - 8]
and esi, dword [ebp - 4]
and edx, dword [ebp - 8]
shrd ecx, eax, 1
shr eax, 1
add ecx, esi
mov esi, ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
adc eax, edx
shrd ecx, ebx, 1
mov dword [ebp - 8], eax
and edi, 0x80000000
xor eax, eax
shr ebx, 1
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov edx, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
adc ebx, edi
sub dword [ebp - 0x14], 1
jne 0x10058c32
mov eax, dword [ebp + 8]
mov dword [eax + 0x2c], ebx
pop ebx
pop edi
mov dword [eax + 0x28], edx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push 0xae
push str.C:_boringssl_x86crypto_fipsmodule_bn_montgomery.c
push 0x68
push 0
push 3
call fcn.10068920
add esp, 0x14
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005a590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov ecx, 0x400
push ebx
push esi
mov edx, 0x200
mov esi, 1
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
shl eax, 5
cmp eax, ecx
mov dword [ebp - 0x10], esi
push edi
cmovle ecx, edx
mov dword [ebp - 0x20], ecx
nop
movzx eax, word [esi*2 + 0x100c77f0]
mov dword [ebp - 0x24], eax
movzx eax, ax
mov dword [ebp - 0x18], eax
cmp eax, 1
jbe 0x1005a6bb
movzx edi, ax
lea ecx, [edi - 1]
push ecx
call fcn.1004ae80
mov ecx, eax
add esp, 4
mov eax, edi
mov dword [ebp - 0x1c], ecx
cdq
add ecx, 0x20
mov ebx, eax
xor edi, edi
xor eax, eax
bts eax, ecx
cmp ecx, 0x20
push edx
cmovae edi, eax
xor eax, edi
cmp ecx, 0x40
push ebx
cmovae edi, eax
add eax, ebx
adc edi, edx
add eax, 0xffffffff
adc edi, 0xffffffff
push edi
push eax
call fcn.100a6fb0
mov edx, dword [ebp - 0x14]
xor edi, edi
sub edx, 1
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
js 0x1005a6bb
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x18]
mov ecx, dword [eax]
lea ecx, [ecx + edx*4]
mov dword [ebp - 0xc], ecx
mov ebx, dword [ecx]
mov eax, ebx
shr eax, 0x10
mov ecx, dword [ebp - 0x1c]
movzx edi, di
dec ecx
shl edi, 0x10
or edi, eax
mov eax, edi
mul dword [ebp - 4]
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, cl
imul eax, esi
sub edi, eax
movzx eax, bx
movzx edi, di
shl edi, 0x10
or edi, eax
mov eax, edi
mul dword [ebp - 4]
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, cl
mov ecx, dword [ebp - 0xc]
imul eax, esi
sub ecx, 4
mov dword [ebp - 0xc], ecx
sub edi, eax
mov eax, dword [ebp - 8]
dec eax
movzx edi, di
mov dword [ebp - 8], eax
test eax, eax
jns 0x1005a640
mov esi, dword [ebp - 0x10]
test di, di
je 0x1005a6bb
inc esi
mov dword [ebp - 0x10], esi
cmp esi, dword [ebp - 0x20]
jb 0x1005a5c0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
pop edi
pop esi
mov word [eax], cx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005ad40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100f529c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
jbe 0x1005ad6d
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a69cd
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
lea ebx, [esi + 0xfc]
lea ecx, [esi + 0xf4]
nop dword [eax]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
lea eax, [ebp - 0x34]
add eax, edi
push esi
push eax
mov eax, dword [ecx]
push ebx
call eax
add edi, 0x10
lea ecx, [esi + 0xf4]
add esp, 0xc
cmp edi, 0x30
jb 0x1005ad80
mov ebx, dword [ebp + 0x10]
xor edx, edx
test ebx, ebx
je 0x1005adcf
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
sub edi, eax
nop
lea ecx, [ebp - 0x34]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, ebx
jb 0x1005adc0
push 0x20
lea eax, [ebp - 0x34]
push eax
lea eax, [esi + 0xf4]
push eax
push 0
push esi
call fcn.100546e0
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 4]
add esp, 0x14
mov dword [esi + 0xf8], eax
xor ecx, ebp
movups xmmword [esi + 0xfc], xmm0
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.100a69cd
mov esp, ebp
pop ebp
ret