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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
mov edi, edx
mov eax, dword [esi]
cmp eax, dword [edi]
je 0x46d0b6
push 0xa6
push str.C:Usersomahr_source_reposputty_caccodecryptompint.c
push str.x0__nw__x1__nw
call fcn.004a3dca
add esp, 0xc
mov eax, dword [ebp + 8]
xor edx, edx
and eax, 1
neg eax
mov dword [ebp + 8], eax
cmp dword [esi], edx
jbe 0x46d0e9
mov eax, dword [esi + 4]
mov ecx, dword [edi + 4]
mov eax, dword [eax + edx*4]
xor eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 8]
and ecx, eax
mov eax, dword [esi + 4]
xor dword [eax + edx*4], ecx
mov eax, dword [edi + 4]
xor dword [eax + edx*4], ecx
inc edx
cmp edx, dword [esi]
jb 0x46d0c7
pop edi
pop esi
pop ebp
ret

Function at 0x46d2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
cmp ebx, 0x3fffffff
jbe 0x46d2eb
push 0x106
push str.C:Usersomahr_source_reposputty_caccodecryptompint.c
push str.hex.len_____size_t_0____4
call fcn.004a3dca
add esp, 0xc
lea eax, [ebx*4 + 0x1f]
mov ecx, 1
shr eax, 5
cmp eax, ecx
cmova ecx, eax
call fcn.0046ced0
xor edx, edx
mov esi, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], edx
test ebx, ebx
je 0x46d38d
mov eax, dword [ebp + 8]
dec eax
add eax, ebx
mov dword [ebp - 8], eax
nop dword [eax + eax]
movsx edi, byte [eax]
mov ebx, 0x66
mov ecx, dword [ebp - 4]
sub ebx, edi
shr edx, 3
and ecx, 7
shl ecx, 2
lea eax, [edi - 0x61]
or ebx, eax
lea eax, [edi - 0x57]
xor eax, edi
shr ebx, 0x1f
dec ebx
and ebx, eax
mov eax, dword [esi + 4]
xor ebx, edi
lea esi, [eax + edx*4]
mov edx, 0x46
sub edx, edi
lea eax, [edi - 0x41]
or edx, eax
lea eax, [edi - 7]
shr edx, 0x1f
xor eax, ebx
dec edx
and edx, eax
mov eax, dword [ebp - 8]
xor edx, ebx
dec eax
and edx, 0xf
mov dword [ebp - 8], eax
shl edx, cl
or dword [esi], edx
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
inc edx
mov dword [ebp - 4], edx
cmp edx, dword [ebp + 0xc]
jb 0x46d320
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46d5f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0xffffffff
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0xffffffff
push eax
xor edx, edx
mov dword [esp + 0x20], 0
call fcn.0046d4e0
mov esi, dword [esp + 0x1c]
add esp, 0xc
xor edi, edi
mov ecx, 0x10
mov edx, esi
shr edx, cl
mov eax, edx
xor edx, esi
neg eax
shr eax, 0x1f
neg eax
and edx, eax
and eax, ecx
xor esi, edx
add edi, eax
shr ecx, 1
jne 0x46d634
mov eax, dword [esp + 0xc]
shl eax, 5
inc eax
add eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46d660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push esi
test ebx, ebx
je 0x46d6a3
mov esi, ebx
mov edx, eax
nop dword [eax + eax]
movzx ecx, byte [edx + esi - 1]
dec esi
xor ecx, 0x30
mov eax, esi
dec ecx
xor eax, ebx
shr ecx, 0x1f
dec ecx
and ecx, eax
xor ebx, ecx
test esi, esi
jne 0x46d680
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ebp + 8], ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
test edx, edx
je 0x46d706
push edi
nop dword [eax]
shr ebx, cl
mov edi, 1
and bl, 1
shl edi, cl
neg bl
cmp edi, edx
jae 0x46d6f3
mov esi, eax
add eax, edi
sub edi, dword [ebp - 4]
nop dword [eax]
mov dl, byte [esi]
lea esi, [esi + 1]
mov cl, byte [eax]
lea eax, [eax + 1]
xor cl, dl
and cl, bl
xor dl, cl
mov byte [esi - 1], dl
xor byte [eax - 1], cl
lea ecx, [edi + esi]
mov edx, dword [ebp - 8]
cmp ecx, edx
jb 0x46d6d0
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
inc ecx
mov eax, edx
mov dword [ebp - 0xc], ecx
shr eax, cl
test eax, eax
mov eax, dword [ebp - 4]
jne 0x46d6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46efa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4fc040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x94], edx
push edi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], ebx
call fcn.00458b10
mov ecx, eax
call fcn.0046d3c0
mov ebx, dword [ebp - 0x94]
mov edi, 1
mov dword [ebp - 0x8c], eax
nop word [eax + eax]
mov edx, dword [ebp + edi*4 - 0x90]
mov ecx, esi
push ebx
call fcn.0046ee80
mov dword [ebp + edi*4 - 0x8c], eax
add esp, 4
inc edi
cmp edi, 0x20
jb 0x46eff0
mov ecx, dword [esi + 8]
call fcn.0046ced0
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xa4], edi
call fcn.00458b10
mov edx, eax
mov ecx, edi
call fcn.0046cfe0
mov ecx, dword [esi + 8]
call fcn.0046ced0
mov ebx, dword [ebp - 0xa0]
mov dword [ebp - 0x94], eax
mov eax, 0xcccccccd
mov byte [ebp - 0x8d], 1
mov ecx, dword [ebx]
shl ecx, 5
dec ecx
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
xor ebx, ebx
mov dword [ebp - 0x98], eax
xor esi, esi
nop word [eax + eax]
mov ecx, dword [ebp - 0xa0]
lea edx, [esi + eax]
call fcn.0046d400
mov ecx, esi
inc esi
shl eax, cl
or ebx, eax
mov eax, dword [ebp - 0x98]
cmp esi, 5
jb 0x46f070
mov edi, dword [ebp - 0x94]
mov ecx, edi
mov edx, dword [ebp - 0x8c]
call fcn.0046cfe0
mov esi, 1
nop dword [eax + eax]
mov edx, dword [ebp + esi*4 - 0x8c]
mov eax, esi
xor eax, ebx
mov ecx, edi
add eax, 0x1f
shr eax, 5
push eax
push edi
call fcn.0046d020
inc esi
add esp, 8
cmp esi, 0x20
jb 0x46f0b0
cmp byte [ebp - 0x8d], 0
mov edi, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x94]
jne 0x46f0fe
mov ebx, dword [ebp - 0x9c]
mov edx, edi
push esi
push edi
mov ecx, ebx
call fcn.0046edc0
add esp, 8
jmp 0x46f114
mov edx, esi
mov ecx, edi
call fcn.0046cfe0
mov ebx, dword [ebp - 0x9c]
mov byte [ebp - 0x8d], 0
cmp dword [ebp - 0x98], 0
je 0x46f143
mov esi, 5
push edi
push edi
mov edx, edi
mov ecx, ebx
call fcn.0046edc0
add esp, 8
sub esi, 1
jne 0x46f122
mov eax, dword [ebp - 0x98]
sub eax, 5
jmp 0x46f05d
xor ebx, ebx
nop word [eax + eax]
mov ecx, dword [ebp + ebx*4 - 0x8c]
call fcn.0046cfc0
inc ebx
cmp ebx, 0x20
jb 0x46f150
mov ecx, esi
call fcn.0046cfc0
mov esi, dword [ebp - 0x9c]
mov ecx, dword [esi + 0x20]
call fcn.0046d0f0
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495b16
mov esp, ebp
pop ebp
ret
Function at 0x4735b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x47360e
push esi
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
xor edx, ecx
mov ecx, edx
shr edx, 4
and ecx, 0xf
imul eax, ecx, 0x4220000
imul esi, ecx, 0x8840020
xor esi, eax
imul eax, ecx, 0x11111044
xor esi, edx
xor esi, eax
mov edx, esi
shr esi, 4
and edx, 0xf
imul eax, edx, 0x4220000
imul ecx, edx, 0x8840020
xor ecx, eax
imul eax, edx, 0x11111044
xor ecx, eax
xor ecx, esi
sub edi, 1
jne 0x4735c0
pop esi
pop edi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x4736c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], 0
mov edi, esi
mov dword [ebp - 4], 0
ror esi, 0x1c
xor edi, edx
xor esi, dword [ebp + 8]
mov ebx, edi
mov edx, esi
shr edi, 8
shr esi, 8
and edx, 0xfffcfffc
and esi, 0xfffcfffc
mov dword [ebp + 8], 0
and ebx, 0xfffcfffc
mov dword [ebp - 0xc], 0
and edi, 0xfffcfffc
mov dword [ebp - 0x10], 0x20
or edx, 0xff00ff00
or esi, 0xff00ff00
or ebx, 0xff00ff00
mov eax, 0x4d09e8
or edi, 0xff00ff00
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
and ecx, edx
add edx, 0x80008
xor dword [ebp + 8], ecx
mov ecx, dword [eax - 0x14]
and ecx, esi
add esi, 0x80008
xor dword [ebp - 8], ecx
mov ecx, ebx
and ecx, dword [eax - 0x10]
add ebx, 0x80008
xor dword [ebp - 4], ecx
mov ecx, dword [eax - 0xc]
and ecx, edi
add edi, 0x80008
xor dword [ebp - 0xc], ecx
sub dword [ebp - 0x10], 1
jne 0x473737
mov eax, dword [ebp + 8]
and edx, 0x40004
mov ecx, dword [ebp - 4]
and ebx, 0x40004
imul edx, edx, 0x3c00
and esi, 0x40004
and edi, 0x40004
shr edx, 4
and edx, eax
shr eax, 4
xor edx, eax
imul eax, ebx, 0x3c00
shr edx, 4
and edx, 0xf000f0
shr eax, 4
and eax, ecx
shr ecx, 4
xor eax, ecx
mov ecx, dword [ebp - 8]
and eax, 0xf000f00
or edx, eax
imul eax, esi, 0x3c00
shr edx, 4
shr eax, 4
and eax, ecx
shr ecx, 4
xor eax, ecx
imul ecx, edi, 0x3c00
and eax, 0xf000f00
or edx, eax
mov eax, dword [ebp - 0xc]
shl eax, 4
pop edi
and ecx, eax
xor ecx, dword [ebp - 0xc]
and ecx, 0xf000f000
or edx, ecx
mov ecx, edx
shr ecx, 4
xor ecx, edx
and ecx, 0x7030702
mov eax, ecx
shl eax, 4
xor eax, ecx
xor edx, eax
mov ecx, edx
shr ecx, 8
xor ecx, edx
and ecx, 0x4e009e
mov eax, ecx
shl eax, 8
xor eax, ecx
xor edx, eax
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
and ecx, 0xd9d3
mov eax, ecx
shl eax, 0x10
xor eax, ecx
xor edx, eax
mov ecx, edx
shr ecx, 4
xor ecx, edx
and ecx, 0x5040004
mov eax, ecx
shl eax, 4
xor eax, ecx
xor edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, edx
and ecx, 0x4045015
pop esi
pop ebx
lea eax, [ecx + ecx]
xor eax, ecx
xor eax, edx
mov esp, ebp
pop ebp
ret
Function at 0x4758f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, edx
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
test al, 7
je 0x47591e
push 0x133
push str.C:Usersomahr_source_reposputty_caccodecrypto_blowfish.c
push str._len__7___0
call fcn.004a3dca
mov eax, dword [ebp - 4]
add esp, 0xc
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x1048]
mov ecx, dword [edi + 0x104c]
test eax, eax
jle 0x4759d7
dec eax
add esi, 6
shr eax, 3
inc eax
mov dword [ebp + 8], eax
movzx edx, byte [esi + 1]
lea eax, [ebp - 8]
shl edx, 8
push edi
push eax
movzx eax, byte [esi]
or edx, eax
movzx eax, byte [esi - 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 4]
xor edx, ecx
movzx ecx, byte [esi - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 6]
shl ecx, 8
or ecx, eax
xor ecx, ebx
call fcn.00475070
mov ebx, dword [ebp - 8]
lea esi, [esi + 8]
mov ecx, dword [ebp - 4]
mov eax, ebx
shr eax, 8
add esp, 8
mov byte [esi - 0xd], al
mov eax, ebx
shr eax, 0x10
mov byte [esi - 0xc], al
mov eax, ebx
shr eax, 0x18
mov byte [esi - 0xb], al
mov eax, ecx
shr eax, 8
mov byte [esi - 0xe], bl
mov byte [esi - 9], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 8], al
mov eax, ecx
shr eax, 0x18
sub dword [ebp + 8], 1
mov byte [esi - 0xa], cl
mov byte [esi - 7], al
jne 0x475940
mov dword [edi + 0x1048], ebx
mov dword [edi + 0x104c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475aa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov eax, edx
mov dword [ebp - 0xc], eax
push esi
mov esi, ecx
push edi
test al, 7
je 0x475ace
push 0x161
push str.C:Usersomahr_source_reposputty_caccodecrypto_blowfish.c
push str._len__7___0
call fcn.004a3dca
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x1048]
mov edi, dword [ecx + 0x104c]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
test eax, eax
jle 0x475bb7
dec eax
add esi, 6
shr eax, 3
inc eax
mov dword [ebp - 0xc], eax
nop word [eax + eax]
movzx ebx, byte [esi - 3]
movzx eax, byte [esi - 4]
movzx edi, byte [esi + 1]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [esi - 5]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 6]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi]
or edi, eax
movzx eax, byte [esi - 1]
shl edi, 8
or edi, eax
movzx eax, byte [esi - 2]
shl edi, 8
or edi, eax
lea eax, [ebp - 0x14]
push ecx
push eax
mov edx, edi
mov ecx, ebx
call fcn.004754b0
mov ecx, dword [ebp - 4]
lea esi, [esi + 8]
xor ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 8]
mov eax, ecx
xor edx, dword [ebp - 0x10]
shr eax, 8
mov byte [esi - 0xd], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 0xc], al
mov eax, edx
mov byte [esi - 0xe], cl
shr ecx, 0x18
mov byte [esi - 0xb], cl
mov ecx, dword [ebp + 8]
shr eax, 8
mov byte [esi - 9], al
mov eax, edx
mov byte [esi - 0xa], dl
shr eax, 0x10
shr edx, 0x18
sub dword [ebp - 0xc], 1
mov byte [esi - 8], al
mov byte [esi - 7], dl
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
jne 0x475b00
mov eax, ecx
mov dword [eax + 0x104c], edi
pop edi
pop esi
mov dword [eax + 0x1048], ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x104c], edi
pop edi
pop esi
mov dword [ecx + 0x1048], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475bd0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, edx
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
test al, 7
je 0x475bfe
push 0x17d
push str.C:Usersomahr_source_reposputty_caccodecrypto_blowfish.c
push str._len__7___0
call fcn.004a3dca
mov eax, dword [ebp - 4]
add esp, 0xc
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x1048]
mov ecx, dword [edi + 0x104c]
test eax, eax
jle 0x475cb7
dec eax
add esi, 6
shr eax, 3
inc eax
mov dword [ebp + 8], eax
movzx edx, byte [esi - 2]
lea eax, [ebp - 8]
shl edx, 8
push edi
push eax
movzx eax, byte [esi - 1]
or edx, eax
movzx eax, byte [esi]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 5]
xor edx, ecx
movzx ecx, byte [esi - 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 3]
shl ecx, 8
or ecx, eax
xor ecx, ebx
call fcn.00475070
mov ebx, dword [ebp - 8]
lea esi, [esi + 8]
mov ecx, dword [ebp - 4]
mov eax, ebx
shr eax, 8
add esp, 8
mov byte [esi - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi - 0xd], al
mov eax, ebx
shr eax, 0x18
mov byte [esi - 0xe], al
mov eax, ecx
shr eax, 8
mov byte [esi - 0xb], bl
mov byte [esi - 8], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 9], al
mov eax, ecx
shr eax, 0x18
sub dword [ebp + 8], 1
mov byte [esi - 7], cl
mov byte [esi - 0xa], al
jne 0x475c20
mov dword [edi + 0x1048], ebx
mov dword [edi + 0x104c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov eax, edx
mov dword [ebp - 0xc], eax
push esi
mov esi, ecx
push edi
test al, 7
je 0x475cfe
push 0x199
push str.C:Usersomahr_source_reposputty_caccodecrypto_blowfish.c
push str._len__7___0
call fcn.004a3dca
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x1048]
mov edi, dword [ecx + 0x104c]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
test eax, eax
jle 0x475de7
dec eax
add esi, 6
shr eax, 3
inc eax
mov dword [ebp - 0xc], eax
nop word [eax + eax]
movzx ebx, byte [esi - 6]
movzx eax, byte [esi - 5]
movzx edi, byte [esi - 2]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [esi - 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 1]
or edi, eax
movzx eax, byte [esi]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 1]
shl edi, 8
or edi, eax
lea eax, [ebp - 0x14]
push ecx
push eax
mov edx, edi
mov ecx, ebx
call fcn.004754b0
mov ecx, dword [ebp - 4]
lea esi, [esi + 8]
xor ecx, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 8]
mov eax, ecx
xor edx, dword [ebp - 0x10]
shr eax, 8
mov byte [esi - 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 0xd], al
mov eax, edx
mov byte [esi - 0xb], cl
shr ecx, 0x18
mov byte [esi - 0xe], cl
mov ecx, dword [ebp + 8]
shr eax, 8
mov byte [esi - 8], al
mov eax, edx
mov byte [esi - 7], dl
shr eax, 0x10
shr edx, 0x18
sub dword [ebp - 0xc], 1
mov byte [esi - 9], al
mov byte [esi - 0xa], dl
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
jne 0x475d30
mov eax, ecx
mov dword [eax + 0x104c], edi
pop edi
pop esi
mov dword [eax + 0x1048], ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x104c], edi
pop edi
pop esi
mov dword [ecx + 0x1048], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x475e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
test bl, 7
je 0x475e29
push 0x1b5
push str.C:Usersomahr_source_reposputty_caccodecrypto_blowfish.c
push str._len__7___0
call fcn.004a3dca
add esp, 0xc
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1048]
mov ecx, dword [edi + 0x104c]
mov dword [ebp - 4], eax
mov dword [ebp + 8], ecx
test ebx, ebx
jle 0x475ef8
dec ebx
add esi, 6
shr ebx, 3
inc ebx
nop
lea edx, [ebp - 0xc]
push edi
push edx
mov edx, ecx
mov ecx, eax
call fcn.00475070
movzx ecx, byte [esi - 6]
lea esi, [esi + 8]
movzx eax, byte [esi - 0xd]
add esp, 8
shl ecx, 8
or ecx, eax
mov edx, dword [ebp - 4]
movzx eax, byte [esi - 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 0xb]
shl ecx, 8
or ecx, eax
xor ecx, dword [ebp - 0xc]
mov eax, ecx
mov byte [esi - 0xb], cl
shr eax, 8
mov byte [esi - 0xc], al
mov eax, ecx
shr ecx, 0x18
mov byte [esi - 0xe], cl
shr eax, 0x10
mov byte [esi - 0xd], al
movzx ecx, byte [esi - 0xa]
movzx eax, byte [esi - 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 7]
shl ecx, 8
or ecx, eax
xor ecx, dword [ebp - 8]
mov eax, ecx
mov byte [esi - 7], cl
shr eax, 8
mov byte [esi - 8], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [esi - 0xa], cl
mov ecx, dword [ebp + 8]
mov byte [esi - 9], al
add ecx, 1
lea eax, [edx + 1]
mov dword [ebp + 8], ecx
cmovne eax, edx
mov dword [ebp - 4], eax
sub ebx, 1
jne 0x475e50
mov dword [edi + 0x104c], ecx
mov dword [edi + 0x1048], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x475f10
Capabilities:
Encrypt data using blowfish

