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

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebp, dword [ecx]
mov edi, edx
mov ebx, ecx
mov edx, 0xa9
mov ecx, ebp
push 1
push dword [esp + 0x1c]
call fcn.007e4510
add esp, 8
mov esi, eax
test eax, eax
jne 0x7ea394
mov ecx, ebp
mov edx, edi
call fcn.007cb9f0
jmp 0x7ea5b1
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x7ea598
mov eax, dword [edi]
mov ecx, dword [ebx]
cmp eax, dword [ecx + 0x84]
jle 0x7ea598
mov edx, fcn.007ad5b0
movzx ecx, byte [0xbba847]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7ea586
mov al, byte [0xbba847]
cmp edx, 1
mov ah, 1
seta cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba847], ah
jne 0x7ea3db
mov ecx, fcn.007ad5b0
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
or dl, 2
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ea435
cmp ecx, 1
movzx edx, byte [0xbba847]
seta al
or al, 2
movzx eax, al
bt edx, eax
jae 0x7ea419
jmp 0x7ea586
cmp ecx, 1
movzx edx, byte [0xbba847]
seta al
or al, 2
movzx eax, al
bt edx, eax
jb 0x7ea565
mov eax, fcn.007ad5b0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [str.vn5P]
seta cl
or ecx, 0x7059f0f2
add ecx, 0x1010
mov edx, ecx
xor eax, ecx
mov dword [esp], ecx
shr edx, 0x1f
mov dword [str.vn5P], eax
not eax
or edx, ecx
imul edx, eax
mov eax, dword [0xbba824]
lea ecx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbba824], eax
or ecx, edx
not eax
imul eax, ecx
mov ecx, dword [0xbba828]
lea edx, [eax*4]
xor ecx, eax
shr eax, 0x1d
mov dword [0xbba828], ecx
or edx, eax
not ecx
mov eax, dword [0xbba82c]
imul ecx, edx
lea edx, [ecx*8]
xor eax, ecx
shr ecx, 0x1c
mov dword [0xbba82c], eax
or edx, ecx
not eax
mov ecx, dword [0xbba830]
imul eax, edx
mov edx, eax
shl edx, 4
xor ecx, eax
shr eax, 0x1b
mov dword [0xbba830], ecx
or eax, edx
not ecx
imul ecx, eax
mov eax, dword [0xbba834]
mov edx, ecx
shl edx, 5
xor eax, ecx
shr ecx, 0x1a
mov dword [0xbba834], eax
or ecx, edx
not eax
imul eax, ecx
mov ecx, dword [0xbba838]
mov edx, eax
shl edx, 6
xor ecx, eax
shr eax, 0x19
mov dword [0xbba838], ecx
or eax, edx
not ecx
imul ecx, eax
mov eax, dword [0xbba83c]
mov edx, ecx
shl edx, 7
xor eax, ecx
shr ecx, 0x18
mov dword [0xbba83c], eax
or ecx, edx
not eax
imul eax, ecx
mov ecx, dword [esp]
xor dword [0xbba840], eax
mov al, 1
and cl, 7
shl al, cl
or byte [0xbba847], al
mov eax, fcn.007ad5b0
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbba847], al
push dword [esp + 0x18]
push str.vn5P
push ebx
call fcn.0078de60
add esp, 0xc
mov dword [esi + 0x14], edi
or byte [esi + 4], 4
mov ecx, ebx
mov edx, esi
call fcn.007eaa80
cmp ebp, 1
jne 0x7ea5b1
or byte [esi + 4], 2
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7ea5c0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0xc]
mov esi, ecx
test eax, eax
je 0x7ea856
mov dword [eax + 0x2c], edx
or byte [eax + 7], 1
mov dword [edx + 0x48], eax
test byte [eax + 4], 2
je 0x7ea853
cmp byte [edx + 0x10], 0xa3
je 0x7ea853
mov edx, fcn.00827df0
mov edi, fcn.00827df0
movzx ecx, byte [0xbba883]
or edx, 2
xor edi, 2
mov eax, edx
add eax, edi
sete al
not al
add al, 0x90
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7ea845
mov al, byte [0xbba883]
mov ecx, edx
mov ah, 1
add ecx, edi
sete cl
not cl
add cl, 0x90
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba883], ah
jne 0x7ea625
mov ecx, fcn.00827df0
mov edx, fcn.00827df0
or ecx, 2
xor edx, 2
mov edi, ecx
add edi, edx
sete ah
not ah
add ah, 0x90
and ah, 7
xor ah, 7
movzx edi, ah
movzx eax, al
bt eax, edi
jae 0x7ea695
mov eax, ecx
movzx edi, byte [0xbba883]
add eax, edx
sete al
not al
add al, 0x90
and al, 7
movzx eax, al
bt edi, eax
jae 0x7ea674
jmp 0x7ea845
add ecx, edx
movzx ecx, byte [0xbba883]
sete al
not al
add al, 0x90
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7ea81b
mov eax, fcn.00827df0
mov edx, fcn.00827df0
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov eax, dword [0xbba850]
sete cl
xor ecx, 0xf729a137
add ecx, 0x1090
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbba850], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbba854]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbba854], eax
or edi, edx
not eax
mov edx, dword [0xbba858]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbba858], edx
or edi, eax
not edx
mov eax, dword [0xbba85c]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbba85c], eax
or edi, edx
not eax
mov edx, dword [0xbba860]
imul eax, edi
mov edi, eax
shl edi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbba860], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbba864]
mov edi, edx
shl edi, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbba864], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbba868]
mov edi, eax
shl edi, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbba868], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbba86c]
mov edi, edx
shl edi, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbba86c], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbba870]
mov edi, eax
shl edi, 8
xor edx, eax
shr eax, 0x17
mov dword [0xbba870], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbba874]
mov edi, edx
shl edi, 9
xor eax, edx
shr edx, 0x16
mov dword [0xbba874], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbba878]
mov edi, eax
shl edi, 0xa
xor edx, eax
shr eax, 0x15
mov dword [0xbba878], edx
or eax, edi
not edx
imul edx, eax
xor dword [0xbba87c], edx
mov dl, 1
shl dl, cl
or byte [0xbba883], dl
mov eax, fcn.00827df0
mov ecx, fcn.00827df0
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
not cl
add cl, 0x90
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbba883], al
push 0xbba850
push esi
call fcn.0078de60
add esp, 8
pop esi
pop edi
ret
mov ecx, dword [esi]
pop esi
pop edi
jmp fcn.007cbaa0
Function at 0x7ea860
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
test edx, edx
je 0x7ea874
mov edi, edx
test esi, esi
jne 0x7ea87b
mov esi, edi
mov eax, esi
jmp 0x7eaa05
mov edx, dword [edi + 4]
mov ebp, dword [ecx]
mov eax, 0x20000001
and edx, eax
cmp edx, 0x20000000
je 0x7ea89d
and eax, dword [esi + 4]
cmp eax, 0x20000000
jne 0x7ea9f6
cmp byte [ecx + 0xc8], 1
ja 0x7ea9f6
mov edx, fcn.0078aac0
xor eax, eax
movzx ebx, byte [0xbba88b]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt ebx, eax
jb 0x7ea9ce
mov al, byte [0xbba88b]
xor ebx, ebx
cmp edx, 1
mov ah, 1
seta bl
mov ecx, ebx
not ecx
lea ecx, [ecx + ebx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba88b], ah
jne 0x7ea8de
mov ecx, fcn.0078aac0
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
mov ebx, edx
not ebx
lea edx, [ebx + edx*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ea950
xor eax, eax
cmp ecx, 1
movzx ebx, byte [0xbba88b]
seta al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt ebx, eax
jae 0x7ea92e
jmp 0x7ea9ce
xor eax, eax
cmp ecx, 1
movzx edx, byte [0xbba88b]
seta al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7ea9a4
mov eax, fcn.0078aac0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 0x4a791327
lea ecx, [eax + ecx*2 + 0x8a0]
mov al, 1
xor dword [0xbba884], ecx
and cl, 7
shl al, cl
or byte [0xbba88b], al
mov eax, fcn.0078aac0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
not eax
lea ecx, [eax + ecx*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbba88b], al
mov ecx, ebp
mov edx, edi
call fcn.007cb9e0
mov ecx, ebp
mov edx, esi
call fcn.007cb9e0
mov ecx, ebp
mov edx, 0x98
push 0xbba884
call fcn.007e44c0
add esp, 4
jmp 0x7eaa05
mov edx, 0x2c
push esi
push edi
call fcn.007db7a0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7eaac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x14]
mov esi, ecx
push 0
call fcn.007e4370
add esp, 4
cmp dword [esp + 0x18], 0
mov edi, eax
jne 0x7eaae8
cmp dword [esp + 0x1c], 0xffffffff
je 0x7ead27
mov eax, dword [esi]
cmp byte [eax + 0xa5], 0
jne 0x7ead27
mov edx, 0x846130
xor eax, eax
movzx ebx, byte [0xbba8bb]
imul edx, edx
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt ebx, eax
jb 0x7ead13
mov al, byte [0xbba8bb]
xor ebx, ebx
cmp edx, 3
mov ah, 1
sete bl
mov ecx, ebx
xor ecx, 1
lea ecx, [ebx + ecx*2 + 2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbba8bb], ah
jne 0x7eab28
mov ecx, 0x846130
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7eab98
xor eax, eax
cmp ecx, 3
movzx ebx, byte [0xbba8bb]
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 2]
bt ebx, eax
jae 0x7eab76
jmp 0x7ead13
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbba8bb]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7eacea
mov ecx, 0x846130
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete al
mov ecx, eax
not ecx
and ecx, 0x83d
lea ecx, [eax + ecx*2 - 0x7dee0bfe]
mov eax, dword [0xbba890]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbba890], eax
not eax
imul edx, eax
mov eax, dword [0xbba894]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbba894], eax
or ebx, edx
not eax
mov edx, dword [0xbba898]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbba898], edx
or ebx, eax
not edx
mov eax, dword [0xbba89c]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbba89c], eax
or ebx, edx
not eax
mov edx, dword [0xbba8a0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbba8a0], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbba8a4]
mov ebx, edx
shl ebx, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbba8a4], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbba8a8]
mov ebx, eax
shl ebx, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbba8a8], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbba8ac]
mov ebx, edx
shl ebx, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbba8ac], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbba8b0]
mov ebx, eax
shl ebx, 8
xor edx, eax
shr eax, 0x17
mov dword [0xbba8b0], edx
or eax, ebx
not edx
imul edx, eax
xor dword [0xbba8b4], edx
mov dl, 1
shl dl, cl
or byte [0xbba8bb], dl
mov eax, 0x846130
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbba8bb], al
push dword [ebp]
push dword [ebp + 4]
push 0xbba890
push esi
call fcn.0078de60
add esp, 0x10
mov ecx, esi
mov edx, edi
push 1
push ebp
call fcn.007e4420
add esp, 8
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7f3a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, fcn.007cbe10
mov esi, edx
mov edx, ecx
movzx ecx, byte [0xbbb1d3]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
not ebp
and ebp, 1
mov eax, ebp
add eax, fcn.007cbe10
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7f3b70
mov al, byte [0xbbb1d3]
mov ecx, ebp
mov ah, 1
add ecx, fcn.007cbe10
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb1d3], ah
jne 0x7f3a3e
mov ecx, fcn.007cbe10
not ecx
and ecx, 1
mov ebp, ecx
add ebp, fcn.007cbe10
movzx ebp, al
sete ah
or ah, 2
xor ah, 7
movzx eax, ah
bt ebp, eax
jae 0x7f3aa5
mov eax, ecx
movzx ebp, byte [0xbbb1d3]
add eax, fcn.007cbe10
sete al
or al, 2
movzx eax, al
bt ebp, eax
jae 0x7f3a85
jmp 0x7f3b70
add ecx, fcn.007cbe10
movzx ecx, byte [0xbbb1d3]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7f3b4e
mov eax, fcn.007cbe10
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.007cbe10
mov eax, dword [0xbbb1c0]
sete cl
or ecx, 0x6fd806e2
add ecx, 0x1028
mov ebx, ecx
xor eax, ecx
shr ebx, 0x1f
mov dword [0xbbb1c0], eax
not eax
or ebx, ecx
and cl, 7
imul ebx, eax
mov eax, dword [0xbbb1c4]
lea edi, [ebx + ebx]
xor eax, ebx
shr ebx, 0x1e
mov dword [0xbbb1c4], eax
or edi, ebx
not eax
imul eax, edi
mov edi, dword [0xbbb1c8]
lea ebx, [eax*4]
xor edi, eax
shr eax, 0x1d
mov dword [0xbbb1c8], edi
or ebx, eax
not edi
mov al, 1
imul edi, ebx
mov ebx, dword [esp + 0x18]
shl al, cl
xor dword [0xbbb1cc], edi
mov edi, dword [esp + 0x14]
or byte [0xbbb1d3], al
mov eax, fcn.007cbe10
not eax
and eax, 1
add eax, fcn.007cbe10
mov al, 0xfe
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbbb1d3], al
mov ecx, edx
mov edx, 0x18
push ebx
push edi
push esi
push esi
push 0xb507a4
call fcn.00836a50
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7f3b90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov edi, fcn.007a97c0
mov esi, edx
mov edx, ecx
movzx ecx, byte [0xbbb483]
imul edi, edi
and edi, 3
cmp edi, 2
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7f3ccf
mov al, byte [0xbbb483]
cmp edi, 2
mov ah, 1
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbbb483], ah
jne 0x7f3bc2
mov ecx, fcn.007a97c0
movzx edi, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete ah
or ah, 4
xor ah, 7
movzx eax, ah
bt edi, eax
jae 0x7f3c1c
cmp ecx, 2
movzx edi, byte [0xbbb483]
sete al
or al, 4
movzx eax, al
bt edi, eax
jae 0x7f3c00
jmp 0x7f3ccf
cmp ecx, 2
movzx edi, byte [0xbbb483]
sete al
or al, 4
movzx eax, al
bt edi, eax
jb 0x7f3cae
mov eax, fcn.007a97c0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
mov eax, dword [0xbbb470]
sete cl
or ecx, 0x149f0490
add ecx, 0x48c
xor eax, ecx
mov dword [0xbbb470], eax
not eax
mov edi, dword [0xbbb474]
imul eax, ecx
and cl, 7
lea ebx, [eax + eax]
xor edi, eax
shr eax, 0x1e
mov dword [0xbbb474], edi
or ebx, eax
not edi
mov eax, dword [0xbbb478]
imul edi, ebx
lea ebx, [edi*4]
xor eax, edi
shr edi, 0x1d
mov dword [0xbbb478], eax
or ebx, edi
not eax
imul eax, ebx
xor dword [0xbbb47c], eax
mov ah, 1
shl ah, cl
or byte [0xbbb483], ah
mov eax, fcn.007a97c0
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbbb483], al
mov ecx, edx
mov edx, 0x19
push esi
push 0
push 0
push esi
push 0xb5080c
call fcn.00836a50
add esp, 0x14
pop esi
pop edi
pop ebx
ret
Function at 0x7f6da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, edx
mov dword [esp + 8], ecx
mov ecx, dword [ecx]
mov edx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.007e4800
test esi, esi
mov dword [esp], eax
je 0x7f6fa2
cmp dword [esp], 0
je 0x7f6fa2
mov edi, dword [esi]
test edi, edi
jle 0x7f6fa2
mov ebp, fcn.00815080
xor ebx, ebx
imul ebp, ebp
and ebp, 3
mov eax, ebx
mov ecx, dword [esp]
shl eax, 4
mov edx, dword [esi + eax + 8]
call fcn.00783720
test eax, eax
jne 0x7f6f99
cmp ebp, 2
movzx ecx, byte [0xbbc1b3]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7f6f83
mov al, byte [0xbbc1b3]
cmp ebp, 2
mov dl, 1
sete cl
or cl, 2
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbbc1b3], dl
jne 0x7f6e21
cmp ebp, 2
movzx eax, al
sete cl
or cl, 2
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7f6e70
cmp ebp, 2
movzx ecx, byte [0xbbc1b3]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jae 0x7f6e54
jmp 0x7f6f83
cmp ebp, 2
movzx ecx, byte [0xbbc1b3]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7f6f6d
xor ecx, ecx
cmp ebp, 2
mov eax, dword [0xbbc190]
sete cl
or ecx, 0x1f6ef7ca
add ecx, 0x1048
xor eax, ecx
mov dword [0xbbc190], eax
not eax
mov edx, dword [0xbbc194]
imul eax, ecx
and cl, 7
lea edi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbbc194], edx
or edi, eax
not edx
mov eax, dword [0xbbc198]
imul edx, edi
lea edi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbbc198], eax
or edi, edx
not eax
mov edx, dword [0xbbc19c]
imul eax, edi
lea edi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbbc19c], edx
or edi, eax
not edx
mov eax, dword [0xbbc1a0]
imul edx, edi
mov edi, edx
shl edi, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbbc1a0], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbbc1a4]
mov edi, eax
shl edi, 5
xor edx, eax
shr eax, 0x1a
mov dword [0xbbc1a4], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbbc1a8]
mov edi, edx
shl edi, 6
xor eax, edx
shr edx, 0x19
mov dword [0xbbc1a8], eax
or edx, edi
not eax
imul eax, edx
mov dl, 1
xor dword [0xbbc1ac], eax
shl dl, cl
or byte [0xbbc1b3], dl
cmp ebp, 2
mov al, 0xfe
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbbc1b3], al
push dword [esp]
push 0xbbc190
push dword [esp + 0x10]
call fcn.0078de60
add esp, 0xc
mov edi, dword [esi]
inc ebx
cmp ebx, edi
jl 0x7f6de8
test esi, esi
je 0x7f6fc3
mov eax, dword [esi]
mov edi, dword [esp + 4]
mov edx, esi
shl eax, 4
mov ecx, edi
add eax, 0x18
push 0
push eax
call fcn.00799570
add esp, 8
jmp 0x7f6fd8
mov edi, dword [esp + 4]
mov edx, 0x18
mov ecx, edi
push 0
call fcn.0078a8a0
add esp, 4
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp byte [edi + 0x51], 0
je 0x7f7002
mov ecx, edi
call fcn.007cb9f0
mov ecx, edi
mov edx, ebp
call fcn.007cba90
mov edx, dword [esp]
mov ecx, edi
call fcn.00780810
jmp 0x7f702a
mov ecx, dword [eax]
mov edi, dword [esp]
shl ecx, 4
mov dword [eax + ecx + 0x10], ebp
mov ecx, dword [eax]
mov esi, ecx
inc ecx
shl esi, 4
mov dword [eax + esi + 0xc], edx
mov dword [eax + esi + 8], edi
mov dword [eax + esi + 0x14], 0
mov esi, eax
mov dword [eax], ecx
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7f7040
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [edx + 4]
test eax, eax
je 0x7f71fe
mov ebx, dword [ecx]
mov esi, edx
mov edx, dword [esp + 0x38]
mov edi, ecx
push eax
call fcn.008088a0
add esp, 4
test eax, eax
je 0x7f71fe
cmp dword [esi + 8], 0
mov ebp, eax
mov eax, 0xbbc1c0
jne 0x7f709a
cmp dword [ebp + 0xc], 0
je 0x7f708b
cmp dword [esi + 0xc], 0
mov eax, 0xbbc1e0
jne 0x7f709a
cmp byte [ebp + 0x13], 0
jne 0x7f71c5
mov eax, 0xbbc200
mov edx, fcn.007a9280
xor ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
not edx
and edx, 1
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov ebp, dword [ecx*4 + 0xb57214]
mov edi, dword [ecx*4 + 0xb57224]
mov dword [esp + 0x20], ecx
add eax, fcn.007a9280
mov eax, 1
sete bl
xor ebx, 0xfd2c0b61
add ebx, 0x804
xor ebx, dword [ecx*4 + 0xb57234]
mov ecx, ebx
and cl, 7
movzx edx, cl
shl eax, cl
xor cl, 7
mov dword [esp], edx
mov edx, 1
shl edx, cl
movzx ecx, byte [ebp + edi - 1]
mov esi, dword [esp]
bt ecx, esi
jb 0x7f7199
mov dword [esp + 4], eax
mov al, byte [ebp + edi - 1]
mov ecx, eax
or cl, dl
lock cmpxchg byte [ebp + edi - 1], cl
jne 0x7f711e
mov ecx, dword [esp + 4]
movzx eax, al
test edx, eax
je 0x7f7140
movzx eax, byte [ebp + edi - 1]
test ecx, eax
je 0x7f7135
jmp 0x7f7199
mov dword [esp + 0x14], edx
movzx eax, byte [ebp + edi - 1]
test ecx, eax
jne 0x7f718f
lea ecx, [edi - 4]
shr ecx, 2
je 0x7f7187
xor eax, eax
mov edx, ebp
mov dword [esp + 0x1c], ecx
mov esi, dword [edx]
mov ecx, eax
mov dword [esp], ebx
inc eax
shl dword [esp], cl
and cl, 0x1f
xor cl, 0x1f
xor esi, ebx
shr ebx, cl
mov ecx, dword [esp + 0x1c]
or ebx, dword [esp]
mov dword [edx], esi
not esi
add edx, 4
imul ebx, esi
cmp eax, ecx
jne 0x7f715d
mov eax, dword [esp + 4]
or byte [ebp + edi - 1], al
mov eax, dword [esp + 0x14]
not al
and byte [ebp + edi - 1], al
mov ecx, dword [esp + 0x20]
inc ecx
cmp ecx, 4
jne 0x7f70b6
mov eax, dword [esp + 0x10]
push dword [eax + 4]
push dword [esp + 0xc]
push 0xbbc220
push dword [esp + 0x18]
call fcn.0078de60
add esp, 0x34
jmp 0x7f7201
mov edx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.007ff8b0
add esp, 4
mov dword [esi + 8], eax
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x7f71ed
mov ecx, ebx
push 0
call fcn.007ff8b0
add esp, 4
mov dword [esi + 0xc], eax
mov edx, dword [esi + 4]
mov ecx, ebx
call fcn.00780810
mov dword [esi + 4], 0
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7f79a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
xor edi, edi
cmp dword [ecx + 0x24], 0
jne 0x7f7b60
movzx eax, word [edx + 0x34]
test byte [edx + 0x38], 8
mov ebx, edx
mov ebp, ecx
mov dword [esp + 4], eax
je 0x7f79d1
movzx edx, word [ebx + 0x32]
mov ecx, dword [ebp]
sub eax, edx
push eax
jmp 0x7f79d8
mov ecx, dword [ebp]
mov edx, eax
push 0
call fcn.007f7ba0
add esp, 4
mov esi, eax
test eax, eax
je 0x7f7b60
cmp word [esp + 4], 0
mov dword [esp], ebp
je 0x7f7b31
mov ebp, fcn.007f9be0
xor edi, edi
imul ebp, ebp
and ebp, 3
cmp ebp, 3
movzx ecx, byte [0xbb3b93]
sete al
or al, 4
add al, 0x24
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7f7afc
mov al, byte [0xbb3b93]
cmp ebp, 3
mov dl, 1
sete cl
or cl, 4
add cl, 0x24
and cl, 7
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb3b93], dl
jne 0x7f7a2a
cmp ebp, 3
movzx eax, al
sete cl
or cl, 4
add cl, 0x24
and cl, 7
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7f7a86
cmp ebp, 3
movzx ecx, byte [0xbb3b93]
sete al
or al, 4
add al, 0x24
and al, 7
movzx eax, al
bt ecx, eax
jae 0x7f7a69
jmp 0x7f7afc
cmp ebp, 3
movzx ecx, byte [0xbb3b93]
sete al
or al, 4
add al, 0x24
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7f7ae0
xor ecx, ecx
cmp ebp, 3
mov eax, dword [str.2_p0]
sete cl
or ecx, 0x713e5c4c
add ecx, 0x424
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [str.2_p0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
xor dword [0xbb3b8c], edx
mov dl, 1
shl dl, cl
or byte [0xbb3b93], dl
cmp ebp, 3
mov al, 0xfe
sete cl
or cl, 4
add cl, 0x24
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb3b93], al
mov eax, dword [ebx + 0x20]
mov edx, dword [eax + edi*4]
cmp edx, str.2_p0
jne 0x7f7b0e
xor eax, eax
jmp 0x7f7b16
mov ecx, dword [esp]
call fcn.007f7c10
mov dword [esi + edi*4 + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esi + 0x10]
mov al, byte [eax + edi]
mov byte [ecx + edi], al
inc edi
cmp edi, dword [esp + 4]
jne 0x7f7a06
mov ecx, dword [esp]
cmp dword [ecx + 0x24], 0
jne 0x7f7b3e
mov edi, esi
jmp 0x7f7b60
mov eax, dword [ebx + 0x38]
test eax, 0x100
jne 0x7f7b57
or eax, 0x100
mov dword [ebx + 0x38], eax
mov dword [ecx + 0xc], 0x201
mov ecx, esi
call fcn.007ad5b0
xor edi, edi
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7f9520
Capabilities:
Encode data using xor

Disassembly:
test byte [ecx + 0x24], 0x20
mov eax, edx
je 0x7f9576
test ax, ax
js 0x7f9576
push ebx
push edi
push esi
mov edi, dword [ecx + 4]
xor edx, edx
movzx esi, word [edi + 0x10]
and esi, 0x20
test ax, ax
jne 0x7f9545
xor eax, eax
jmp 0x7f9565
movsx ebx, ax
xor eax, eax
movzx esi, si
inc eax
shr esi, 5
xor esi, 1
add edx, esi
lea esi, [eax + eax*4]
movzx esi, word [edi + esi*4 + 0x10]
and esi, 0x20
cmp eax, ebx
jl 0x7f954a
test si, si
pop esi
pop edi
pop ebx
jne 0x7f9570
mov eax, edx
ret
sub eax, edx
add ax, word [ecx + 0x2c]
ret