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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, 1
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
shl ebx, cl
call fcn.00625910
add esp, 8
test eax, eax
jne 0x64b901
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 3
jg 0x64b965
xor ecx, ecx
mov dword [ebp + 0x18], ecx
cmp dword [ebp + 0xc], ecx
jle 0x64ba9f
xor esi, esi
xor eax, eax
test ebx, ebx
jle 0x64b946
nop dword [eax]
mov ecx, eax
xor ecx, dword [ebp + 0x14]
lea edx, [ecx - 1]
not ecx
shr edx, 0x1f
shr ecx, 0x1f
and edx, ecx
neg edx
and edx, 1
neg edx
and edx, dword [edi + eax*4]
inc eax
or esi, edx
cmp eax, ebx
jl 0x64b920
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [eax + ecx*4], esi
inc ecx
lea eax, [ebx*4]
mov dword [ebp + 0x18], ecx
add edi, eax
cmp ecx, dword [ebp + 0xc]
jl 0x64b914
jmp 0x64ba9f
mov edx, dword [ebp + 0x14]
lea ecx, [esi - 2]
sar edx, cl
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x24], esi
lea eax, [esi - 1]
and ecx, eax
mov eax, edx
mov dword [ebp - 0x10], ecx
not eax
shr eax, 0x1f
lea ecx, [edx - 1]
shr ecx, 0x1f
and ecx, eax
mov eax, edx
neg ecx
xor eax, 1
and ecx, 1
neg ecx
mov dword [ebp - 0x20], ecx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
mov eax, edx
neg ecx
xor eax, 2
and ecx, 1
xor edx, 3
neg ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [edx - 1]
shr eax, 0x1f
not edx
shr edx, 0x1f
neg ecx
and eax, edx
and ecx, 1
neg eax
xor edx, edx
and eax, 1
mov dword [ebp - 0xc], edx
neg ecx
neg eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], edx
jle 0x64ba9f
lea eax, [ebx*4]
mov dword [ebp - 0x28], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0x18], eax
test esi, esi
jle 0x64ba87
lea eax, [esi + esi*2]
lea edx, [edi + esi*4]
lea ecx, [edi + esi*8]
mov dword [ebp - 8], edx
lea eax, [edi + eax*4]
mov dword [ebp - 4], ecx
mov dword [ebp + 0x10], eax
mov eax, dword [eax]
mov esi, ebx
mov ecx, dword [ecx]
and ecx, dword [ebp - 0x18]
and eax, dword [ebp - 0x14]
xor esi, dword [ebp - 0x10]
or ecx, eax
mov edx, dword [edx]
and edx, dword [ebp - 0x1c]
mov eax, dword [edi + ebx*4]
or edx, ecx
and eax, dword [ebp - 0x20]
lea ecx, [esi - 1]
shr ecx, 0x1f
not esi
shr esi, 0x1f
or eax, edx
mov edx, dword [ebp - 8]
and ecx, esi
mov esi, dword [ebp - 0x24]
neg ecx
and ecx, 1
inc ebx
neg ecx
add edx, 4
and ecx, eax
mov dword [ebp - 8], edx
or dword [ebp + 0x18], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
add eax, 4
add ecx, 4
mov dword [ebp + 0x10], eax
mov dword [ebp - 4], ecx
cmp ebx, esi
jl 0x64ba25
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add edi, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0xc], edx
cmp edx, dword [ebp + 0xc]
jl 0x64ba05
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [eax + 4], edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6540b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.006542d0
add esp, 0xc
test eax, eax
js 0x6542c2
mov eax, dword [esi + 0xf0]
push ebx
push edi
xor ebx, ebx
lea edi, [eax*4]
test edi, edi
jle 0x654139
mov eax, dword [ebp + 0x10]
lea esi, [esi + edi*4]
add esi, 8
add eax, 8
nop
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x6540f0
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xf0]
mov ebx, 1
cmp eax, ebx
jle 0x6542be
lea edi, [esi + 4]
nop dword [eax]
movzx eax, byte [edi + 0xd]
lea edi, [edi + 0x10]
mov edx, dword [edi - 4]
inc ebx
movzx ecx, byte [eax*4 + 0x70ddd8]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x70f1d8]
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70e9d8]
movzx eax, byte [edi - 2]
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70edd8]
movzx eax, dl
mov edx, dword [edi]
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70f5d8]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi - 4], ecx
movzx ecx, byte [eax*4 + 0x70ddd8]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x70edd8]
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70f1d8]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70e9d8]
movzx eax, dl
mov edx, dword [edi + 4]
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70f5d8]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi], ecx
movzx ecx, byte [eax*4 + 0x70ddd8]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x70edd8]
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70f1d8]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70e9d8]
movzx eax, dl
mov edx, dword [edi + 8]
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70f5d8]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [eax*4 + 0x70ddd8]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x70edd8]
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70f1d8]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70e9d8]
movzx eax, dl
movzx eax, byte [eax*4 + 0x70ddd8]
xor ecx, dword [eax*4 + 0x70f5d8]
mov dword [edi + 8], ecx
cmp ebx, dword [esi + 0xf0]
jl 0x654150
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x654c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp + 0x10], ecx
mov edi, dword [edi]
test edi, edi
je 0x654c48
mov edx, dword [ebp + 0x1c]
test esi, esi
je 0x654c48
mov al, byte [edi + edx]
dec esi
xor al, byte [ecx]
inc edi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and edi, 0xf
jne 0x654c31
cmp esi, 0x10
jb 0x654cc7
mov edx, dword [ebp + 0x1c]
mov eax, ecx
sub eax, edx
xor edi, edi
mov dword [ebp - 8], eax
mov eax, esi
shr eax, 4
mov dword [ebp - 0xc], edi
mov edi, ebx
mov dword [ebp - 4], eax
sub edi, edx
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp + 0x10], ecx
jmp 0x654c83
mov edx, dword [ebp + 0x1c]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.00654eb0
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, 4
mov ecx, dword [ebx + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [edi + eax - 4], ecx
sub edx, 1
jne 0x654ca0
sub esi, 0x10
add edi, 0x10
add ebx, 0x10
sub dword [ebp - 4], 1
jne 0x654c80
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x654d03
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.00654eb0
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub esi, 1
jne 0x654cf1
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x654d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 4], edx
mov edi, dword [edi]
mov dword [ebp - 8], edi
test edi, edi
je 0x654d4e
mov ecx, dword [ebp + 0x1c]
test esi, esi
je 0x654d4e
mov al, byte [edi + ecx]
dec esi
xor al, byte [edx]
inc edi
mov byte [ebx], al
inc edx
inc ebx
mov dword [ebp - 4], edx
and edi, 0xf
mov dword [ebp - 8], edi
jne 0x654d34
mov ecx, dword [ebp + 0x18]
movzx eax, byte [ecx + 0xc]
shl eax, 8
mov dword [ebp + 0x10], eax
movzx eax, byte [ecx + 0xd]
or dword [ebp + 0x10], eax
shl dword [ebp + 0x10], 8
movzx eax, byte [ecx + 0xe]
or dword [ebp + 0x10], eax
shl dword [ebp + 0x10], 8
movzx eax, byte [ecx + 0xf]
or dword [ebp + 0x10], eax
cmp esi, 0x10
jb 0x654e18
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edx, dword [ebp + 0x10]
shr ecx, 4
neg edx
add eax, ecx
cmp eax, ecx
push edi
push dword [ebp + 0x14]
cmovae edx, ecx
mov dword [ebp - 0xc], edx
xor edx, edx
push dword [ebp - 0xc]
cmp eax, ecx
mov ecx, edx
mov edx, dword [ebp - 4]
cmovae ecx, eax
push ebx
push edx
mov dword [ebp + 0x10], ecx
call dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
add esp, 0x14
mov eax, ecx
mov byte [edi + 0xf], cl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xe], al
test ecx, ecx
jne 0x654df9
mov edx, 0xc
mov eax, 1
movzx ecx, byte [edx + edi - 1]
dec edx
add eax, ecx
mov byte [edx + edi], al
shr eax, 8
test edx, edx
jne 0x654de4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
shl eax, 4
add dword [ebp - 4], eax
sub esi, eax
add ebx, eax
cmp esi, 0x10
jae 0x654d83
mov edi, dword [ebp - 8]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x18]
test esi, esi
je 0x654ea2
mov eax, dword [ebp + 0x1c]
xorps xmm0, xmm0
push ecx
push dword [ebp + 0x14]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [ebp + 0x24]
mov edx, dword [ebp + 0x10]
add esp, 0x14
mov ecx, dword [ebp + 0x18]
inc edx
mov eax, edx
shr eax, 0x18
mov byte [ecx + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xd], al
mov eax, edx
shr eax, 8
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], dl
test edx, edx
jne 0x654e7c
mov edi, 0xc
mov edx, 1
movzx eax, byte [edi + ecx - 1]
dec edi
add edx, eax
mov byte [edi + ecx], dl
shr edx, 8
test edi, edi
jne 0x654e67
mov edi, dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
sub ebx, eax
mov edx, dword [ebp - 4]
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
nop dword [eax + eax]
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x654e90
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x654ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
je 0x654f18
mov edx, dword [ebp + 0x18]
test edi, edi
je 0x654f18
mov al, byte [esi + edx]
dec edi
xor al, byte [ecx]
inc esi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and esi, 0xf
jne 0x654f01
cmp edi, 0x10
jb 0x654f97
mov edx, dword [ebp + 0x18]
mov eax, ebx
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
jmp 0x654f4b
mov edx, dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push edx
call dword [ebp + 0x20]
add esp, 0xc
cmp esi, 0x10
jae 0x654f82
mov eax, dword [ebp + 0x18]
mov edx, 0xf
sub edx, esi
add eax, esi
mov esi, dword [ebp - 4]
shr edx, 2
inc edx
nop
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x654f70
add dword [ebp - 4], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
sub dword [ebp - 8], 1
jne 0x654f48
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x654fd2
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push eax
push eax
call dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [esi + eax]
add esi, edi
nop dword [eax + eax]
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x654fc0
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x655400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, dword [ecx + 0x38]
or eax, dword [ecx + 0x3c]
je 0x65541a
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
mov eax, esi
add eax, dword [ecx + 0x30]
adc edx, dword [ecx + 0x34]
cmp edx, 0x20000000
ja 0x6554ed
jb 0x65543e
test eax, eax
jne 0x6554ed
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ecx + 0x16c]
mov dword [ecx + 0x34], edx
lea edx, [ecx + 0x40]
mov dword [ecx + 0x30], eax
test edi, edi
je 0x65549d
test esi, esi
je 0x65546f
mov al, byte [ebx]
lea edx, [ecx + 0x40]
xor byte [edx + edi], al
inc ebx
inc edi
mov dword [ebp - 4], edx
dec esi
and edi, 0xf
jne 0x655456
jmp 0x655476
mov dword [ebp - 4], edx
test edi, edi
jne 0x65548e
lea eax, [ecx + 0x60]
push eax
push edx
mov dword [ebp - 8], eax
call fcn.006567f0
mov edx, dword [ebp - 4]
add esp, 8
mov ecx, dword [ebp - 8]
jmp 0x6554a3
mov dword [ecx + 0x16c], edi
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
add ecx, 0x60
mov dword [ebp - 4], edx
mov eax, esi
and eax, 0xfffffff0
mov dword [ebp - 8], eax
je 0x6554bf
push eax
push ebx
push ecx
push edx
call fcn.006565d0
add ebx, dword [ebp - 8]
add esp, 0x10
sub esi, dword [ebp - 8]
test esi, esi
je 0x6554db
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x6554db
mov edx, dword [ebp - 4]
nop
mov al, byte [ecx + ebx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jb 0x6554d0
mov eax, dword [ebp + 8]
mov dword [eax + 0x16c], edi
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x657040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x7ec06c]
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 - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea ecx, [esi + 0x10]
mov bl, byte [esi]
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
test bl, 0x40
jne 0x65708b
push eax
push ecx
push esi
call edx
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 - 0x34], edx
cmp edx, 0xf
jae 0x6570b7
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x6570a4
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x6570db
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053bd3e
mov esp, ebp
pop ebp
ret
push edi
mov edi, ebx
shr edi, 4
test edi, edi
je 0x657114
lea eax, [esi + 0x10]
push eax
push esi
push dword [ebp - 0x20]
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call dword [ebp - 0x2c]
shl edi, 4
add esp, 0x18
add dword [ebp - 0x1c], edi
add dword [ebp - 0x24], edi
sub ebx, edi
je 0x65716c
shr edi, 4
push edi
push esi
call fcn.00657830
add esp, 8
test ebx, ebx
je 0x65716c
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0xc
xor edx, edx
test ebx, ebx
je 0x65715b
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
sub dword [ebp - 0x1c], eax
sub edi, eax
lea eax, [esi + 0x10]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
add eax, edx
mov cl, byte [esi + eax]
xor cl, byte [eax]
mov byte [edi + eax], cl
mov eax, dword [ebp - 0x2c]
xor byte [eax + edx], cl
inc edx
cmp edx, ebx
jb 0x657140
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [ebp - 0x28]
add esp, 0xc
jmp 0x65716f
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jae 0x657191
mov ecx, 0x10
lea edi, [edx + esi]
sub ecx, edx
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.0053bd3e
mov esp, ebp
pop ebp
ret
Function at 0x658d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x14
xor ecx, ecx
test edx, edx
je 0x658e27
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
cmp edx, 0x40
jb 0x658e05
lea eax, [edx - 1]
add eax, ebx
cmp esi, eax
ja 0x658d5e
lea eax, [esi - 1]
add eax, edx
cmp eax, ebx
jae 0x658e05
lea eax, [edx - 1]
add eax, edi
cmp esi, eax
ja 0x658d74
lea eax, [esi - 1]
add eax, edx
cmp eax, edi
jae 0x658e05
mov eax, edx
mov edx, edi
sub edx, ebx
and eax, 0xffffffc0
mov dword [ebp - 4], edx
mov edx, esi
sub edx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov eax, ebx
mov ebx, dword [ebp - 4]
mov edx, edi
sub edx, esi
mov dword [ebp - 0xc], edx
lea edx, [edi + 0x30]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x10], edx
lea edx, [esi + 0x10]
movups xmm0, xmmword [eax]
mov esi, dword [ebp - 0xc]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
lea edx, [edx + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
movups xmmword [edi + eax - 0x40], xmm1
movups xmm1, xmmword [esi + edx - 0x40]
mov esi, dword [ebp - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x20]
movups xmmword [edx - 0x40], xmm1
movups xmm1, xmmword [esi + ecx - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [edx - 0x30], xmm1
movups xmm1, xmmword [esi + ecx]
mov esi, dword [ebp + 0x14]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [edx - 0x20], xmm1
cmp ecx, dword [ebp - 0x14]
jb 0x658da2
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ecx, edx
jae 0x658e24
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0x658e12
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x658f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x14]
cmp esi, ebx
jbe 0x658fcd
mov ecx, dword [edi + 0x18]
cmp esi, ecx
jb 0x658f74
mov eax, esi
sub eax, ecx
add eax, 4
and eax, 0xfffffffc
add eax, ecx
push 0x7a
mov dword [edi + 0x18], eax
push str.d:jenkinsworkspacecurl_1_f14b4b73cryptomodesocb128.c
shl eax, 4
push eax
push dword [edi + 0x40]
call fcn.00635a70
add esp, 0x10
test eax, eax
jne 0x658f71
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x40], eax
cmp ebx, esi
jae 0x658fca
mov ecx, ebx
mov eax, esi
shl ecx, 4
mov esi, edi
sub eax, ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
nop dword [eax]
add ecx, dword [esi + 0x40]
mov al, byte [ecx]
lea edi, [ecx + 0x10]
push edi
shr al, 7
movzx eax, al
push 1
push ecx
imul ebx, eax, 0x87
call fcn.00658c90
mov ecx, dword [ebp - 4]
add esp, 0xc
xor byte [edi + 0xf], bl
add ecx, 0x10
sub dword [ebp - 8], 1
mov dword [ebp - 4], ecx
jne 0x658f90
mov esi, dword [ebp + 0xc]
mov ebx, esi
mov edi, dword [ebp + 8]
mov dword [edi + 0x14], ebx
shl esi, 4
add esi, dword [edi + 0x40]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x658fe0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x7ec06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x8c], edi
mov eax, dword [ecx]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], 0x61707865
mov dword [ebp - 0x40], 0x3320646e
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0x79622d32
mov dword [ebp - 0x38], 0x6b206574
test eax, eax
je 0x6591b4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, 0x40
cmp eax, esi
cmovb esi, eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x90], esi
push eax
call fcn.006591d0
add esp, 8
xor eax, eax
test esi, esi
je 0x659192
cmp esi, 0x40
jb 0x659150
lea edx, [edi - 1]
lea ecx, [ebp + esi - 0x85]
add edx, esi
cmp edi, ecx
ja 0x6590c9
lea ecx, [ebp - 0x84]
cmp edx, ecx
jae 0x659150
lea ecx, [ebx - 1]
add ecx, esi
cmp edi, ecx
ja 0x6590d6
cmp edx, ebx
jae 0x659150
mov edx, esi
lea ecx, [edi + 0x10]
mov esi, ebx
and edx, 0xffffffc0
sub esi, edi
mov dword [ebp - 0x88], esi
mov esi, dword [ebp - 0x90]
nop
movups xmm0, xmmword [ebp + eax - 0x84]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ebx + eax]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x74]
movups xmmword [edi + eax], xmm1
mov edi, dword [ebp - 0x88]
movups xmm1, xmmword [edi + ecx - 0x40]
mov edi, dword [ebp - 0x8c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x64]
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [ebx + eax + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x54]
movups xmmword [ecx - 0x30], xmm1
movups xmm1, xmmword [ebx + eax + 0x30]
add eax, 0x40
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
cmp eax, edx
jb 0x6590f0
cmp eax, esi
jae 0x659192
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x88], ebx
sub ebx, ecx
lea edx, [ebp - 0x84]
mov ecx, edi
sub ecx, edx
mov dword [ebp - 0x88], ecx
mov edi, ecx
lea edx, [ebp - 0x84]
add edx, eax
inc eax
mov cl, byte [ebx + edx]
xor cl, byte [edx]
mov byte [edi + edx], cl
cmp eax, esi
jb 0x659174
mov edi, dword [ebp - 0x8c]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
add edi, esi
inc dword [ebp - 0x14]
sub eax, esi
add ebx, esi
mov dword [ebp - 0x8c], edi
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x659075
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0053bd3e
mov esp, ebp
pop ebp
ret