Disassembly:
movups xmm0, xmmword [0x4d1910]
lea edx, [ecx + 0x800]
xor eax, eax
movups xmmword [ecx + 0x1000], xmm0
movups xmm0, xmmword [0x4d1920]
movups xmmword [ecx + 0x1010], xmm0
movups xmm0, xmmword [0x4d1930]
movups xmmword [ecx + 0x1020], xmm0
movups xmm0, xmmword [0x4d1940]
movups xmmword [ecx + 0x1030], xmm0
movq xmm0, qword [0x4d1950]
movq qword [ecx + 0x1040], xmm0
mov ecx, dword [eax + 0x4d19a0]
lea edx, [edx + 4]
mov dword [edx - 0x804], ecx
mov ecx, dword [eax + 0x4d0d00]
mov dword [edx - 0x404], ecx
mov ecx, dword [eax + 0x4d1510]
mov dword [edx - 4], ecx
mov ecx, dword [eax + 0x4d1110]
add eax, 4
mov dword [edx + 0x3fc], ecx
cmp eax, 0x400
jl 0x475f60
ret
Function at 0x476b90
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov al, byte [ecx + 1]
push ebx
mov bh, byte [ecx]
push edi
mov dword [ebp - 0xc], edx
xor edi, edi
lea edx, [ecx + 2]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
cmp dword [ebp + 8], edi
jle 0x476bf2
mov cl, al
push esi
inc bh
movzx esi, bh
add esi, edx
mov bl, byte [esi]
add cl, bl
movzx eax, cl
add edx, eax
movzx eax, byte [edx]
mov byte [esi], al
mov byte [edx], bl
movzx edx, byte [esi]
mov esi, dword [ebp - 0xc]
movzx eax, bl
add edx, eax
movzx eax, dl
mov edx, dword [ebp - 8]
movzx eax, byte [eax + edx]
xor byte [esi + edi], al
inc edi
cmp edi, dword [ebp + 8]
jl 0x476bb3
mov byte [ebp - 1], cl
mov ecx, dword [ebp - 0x10]
mov al, byte [ebp - 1]
pop esi
pop edi
mov byte [ecx], bh
mov byte [ecx + 1], al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x476c00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4fc040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x100
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x108], edx
push edi
mov dword [ebp - 0x10c], esi
lea ebx, [esi + 2]
mov dword [ebp - 0x110], ebx
jbe 0x476c4a
push 0x28
push str.C:Usersomahr_source_reposputty_caccodecrypto_arcfour.c
push str.keybytes___256
call fcn.004a3dca
add esp, 0xc
mov edi, ebx
mov word [esi], 0
mov ebx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
xor ecx, ecx
sub edi, eax
mov eax, ecx
lea esi, [ebp - 0x104]
xor edx, edx
add esi, ecx
div dword [ebp + 8]
mov byte [edi + esi], cl
inc ecx
mov al, byte [edx + ebx]
mov byte [esi], al
cmp ecx, 0x100
jb 0x476c61
mov eax, dword [ebp - 0x10c]
lea ebx, [ebp - 0x104]
mov esi, dword [ebp - 0x110]
add eax, 2
xor edi, edi
mov dword [ebp - 0x108], pe_nt_image_headers32
sub ebx, eax
mov dl, byte [esi]
lea esi, [esi + 1]
movzx eax, byte [ebx + esi - 1]
add eax, edi
movzx ecx, dl
add ecx, eax
sub dword [ebp - 0x108], 1
movzx edi, cl
mov ecx, dword [ebp - 0x10c]
mov al, byte [edi + ecx + 2]
mov byte [esi - 1], al
mov byte [edi + ecx + 2], dl
jne 0x476ca4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495b16
mov esp, ebp
pop ebp
ret
Function at 0x4771a0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push esi
push edi
mov edi, ecx
mov dword [edi], 0x61707865
mov dword [edi + 4], 0x3320646e
mov dword [edi + 8], 0x79622d32
mov dword [edi + 0xc], 0x6b206574
movzx esi, byte [edx + 3]
movzx eax, byte [edx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 1]
shl esi, 8
or esi, eax
movzx eax, byte [edx]
shl esi, 8
or esi, eax
mov dword [edi + 0x10], esi
movzx ecx, byte [edx + 7]
shl ecx, 8
movzx eax, byte [edx + 6]
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x14], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x18], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x1c], ecx
movzx ecx, byte [edx + 0x13]
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x20], ecx
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x24], ecx
movzx ecx, byte [edx + 0x1b]
movzx eax, byte [edx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [edx + 0x18]
or ecx, eax
mov dword [edi + 0x28], ecx
movzx ecx, byte [edx + 0x1f]
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x80], 0x40
mov dword [edi + 0x2c], ecx
pop edi
pop esi
ret
Function at 0x4873c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 8]
add ecx, 0xfffffcf0
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
add eax, edi
mov dword [esp + 0x1c], eax
cmp edi, eax
jae 0x4874e0
lea esi, [ecx + 0x2d8]
lea eax, [esi + 8]
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00482580
mov ecx, edi
mov ebx, eax
mov esi, edx
call fcn.00482580
xor ebx, eax
xor esi, edx
mov dword [esp + 0x14], esi
mov eax, ebx
mov edx, dword [esp + 0x14]
mov ecx, edx
mov esi, dword [esp + 0x10]
shrd eax, ecx, 8
add esi, 0x2d8
mov ecx, ebx
mov byte [esi + 1], al
mov eax, edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [esi], bl
shrd ebx, eax, 0x18
mov eax, edx
mov byte [esi + 4], dl
shr eax, 8
mov byte [esi + 5], al
mov eax, edx
mov byte [esi + 2], cl
lea ecx, [esi + 8]
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 3], bl
mov byte [esi + 6], al
mov byte [esi + 7], dl
call fcn.00482580
lea ecx, [edi + 8]
mov ebx, eax
mov esi, edx
call fcn.00482580
xor ebx, eax
xor esi, edx
mov dword [esp + 0x14], esi
mov eax, ebx
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, edx
shrd eax, ecx, 8
mov ecx, ebx
mov byte [esi + 1], al
mov eax, edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [esi], bl
shrd ebx, eax, 0x18
mov eax, edx
mov byte [esi + 4], dl
shr eax, 8
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, dword [esp + 0x10]
shr edx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 7], dl
mov byte [esi + 3], bl
lea esi, [eax + 0x2d8]
push eax
mov edx, esi
mov ecx, esi
call fcn.00485b20
movups xmm0, xmmword [esi]
add esp, 4
movups xmmword [edi], xmm0
add edi, 0x10
cmp edi, dword [esp + 0x1c]
jb 0x4873f6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret