joyce8/EMBER2024-capa huggingface dataset:
Function at 0x534880
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.005e0210
mov eax, dword [0x699280]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xa4]
test eax, eax
je 0x534a11
push ebx
push esi
mov esi, dword [esp + 0xb0]
dec eax
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
inc eax
mov dword [esp + 0x14], eax
nop dword [eax + eax]
movzx eax, byte [esi + 1]
lea esi, [esi + 8]
movzx ebx, byte [esi - 8]
movzx ecx, byte [esi - 4]
shl eax, 8
or ebx, eax
movzx eax, byte [esi - 6]
shl eax, 0x10
or ebx, eax
movzx eax, byte [esi - 5]
shl eax, 0x18
or ebx, eax
movzx eax, byte [esi - 3]
shl eax, 8
or ecx, eax
mov dword [esp + 0x18], ebx
movzx eax, byte [esi - 2]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x20], ebx
movzx eax, byte [esi - 1]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edi]
and al, 0xdf
mov dword [esp + 0x10], ecx
or al, 0x40
mov dword [esp + 0x1c], ecx
mov byte [edi], al
movzx eax, byte [ebp]
and al, 0xbf
mov dword [esp + 0x24], ecx
or al, 0x20
push edi
mov byte [ebp], al
call fcn.0051de40
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.0051dc00
push 1
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0040dec0
push ebp
call fcn.0051de40
lea eax, [esp + 0x44]
push eax
push ebp
call fcn.0051dc00
push 1
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0040dec0
mov eax, dword [esp + 0x40]
add esp, 0x30
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor eax, dword [esp + 0x24]
xor edx, ebx
xor ebx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, ebx
shr eax, 8
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ecx
mov byte [edi], bl
shr ebx, 0x18
shr eax, 8
mov byte [edi + 5], al
mov eax, ecx
mov byte [edi + 3], bl
mov byte [edi + 4], cl
shr eax, 0x10
mov byte [edi + 6], al
mov eax, edx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp + 2], al
mov byte [edi + 7], cl
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 8
mov byte [ebp + 5], al
mov eax, ecx
mov byte [ebp], dl
shr edx, 0x18
mov byte [ebp + 4], cl
shr eax, 0x10
shr ecx, 0x18
sub dword [esp + 0x14], 1
mov byte [ebp + 3], dl
mov byte [ebp + 6], al
mov byte [ebp + 7], cl
jne 0x5348d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9c]
pop ebp
xor ecx, esp
call fcn.005dffa1
add esp, 0x9c
ret
Function at 0x5581d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 4
call fcn.005e0210
push edi
mov edi, dword [esp + 0x14]
mov dword [esp + 4], 0
cmp edi, 0x800
jge 0x558218
call fcn.00457560
push str.ossl_rsa_fips186_4_gen_prob_primes
push 0x5c
push str.crypto_rsa_rsa_sp800_56b_gen.c
call fcn.00457660
push 0
push 0x78
push 4
call fcn.00457770
add esp, 0x18
xor eax, eax
pop edi
pop ecx
ret
push dword [esp + 0x18]
call fcn.00557ef0
add esp, 4
test eax, eax
jne 0x558254
call fcn.00457560
push str.ossl_rsa_fips186_4_gen_prob_primes
push 0x61
push str.crypto_rsa_rsa_sp800_56b_gen.c
call fcn.00457660
push 0
push 0xb2
push 4
call fcn.00457770
add esp, 0x18
xor eax, eax
pop edi
pop ecx
ret
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push esi
call fcn.004a2730
push esi
call fcn.004a2540
push esi
mov dword [esp + 0x2c], eax
call fcn.004a2540
push esi
mov ebp, eax
call fcn.004a2540
add esp, 0x10
mov ebx, eax
cmp dword [esp + 0x20], 0
je 0x5583b6
test ebp, ebp
je 0x55838d
test ebx, ebx
je 0x558384
push 4
push ebp
call fcn.00462740
push 4
push ebx
call fcn.00462740
mov esi, dword [esp + 0x28]
add esp, 0x10
cmp dword [esi + 0x20], 0
jne 0x5582be
call fcn.00462630
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5582cd
call fcn.00462630
mov dword [esi + 0x24], eax
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x558380
test eax, eax
je 0x558380
push 4
push ecx
call fcn.00462740
push 4
push dword [esi + 0x24]
call fcn.00462740
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
push 0
push 0
push 0
push 0
push 0
push ebp
push dword [esi + 0x20]
call fcn.00576690
add esp, 0x3c
test eax, eax
je 0x558380
nop dword [eax]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edi
push 0
push 0
push 0
push 0
push 0
push ebx
push dword [esi + 0x24]
call fcn.00576690
add esp, 0x2c
test eax, eax
je 0x558380
push edi
push ebx
push ebp
push dword [esp + 0x2c]
call fcn.00557e80
add esp, 0x10
test eax, eax
js 0x558380
je 0x558320
push edi
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esp + 0x2c]
call fcn.00557e80
add esp, 0x10
test eax, eax
js 0x558380
je 0x558320
inc dword [esi + 0x78]
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x28]
push ebp
call fcn.00461ee0
add esp, 4
test ebx, ebx
je 0x55839a
push ebx
call fcn.00461ee0
add esp, 4
push dword [esp + 0x20]
call fcn.00461ee0
push esi
call fcn.004a2440
mov eax, dword [esp + 0x18]
add esp, 8
pop esi
pop ebp
pop ebx
pop edi
pop ecx
ret
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x55838d
jmp 0x558384
Function at 0x55fc70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.005e0210
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
shr ecx, 3
mov dword [esp + 8], ecx
cmp esi, dword [esp + 0x28]
jb 0x55fe88
push ebx
push ebp
push edi
nop word [eax + eax]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x55fe62
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + 7]
cdq
mov ebp, eax
mov ebx, edx
movzx eax, byte [ecx + 6]
shld ebx, ebp, 8
cdq
or ebx, edx
shl ebp, 8
or ebp, eax
movzx eax, byte [ecx + 5]
shld ebx, ebp, 8
cdq
or ebx, edx
shl ebp, 8
or ebp, eax
movzx eax, byte [ecx + 4]
shld ebx, ebp, 8
cdq
or ebx, edx
shl ebp, 8
or ebp, eax
movzx eax, byte [ecx + 3]
cdq
mov ecx, ebp
shld ebx, ecx, 8
mov edi, edx
mov dword [esp + 0x20], ebp
shl ecx, 8
or edi, ebx
or eax, ecx
and ebp, 0x55555555
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov dword [esp + 0x18], eax
shld edi, ebx, 8
movzx eax, byte [ecx + 2]
cdq
shl ebx, 8
or edi, edx
or ebx, eax
movzx eax, byte [ecx + 1]
cdq
shld edi, ebx, 8
shl ebx, 8
or edi, edx
or ebx, eax
movzx eax, byte [ecx]
cdq
add ecx, 8
shld edi, ebx, 8
mov dword [esp + 0x2c], ecx
shl ebx, 8
or ebx, eax
mov eax, ebx
and eax, 0x55555555
mov ecx, eax
shr ecx, 1
or ecx, eax
and ecx, 0x33333333
mov eax, ecx
shr eax, 2
or eax, ecx
and eax, 0xf0f0f0f
mov ecx, eax
shr ecx, 4
or ecx, eax
and ecx, 0xff00ff
mov dword [esp + 0x18], ecx
mov ecx, ebp
shr ecx, 1
or ecx, ebp
and ecx, 0x33333333
mov eax, ecx
shr eax, 2
or eax, ecx
and eax, 0xf0f0f0f
mov ebp, eax
shr ebp, 4
or ebp, eax
and ebx, 0xaaaaaaaa
and ebp, 0xff00ff
lea eax, [ebx + ebx]
or eax, ebx
and eax, 0xcccccccc
lea ecx, [eax*4]
or ecx, eax
and ecx, 0xf0f0f0f0
mov edi, ecx
shl edi, 4
or edi, ecx
mov ecx, dword [esp + 0x20]
and ecx, 0xaaaaaaaa
and edi, 0xff00ff00
mov ebx, edi
and edi, 0xffff00
shr ebx, 8
or ebx, edi
lea eax, [ecx + ecx]
shr ebx, 8
or eax, ecx
and eax, 0xcccccccc
lea ecx, [eax*4]
or ecx, eax
and ecx, 0xf0f0f0f0
mov edx, ecx
shl edx, 4
or edx, ecx
mov ecx, ebp
and edx, 0xff00ff00
shl ebp, 8
mov eax, edx
and ecx, 0xffffff00
shl eax, 8
or ecx, ebp
or eax, edx
shl ecx, 8
and eax, 0xffff0000
xor edx, edx
or ebx, eax
mov eax, dword [esp + 0x18]
shr eax, 8
or eax, dword [esp + 0x18]
movzx eax, ax
or ecx, eax
mov eax, dword [esp + 0x10]
or edx, ecx
mov ecx, dword [esp + 0x28]
xor dword [ecx + eax*8], edx
xor dword [ecx + eax*8 + 4], ebx
inc eax
mov dword [esp + 0x10], eax
cmp eax, esi
jb 0x55fcb4
mov esi, dword [esp + 0x30]
jmp 0x55fe66
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0055f3b0
sub esi, dword [esp + 0x38]
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x34]
jae 0x55fca0
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
add esp, 0x14
ret
Function at 0x5661f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.005e0210
mov eax, dword [0x699280]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
push ebp
movups xmm0, xmmword [eax]
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x4c]
xor esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
movups xmmword [esp + 0x1c], xmm0
test ebp, ebp
je 0x5662a9
push 0x10
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x10
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
push eax
push dword [ecx]
call fcn.0044d7e0
add esp, 0x14
neg eax
sbb eax, eax
inc dword [esp + 0x1c]
inc eax
or esi, eax
mov dword [esp + 0x10], esi
mov esi, ebp
sub esi, ebx
cmp esi, 0x10
jbe 0x566273
mov esi, 0x10
jmp 0x566277
test esi, esi
je 0x56629a
lea edx, [edi + ebx]
mov edi, dword [esp + 0x50]
sub edi, dword [esp + 0x14]
xor eax, eax
mov cl, byte [edi + edx]
lea edx, [edx + 1]
xor cl, byte [esp + eax + 0x2c]
inc eax
mov byte [edx - 1], cl
cmp eax, esi
jb 0x566284
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add ebx, 0x10
mov ecx, dword [esp + 0x18]
cmp ebx, ebp
jb 0x566231
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
sete al
pop ebx
xor ecx, esp
call fcn.005dffa1
add esp, 0x30
ret
Function at 0x5662d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4c
call fcn.005e0210
mov eax, dword [0x699280]
xor eax, esp
mov dword [esp + 0x48], eax
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x5c]
mov eax, dword [edi + 0x198]
and eax, 0xfffffffb
mov dword [edi + 0x198], eax
test al, 0x20
jne 0x56630f
test al, 0x10
jne 0x5664ba
test esi, esi
je 0x5664ba
movups xmm0, xmmword [edi + 0x7c]
push ebx
push esi
push dword [esp + 0x68]
movups xmmword [esp + 0x40], xmm0
push ebp
psrldq xmm0, 0xc
movd eax, xmm0
shr eax, 0x18
or al, 0x80
mov byte [esp + 0x53], al
lea eax, [esp + 0x44]
push eax
push edi
call fcn.005661f0
mov dword [esp + 0x28], eax
lea ebx, [edi + 0x98]
mov eax, dword [edi + 0x14]
mov ecx, 8
mul ecx
xorps xmm0, xmm0
movups xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x2c], eax
mov eax, esi
mov dword [esp + 0x30], edx
mul ecx
mov dword [esp + 0x34], eax
lea eax, [edi + 0x5c]
push eax
push ebx
mov dword [esp + 0x40], edx
call fcn.0057ed90
mov ecx, dword [edi + 8]
add esp, 0x1c
test ecx, ecx
je 0x5663a1
mov eax, dword [edi + 0x14]
add eax, 0xf
and eax, 0xfffffff0
push eax
push ecx
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.0057ec30
add esp, 0x10
mov eax, esi
and eax, 0xfffffff0
jbe 0x5663b8
push eax
push ebp
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.0057ec30
add esp, 0x10
mov eax, esi
and eax, 0xf
je 0x5663f4
push eax
and esi, 0xfffffff0
lea eax, [esp + 0x2c]
add esi, ebp
xorps xmm0, xmm0
push esi
push eax
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x34], xmm0
call fcn.005e17e0
push 0x10
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.0057ec30
add esp, 0x1c
push 0x10
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.0057ec30
add esp, 0x10
lea eax, [esp + 0x49]
lea edx, [edi + 0x8d]
mov esi, 2
pop ebx
nop dword [eax]
movzx ecx, byte [edx - 1]
lea eax, [eax + 6]
xor byte [eax - 7], cl
lea edx, [edx + 6]
movzx ecx, byte [edx - 6]
xor byte [eax - 6], cl
movzx ecx, byte [edx - 5]
xor byte [eax - 5], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 2]
xor byte [eax - 2], cl
sub esi, 1
jne 0x566420
and byte [esp + 0x53], 0x7f
lea eax, [esp + 0x44]
push 0x10
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x10
push eax
lea eax, [edi + 0x6c]
push eax
push dword [edi]
call fcn.0044d7e0
add esp, 0x14
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp dword [esp + 0x10], ecx
setne cl
and eax, ecx
mov ecx, dword [edi + 0x198]
and ecx, 0xfffffffb
lea edx, [eax*4]
or edx, ecx
or edx, 0x10
mov dword [edi + 0x198], edx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.005dffa1
add esp, 0x4c
ret
mov ecx, dword [esp + 0x54]
xor eax, eax
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.005dffa1
add esp, 0x4c
ret
Function at 0x5664d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x50
call fcn.005e0210
mov eax, dword [0x699280]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
push ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
push ebp
mov ebp, dword [esp + 0x68]
mov eax, dword [ebx + 0x198]
and eax, 0xfffffffb
mov dword [ebx + 0x198], eax
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x10], edi
test al, 0x20
jne 0x56651b
test al, 8
jne 0x5666ba
test ebp, ebp
je 0x5666ba
mov eax, dword [ebx + 0x14]
mov ecx, 8
mul ecx
xorps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
push esi
mov dword [esp + 0x1c], eax
lea esi, [ebx + 0x98]
mov dword [esp + 0x20], edx
mov eax, ebp
mul ecx
mov dword [esp + 0x24], eax
lea eax, [ebx + 0x5c]
push eax
push esi
mov dword [esp + 0x30], edx
call fcn.0057ed90
mov ecx, dword [ebx + 8]
add esp, 8
test ecx, ecx
je 0x56657d
mov eax, dword [ebx + 0x14]
add eax, 0xf
and eax, 0xfffffff0
push eax
push ecx
lea eax, [esp + 0x44]
push eax
push esi
call fcn.0057ec30
add esp, 0x10
mov eax, ebp
and eax, 0xfffffff0
jbe 0x566594
push eax
push edi
lea eax, [esp + 0x44]
push eax
push esi
call fcn.0057ec30
add esp, 0x10
mov eax, ebp
and eax, 0xf
je 0x5665cb
push eax
mov eax, ebp
xorps xmm0, xmm0
and eax, 0xfffffff0
add eax, edi
push eax
lea eax, [esp + 0x54]
push eax
movups xmmword [esp + 0x58], xmm0
call fcn.005e17e0
push 0x10
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x50]
push eax
push esi
call fcn.0057ec30
add esp, 0x1c
push 0x10
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x44]
push eax
push esi
call fcn.0057ec30
add esp, 0x10
lea eax, [esp + 0x3d]
lea edx, [ebx + 0x8d]
mov esi, 2
nop
movzx ecx, byte [edx - 1]
lea eax, [eax + 6]
xor byte [eax - 7], cl
lea edx, [edx + 6]
movzx ecx, byte [edx - 6]
xor byte [eax - 6], cl
movzx ecx, byte [edx - 5]
xor byte [eax - 5], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 2]
xor byte [eax - 2], cl
sub esi, 1
jne 0x5665f0
and byte [esp + 0x4b], 0x7f
lea eax, [esp + 0x3c]
push 0x10
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x10
push eax
lea esi, [ebx + 0x6c]
push esi
push dword [ebx]
call fcn.0044d7e0
movups xmm0, xmmword [esi]
push ebp
push dword [esp + 0x2c]
movups xmmword [esp + 0x48], xmm0
mov edi, eax
lea eax, [esp + 0x48]
push dword [esp + 0x34]
psrldq xmm0, 0xc
movd ecx, xmm0
push eax
push ebx
shr ecx, 0x18
or cl, 0x80
mov byte [esp + 0x63], cl
call fcn.005661f0
add esp, 0x28
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
test edi, edi
pop esi
setne cl
and eax, ecx
mov ecx, dword [ebx + 0x198]
and ecx, 0xfffffffb
pop edi
pop ebp
lea edx, [eax*4]
or edx, ecx
or edx, 8
mov dword [ebx + 0x198], edx
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.005dffa1
add esp, 0x50
ret
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dffa1
add esp, 0x50
ret
Function at 0x566820
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
cmp dword [ebx + 0x84], 0xffffffff
je 0x5668f4
push dword [ebx]
call fcn.00455fc0
mov esi, eax
add esp, 4
test esi, esi
js 0x5668f4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x566851
mov dword [eax], esi
push ebp
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x5668eb
mov ecx, dword [ebx + 0x84]
push edi
cmp ecx, esi
jne 0x56688a
test esi, esi
jle 0x5668c9
mov edx, ebp
lea ecx, [ebx + 4]
mov edi, esi
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub edi, 1
jne 0x566874
jmp 0x5668c9
mov eax, esi
mov byte [ecx + ebx + 0x64], 0x80
sub eax, ecx
cmp eax, 1
jle 0x5668aa
dec eax
push eax
lea eax, [ebx + 0x65]
add eax, ecx
push 0
push eax
call fcn.005e1d60
add esp, 0xc
test esi, esi
jle 0x5668c9
mov edx, ebp
lea ecx, [ebx + 0x24]
mov edi, esi
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub edi, 1
jne 0x5668b5
push esi
push ebp
push ebp
push dword [ebx]
call fcn.00456910
add esp, 0x10
pop edi
test eax, eax
jg 0x5668eb
push esi
push ebp
call fcn.00401320
add esp, 8
xor eax, eax
pop ebp
pop esi
pop ebx
ret
pop ebp
pop esi
mov eax, 1
pop ebx
ret
pop esi
xor eax, eax
pop ebx
ret
Function at 0x570960
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
xor ebp, ebp
push esi
test eax, eax
je 0x570978
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x57097d
mov ebx, 0x677660
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x570a55
mov edx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
inc edi
movzx eax, byte [edi - 1]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
cmp esi, 3
jb 0x5709e9
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
mov ecx, eax
shr ecx, 6
and ecx, 0x3f
and eax, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 2], cl
mov cl, byte [eax + ebx]
lea eax, [edx + 3]
jmp 0x570a35
shl eax, 0x10
cmp esi, 2
jne 0x5709f9
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x570a1c
mov al, 0x3d
jmp 0x570a25
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ebx]
mov ecx, dword [esp + 0x18]
mov byte [ecx + 2], al
mov cl, 0x3d
mov eax, dword [esp + 0x14]
add eax, 3
sub esi, 3
mov byte [eax], cl
add ebp, 4
lea edx, [eax + 1]
add edi, 3
test esi, esi
jg 0x570993
pop edi
pop esi
mov eax, ebp
mov byte [edx], 0
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x14]
pop esi
mov byte [eax], 0
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x578fd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.005e0210
mov edx, dword [esp + 0x18]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x34]
or ecx, 0xffffffff
push ebp
mov ebp, dword [esp + 0x34]
cmp ebp, 1
push esi
mov esi, dword [edx]
setne al
add eax, ebx
mov dword [esp + 0x1c], esi
cmp eax, esi
jbe 0x579009
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
cmp ebp, 1
je 0x5790d4
mov ecx, dword [esp + 0x2c]
dec ecx
add ecx, esi
cmp dword [esp + 0x40], 0
mov dword [esp + 0x10], ecx
mov cl, byte [ecx]
mov byte [esp + 0xf], cl
movzx ebp, cl
je 0x579040
sub esi, ebp
mov eax, 1
sub esi, ebx
dec esi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [eax + ebp]
mov ebx, esi
sub ebx, ecx
mov eax, esi
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, esi
shr ebx, 0x1f
dec ebx
cmp esi, eax
push edi
cmovb eax, esi
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x5790b7
mov esi, dword [esp + 0x14]
mov edx, ebp
shr edx, 0x1f
mov dword [esp + 0x1c], edx
mov ecx, ebp
lea esi, [esi - 1]
sub ecx, edi
mov eax, edi
shr ecx, 0x1f
inc edi
shr eax, 0x1f
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [esp + 0x13]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [esi + 1]
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x18]
jb 0x579077
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
not ebx
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x3c]
movzx ecx, bl
mov ebx, dword [esp + 0x40]
dec ecx
shr ecx, 0x1f
neg ecx
and eax, ecx
sub esi, eax
mov dword [edx], esi
pop edi
push dword [esp + 0x44]
push ecx
push ebx
push ebp
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x44]
push edx
call fcn.00578ca0
add esp, 0x24
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x57e5d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.005e0210
mov eax, dword [0x699280]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x30]
test eax, eax
je 0x57e6e1
movups xmm0, xmmword [edi + 0x10]
mov ebx, dword [esp + 0x50]
lea esi, [edi + 0x10]
dec eax
mov dword [esp + 0x10], ebx
movups xmmword [esp + 0x2c], xmm0
and byte [esp + 0x38], 0x7f
lea ecx, [esp + 0x2c]
push 1
mov dword [edi + 0x30], eax
push ecx
psrldq xmm0, 8
movd eax, xmm0
push 0
push 0
and al, 0x7f
mov byte [esp + 0x44], al
mov eax, dword [edi + 0x20]
push 0
push eax
mov dword [esp + 0x30], eax
call fcn.0044cd30
add esp, 0x18
test eax, eax
je 0x57e6e1
push dword [esp + 0x10]
lea eax, [esp + 0x14]
push dword [esp + 0x18]
push eax
push ebp
push dword [esp + 0x28]
call fcn.0044d7e0
add esp, 0x14
test eax, eax
je 0x57e6e1
push ebx
push ebp
lea eax, [esp + 0x24]
push eax
push edi
call fcn.0057eae0
add esp, 0x10
test eax, eax
je 0x57e6e1
lea eax, [esi + 0xf]
xor edx, edx
lea ecx, [esp + 0x1c]
cmp ecx, eax
ja 0x57e6b3
lea eax, [esp + 0x2b]
cmp eax, esi
jb 0x57e6b3
mov eax, ecx
sub esi, eax
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor byte [ecx], al
cmp edx, 0x10
jl 0x57e6a0
jmp 0x57e6c3
movups xmm1, xmmword [esp + 0x1c]
movups xmm0, xmmword [esi]
xorps xmm1, xmm0
movups xmmword [esp + 0x1c], xmm1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
or ecx, dword [esp + 0x24]
or eax, dword [esp + 0x28]
or ecx, eax
je 0x57e6f6
push ebx
push ebp
call fcn.00401320
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005dffa1
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
mov eax, ebx
mov dword [edi + 0x2c], 0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dffa1
add esp, 0x30
ret
Function at 0x591a40
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x591aef
push esi
call fcn.005a67d0
add esp, 4
test al, al
jne 0x591aef
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x591a67
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.005b0460
add esp, 0xc
test eax, eax
je 0x591a9b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.005b0460
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x591a9d
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x591ace
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.005a3190
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x591ab0
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret