joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a07b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
movzx eax, byte [eax + 0xf]
mov ecx, eax
mov dword [ebp - 4], 0
shr ecx, 4
and eax, 0xf
mov dword [ebp - 0x14], ecx
add eax, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*8 + 8]
mov esi, edx
mov ebx, dword [ecx + eax*8]
and esi, 0xf
mov edi, dword [ecx + eax*8 + 4]
mov ecx, dword [ecx + eax*8 + 0xc]
mov eax, ebx
shrd edx, ecx, 4
shrd ebx, edi, 4
or dword [ebp - 4], edx
mov edx, dword [esi*4 + 0x101147d0]
xor esi, esi
shr ecx, 4
xor esi, ebx
mov ebx, dword [ebp + 0xc]
shl eax, 0x1c
or eax, ecx
shr edi, 4
mov ecx, dword [ebp - 0x14]
xor edx, edi
mov edi, dword [ebp - 4]
add ecx, ecx
xor edx, dword [ebx + ecx*8 + 4]
xor esi, dword [ebx + ecx*8]
xor edi, dword [ebx + ecx*8 + 8]
xor eax, dword [ebx + ecx*8 + 0xc]
mov dword [ebp - 0x10], edx
mov edx, 0xe
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
mov ebx, esi
shl ebx, 0x1c
xor esi, esi
mov dword [ebp - 4], 0
movzx edx, byte [edx + ecx]
mov ecx, edx
and edx, 0xf
shr ecx, 4
add edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, edi
shrd edi, eax, 4
and ecx, 0xf
shr eax, 4
or esi, edi
or ebx, eax
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov ebx, dword [ecx*4 + 0x101147d0]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 4
xor edi, ecx
shr eax, 4
mov ecx, dword [ebp + 0xc]
xor ebx, eax
mov eax, dword [ebp - 8]
xor eax, dword [ecx + edx*8 + 0xc]
xor edi, dword [ecx + edx*8]
xor esi, dword [ecx + edx*8 + 8]
xor ebx, dword [ecx + edx*8 + 4]
mov ecx, esi
mov dword [ebp - 8], eax
and ecx, 0xf
mov edx, dword [ebp - 8]
mov eax, edi
shrd esi, edx, 4
shrd edi, ebx, 4
or dword [ebp - 4], esi
xor esi, esi
mov ecx, dword [ecx*4 + 0x101147d0]
xor esi, edi
mov edi, dword [ebp - 4]
shr edx, 4
shl eax, 0x1c
or eax, edx
shr ebx, 4
mov edx, dword [ebp - 0x18]
xor ecx, ebx
mov ebx, dword [ebp + 0xc]
add edx, edx
xor esi, dword [ebx + edx*8]
xor ecx, dword [ebx + edx*8 + 4]
xor edi, dword [ebx + edx*8 + 8]
xor eax, dword [ebx + edx*8 + 0xc]
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
jns 0x100a0838
mov edx, dword [ebp + 8]
bswap edi
bswap esi
bswap ecx
mov dword [edx + 0xc], edi
pop edi
mov dword [edx + 4], esi
bswap eax
pop esi
mov dword [edx], ecx
mov dword [edx + 8], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a0f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
test bl, 0x40
jne 0x100a0f7b
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
movzx eax, bl
mov edx, 0xf
and eax, 7
xor ecx, ecx
sub edx, eax
mov byte [esi], al
mov dword [ebp - 0x30], edx
cmp edx, 0xf
jae 0x100a0fa7
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x100a0f94
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x100a0fcb
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
push edi
mov edi, ebx
shr edi, 4
test edi, edi
je 0x100a1004
lea eax, [esi + 0x10]
push eax
push esi
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [ebp - 0x2c]
shl edi, 4
add esp, 0x18
add dword [ebp - 0x20], edi
add dword [ebp - 0x1c], edi
sub ebx, edi
je 0x100a1063
shr edi, 4
push edi
push esi
call fcn.100a15e0
add esp, 8
test ebx, ebx
je 0x100a1063
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x100a1052
lea eax, [ebp - 0x14]
sub dword [ebp - 0x20], eax
sub dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov edi, edi
lea ecx, [ebp - 0x14]
add ecx, edi
movzx edx, byte [esi + ecx]
movzx eax, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x1c]
mov byte [eax + ecx], dl
mov eax, dword [ebp - 0x2c]
xor byte [eax + edi], dl
inc edi
cmp edi, ebx
jb 0x100a1030
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [ebp - 0x28]
add esp, 0xc
jmp 0x100a1066
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jae 0x100a1088
mov ecx, 0x10
lea edi, [esi + eax]
sub ecx, eax
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi], al
xor ecx, ebp
pop esi
xor eax, eax
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x100a3fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
je 0x100a3fd6
mov dword [ebp + 0x1c], fcn.100a27d0
pop ebp
jmp fcn.1009ef70
mov dword [ebp + 0x1c], fcn.100a1aa0
pop ebp
jmp fcn.1009ece0

