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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, eax
test bl, 0xf
push esi
mov esi, dword [ebp + 0xc]
je 0x41d36d
push 0x437
push str..._sshaes.c
push str._len__15___0
call fcn.00444ae0
add esp, 0xc
lea eax, [esi + 0x3c8]
push 0x10
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00445380
add esp, 0xc
test ebx, ebx
jle 0x41d43e
push edi
mov edi, dword [ebp + 8]
lea eax, [ebx - 1]
shr eax, 4
add edi, 2
inc eax
mov dword [ebp - 8], eax
jmp 0x41d3a3
mov esi, dword [ebp + 0xc]
push 0x10
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00445380
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [esi + 0x3c0]
add esp, 0x14
xor ecx, ecx
mov eax, edi
movzx esi, byte [eax]
xor edx, edx
mov dh, byte [eax - 2]
mov dl, byte [eax - 1]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 1]
shl edx, 8
or edx, esi
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 4]
lea esi, [ebp + ecx*4 - 0x2c]
mov edi, dword [esi]
shr ebx, 0x18
mov edx, edi
shr edx, 0x18
xor dl, bl
mov ebx, dword [ebp - 4]
mov byte [eax - 2], dl
shr ebx, 0x10
mov edx, edi
shr edx, 0x10
xor dl, bl
mov ebx, dword [ebp - 4]
mov byte [eax - 1], dl
mov edx, edi
shr edx, 8
shr ebx, 8
xor dl, bl
mov byte [eax], dl
mov dl, byte [esi]
xor dl, byte [ebp - 4]
inc ecx
mov byte [eax + 1], dl
add eax, 4
cmp ecx, 4
jl 0x41d3c4
push 3
pop ecx
inc dword [ebp + ecx*4 - 0x1c]
jne 0x41d432
dec ecx
jns 0x41d429
dec dword [ebp - 8]
mov edi, eax
jne 0x41d3a0
pop edi
push 0x10
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
call fcn.00445380
add esp, 0xc
pop esi
pop ebx
leave
ret

Function at 0x41d56d
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov cl, byte [eax]
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
mov byte [ebp + 0xb], cl
mov cl, byte [eax + 1]
mov byte [ebp - 1], cl
jle 0x41d5d1
push ebx
push esi
push edi
inc byte [ebp + 0xb]
movzx ecx, byte [ebp + 0xb]
lea esi, [ecx + eax + 2]
mov dl, byte [esi]
add byte [ebp - 1], dl
movzx ecx, byte [ebp - 1]
mov edi, dword [ebp + 0xc]
lea ecx, [ecx + eax + 2]
mov bl, byte [ecx]
mov byte [esi], bl
mov byte [ecx], dl
mov ecx, dword [ebp - 8]
xor ebx, ebx
mov bl, byte [esi]
add edi, ecx
add ebx, edx
and ebx, 0xff
mov dl, byte [ebx + eax + 2]
xor byte [edi], dl
inc ecx
cmp ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
jl 0x41d58d
pop edi
pop esi
pop ebx
mov cl, byte [ebp + 0xb]
mov byte [eax], cl
mov cl, byte [ebp - 1]
mov byte [eax + 1], cl
leave
ret
Function at 0x41d5de
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, eax
mov esi, pe_nt_image_headers32
cmp dword [ebp + 0xc], esi
lea ebx, [edi + 2]
mov dword [ebp - 8], ebx
jbe 0x41d610
push 0x26
push str..._ssharcf.c
push str.keybytes___256
call fcn.00444ae0
add esp, 0xc
xor ecx, ecx
lea eax, [ebp - 0x108]
mov byte [edi + 1], cl
mov byte [edi], cl
sub ebx, eax
xor edx, edx
mov eax, ecx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea edi, [ebp + ecx - 0x108]
mov byte [ebx + edi], cl
inc ecx
cmp ecx, esi
mov al, byte [edx + eax]
mov byte [edi], al
jb 0x41d61f
mov eax, dword [ebp - 8]
and dword [ebp + 0xc], 0
lea edi, [ebp - 0x108]
sub edi, eax
mov dword [ebp - 4], esi
mov cl, byte [eax]
mov esi, dword [ebp - 8]
xor ebx, ebx
xor edx, edx
mov dl, byte [edi + eax]
mov bl, cl
add ebx, dword [ebp + 0xc]
add edx, ebx
and edx, 0xff
add esi, edx
mov dword [ebp + 0xc], edx
mov dl, byte [esi]
mov byte [eax], dl
inc eax
dec dword [ebp - 4]
mov byte [esi], cl
jne 0x41d64f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41de97
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
test byte [ebp + 8], 7
push esi
push edi
mov esi, eax
je 0x41debe
push 0x11d
push str..._sshblowf.c
push str._len__7___0
call fcn.00444ae0
add esp, 0xc
mov ecx, dword [ebp + 8]
test ecx, ecx
mov edi, dword [ebx + 0x1048]
mov eax, dword [ebx + 0x104c]
jle 0x41df6d
dec ecx
shr ecx, 3
inc ecx
mov dword [ebp + 8], ecx
movzx edx, byte [esi + 5]
xor ecx, ecx
mov ch, byte [esi + 7]
mov cl, byte [esi + 6]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 4]
shl ecx, 8
or ecx, edx
xor ecx, eax
xor eax, eax
mov ah, byte [esi + 3]
push ecx
movzx ecx, byte [esi + 1]
mov al, byte [esi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi]
shl eax, 8
or eax, ecx
xor eax, edi
push eax
mov eax, ebx
lea edi, [ebp - 0xc]
call fcn.0041d6ff
mov eax, dword [ebp - 0xc]
mov edx, eax
mov byte [esi], al
shr edx, 8
mov edi, eax
mov byte [esi + 1], dl
mov edx, eax
shr eax, 0x18
mov byte [esi + 3], al
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 8
mov byte [esi + 5], al
mov eax, ecx
mov dword [ebp - 4], ecx
mov byte [esi + 4], cl
shr eax, 0x10
shr edx, 0x10
shr ecx, 0x18
mov byte [esi + 6], al
mov eax, dword [ebp - 4]
mov byte [esi + 2], dl
mov byte [esi + 7], cl
add esi, 8
dec dword [ebp + 8]
jne 0x41dedd
mov dword [ebx + 0x1048], edi
pop edi
mov dword [ebx + 0x104c], eax
pop esi
leave
ret
Function at 0x41df7d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test byte [ebp + 8], 7
push ebx
push esi
mov esi, eax
je 0x41dfa4
push 0x139
push str..._sshblowf.c
push str._len__7___0
call fcn.00444ae0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x104c]
mov ebx, dword [eax + 0x1048]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x41e064
dec ecx
shr ecx, 3
inc ecx
push edi
mov dword [ebp - 0xc], ecx
movzx edx, byte [esi + 1]
xor ecx, ecx
mov ch, byte [esi + 3]
lea edi, [ebp - 0x14]
mov cl, byte [esi + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 5]
mov dword [ebp + 8], ecx
xor ecx, ecx
mov ch, byte [esi + 7]
mov cl, byte [esi + 6]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 4]
shl ecx, 8
or ecx, edx
push ecx
push dword [ebp + 8]
mov dword [ebp - 8], ecx
call fcn.0041dacb
xor ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, ebx
shr ecx, 8
mov byte [esi + 1], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 2], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov ecx, eax
shr eax, 0x18
mov byte [esi], bl
shr ebx, 0x18
shr ecx, 0x10
mov byte [esi + 7], al
mov eax, dword [ebp - 8]
mov byte [esi + 3], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 6], cl
add esi, 8
dec dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
jne 0x41dfca
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov dword [eax + 0x1048], ebx
mov dword [eax + 0x104c], ecx
pop ebx
leave
ret

Function at 0x41e077
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
test byte [ebp + 8], 7
push esi
push edi
mov esi, eax
je 0x41e09e
push 0x155
push str..._sshblowf.c
push str._len__7___0
call fcn.00444ae0
add esp, 0xc
mov ecx, dword [ebp + 8]
test ecx, ecx
mov edi, dword [ebx + 0x1048]
mov eax, dword [ebx + 0x104c]
jle 0x41e150
dec ecx
shr ecx, 3
inc ecx
mov dword [ebp + 8], ecx
movzx edx, byte [esi + 6]
xor ecx, ecx
mov ch, byte [esi + 4]
mov cl, byte [esi + 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 7]
shl ecx, 8
or ecx, edx
xor ecx, eax
xor eax, eax
mov ah, byte [esi]
push ecx
movzx ecx, byte [esi + 2]
mov al, byte [esi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, ecx
xor eax, edi
push eax
mov eax, ebx
lea edi, [ebp - 0xc]
call fcn.0041d6ff
mov eax, dword [ebp - 0xc]
mov edx, eax
shr edx, 0x18
mov byte [esi], dl
mov edx, eax
mov byte [esi + 3], al
mov edi, eax
shr edx, 0x10
pop ecx
mov byte [esi + 1], dl
mov edx, eax
pop ecx
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 5], al
mov eax, ecx
shr eax, 8
shr edx, 8
mov byte [esi + 6], al
mov byte [esi + 2], dl
mov byte [esi + 7], cl
add esi, 8
dec dword [ebp + 8]
mov dword [ebp - 4], ecx
mov eax, ecx
jne 0x41e0bd
mov dword [ebx + 0x1048], edi
pop edi
mov dword [ebx + 0x104c], eax
pop esi
leave
ret
Function at 0x41e160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test byte [ebp + 8], 7
push ebx
push esi
mov esi, eax
je 0x41e187
push 0x171
push str..._sshblowf.c
push str._len__7___0
call fcn.00444ae0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x104c]
mov ebx, dword [eax + 0x1048]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x41e24b
dec ecx
shr ecx, 3
inc ecx
push edi
mov dword [ebp - 0xc], ecx
movzx edx, byte [esi + 2]
xor ecx, ecx
mov ch, byte [esi]
lea edi, [ebp - 0x14]
mov cl, byte [esi + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 6]
mov dword [ebp + 8], ecx
xor ecx, ecx
mov ch, byte [esi + 4]
mov cl, byte [esi + 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 7]
shl ecx, 8
or ecx, edx
push ecx
push dword [ebp + 8]
mov dword [ebp - 8], ecx
call fcn.0041dacb
xor ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, ebx
shr ecx, 0x18
mov byte [esi], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 1], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 7], al
mov eax, dword [ebp - 8]
mov byte [esi + 3], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 6], cl
add esi, 8
dec dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
jne 0x41e1ad
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov dword [eax + 0x1048], ebx
mov dword [eax + 0x104c], ecx
pop ebx
leave
ret
Function at 0x41f8a5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
mov eax, dword [ebp + 0xc]
je 0x41f8d6
push esi
movzx ecx, byte [eax]
mov esi, dword [ebp + 8]
and esi, 0xff
xor esi, ecx
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [esi*4 + 0x45e750]
inc eax
dec edx
mov dword [ebp + 8], ecx
jne 0x41f8b3
pop esi
mov eax, dword [ebp + 8]
pop ebp
ret

Function at 0x41fbdb
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0xc], eax
push edi
lea eax, [ebp - 0x10]
push eax
push 0x1c
pop eax
mov ecx, 0x45eba8
call fcn.0041fba4
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push 0x1c
pop eax
mov ecx, 0x45ec18
call fcn.0041fba4
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov esi, 0x45ed88
pop ecx
sub eax, esi
pop ecx
mov dword [ebp - 8], eax
mov edi, 0xfffffff
mov ecx, dword [esi]
push 0x1c
pop eax
sub eax, dword [esi]
mov edx, ebx
shl edx, cl
mov ecx, eax
shr ebx, cl
mov ecx, dword [esi]
or edx, ebx
and edx, edi
mov ebx, edx
mov edx, dword [ebp + 8]
shl edx, cl
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov ecx, eax
mov eax, dword [ebp + 8]
shr eax, cl
mov ecx, 0x45ec88
mov dword [ebp - 0xc], ebx
or edx, eax
and edx, edi
mov eax, edx
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
add eax, esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0x20
pop eax
call fcn.0041fba4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
push eax
push 0x20
pop eax
mov ecx, 0x45ed08
call fcn.0041fba4
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
add esi, 4
cmp esi, 0x45edc8
mov dword [ecx + 0x40], eax
jl 0x41fc28
mov eax, dword [ebp + 0xc]
and dword [eax + 0x84], 0
and dword [eax + 0x80], 0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4210bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, eax
test bl, 7
push esi
mov esi, ecx
je 0x4210e4
push 0x261
push str..._sshdes.c
push str._len__7___0
call fcn.00444ae0
add esp, 0xc
test ebx, ebx
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
jbe 0x421191
lea edx, [ebx - 1]
shr edx, 3
inc edx
mov dword [ebp - 4], edx
movzx ebx, byte [esi + 6]
xor edx, edx
mov dh, byte [esi + 4]
mov dl, byte [esi + 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [esi + 7]
shl edx, 8
or edx, ebx
movzx ebx, byte [esi + 2]
xor edx, ecx
xor ecx, ecx
mov ch, byte [esi]
mov cl, byte [esi + 1]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 3]
shl ecx, 8
or ecx, ebx
xor ecx, eax
push ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0041fcb8
mov eax, dword [ebp - 0x10]
mov edx, eax
shr edx, 0x18
mov byte [esi], dl
mov edx, eax
shr edx, 0x10
mov byte [esi + 1], dl
pop ecx
mov edx, eax
shr edx, 8
mov byte [esi + 2], dl
pop ecx
mov ecx, dword [ebp - 0xc]
mov edx, ecx
shr edx, 0x18
mov byte [esi + 4], dl
mov edx, ecx
shr edx, 0x10
mov byte [esi + 5], dl
mov edx, ecx
shr edx, 8
mov byte [esi + 3], al
mov byte [esi + 6], dl
mov byte [esi + 7], cl
add esi, 8
dec dword [ebp - 4]
mov dword [ebp - 8], ecx
jne 0x421102
pop esi
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], ecx
pop ebx
leave
ret

