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

Disassembly:
push ebx
push edi
push esi
mov edi, dword [esp + 0x10]
mov esi, ecx
test edx, edx
je 0x8088c7
mov ebx, edx
mov ecx, dword [ebx]
mov edx, edi
call fcn.00783720
test eax, eax
je 0x808a8d
mov ebx, dword [ebx + 0x24]
test ebx, ebx
jne 0x8088af
mov edx, fcn.007882e0
xor eax, eax
movzx ebx, byte [0xbb8817]
and edx, 1
inc edx
mov ecx, edx
xor ecx, fcn.007882e0
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt ebx, eax
jb 0x808a7c
mov al, byte [0xbb8817]
mov ebx, edx
xor ecx, ecx
mov ah, 1
xor ebx, fcn.007882e0
sete cl
mov ebx, ecx
not ebx
lea ecx, [ecx + ebx*2 + 4]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb8817], ah
jne 0x8088ff
mov ecx, fcn.007882e0
xor edx, edx
movzx eax, al
and ecx, 1
inc ecx
mov ebx, ecx
xor ebx, fcn.007882e0
sete dl
mov ebx, edx
not ebx
lea edx, [edx + ebx*2 + 4]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x808984
mov edx, ecx
xor eax, eax
movzx ebx, byte [0xbb8817]
xor edx, fcn.007882e0
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2 + 4]
and al, 7
movzx eax, al
bt ebx, eax
jae 0x808959
jmp 0x808a7c
xor eax, eax
xor ecx, fcn.007882e0
movzx edx, byte [0xbb8817]
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x808a51
mov ecx, fcn.007882e0
xor eax, eax
and ecx, 1
inc ecx
xor ecx, fcn.007882e0
sete al
mov ecx, eax
not ecx
and ecx, 0x40b
lea ecx, [eax + ecx*2 - 0x2712465c]
mov eax, dword [0xbb8800]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb8800], eax
not eax
imul edx, eax
mov eax, dword [0xbb8804]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb8804], eax
or ebx, edx
not eax
mov edx, dword [0xbb8808]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb8808], edx
or ebx, eax
not edx
mov eax, dword [0xbb880c]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb880c], eax
or ebx, edx
not eax
mov dl, 1
imul eax, ebx
shl dl, cl
xor dword [0xbb8810], eax
or byte [0xbb8817], dl
mov eax, fcn.007882e0
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.007882e0
sete cl
mov eax, ecx
not eax
lea ecx, [ecx + eax*2 + 4]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb8817], al
push edi
push 0xbb8800
push esi
call fcn.0078de60
add esp, 0xc
xor ebx, ebx
mov eax, ebx
pop esi
pop edi
pop ebx
ret
Function at 0x80c680
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [edx + 0x10]
xor ebx, ebx
test eax, eax
je 0x80c86f
test byte [edx + 0x28], 2
mov ebp, edx
je 0x80c86f
mov edi, dword [ebp + 0x40]
mov esi, dword [eax + 8]
mov dword [esp], ecx
test esi, esi
je 0x80c6c1
mov ecx, dword [esi]
mov edx, edi
call fcn.00783720
test eax, eax
je 0x80c86c
mov esi, dword [esi + 0x14]
jmp 0x80c6a7
mov eax, fcn.007c59b0
mov edx, 3
movzx ecx, byte [0xbb8ba7]
sub edx, eax
mov eax, edx
xor eax, fcn.007c59b0
sete al
not al
and al, 7
movzx eax, al
bt ecx, eax
jb 0x80c84c
mov al, byte [0xbb8ba7]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007c59b0
sete cl
not cl
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb8ba7], ah
jne 0x80c6f3
mov edx, fcn.007c59b0
mov ecx, 3
movzx eax, al
sub ecx, edx
mov edx, ecx
xor edx, fcn.007c59b0
sete dl
not dl
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x80c762
mov eax, ecx
movzx edx, byte [0xbb8ba7]
xor eax, fcn.007c59b0
sete al
not al
and al, 7
movzx eax, al
bt edx, eax
jae 0x80c740
jmp 0x80c84c
xor ecx, fcn.007c59b0
movzx ecx, byte [0xbb8ba7]
sete al
not al
and al, 7
movzx eax, al
bt ecx, eax
jb 0x80c825
mov eax, fcn.007c59b0
mov edx, 3
xor ecx, ecx
sub edx, eax
mov eax, dword [0xbb8b90]
xor edx, fcn.007c59b0
sete cl
xor ecx, 0x9b007c5f
add ecx, 0x500
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb8b90], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb8b94]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb8b94], eax
or esi, edx
not eax
mov edx, dword [0xbb8b98]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb8b98], edx
or esi, eax
not edx
mov eax, dword [0xbb8b9c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb8b9c], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
shl dl, cl
xor dword [0xbb8ba0], eax
or byte [0xbb8ba7], dl
mov eax, fcn.007c59b0
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.007c59b0
sete cl
not cl
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb8ba7], al
push 0
push edi
push 0xbb8b90
mov esi, dword [esp + 0xc]
push esi
call fcn.0078de60
add esp, 0x10
mov byte [esi + 0x11], 1
mov ebx, 1
jmp 0x80c86f
mov dword [ebp + 0x44], esi
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x80d820
Capabilities:
Encode data using xor