Function at 0x100a41a0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x60
push 0
push esi
call fcn.1003e9c0
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 0x100a5ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x100a5cb1
push ebx
dec edi
lea ebx, [edx + 0xc]
add edx, 0x14
shr edi, 3
push esi
mov esi, dword [ebp + 0xc]
inc edi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], edx
mov edi, edi
movzx eax, byte [esi + 1]
lea esi, [esi + 8]
movzx ecx, byte [esi - 8]
shl eax, 8
or ecx, eax
movzx eax, byte [esi - 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi - 5]
shl eax, 0x18
or ecx, eax
movzx eax, byte [esi - 3]
shl eax, 8
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x9c], ecx
movzx ecx, byte [esi - 4]
or ecx, eax
movzx eax, byte [esi - 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi - 1]
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebx]
and al, 0xdf
mov dword [ebp - 0x8c], ecx
or al, 0x40
mov dword [ebp - 0xa0], ecx
mov byte [ebx], al
movzx eax, byte [edx]
and al, 0xbf
mov dword [ebp - 0x98], ecx
or al, 0x20
push ebx
mov byte [edx], al
call fcn.1005fde0
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.1005fba0
push 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.10074b70
mov ebx, dword [ebp - 0x90]
push ebx
call fcn.1005fde0
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.1005fba0
push 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10074b70
mov ecx, dword [ebp - 0x8c]
add esp, 0x30
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x88]
xor edx, ecx
xor ecx, dword [ebp - 0x98]
mov ebx, dword [ebp - 0xa4]
xor ebx, eax
mov dword [ebp - 0x8c], ecx
xor eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x88], eax
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
mov eax, dword [ebp - 0x88]
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x88]
shr eax, 0x18
mov byte [ecx + 3], al
mov byte [ecx + 4], dl
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 6], al
mov eax, ebx
shr edx, 0x18
mov byte [ecx + 7], dl
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
shr eax, 8
mov byte [ecx], bl
mov byte [ecx + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [ecx + 3], bl
mov ebx, dword [ebp - 0x94]
mov byte [ecx + 4], dl
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ecx + 6], al
mov byte [ecx + 7], dl
mov edx, ecx
dec edi
jne 0x100a5b20
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x100ac050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100ac065
xor eax, eax
pop edi
pop ebp
ret
push ebx
push esi
push edi
call fcn.1006b150
mov ecx, dword [ebp + 0x10]
add esp, 4
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov dword [ecx], esi
test ebx, ebx
je 0x100ac11c
mov ecx, dword [edi + 0x10c]
cmp ecx, esi
jne 0x100ac0b4
test esi, esi
jle 0x100ac0fb
mov edx, ebx
lea ecx, [edi + 0x8c]
mov ebx, esi
lea ebx, [ebx]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec ebx
jne 0x100ac0a0
jmp 0x100ac0f8
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100ac0d8
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.1003e9c0
add esp, 0xc
test esi, esi
jle 0x100ac0fb
mov edx, ebx
lea ecx, [edi + 0xac]
mov ebx, esi
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
dec ebx
jne 0x100ac0e6
mov ebx, dword [ebp + 0xc]
push esi
push ebx
push ebx
push edi
call fcn.1006b500
add esp, 0x10
test eax, eax
jne 0x100ac11c
push esi
push ebx
call fcn.100012d0
add esp, 8
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret
pop esi
pop ebx
mov eax, 1
pop edi
pop ebp
ret
Function at 0x100b03a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
dec ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebx - 0x29]
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
jle 0x100b03f9
push 0x2e
push str.rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.10054d40
add esp, 0x14
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
cmp ebx, 0x29
jge 0x100b0425
push 0x34
push str.rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.10054d40
add esp, 0x14
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
add edi, 0x15
push 0
mov dword [ebp - 0x20], edi
call fcn.1006b710
push eax
push 0
push edi
push dword [ebp + 0x1c]
push dword [ebp - 0x28]
call fcn.1006ab60
add esp, 0x18
test eax, eax
je 0x100b04bc
mov eax, ebx
sub eax, dword [ebp - 0x1c]
sub eax, 0x29
push eax
lea eax, [edi + 0x14]
push 0
push eax
call fcn.1003e9c0
mov ecx, dword [ebp - 0x1c]
mov eax, edi
sub eax, ecx
push ecx
push dword [ebp - 0x24]
mov byte [eax + ebx - 0x15], 1
add eax, 0xffffffec
add eax, ebx
push eax
call fcn.1003da60
push 0x14
push esi
call fcn.10053030
add esp, 0x20
test eax, eax
jle 0x100b04bc
push 0x4a
add ebx, 0xffffffec
push str.rsa_rsa_oaep.c
push ebx
call fcn.1005c350
add esp, 0xc
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x100b04cf
push 0x4d
push str.rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.10054d40
add esp, 0x14
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
call fcn.1006b710
push eax
push 0x14
push esi
push ebx
push dword [ebp - 0x1c]
call fcn.100b0260
add esp, 0x14
test eax, eax
js 0x100b04bc
test ebx, ebx
jle 0x100b0504
mov ecx, edi
mov edx, ebx
mov edi, dword [ebp - 0x1c]
sub edi, ecx
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x100b04f5
mov edi, dword [ebp - 0x20]
call fcn.1006b710
push eax
push ebx
push edi
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.100b0260
add esp, 0x14
test eax, eax
js 0x100b04bc
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], 4
lea edx, [ebp - 0x17]
sub ecx, esi
lea edi, [ebp - 0x16]
sub edx, esi
lea ebx, [ebp - 0x15]
sub edi, esi
lea eax, [ebp - 0x14]
sub ebx, esi
sub eax, esi
mov dword [ebp - 0x24], eax
movzx eax, byte [ecx + esi]
lea esi, [esi + 5]
xor byte [esi - 5], al
movzx eax, byte [edx + esi - 5]
xor byte [esi - 4], al
movzx eax, byte [edi + esi - 5]
xor byte [esi - 3], al
movzx eax, byte [ebx + esi - 5]
xor byte [esi - 2], al
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + esi - 5]
xor byte [esi - 1], al
dec dword [ebp - 0x20]
jne 0x100b0541
push dword [ebp - 0x1c]
call fcn.1005c2d0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop esi
pop edi
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x100b0c70
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x100b0d06
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100b0c8d
cmp al, 0x6b
jne 0x100b0d06
inc ecx
cmp al, 0x6b
jne 0x100b0cda
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100b0cb2
jmp 0x100b0ca0
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100b0cb2
cmp dl, 0xbb
jne 0x100b0cc9
inc eax
cmp eax, esi
jl 0x100b0ca0
sub esi, eax
test eax, eax
jne 0x100b0cdd
push 0x8a
push str.rsa_rsa_x931.c
push 0x8a
jmp 0x100b0d12
push 0x81
push str.rsa_rsa_x931.c
push 0x8a
jmp 0x100b0d12
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x100b0cf4
push 0x93
push str.rsa_rsa_x931.c
push 0x8b
jmp 0x100b0d12
push esi
push ecx
push dword [ebp + 8]
call fcn.1003da60
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
push 0x72
push str.rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.10054d40
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x100b1cb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], edx
test edi, edi
je 0x100b1ced
mov eax, 1
mov dword [esi], edi
jmp 0x100b1cef
mov edi, dword [esi]
test ecx, ecx
je 0x100b1eaf
push edi
call fcn.1006b550
add esp, 4
mov dword [ebp - 0x90], eax
cmp eax, 0x80
jle 0x100b1d27
push str.j____int_sizeof_ctx__key_
push 0x68
push str.hmachmac.c
call fcn.10061a10
mov eax, dword [ebp - 0x90]
add esp, 0xc
mov ebx, dword [ebp + 0x10]
cmp eax, ebx
jge 0x100b1d82
push dword [ebp - 0x88]
lea eax, [esi + 4]
push edi
push eax
call fcn.1006ace0
add esp, 0xc
test eax, eax
je 0x100b1e9c
push ebx
push dword [ebp - 0x8c]
lea ebx, [esi + 4]
push ebx
call fcn.1006ae90
add esp, 0xc
test eax, eax
je 0x100b1e9c
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.1006ac30
add esp, 0xc
test eax, eax
je 0x100b1e9c
lea eax, [esi + 0x4c]
jmp 0x100b1dba
test ebx, ebx
js 0x100b1d8e
cmp ebx, 0x80
jle 0x100b1da2
push str.len_0__len__int_sizeof_ctx__key_
push 0x75
push str.hmachmac.c
call fcn.10061a10
add esp, 0xc
push ebx
push dword [ebp - 0x8c]
lea eax, [esi + 0x50]
push eax
call fcn.1003da60
lea eax, [esi + 0x4c]
add esp, 0xc
mov dword [eax], ebx
mov ecx, dword [eax]
cmp ecx, 0x80
je 0x100b1ddc
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.1003e9c0
add esp, 0xc
mov edx, dword [ebp - 0x88]
xor ecx, ecx
jmp 0x100b1df0
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, 0x80
jl 0x100b1df0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.1006ace0
add esp, 0xc
test eax, eax
je 0x100b1e9c
push edi
call fcn.1006b550
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.1006ae90
add esp, 0x10
test eax, eax
je 0x100b1e9c
xor ecx, ecx
lea esp, [esp]
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, 0x80
jl 0x100b1e40
push dword [ebp - 0x88]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.1006ace0
add esp, 0xc
test eax, eax
je 0x100b1e9c
push edi
call fcn.1006b550
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.1006ae90
add esp, 0x10
test eax, eax
je 0x100b1e9c
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.1006af80
add esp, 8
test eax, eax
jne 0x100b1eb8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003890f
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100b1e88
jmp 0x100b1de2
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret
Function at 0x100bff80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
push edi
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jge 0x100bff97
mov edi, edx
jmp 0x100bff9e
mov edi, ecx
mov ecx, edx
mov dword [ebp + 0xc], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x100bffad
mov eax, ebx
jmp 0x100bffba
push eax
push ebx
call fcn.100572f0
mov ecx, dword [ebp + 0xc]
add esp, 8
test eax, eax
jne 0x100bffc2
pop edi
pop ebx
pop ebp
ret
push esi
xor esi, esi
cmp dword [ecx + 4], esi
jle 0x100bffe8
lea ebx, [ebx]
mov eax, dword [edi]
mov ecx, dword [ecx]
mov edx, dword [eax + esi*4]
xor edx, dword [ecx + esi*4]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ecx + 4]
jl 0x100bffd0
cmp esi, dword [edi + 4]
jge 0x100c0000
lea ecx, [ecx]
mov eax, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [edi + 4]
jl 0x100bfff0
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
pop esi
test ecx, ecx
jle 0x100c0024
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x100c0021
dec ecx
test ecx, ecx
jg 0x100c0013
mov dword [ebx + 4], ecx
pop edi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x100dd000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push esi
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
xor edi, edi
call fcn.100ceb10
mov ebx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x100dd046
mov eax, dword [ebp - 4]
shl eax, 0xa
test ebx, eax
je 0x100dd030
inc edi
lea eax, [ebp - 8]
inc esi
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.100ceb10
add esp, 0xc
test eax, eax
jne 0x100dd025
mov ecx, dword [ebp + 0x38]
mov eax, ecx
cdq
idiv edi
mov esi, eax
xor eax, eax
cmp edi, 1
mov dword [ebp - 0xc], esi
mov edi, dword [ebp + 0x44]
push edi
push eax
push dword [ebp + 0x3c]
cmove ecx, eax
mov dword [ebp + 0x38], ecx
call fcn.1003e9c0
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
call fcn.100ceb10
add esp, 0x18
test eax, eax
je 0x100dd124
lea esp, [esp]
mov eax, dword [ebp - 4]
shl eax, 0xa
test ebx, eax
je 0x100dd104
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100dd130
push edi
push dword [ebp + 0x40]
mov eax, dword [ebp + 0x38]
push dword [ebp + 0x30]
and eax, 1
push dword [ebp + 0x2c]
add eax, esi
mov esi, dword [ebp + 0x34]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push esi
push ecx
call fcn.100dd160
add esp, 0x3c
test eax, eax
je 0x100dd14e
add esi, dword [ebp - 0xc]
mov dword [ebp + 0x34], esi
test edi, edi
jle 0x100dd101
mov esi, dword [ebp + 0x40]
mov edx, edi
mov ecx, dword [ebp + 0x3c]
sub esi, ecx
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec edx
jne 0x100dd0f5
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
inc eax
push ecx
push eax
mov dword [ebp - 0x10], eax
call fcn.100ceb10
add esp, 0xc
test eax, eax
jne 0x100dd090
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x114
push str.t1_enc.c
push 0x146
push 0x11c
push 0x14
call fcn.10054d40
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100df490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov eax, dword [eax + 4]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
sub eax, edi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], ebx
cmp esi, edi
jae 0x100df4ec
push str.orig_len___md_size
push 0xef
push str.s3_cbc.c
call fcn.10061a10
add esp, 0xc
cmp edi, 0x40
jbe 0x100df508
push str.md_size___EVP_MAX_MD_SIZE
push 0xf0
push str.s3_cbc.c
call fcn.10061a10
add esp, 0xc
lea eax, [ebp - 0x84]
neg eax
lea ecx, [ebp - 0x84]
and eax, 0x3f
add ecx, eax
lea eax, [edi + 0x100]
mov dword [ebp - 0x98], ecx
cmp esi, eax
jbe 0x100df53b
mov ebx, esi
sub ebx, edi
sub ebx, 0x100
mov dword [ebp - 0x8c], ebx
mov eax, edi
xor edx, edx
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebx
add eax, dword [ebp - 0x88]
div edi
push edi
mov esi, edx
push 0
push ecx
mov dword [ebp - 0x9c], esi
call fcn.1003e9c0
add esp, 0xc
mov dword [ebp - 0x94], 0
cmp ebx, dword [ebp + 0x14]
jae 0x100df65c
mov ecx, dword [ebp - 0x88]
mov edx, ecx
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x8c]
shr edx, 0x1f
mov dword [ebp - 0xa8], edx
mov edx, ebx
mov eax, dword [eax + 0xc]
shr edx, 0x1f
mov dword [ebp - 0x90], edx
mov edx, esi
mov dword [ebp - 0x8c], ebx
sub edx, ebx
sub dword [ebp - 0x8c], ecx
add eax, ebx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0xa4], eax
mov ebx, dword [ebp - 0x8c]
mov ecx, esi
mov eax, dword [ebp - 0xa8]
inc esi
mov edi, dword [ebp - 0x94]
shr ecx, 0x1f
lea ebx, [ebx + edx]
shr edx, 0x1f
xor dl, byte [ebp - 0x90]
shr ebx, 0x1f
xor bl, al
xor al, cl
or bl, al
mov al, cl
xor al, byte [ebp - 0x90]
xor bl, cl
or dl, al
dec bl
mov eax, dword [ebp - 0x88]
xor dl, cl
mov ecx, dword [ebp - 0xa4]
dec dl
not dl
mov al, byte [ecx + eax]
mov ecx, dword [ebp - 0x98]
and dl, al
and dl, bl
or byte [ecx + edi], dl
mov edx, edi
mov edi, dword [ebp + 0x10]
inc edx
mov ecx, edx
mov eax, edx
sub ecx, edi
xor eax, edi
xor ecx, edi
or ecx, eax
xor ecx, edx
shr ecx, 0x1f
neg ecx
and edx, ecx
mov dword [ebp - 0x94], edx
mov edx, dword [ebp - 0x88]
inc edx
mov dword [ebp - 0x88], edx
cmp esi, dword [ebp + 0x14]
jb 0x100df5c2
mov esi, dword [ebp - 0x9c]
xor edx, edx
test edi, edi
je 0x100df6a0
mov ebx, dword [ebp - 0xa0]
jmp 0x100df670
mov ecx, dword [ebp - 0x98]
mov eax, esi
xor eax, 0x20
mov al, byte [eax + ecx]
movzx eax, byte [esi + ecx]
inc esi
mov byte [ebx + edx], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, edi
jb 0x100df670
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret