joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406f99
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
xor ebx, ebx
push ebx
push 0x29
push esi
call fcn.00402362
mov ebp, 0x437367
push ebp
push 0x13
push esi
call fcn.0040243b
push ebp
push 0x14
push esi
call fcn.0040243b
push ebp
push 0x2c
push esi
call fcn.0040243b
mov edi, dword [esp + 0x70]
push ebx
push esi
push ebp
push str.HostName
push edi
call fcn.00406bdf
add esp, 0x44
push 0x72
push esi
push str.LogFileName
push edi
call fcn.00406c45
push 0x73
push esi
push ebx
push str.LogType
push edi
call fcn.00406c9e
push 0x74
push esi
push 0xffffffffffffffff
push str.LogFileClash
push edi
call fcn.00406c9e
push 0x75
push esi
push 1
push str.LogFlush
push edi
call fcn.00406c9e
add esp, 0x4c
push 0x76
push esi
push 1
push str.SSHLogOmitPasswords
push edi
call fcn.00406c9e
push 0x77
push esi
push ebx
push str.SSHLogOmitData
push edi
call fcn.00406c9e
push str.default
push str.Protocol
push edi
call fcn.00406baa
push dword [0x44a0ec]
mov dword [esp + 0x50], eax
push 2
push esi
call fcn.00402362
add esp, 0x40
push dword [0x44a0f4]
push 1
push esi
call fcn.00402362
push dword [esp + 0x24]
call fcn.00406b22
add esp, 0x10
invalid
Function at 0x416dea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, eax
test bl, 0xf
push edi
mov edi, dword [ebp + 0xc]
je 0x416e13
push 0x409
push str..._sshaes.c
push str._len__15___0
call fcn.0042db48
add esp, 0xc
lea eax, [edi + 0x3c8]
push 0x10
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042df20
add esp, 0xc
test ebx, ebx
jle 0x416ebd
mov eax, dword [ebp + 8]
add eax, 2
mov dword [ebp - 4], eax
lea eax, [ebx - 1]
shr eax, 4
inc eax
push esi
mov dword [ebp - 8], eax
jmp 0x416e4c
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
xor eax, eax
movzx edx, byte [esi]
xor ecx, ecx
mov ch, byte [esi - 2]
add esi, 4
mov cl, byte [esi - 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi - 3]
shl ecx, 8
or ecx, edx
xor dword [ebp + eax*4 - 0x1c], ecx
inc eax
cmp eax, 4
jl 0x416e51
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [edi + 0x3c0]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
xor edx, edx
lea ecx, [ebp + edx*4 - 0x1c]
mov edi, dword [ecx]
mov cl, byte [ecx]
mov ebx, edi
shr ebx, 0x18
mov byte [eax - 2], bl
mov ebx, edi
shr ebx, 0x10
mov byte [eax - 1], bl
mov ebx, edi
shr ebx, 8
mov byte [eax], bl
mov byte [eax + 1], cl
inc edx
add eax, 4
cmp edx, 4
jl 0x416e89
dec dword [ebp - 8]
mov dword [ebp - 4], esi
jne 0x416e49
pop esi
push 0x10
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
call fcn.0042df20
add esp, 0xc
pop edi
pop ebx
leave
ret

Function at 0x416ed2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, eax
test bl, 0xf
push esi
mov esi, dword [ebp + 0xc]
je 0x416efb
push 0x41f
push str..._sshaes.c
push str._len__15___0
call fcn.0042db48
add esp, 0xc
lea eax, [esi + 0x3c8]
push 0x10
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042df20
add esp, 0xc
test ebx, ebx
jle 0x416fce
push edi
mov edi, dword [ebp + 8]
lea eax, [ebx - 1]
shr eax, 4
add edi, 2
inc eax
mov dword [ebp - 4], eax
jmp 0x416f31
mov esi, dword [ebp + 0xc]
mov eax, edi
xor ecx, ecx
movzx ebx, byte [eax]
xor edx, edx
mov dh, byte [eax - 2]
add ecx, 4
add eax, 4
mov dl, byte [eax - 5]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax - 3]
shl edx, 8
or edx, ebx
cmp ecx, 0x10
mov dword [ebp + ecx - 0x40], edx
mov dword [ebp + ecx - 0x20], edx
jl 0x416f35
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [esi + 0x3c4]
pop ecx
mov eax, edi
pop ecx
xor edi, edi
lea ecx, [ebp + edi - 0x1c]
mov edx, dword [ecx]
lea esi, [ebp + edi - 0x2c]
mov ebx, dword [esi]
shr edx, 0x18
shr ebx, 0x18
xor bl, dl
mov edx, dword [esi]
mov byte [eax - 2], bl
mov ebx, dword [ecx]
shr edx, 0x10
shr ebx, 0x10
xor dl, bl
mov ebx, dword [ecx]
mov cl, byte [ecx]
xor cl, byte [esi]
mov byte [eax - 1], dl
mov edx, dword [esi]
shr edx, 8
shr ebx, 8
xor dl, bl
mov byte [eax + 1], cl
mov ecx, dword [ebp + edi - 0x3c]
mov byte [eax], dl
add edi, 4
add eax, 4
cmp edi, 0x10
mov dword [esi], ecx
jl 0x416f75
dec dword [ebp - 4]
mov edi, dword [ebp - 8]
jne 0x416f2e
pop edi
push 0x10
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0xc]
call fcn.0042df20
add esp, 0xc
pop esi
pop ebx
leave
ret
Function at 0x416fe3
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 0x41700c
push 0x437
push str..._sshaes.c
push str._len__15___0
call fcn.0042db48
add esp, 0xc
lea eax, [esi + 0x3c8]
push 0x10
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042df20
add esp, 0xc
test ebx, ebx
jle 0x4170dd
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 0x417042
mov esi, dword [ebp + 0xc]
push 0x10
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042df20
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 0x417063
push 3
pop ecx
inc dword [ebp + ecx*4 - 0x1c]
jne 0x4170d1
dec ecx
jns 0x4170c8
dec dword [ebp - 8]
mov edi, eax
jne 0x41703f
pop edi
push 0x10
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
call fcn.0042df20
add esp, 0xc
pop esi
pop ebx
leave
ret

Function at 0x41720f
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 0x417273
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 0x41722f
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 0x417280
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, 0x100
cmp dword [ebp + 0xc], esi
lea ebx, [edi + 2]
mov dword [ebp - 8], ebx
jbe 0x4172b2
push 0x26
push str..._ssharcf.c
push str.keybytes___256
call fcn.0042db48
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 0x4172c1
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 0x4172f1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417b37
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 0x417b5e
push 0x11d
push str..._sshblowf.c
push str._len__7___0
call fcn.0042db48
add esp, 0xc
mov ecx, dword [ebp + 8]
test ecx, ecx
mov edi, dword [ebx + 0x1048]
mov eax, dword [ebx + 0x104c]
jle 0x417c0d
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.0041739f
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 0x417b7d
mov dword [ebx + 0x1048], edi
pop edi
mov dword [ebx + 0x104c], eax
pop esi
leave
ret
Function at 0x417c1d
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 0x417c44
push 0x139
push str..._sshblowf.c
push str._len__7___0
call fcn.0042db48
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 0x417d04
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.0041776b
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 0x417c6a
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 0x417d17
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 0x417d3e
push 0x155
push str..._sshblowf.c
push str._len__7___0
call fcn.0042db48
add esp, 0xc
mov ecx, dword [ebp + 8]
test ecx, ecx
mov edi, dword [ebx + 0x1048]
mov eax, dword [ebx + 0x104c]
jle 0x417df0
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.0041739f
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 0x417d5d
mov dword [ebx + 0x1048], edi
pop edi
mov dword [ebx + 0x104c], eax
pop esi
leave
ret
Function at 0x417e00
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 0x417e27
push 0x171
push str..._sshblowf.c
push str._len__7___0
call fcn.0042db48
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 0x417eeb
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.0041776b
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 0x417e4d
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 0x41a102
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 0x41a133
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 + 0x440d38]
inc eax
dec edx
mov dword [ebp + 8], ecx
jne 0x41a110
pop esi
mov eax, dword [ebp + 8]
pop ebp
ret

Function at 0x41a438
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, 0x441190
call fcn.0041a401
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push 0x1c
pop eax
mov ecx, 0x441200
call fcn.0041a401
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov esi, 0x441370
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, 0x441270
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.0041a401
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
push eax
push 0x20
pop eax
mov ecx, 0x4412f0
call fcn.0041a401
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
add esi, 4
cmp esi, 0x4413b0
mov dword [ecx + 0x40], eax
jl 0x41a485
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 0x41b919
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 0x41b941
push 0x261
push str..._sshdes.c
push str._len__7___0
call fcn.0042db48
add esp, 0xc
test ebx, ebx
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
jbe 0x41b9ee
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.0041a515
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 0x41b95f
pop esi
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], ecx
pop ebx
leave
ret

Function at 0x41b9fe
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 0x41ba25
push 0x279
push str..._sshdes.c
push str._len__7___0
call fcn.0042db48
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 0x41bae3
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.0041af17
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 0x41ba47
mov eax, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], eax
pop ebx
leave
ret
Function at 0x41bb2d
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 0x41bb55
push 0x29b
push str..._sshdes.c
push str._len__7___0
call fcn.0042db48
add esp, 0xc
test ebx, ebx
mov eax, dword [edi + 0x80]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x84]
jbe 0x41bc2f
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.0041a515
push dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x88]
call fcn.0041af17
push dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x110]
call fcn.0041a515
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 0x41bb71
mov ecx, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], eax
pop ebx
leave
ret
Function at 0x41bc7a
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 0x41bca1
push 0x2bd
push str..._sshdes.c
push str._len__7___0
call fcn.0042db48
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 0x41bd8a
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.0041af17
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x88]
call fcn.0041a515
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0041af17
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 0x41bcc3
mov eax, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], eax
pop ebx
leave
ret

Function at 0x41e37b
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