joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007a650
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.100fefe0
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
mov eax, 1
pop esi
ret

Function at 0x1007a6b0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.100fefe0
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
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
mov eax, 1
pop esi
ret
Function at 0x10082c30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, edi
mov ecx, ebp
cmp edi, 4
jb 0x10082c58
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10082c5c
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x10082c44
test esi, esi
je 0x10082cb6
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x10082c97
cmp esi, 1
jbe 0x10082cb6
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x10082c97
cmp esi, 2
jbe 0x10082cb6
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x10082c97
cmp esi, 3
jbe 0x10082cb6
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jle 0x10082cb6
push 0x157
push str.cryptox509v3_v3_addr.c
push str.assertion_failed:_memcmp_min__max__length____0
call fcn.1005dc80
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor edx, edx
test edi, edi
jle 0x10082cd3
mov esi, ebx
mov eax, ebp
sub esi, ebp
mov cl, byte [esi + eax]
cmp cl, byte [eax]
jne 0x10082cd3
inc edx
inc eax
cmp edx, edi
jl 0x10082cc6
lea eax, [edi - 1]
test eax, eax
js 0x10082cf0
mov esi, ebx
lea ecx, [eax + ebp]
sub esi, ebp
cmp byte [ecx + esi], 0
jne 0x10082cf0
cmp byte [ecx], 0xff
jne 0x10082cf0
dec ecx
dec eax
jns 0x10082ce1
cmp edx, eax
jl case.0x10082d1f.2
jle 0x10082d01
pop esi
pop ebp
lea eax, [edx*8]
pop ebx
ret
mov cl, byte [edx + ebx]
mov bl, byte [edx + ebp]
mov al, bl
xor al, cl
mov byte [esp + 0x10], cl
movzx ecx, al
dec ecx
cmp ecx, 0x7e
ja case.0x10082d1f.2
movzx ecx, byte [ecx + 0x10082d90]
jmp dword [ecx*4 + 0x10082d70]
mov esi, 7
jmp 0x10082d55
mov esi, 6
jmp 0x10082d55
mov esi, 5
jmp 0x10082d55
mov esi, 4
jmp 0x10082d55
mov esi, 3
jmp 0x10082d55
mov esi, 2
jmp 0x10082d55
mov esi, 1
test byte [esp + 0x10], al
jne case.0x10082d1f.2
and bl, al
cmp bl, al
jne case.0x10082d1f.2
lea eax, [esi + edx*8]
pop esi
pop ebp
pop ebx
ret
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret

Function at 0x100872c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
movzx edi, byte [esp + 0x10]
mov eax, edi
and eax, 1
add esi, ecx
add edx, ecx
test ecx, ecx
je 0x100872f3
push ebx
lea esp, [esp]
movzx ebx, byte [edx - 1]
dec edx
xor ebx, edi
add eax, ebx
dec esi
mov byte [esi], al
shr eax, 8
dec ecx
jne 0x100872e0
pop ebx
pop edi
pop esi
ret
Function at 0x10096cd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.100feb80
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x28]
test esi, esi
je 0x10096d15
test ebx, ebx
je 0x10096d15
mov cl, byte [esi + edi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
inc eax
inc ebp
inc esi
dec ebx
and esi, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jne 0x10096cf0
cmp ebx, 0x10
jb 0x10096d8d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
push edx
push edi
push edi
call dword [esp + 0x3c]
add esp, 0xc
cmp esi, 0x10
jae 0x10096d7a
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
mov edx, dword [esp + 0x20]
mov edx, dword [edx + eax]
xor edx, dword [eax]
add eax, 4
dec ecx
mov dword [eax + ebp - 4], edx
jne 0x10096d67
add dword [esp + 0x20], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
dec dword [esp + 0x10]
jne 0x10096d46
test ebx, ebx
je 0x10096dc9
mov eax, dword [esp + 0x24]
push eax
push edi
push edi
call dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
mov dl, byte [eax + ebp]
xor dl, byte [eax]
inc eax
dec ebx
mov byte [eax + ecx - 1], dl
jne 0x10096db0
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10097290
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.100feb80
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [eax]
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x20]
test ebx, ebx
je 0x100972d9
test edi, edi
je 0x100972d9
mov cl, byte [ebx + esi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
inc eax
inc ebp
inc ebx
dec edi
and ebx, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebx
jne 0x100972b0
cmp edi, 0x10
jb 0x10097354
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, edi
shr eax, 4
mov ebx, ecx
mov ebp, edx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebx, esi
sub ebp, esi
add edx, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edi, edi
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push esi
push eax
call dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add esp, 0xc
call fcn.10097260
mov eax, esi
mov ecx, 4
mov edx, dword [eax + ebp]
xor edx, dword [eax]
add eax, 4
dec ecx
mov dword [ebx + eax - 4], edx
jne 0x10097332
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
dec dword [esp + 0x10]
jne 0x10097310
mov ebx, dword [esp + 0x20]
test edi, edi
je 0x1009739b
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
push eax
push esi
push ebp
call dword [esp + 0x40]
add esp, 0xc
mov edx, ebp
call fcn.10097260
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + esi]
sub ebp, esi
sub ecx, esi
add ebx, edi
mov dl, byte [eax + ebp]
xor dl, byte [eax]
inc eax
dec edi
mov byte [eax + ecx - 1], dl
jne 0x10097382
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], ebx
pop ebx
pop ecx
ret
Function at 0x100973e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.100feb80
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x1009742c
test ebp, ebp
je 0x1009742c
mov ecx, dword [esp + 0x2c]
mov dl, byte [eax + ecx]
mov esi, dword [esp + 0x18]
xor dl, byte [esi]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], dl
inc ecx
inc esi
inc eax
dec ebp
and eax, 0xf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
jne 0x10097400
mov esi, dword [esp + 0x28]
movzx ebx, byte [esi + 0xc]
movzx ecx, byte [esi + 0xd]
movzx edx, byte [esi + 0xe]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 0xf]
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, ecx
cmp ebp, 0x10
jb 0x100974cc
mov edi, ebp
shr edi, 4
add ebx, edi
cmp ebx, edi
jae 0x10097463
sub edi, ebx
xor ebx, ebx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
push edx
push edi
push eax
push ecx
call dword [esp + 0x48]
mov edx, ebx
mov eax, ebx
mov ecx, ebx
shr edx, 0x18
shr eax, 0x10
shr ecx, 8
add esp, 0x14
mov byte [esi + 0xc], dl
mov byte [esi + 0xd], al
mov byte [esi + 0xe], cl
mov byte [esi + 0xf], bl
test ebx, ebx
jne 0x100974b6
mov eax, 0xc
mov ecx, 1
movzx edx, byte [eax + esi - 1]
dec eax
add ecx, edx
mov byte [eax + esi], cl
shr ecx, 8
test eax, eax
jne 0x100974a4
shl edi, 4
add dword [esp + 0x1c], edi
add dword [esp + 0x18], edi
sub ebp, edi
cmp ebp, 0x10
jae 0x10097454
mov eax, dword [esp + 0x10]
test ebp, ebp
je 0x10097549
mov edi, dword [esp + 0x2c]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x28]
push eax
push 1
push edi
push edi
call dword [esp + 0x48]
inc ebx
mov ecx, ebx
mov edx, ebx
mov eax, ebx
shr ecx, 0x18
shr edx, 0x10
shr eax, 8
add esp, 0x14
mov byte [esi + 0xc], cl
mov byte [esi + 0xd], dl
mov byte [esi + 0xe], al
mov byte [esi + 0xf], bl
test ebx, ebx
jne 0x10097519
mov edx, esi
call fcn.100973b0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea eax, [edx + edi]
sub ecx, edi
sub esi, edi
add edx, ebp
mov edi, edi
mov bl, byte [ecx + eax]
xor bl, byte [eax]
inc eax
dec ebp
mov byte [esi + eax - 1], bl
jne 0x10097530
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
pop ecx
ret
Function at 0x10097ac0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push eax
push ecx
call fcn.10097590
add esp, 0xc
test eax, eax
js 0x10097d08
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x10097b3d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea ebx, [ebx]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x10097b00
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x10097d04
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x1013b2d0]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1013b2d0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1013bed0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013c6d0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1013b2d0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013cad0]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x1013b2d0]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013c2d0]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x1013b2d0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1013b2d0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1013bed0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013c6d0]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x1013b2d0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013c2d0]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1013b2d0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013cad0]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x1013b2d0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1013b2d0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1013bed0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013c6d0]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x1013b2d0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013c2d0]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1013b2d0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013cad0]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x1013b2d0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1013b2d0]
and esi, 0xff
mov esi, dword [esi*4 + 0x1013bed0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013c6d0]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x1013b2d0]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1013b2d0]
and edi, 0xff
xor esi, dword [edi*4 + 0x1013c2d0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1013cad0]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x10097b51
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x10098fd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.100feb80
xor eax, eax
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x16c], eax
mov dword [esi + 0x168], eax
cmp ebx, 0xc
jne 0x1009903c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
mov ebx, 1
jmp 0x10099170
mov ecx, ebx
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
cmp ebx, 0x10
jb 0x100990c3
mov ecx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 4
mov edi, ecx
mov dword [esp + 0x18], eax
shl eax, 4
sub edi, esi
add ecx, eax
mov dword [esp + 0x1c], ecx
push ebp
jmp 0x10099070
lea ecx, [edi + esi + 2]
mov eax, esi
mov ebp, 4
jmp 0x10099080
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
dec ebp
jne 0x10099080
lea eax, [esi + 0x60]
push eax
push esi
call fcn.10098bb0
add esp, 8
add edi, 0x10
sub ebx, 0x10
dec dword [esp + 0x1c]
jne 0x10099070
mov ecx, dword [esp + 0x10]
xor eax, eax
pop ebp
cmp ebx, eax
je 0x100990ed
jbe 0x100990dc
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub ecx, esi
mov edi, ebx
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec edi
jne 0x100990d3
lea eax, [esi + 0x60]
push eax
push esi
call fcn.10098bb0
mov ecx, dword [esp + 0x14]
add esp, 8
mov eax, dword [esp + 0x10]
shld eax, ecx, 3
mov edx, eax
shr edx, 0x18
xor byte [esi + 8], dl
mov edx, eax
shr edx, 0x10
xor byte [esi + 9], dl
mov edx, eax
shr edx, 8
xor byte [esi + 0xa], dl
add ecx, ecx
mov edx, eax
xor byte [esi + 0xb], dl
add ecx, ecx
add ecx, ecx
xor byte [esi + 0xf], cl
mov edi, eax
mov edx, ecx
shrd edx, edi, 0x18
xor byte [esi + 0xc], dl
shr edi, 0x18
mov edi, eax
mov edx, ecx
shrd edx, edi, 0x10
xor byte [esi + 0xd], dl
mov edx, ecx
shrd edx, eax, 8
xor byte [esi + 0xe], dl
shr eax, 8
lea eax, [esi + 0x60]
push eax
push esi
shr edi, 0x10
call fcn.10098bb0
movzx ebx, byte [esi + 0xc]
movzx ecx, byte [esi + 0xd]
movzx edx, byte [esi + 0xe]
movzx eax, byte [esi + 0xf]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
add esp, 8
shl ebx, 8
or ebx, eax
pop edi
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x170]
push ecx
lea edx, [esi + 0x20]
push edx
push esi
call eax
inc ebx
mov ecx, ebx
mov edx, ebx
add esp, 0xc
mov eax, ebx
shr ecx, 0x18
shr edx, 0x10
shr eax, 8
mov byte [esi + 0xf], bl
mov byte [esi + 0xc], cl
mov byte [esi + 0xd], dl
mov byte [esi + 0xe], al
pop esi
pop ebx
add esp, 8
ret
Function at 0x100991b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
je 0x100991c4
mov eax, 0xfffffffe
pop esi
ret
push ebx
mov ebx, dword [esp + 0x14]
xor eax, eax
mov ecx, ebx
add ecx, dword [esi + 0x30]
adc eax, dword [esi + 0x34]
cmp eax, 0x20000000
ja 0x10099279
jb 0x100991e8
test ecx, ecx
jne 0x10099279
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esi + 0x16c]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
test edi, edi
je 0x10099229
mov edi, edi
test ebx, ebx
je 0x10099215
mov cl, byte [ebp]
xor byte [edi + esi + 0x40], cl
inc edi
inc ebp
dec ebx
and edi, 0xf
jne 0x10099200
jmp 0x10099219
test edi, edi
jne 0x1009926c
lea edx, [esi + 0x60]
push edx
lea eax, [esi + 0x40]
push eax
call fcn.10098bb0
add esp, 8
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x14], eax
je 0x1009924f
push eax
lea ecx, [esi + 0x60]
push ecx
lea edx, [esi + 0x40]
push edx
mov ecx, ebp
call fcn.10098d20
mov eax, dword [esp + 0x20]
add esp, 0xc
add ebp, eax
sub ebx, eax
test ebx, ebx
je 0x1009926c
xor eax, eax
mov edi, ebx
test ebx, ebx
je 0x1009926c
jmp 0x10099260
mov cl, byte [eax + ebp]
xor byte [esi + eax + 0x40], cl
inc eax
cmp eax, ebx
jb 0x10099260
mov dword [esi + 0x16c], edi
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret
pop ebx
or eax, 0xffffffff
pop esi
ret
Function at 0x1009aa20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.100feb80
mov eax, dword [0x1016fb90]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
mov bl, byte [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x20], edx
mov byte [esp + 0xf], bl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
test bl, 0x40
jne 0x1009aa78
push ecx
lea ecx, [esi + 0x10]
push ecx
push esi
call eax
add esp, 0xc
movzx eax, bl
and eax, 7
mov ebx, 0xf
sub ebx, eax
mov byte [esi], al
mov eax, ebx
xor ecx, ecx
mov dword [esp + 0x24], ebx
cmp eax, 0xf
jae 0x1009aaa7
movzx edx, byte [esi + eax]
or ecx, edx
mov byte [esi + eax], 0
inc eax
shl ecx, 8
cmp eax, 0xf
jb 0x1009aa94
movzx eax, byte [esi + 0xf]
mov ebp, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebp
je 0x1009aace
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100fef11
add esp, 0x30
ret
push edi
mov edi, ebp
shr edi, 4
test edi, edi
je 0x1009ab0f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x10]
push ecx
mov ecx, dword [esp + 0x20]
push esi
push edx
push edi
push eax
push ecx
call dword [esp + 0x3c]
shl edi, 4
mov edx, edi
add dword [esp + 0x34], edx
add dword [esp + 0x30], edx
add esp, 0x18
sub ebp, edx
je 0x1009ab77
shr edx, 4
mov ecx, esi
call fcn.1009a7e0
test ebp, ebp
je 0x1009ab77
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
push esi
call dword [esp + 0x2c]
add esp, 0xc
xor eax, eax
test ebp, ebp
je 0x1009ab66
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
sub edi, ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
sub ecx, edx
mov dword [esp + 0x24], ecx
movzx ebx, byte [esp + eax + 0x2c]
lea ecx, [esp + eax + 0x2c]
movzx edx, byte [edi + ecx]
xor edx, ebx
mov ebx, dword [esp + 0x24]
mov byte [ebx + ecx], dl
xor byte [esi + eax + 0x10], dl
inc eax
cmp eax, ebp
jb 0x1009ab43
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x10]
push ecx
push eax
push eax
call dword [esp + 0x2c]
add esp, 0xc
pop edi
cmp ebx, 0x10
jae 0x1009ab93
mov edx, 0x10
sub edx, ebx
push edx
lea eax, [esi + ebx]
push 0
push eax
call fcn.100fefe0
add esp, 0xc
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
xor dword [esi + 0x14], eax
xor dword [esi + 0x10], edx
mov ecx, dword [esp + 0x3c]
xor dword [esi + 0x18], ecx
mov al, byte [esp + 0x1b]
mov edx, dword [esp + 0x40]
xor dword [esi + 0x1c], edx
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov byte [esi], al
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100fef11
add esp, 0x30
ret
Function at 0x1009b340
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.100feb80
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
cmp edi, ebx
jbe 0x1009b3ed
mov eax, dword [ebp + 0x18]
cmp edi, eax
jb 0x1009b39b
mov edx, dword [ebp + 0x40]
mov ecx, edi
sub ecx, eax
add ecx, 4
and ecx, 0xfffffffc
add eax, ecx
push 0x7a
mov dword [ebp + 0x18], eax
push str.cryptomodesocb128.c
shl eax, 4
push eax
push edx
call fcn.10054390
add esp, 0x10
test eax, eax
jne 0x1009b398
pop edi
pop ebp
pop ebx
add esp, 8
ret
mov dword [ebp + 0x40], eax
cmp ebx, edi
jae 0x1009b3ea
push esi
mov esi, ebx
sub edi, ebx
shl esi, 4
add ebx, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov ebx, 1
mov eax, dword [ebp + 0x40]
lea edx, [esi + eax]
mov al, byte [edx]
shr al, 7
mov cl, 0x87
imul cl
lea edi, [edx + 0x10]
mov byte [esp + 0x1c], al
call fcn.1009b1e0
mov dl, byte [esp + 0x1c]
xor byte [edi + 0xf], dl
add esi, 0x10
sub dword [esp + 0x10], ebx
jne 0x1009b3b6
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
pop esi
mov dword [ebp + 0x14], ebx
mov eax, edi
shl eax, 4
add eax, dword [ebp + 0x40]
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1009cb80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.100feb80
mov eax, dword [0x1016fb90]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
push ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
push ebp
mov dword [esp + 0xc], eax
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x50]
movzx edx, byte [edi + 1]
movzx ebx, byte [edi + 5]
lea eax, [edi + 1]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 1]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 2]
mov ebp, dword [esp + 0x48]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax + 3]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 6]
mov dword [esp + 0x2c], eax
movzx eax, byte [eax + 5]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
shl ebx, 0x10
or edx, ebx
mov byte [esp + 0x31], al
mov eax, ecx
mov ebx, ecx
mov byte [esp + 0x30], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x32], al
mov byte [esp + 0x33], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x24], edx
mov byte [esp + 0x34], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], ebx
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
test ebp, ebp
je 0x1009cd52
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
sub eax, ebp
mov dword [esp + 0x10], eax
dec dword [esp + 0x18]
test esi, esi
jne 0x1009cccb
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.1009c170
mov ebx, dword [esp + 0x28]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x2c]
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x3c], al
shr eax, 0x18
shr ecx, 8
shr edx, 0x10
add esp, 8
inc dword [esp + 0x1c]
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], bl
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], dl
mov cl, byte [esp + esi + 0x30]
xor cl, byte [ebp]
inc esi
mov byte [eax + ebp], cl
inc ebp
and esi, 7
cmp dword [esp + 0x18], 0
jne 0x1009cc65
cmp dword [esp + 0x1c], 0
je 0x1009cd39
mov eax, dword [esp + 0x2c]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x24]
shr ebx, 0x18
mov byte [eax + 2], bl
mov byte [eax + 3], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 4], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 5], dl
shr ecx, 0x18
mov byte [eax + 6], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100fef11
add esp, 0x2c
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100fef11
add esp, 0x2c
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100fef11
add esp, 0x2c
ret