Disassembly:
push esi
mov edx, fcn.0082d1e0
mov esi, ecx
xor eax, eax
not edx
and edx, 1
mov ecx, edx
add ecx, fcn.0082d1e0
movzx ecx, byte [0xbb8ae3]
setne al
bt ecx, eax
jb 0x80d925
mov al, byte [0xbb8ae3]
mov ecx, edx
mov ah, 1
add ecx, fcn.0082d1e0
setne cl
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb8ae3], ah
jne 0x80d84f
mov ecx, fcn.0082d1e0
movzx eax, al
not ecx
and ecx, 1
mov edx, ecx
add edx, fcn.0082d1e0
setne dl
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x80d8ab
mov edx, ecx
xor eax, eax
add edx, fcn.0082d1e0
movzx edx, byte [0xbb8ae3]
setne al
bt edx, eax
jae 0x80d890
jmp 0x80d925
xor eax, eax
add ecx, fcn.0082d1e0
movzx ecx, byte [0xbb8ae3]
setne al
bt ecx, eax
jb 0x80d906
mov eax, fcn.0082d1e0
xor ecx, ecx
mov dl, 1
not eax
and eax, 1
add eax, fcn.0082d1e0
mov eax, dword [0xbb8ad8]
sete cl
xor ecx, 0x2156b6b1
add ecx, 0x288
xor eax, ecx
mov dword [0xbb8ad8], eax
not eax
imul eax, ecx
and cl, 7
shl dl, cl
xor dword [0xbb8adc], eax
or byte [0xbb8ae3], dl
mov eax, fcn.0082d1e0
not eax
and eax, 1
add eax, fcn.0082d1e0
mov al, 0xfe
setne cl
xor cl, 7
rol al, cl
and byte [0xbb8ae3], al
mov ecx, esi
mov edx, 0xbb8ad8
call fcn.00783720
test eax, eax
jne 0x80d93c
mov eax, 0x10000000
pop esi
ret
mov edx, fcn.007a02a0
movzx ecx, byte [0xbb8aef]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.007a02a0
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x80da60
mov al, byte [0xbb8aef]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007a02a0
sete cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb8aef], ah
jne 0x80d96b
mov ecx, fcn.007a02a0
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.007a02a0
sete dl
not dl
and dl, 3
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x80d9d7
mov eax, ecx
movzx edx, byte [0xbb8aef]
xor eax, fcn.007a02a0
sete al
not al
and al, 3
movzx eax, al
bt edx, eax
jae 0x80d9b5
jmp 0x80da60
xor ecx, fcn.007a02a0
movzx ecx, byte [0xbb8aef]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x80da3d
mov eax, fcn.007a02a0
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.007a02a0
mov eax, dword [0xbb8ae4]
sete cl
xor ecx, 0x8fed9b53
add ecx, 0x818
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb8ae4], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
xor dword [0xbb8ae8], edx
mov dl, 1
shl dl, cl
or byte [0xbb8aef], dl
mov eax, fcn.007a02a0
and eax, 1
inc eax
xor eax, fcn.007a02a0
mov al, 0xfe
sete cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb8aef], al
mov ecx, esi
mov edx, 0xbb8ae4
call fcn.00783720
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
shl eax, 0x1d
pop esi
ret
Function at 0x80e580
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, fcn.00783420
mov ebx, 3
mov esi, ecx
movzx ecx, byte [0xbb8cbf]
mov ebp, dword [esp + 0x18]
sub ebx, eax
mov eax, ebx
xor eax, fcn.00783420
sete al
xor al, 5
add al, 4
and al, 7
movzx eax, al
bt ecx, eax
jb 0x80e6e7
mov al, byte [0xbb8cbf]
mov ecx, ebx
mov ah, 1
xor ecx, fcn.00783420
sete cl
xor cl, 5
add cl, 4
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb8cbf], ah
jne 0x80e5bf
mov edi, fcn.00783420
mov ecx, 3
sub ecx, edi
mov edi, ecx
xor edi, fcn.00783420
sete ah
xor ah, 5
add ah, 4
and ah, 7
xor ah, 7
movzx edi, ah
movzx eax, al
bt eax, edi
jae 0x80e638
mov eax, ecx
movzx edi, byte [0xbb8cbf]
xor eax, fcn.00783420
sete al
xor al, 5
add al, 4
and al, 7
movzx eax, al
bt edi, eax
jae 0x80e614
jmp 0x80e6e7
xor ebx, ebx
xor ecx, fcn.00783420
movzx ecx, byte [0xbb8cbf]
sete bl
xor ebx, 0x40418d9d
add ebx, 0x404
mov eax, ebx
and al, 7
movzx eax, al
bt ecx, eax
jb 0x80e6bc
mov edi, 0xbb8c80
xor eax, eax
mov dword [esp], esi
mov ebp, dword [edi]
mov ecx, eax
mov esi, ebx
inc eax
shl esi, cl
xor cl, 0x1f
xor ebp, ebx
shr ebx, cl
mov dword [edi], ebp
or ebx, esi
not ebp
add edi, 4
imul ebx, ebp
cmp eax, 0xf
jne 0x80e66c
mov eax, fcn.00783420
mov ecx, 3
mov ebp, dword [esp + 0x18]
sub ecx, eax
mov al, 1
xor ecx, fcn.00783420
sete cl
xor cl, 5
add cl, 4
and cl, 7
shl al, cl
or byte [0xbb8cbf], al
mov esi, dword [esp]
mov eax, fcn.00783420
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.00783420
sete cl
xor cl, 5
add cl, 4
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb8cbf], al
push dword [esp + 0x1c]
push edx
push ebp
push 0xbb8c80
push esi
call fcn.0078de60
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x80f480
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
movzx eax, word [edx + 0x10]
mov esi, ecx
mov ecx, eax
or ecx, 1
test al, 0x60
mov word [edx + 0x10], cx
je 0x80f71e
mov edx, fcn.007a0f90
movzx ecx, byte [0xbb907b]
not edx
and edx, 1
mov eax, edx
add eax, fcn.007a0f90
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x80f710
mov al, byte [0xbb907b]
mov ecx, edx
mov ah, 1
add ecx, fcn.007a0f90
sete cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb907b], ah
jne 0x80f4c9
mov ecx, fcn.007a0f90
movzx eax, al
not ecx
and ecx, 1
mov edx, ecx
add edx, fcn.007a0f90
sete dl
not dl
and dl, 3
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x80f536
mov eax, ecx
movzx edx, byte [0xbb907b]
add eax, fcn.007a0f90
sete al
not al
and al, 3
movzx eax, al
bt edx, eax
jae 0x80f514
jmp 0x80f710
add ecx, fcn.007a0f90
movzx ecx, byte [0xbb907b]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x80f6ec
mov eax, fcn.007a0f90
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.007a0f90
mov eax, dword [0xbb9040]
sete cl
xor ecx, 0x2bd26d1b
add ecx, 0x580
xor eax, ecx
mov dword [0xbb9040], eax
not eax
mov edx, dword [0xbb9044]
imul eax, ecx
and cl, 7
lea edi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb9044], edx
or edi, eax
not edx
mov eax, dword [0xbb9048]
imul edx, edi
lea edi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb9048], eax
or edi, edx
not eax
mov edx, dword [0xbb904c]
imul eax, edi
lea edi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb904c], edx
or edi, eax
not edx
mov eax, dword [0xbb9050]
imul edx, edi
mov edi, edx
shl edi, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbb9050], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb9054]
mov edi, eax
shl edi, 5
xor edx, eax
shr eax, 0x1a
mov dword [0xbb9054], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbb9058]
mov edi, edx
shl edi, 6
xor eax, edx
shr edx, 0x19
mov dword [0xbb9058], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb905c]
mov edi, eax
shl edi, 7
xor edx, eax
shr eax, 0x18
mov dword [0xbb905c], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbb9060]
mov edi, edx
shl edi, 8
xor eax, edx
shr edx, 0x17
mov dword [0xbb9060], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb9064]
mov edi, eax
shl edi, 9
xor edx, eax
shr eax, 0x16
mov dword [0xbb9064], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbb9068]
mov edi, edx
shl edi, 0xa
xor eax, edx
shr edx, 0x15
mov dword [0xbb9068], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb906c]
mov edi, eax
shl edi, 0xb
xor edx, eax
shr eax, 0x14
mov dword [0xbb906c], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbb9070]
mov edi, edx
shl edi, 0xc
xor eax, edx
shr edx, 0x13
mov dword [0xbb9070], eax
or edx, edi
not eax
imul eax, edx
mov dl, 1
xor dword [0xbb9074], eax
shl dl, cl
or byte [0xbb907b], dl
mov eax, fcn.007a0f90
not eax
and eax, 1
add eax, fcn.007a0f90
mov al, 0xfe
sete cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb907b], al
push 0xbb9040
push esi
call fcn.0078de60
add esp, 8
pop esi
pop edi
ret
Function at 0x815310
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0xbd33e0]
xor eax, esp
mov dword [esp + 0x10], eax
mov ebp, dword [edx + 0x3c]
test ebp, ebp
je 0x81543d
mov eax, dword [edx + 8]
mov edi, edx
test eax, eax
jne 0x81543d
mov ebx, dword [ecx + 0x2c]
mov esi, ecx
inc ebx
mov dword [ecx + 0x2c], ebx
mov dword [edi + 8], ebx
call fcn.007f7590
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0xc]
mov dword [esp], eax
call fcn.0080e500
test eax, eax
mov dword [esp + 8], ebp
je 0x8153b2
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp]
mov edx, 0x45
push ebx
push ebp
call fcn.007d10d0
add esp, 8
test ebp, ebp
jne 0x81538a
mov ecx, dword [esp]
mov edx, dword [esp + 0x28]
call fcn.007f7790
jmp 0x8153e7
js 0x8153e7
movzx eax, word [edi + 2]
mov edx, ebp
mov ecx, ebp
sar edx, 0x1f
mov word [esp + 4], ax
call fcn.007bdf50
cmp word [esp + 4], ax
jle 0x8153e7
mov word [edi + 2], ax
or byte [edi + 5], 0x40
jmp 0x8153e7
mov edx, dword [ebp + 0xc]
mov ecx, esi
push ebx
call fcn.007f7750
add esp, 4
mov ebp, dword [esp]
mov edx, 0xf
mov ecx, ebp
push ebx
call fcn.007f9600
add esp, 4
mov ecx, ebp
mov edx, 0x14
push dword [esp + 0x28]
push ebx
call fcn.007d10d0
add esp, 8
mov eax, dword [esp + 8]
cmp dword [eax + 0x10], 0
je 0x81543d
mov ebp, dword [esi + 0x2c]
mov dword [esp + 4], ebx
mov ecx, esi
lea ebx, [ebp + 1]
mov dword [esi + 0x2c], ebx
mov dword [edi + 0xc], ebx
inc dword [esi + 0x2c]
mov edx, dword [eax + 0x10]
push ebx
call fcn.007f7750
add esp, 4
mov esi, dword [esp]
mov edx, 0xf
mov ecx, esi
push ebx
call fcn.007f9600
add esp, 4
add ebp, 2
mov ecx, esi
mov edx, 0x98
push ebx
push ebp
push dword [esp + 0xc]
call fcn.007d10f0
add esp, 0xc
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00989fe9
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x818810
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, fcn.008106c0
mov esi, ecx
movzx ecx, byte [0xbba21b]
imul edi, edi
and edi, 3
cmp edi, 1
seta al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x818993
mov al, byte [0xbba21b]
cmp edi, 1
mov ah, 1
seta cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba21b], ah
jne 0x818841
mov ecx, fcn.008106c0
movzx edi, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta ah
or ah, 4
xor ah, 7
movzx eax, ah
bt edi, eax
jae 0x81889b
cmp ecx, 1
movzx edi, byte [0xbba21b]
seta al
or al, 4
movzx eax, al
bt edi, eax
jae 0x81887f
jmp 0x818993
cmp ecx, 1
movzx edi, byte [0xbba21b]
seta al
or al, 4
movzx eax, al
bt edi, eax
jb 0x818972
mov eax, fcn.008106c0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbba200]
seta cl
or ecx, 0xe7fdb3a8
add ecx, 0x80c
mov ebx, ecx
xor eax, ecx
shr ebx, 0x1f
mov dword [0xbba200], eax
not eax
or ebx, ecx
and cl, 7
imul ebx, eax
mov eax, dword [0xbba204]
lea ebp, [ebx + ebx]
xor eax, ebx
shr ebx, 0x1e
mov dword [0xbba204], eax
or ebp, ebx
not eax
mov edi, dword [0xbba208]
imul eax, ebp
lea ebx, [eax*4]
xor edi, eax
shr eax, 0x1d
mov dword [0xbba208], edi
or ebx, eax
not edi
mov eax, dword [0xbba20c]
imul edi, ebx
lea ebx, [edi*8]
xor eax, edi
shr edi, 0x1c
mov dword [0xbba20c], eax
or ebx, edi
not eax
mov edi, dword [0xbba210]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edi, eax
shr eax, 0x1b
mov dword [0xbba210], edi
or eax, ebx
not edi
imul edi, eax
mov ah, 1
xor dword [0xbba214], edi
shl ah, cl
or byte [0xbba21b], ah
mov eax, fcn.008106c0
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbba21b], al
push edx
push 0xbba200
push 0
push esi
call fcn.007fdcc0
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x825e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, ecx
mov ecx, dword [ecx]
mov esi, dword [esp + 0x18]
call fcn.007d0920
mov ebx, dword [eax + 8]
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0xc]
add esp, 8
mov esi, eax
test eax, eax
je 0x826112
cmp esi, 0x13
je 0x826112
cmp esi, 7
jne 0x825ed3
mov ecx, dword [edi]
call fcn.0078a090
jmp 0x826112
mov eax, dword [ebx + 8]
test eax, eax
jne 0x825fec
mov edx, fcn.00800000
mov ebp, fcn.00800000
movzx ecx, byte [0xbb9de7]
or edx, 2
xor ebp, 2
mov eax, edx
add eax, ebp
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x825fda
mov al, byte [0xbb9de7]
mov ecx, edx
mov ah, 1
add ecx, ebp
sete cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb9de7], ah
jne 0x825f0f
mov ecx, fcn.00800000
mov edx, fcn.00800000
or ecx, 2
xor edx, 2
mov ebp, ecx
add ebp, edx
sete ah
or ah, 6
xor ah, 7
movzx ebp, ah
movzx eax, al
bt eax, ebp
jae 0x825f6e
mov eax, ecx
movzx ebp, byte [0xbb9de7]
add eax, edx
sete al
or al, 6
movzx eax, al
bt ebp, eax
jae 0x825f54
jmp 0x825fda
add ecx, edx
movzx ecx, byte [0xbb9de7]
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x825fb5
mov eax, fcn.00800000
mov edx, fcn.00800000
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov dl, 1
sete cl
mov eax, ecx
or cl, 6
shl dl, cl
or eax, 0x14e0d13e
xor dword [0xbb9de0], eax
or byte [0xbb9de7], dl
mov eax, fcn.00800000
mov ecx, fcn.00800000
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbb9de7], al
mov ecx, esi
call fcn.00789c30
push eax
push 0xbb9de0
jmp 0x826109
mov ebp, fcn.007abfd0
mov dword [esp], eax
xor eax, eax
imul ebp, ebp
movzx edx, byte [0xbb9def]
and ebp, 3
cmp ebp, 1
seta al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x826101
mov al, byte [0xbb9def]
xor edx, edx
cmp ebp, 1
seta dl
mov ecx, edx
xor ecx, 5
lea ecx, [ecx + edx*2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb9def], dl
jne 0x82601f
mov ecx, fcn.007abfd0
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
mov ebp, edx
xor edx, 5
lea edx, [edx + ebp*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x826089
xor eax, eax
cmp ecx, 1
movzx ebp, byte [0xbb9def]
seta al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt ebp, eax
jae 0x82606b
jmp 0x826101
xor eax, eax
cmp ecx, 1
movzx edx, byte [0xbb9def]
seta al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x8260d9
mov eax, fcn.007abfd0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 0x7ee54ef5
lea ecx, [eax + ecx*2 + 0x200]
mov al, 1
xor dword [0xbb9de8], ecx
and cl, 7
shl al, cl
or byte [0xbb9def], al
mov eax, fcn.007abfd0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 5
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb9def], al
push dword [esp]
push 0xbb9de8
push edi
call fcn.0078de60
add esp, 0xc
push dword [ebx + 8]
call fcn.00780f60
add esp, 4
mov dword [ebx + 8], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x8286e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 4]
movsx eax, word [eax + edx*2]
cmp eax, 0xfffffffe
jne 0x8286f3
mov edx, 0xbba008
jmp 0x82870c
cmp ax, 0xffff
jne 0x828700
mov edx, 0xbba014
jmp 0x82870c
mov ecx, dword [ecx + 0xc]
lea eax, [eax + eax*4]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax*4]
push edi
push esi
mov esi, fcn.00787c60
movzx ecx, byte [0xbba013]
imul esi, esi
and esi, 3
cmp esi, 1
seta al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x828815
mov al, byte [0xbba013]
cmp esi, 1
mov ah, 1
seta cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba013], ah
jne 0x828739
mov ecx, fcn.00787c60
movzx esi, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta ah
or ah, 6
xor ah, 7
movzx eax, ah
bt esi, eax
jae 0x828793
cmp ecx, 1
movzx esi, byte [0xbba013]
seta al
or al, 6
movzx eax, al
bt esi, eax
jae 0x828777
jmp 0x828815
cmp ecx, 1
movzx esi, byte [0xbba013]
seta al
or al, 6
movzx eax, al
bt esi, eax
jb 0x8287f4
mov eax, fcn.00787c60
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbba008]
seta cl
or ecx, 0xd77223ce
add ecx, 0x840
mov esi, ecx
xor eax, ecx
shr esi, 0x1f
mov dword [0xbba008], eax
not eax
or esi, ecx
and cl, 7
imul esi, eax
mov ah, 1
xor dword [0xbba00c], esi
shl ah, cl
or byte [0xbba013], ah
mov eax, fcn.00787c60
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbba013], al
mov esi, fcn.007892c0
mov edi, fcn.007892c0
movzx ecx, byte [0xbba01f]
or esi, 2
xor edi, 2
mov eax, esi
add eax, edi
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x82892a
mov al, byte [0xbba01f]
mov ecx, esi
mov ah, 1
add ecx, edi
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba01f], ah
jne 0x828846
mov ecx, fcn.007892c0
mov esi, fcn.007892c0
or ecx, 2
xor esi, 2
mov edi, ecx
add edi, esi
sete ah
or ah, 2
xor ah, 7
movzx edi, ah
movzx eax, al
bt eax, edi
jae 0x8288a8
mov eax, ecx
movzx edi, byte [0xbba01f]
add eax, esi
sete al
or al, 2
movzx eax, al
bt edi, eax
jae 0x82888b
jmp 0x82892a
add ecx, esi
movzx ecx, byte [0xbba01f]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x828905
mov eax, fcn.007892c0
mov esi, fcn.007892c0
xor ecx, ecx
xor esi, 2
or eax, 2
add eax, esi
mov eax, dword [0xbba014]
sete cl
or ecx, 0x1d0c0f0a
add ecx, 0x168
xor eax, ecx
mov dword [0xbba014], eax
not eax
imul eax, ecx
and cl, 7
xor dword [0xbba018], eax
mov ah, 1
shl ah, cl
or byte [0xbba01f], ah
mov eax, fcn.007892c0
mov ecx, fcn.007892c0
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbba01f], al
mov eax, edx
pop esi
pop edi
ret