Function at 0x4211a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test byte [ebp + 8], 7
push ebx
push esi
mov esi, eax
je 0x4211c8
push 0x279
push str..._sshdes.c
push str._len__7___0
call fcn.00444ae0
add esp, 0xc
mov eax, dword [edi + 0x84]
mov ebx, dword [edi + 0x80]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jbe 0x421286
dec eax
shr eax, 3
inc eax
mov dword [ebp - 8], eax
movzx ecx, byte [esi + 2]
xor eax, eax
mov ah, byte [esi]
xor edx, edx
mov dh, byte [esi + 4]
mov al, byte [esi + 1]
mov dl, byte [esi + 5]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, ecx
mov dword [ebp + 8], eax
movzx eax, byte [esi + 6]
push dword [ebp + 8]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 7]
shl edx, 8
or edx, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov dword [ebp - 0xc], edx
call fcn.004206ba
xor ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, ebx
shr ecx, 0x18
mov byte [esi], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 1], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 3], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 7], al
mov eax, dword [ebp - 0xc]
mov byte [esi + 6], cl
add esi, 8
dec dword [ebp - 8]
mov dword [ebp - 4], eax
jne 0x4211ea
mov eax, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], eax
pop ebx
leave
ret
Function at 0x4212d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, eax
test bl, 7
push esi
mov esi, ecx
je 0x4212f8
push 0x29b
push str..._sshdes.c
push str._len__7___0
call fcn.00444ae0
add esp, 0xc
test ebx, ebx
mov eax, dword [edi + 0x80]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x84]
jbe 0x4213d2
dec ebx
shr ebx, 3
inc ebx
movzx ecx, byte [esi + 6]
xor edx, edx
mov dh, byte [esi + 4]
mov dl, byte [esi + 5]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 7]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
xor edx, eax
xor eax, eax
mov ah, byte [esi]
mov al, byte [esi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, ecx
xor eax, dword [ebp - 4]
mov ecx, edi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041fcb8
push dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x88]
call fcn.004206ba
push dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x110]
call fcn.0041fcb8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, eax
shr edx, 0x18
mov byte [esi], dl
mov edx, eax
mov byte [esi + 3], al
mov dword [ebp - 4], eax
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, eax
mov eax, ecx
shr eax, 0x18
mov byte [esi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 5], al
mov eax, ecx
shr eax, 8
shr edx, 8
mov byte [esi + 6], al
mov byte [esi + 2], dl
mov byte [esi + 7], cl
add esp, 0x18
add esi, 8
dec ebx
mov dword [ebp - 8], ecx
mov eax, ecx
jne 0x421314
mov ecx, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], eax
pop ebx
leave
ret
Function at 0x42141d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test byte [ebp + 8], 7
push ebx
push esi
mov esi, eax
je 0x421444
push 0x2bd
push str..._sshdes.c
push str._len__7___0
call fcn.00444ae0
add esp, 0xc
mov eax, dword [edi + 0x84]
mov ebx, dword [edi + 0x80]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jbe 0x42152d
dec eax
shr eax, 3
inc eax
mov dword [ebp - 8], eax
movzx ecx, byte [esi + 2]
xor eax, eax
mov ah, byte [esi]
xor edx, edx
mov dh, byte [esi + 4]
mov al, byte [esi + 1]
mov dl, byte [esi + 5]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, ecx
mov dword [ebp + 8], eax
movzx eax, byte [esi + 6]
push dword [ebp + 8]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 7]
shl edx, 8
or edx, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x110]
mov dword [ebp - 0xc], edx
call fcn.004206ba
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x88]
call fcn.0041fcb8
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.004206ba
xor ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x10]
mov ecx, ebx
shr ecx, 0x18
mov byte [esi], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 1], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 3], bl
mov ebx, dword [ebp + 8]
mov byte [esi + 7], al
mov eax, dword [ebp - 0xc]
mov byte [esi + 6], cl
add esp, 0x18
add esi, 8
dec dword [ebp - 8]
mov dword [ebp - 4], eax
jne 0x421466
mov eax, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], eax
pop ebx
leave
ret

Function at 0x42374a
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x54], ecx
ret
Function at 0x423943
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x40
pop esi
push esi
lea eax, [ebp - 0x40]
push 0x36
push eax
call fcn.00444660
xor ecx, ecx
add esp, 0xc
cmp dword [ebp + 0x10], ecx
jle 0x423980
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub edi, eax
cmp ecx, esi
jge 0x423980
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x42396d
mov ebx, dword [ebp + 8]
push ebx
call fcn.0042374a
push esi
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.00423775
push esi
lea eax, [ebp - 0x40]
push 0x5c
push eax
call fcn.00444660
xor ecx, ecx
add esp, 0x1c
cmp dword [ebp + 0x10], ecx
jle 0x4239c5
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub edi, eax
cmp ecx, esi
jge 0x4239c5
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x4239b2
lea edx, [ebx + 0x5c]
push edx
call fcn.0042374a
push esi
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.00423775
push esi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00444660
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret

Function at 0x424105
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor ecx, ecx
or edi, 0xffffffff
mov eax, dword [ebp + 8]
mov al, byte [ecx + eax]
cmp al, 0x41
jl 0x424128
cmp al, 0x5a
jg 0x424128
movsx eax, al
sub eax, 0x41
jmp 0x42415f
cmp al, 0x61
jl 0x424138
cmp al, 0x7a
jg 0x424138
movsx eax, al
sub eax, 0x47
jmp 0x42415f
cmp al, 0x30
jl 0x424148
cmp al, 0x39
jg 0x424148
movsx eax, al
add eax, 4
jmp 0x42415f
cmp al, 0x2b
jne 0x424151
push 0x3e
pop eax
jmp 0x42415f
cmp al, 0x2f
jne 0x424159
push 0x3f
jmp 0x42414e
cmp al, 0x3d
jne 0x424183
mov eax, edi
mov dword [ebp + ecx*4 - 0x10], eax
inc ecx
cmp ecx, 4
jl 0x424112
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x424183
cmp dword [ebp - 0xc], edi
je 0x424183
mov esi, dword [ebp - 8]
cmp esi, edi
mov edx, dword [ebp - 4]
jne 0x424189
cmp edx, edi
je 0x424196
xor eax, eax
pop edi
pop esi
leave
ret
xor eax, eax
cmp edx, edi
setne al
inc eax
inc eax
mov edi, eax
jmp 0x424199
xor edi, edi
inc edi
shl ecx, 6
or ecx, dword [ebp - 0xc]
and esi, 0x3f
shl ecx, 6
or ecx, esi
and edx, 0x3f
shl ecx, 6
or ecx, edx
mov edx, dword [ebp + 0xc]
mov eax, ecx
shr eax, 0x10
cmp edi, 1
mov byte [edx], al
jle 0x4241c6
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
cmp edi, 2
jle 0x4241ce
mov byte [edx + 2], cl
mov eax, edi
jmp 0x424185

Function at 0x425095
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push 1
mov esi, 0x258
push esi
call fcn.00409eda
mov edi, eax
call fcn.00424ec7
mov eax, dword [0x46b3e8]
push esi
lea eax, [eax + 0x46af38]
push eax
push edi
call fcn.00445380
mov eax, dword [esp + 0x24]
mov dword [eax], esi
mov eax, dword [esp + 0x20]
add esp, 0x14
mov dword [eax], edi
pop edi
pop esi
jmp fcn.00424ec7
Function at 0x428389
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x58], ecx
ret

Function at 0x4285cf
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x40
pop esi
push esi
lea eax, [ebp - 0x40]
push 0x36
push eax
call fcn.00444660
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x428609
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub edi, eax
cmp ecx, esi
jge 0x428609
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x4285f7
push dword [ebp + 8]
call fcn.00428389
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.004283bb
push esi
lea eax, [ebp - 0x40]
push 0x5c
push eax
call fcn.00444660
add esp, 0x1c
xor ecx, ecx
test ebx, ebx
jle 0x42864d
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub edi, eax
cmp ecx, esi
jge 0x42864d
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x42863b
mov edx, dword [ebp + 8]
add edx, 0x60
push edx
call fcn.00428389
push esi
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.004283bb
push esi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00444660
add esp, 0x1c
pop edi
pop esi
leave
ret