joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418a81
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 0x418ab3
push 0x26
push str..._ssharcf.c
push str.keybytes___256
call fcn.0042ae3d
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 0x418ac2
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 0x418af2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41933a
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 0x419361
push 0x11d
push str..._sshblowf.c
push str._len__7___0
call fcn.0042ae3d
add esp, 0xc
mov ecx, dword [ebp + 8]
test ecx, ecx
mov edi, dword [ebx + 0x1048]
mov eax, dword [ebx + 0x104c]
jle 0x419410
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.00418ba2
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 0x419380
mov dword [ebx + 0x1048], edi
pop edi
mov dword [ebx + 0x104c], eax
pop esi
leave
ret
Function at 0x419420
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 0x419447
push 0x139
push str..._sshblowf.c
push str._len__7___0
call fcn.0042ae3d
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 0x419507
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.00418f6e
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 0x41946d
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 0x41951a
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 0x419541
push 0x155
push str..._sshblowf.c
push str._len__7___0
call fcn.0042ae3d
add esp, 0xc
mov ecx, dword [ebp + 8]
test ecx, ecx
mov edi, dword [ebx + 0x1048]
mov eax, dword [ebx + 0x104c]
jle 0x4195f3
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.00418ba2
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 0x419560
mov dword [ebx + 0x1048], edi
pop edi
mov dword [ebx + 0x104c], eax
pop esi
leave
ret
Function at 0x419603
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 0x41962a
push 0x171
push str..._sshblowf.c
push str._len__7___0
call fcn.0042ae3d
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 0x4196ee
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.00418f6e
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 0x419650
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 0x41ad48
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 0x41ad79
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 + 0x441b38]
inc eax
dec edx
mov dword [ebp + 8], ecx
jne 0x41ad56
pop esi
mov eax, dword [ebp + 8]
pop ebp
ret

Function at 0x41b07e
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, 0x441f90
call fcn.0041b047
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push 0x1c
pop eax
mov ecx, 0x442000
call fcn.0041b047
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov esi, 0x442170
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, 0x442070
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.0041b047
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
push eax
push 0x20
pop eax
mov ecx, 0x4420f0
call fcn.0041b047
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
add esi, 4
cmp esi, 0x4421b0
mov dword [ecx + 0x40], eax
jl 0x41b0cb
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 0x41c55f
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 0x41c587
push 0x261
push str..._sshdes.c
push str._len__7___0
call fcn.0042ae3d
add esp, 0xc
test ebx, ebx
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
jbe 0x41c634
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.0041b15b
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 0x41c5a5
pop esi
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], ecx
pop ebx
leave
ret

Function at 0x41c644
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 0x41c66b
push 0x279
push str..._sshdes.c
push str._len__7___0
call fcn.0042ae3d
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 0x41c729
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.0041bb5d
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 0x41c68d
mov eax, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], eax
pop ebx
leave
ret
Function at 0x41c773
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 0x41c79b
push 0x29b
push str..._sshdes.c
push str._len__7___0
call fcn.0042ae3d
add esp, 0xc
test ebx, ebx
mov eax, dword [edi + 0x80]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x84]
jbe 0x41c875
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.0041b15b
push dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x88]
call fcn.0041bb5d
push dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x110]
call fcn.0041b15b
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 0x41c7b7
mov ecx, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], eax
pop ebx
leave
ret
Function at 0x41c8c0
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 0x41c8e7
push 0x2bd
push str..._sshdes.c
push str._len__7___0
call fcn.0042ae3d
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 0x41c9d0
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.0041bb5d
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x88]
call fcn.0041b15b
push dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0041bb5d
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 0x41c909
mov eax, dword [ebp - 4]
pop esi
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], eax
pop ebx
leave
ret

Function at 0x41eb9e
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 0x41ed97
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.0042a6d0
xor ecx, ecx
add esp, 0xc
cmp dword [ebp + 0x10], ecx
jle 0x41edd4
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub edi, eax
cmp ecx, esi
jge 0x41edd4
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x41edc1
mov ebx, dword [ebp + 8]
push ebx
call fcn.0041eb9e
push esi
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.0041ebc9
push esi
lea eax, [ebp - 0x40]
push 0x5c
push eax
call fcn.0042a6d0
xor ecx, ecx
add esp, 0x1c
cmp dword [ebp + 0x10], ecx
jle 0x41ee19
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub edi, eax
cmp ecx, esi
jge 0x41ee19
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, dword [ebp + 0x10]
jl 0x41ee06
lea edx, [ebx + 0x5c]
push edx
call fcn.0041eb9e
push esi
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.0041ebc9
push esi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0042a6d0
add esp, 0x1c
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41f559
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 0x41f57c
cmp al, 0x5a
jg 0x41f57c
movsx eax, al
sub eax, 0x41
jmp 0x41f5b3
cmp al, 0x61
jl 0x41f58c
cmp al, 0x7a
jg 0x41f58c
movsx eax, al
sub eax, 0x47
jmp 0x41f5b3
cmp al, 0x30
jl 0x41f59c
cmp al, 0x39
jg 0x41f59c
movsx eax, al
add eax, 4
jmp 0x41f5b3
cmp al, 0x2b
jne 0x41f5a5
push 0x3e
pop eax
jmp 0x41f5b3
cmp al, 0x2f
jne 0x41f5ad
push 0x3f
jmp 0x41f5a2
cmp al, 0x3d
jne 0x41f5d7
mov eax, edi
mov dword [ebp + ecx*4 - 0x10], eax
inc ecx
cmp ecx, 4
jl 0x41f566
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
je 0x41f5d7
cmp dword [ebp - 0xc], edi
je 0x41f5d7
mov esi, dword [ebp - 8]
cmp esi, edi
mov edx, dword [ebp - 4]
jne 0x41f5dd
cmp edx, edi
je 0x41f5ea
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 0x41f5ed
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 0x41f61a
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
cmp edi, 2
jle 0x41f622
mov byte [edx + 2], cl
mov eax, edi
jmp 0x41f5d9

Function at 0x4204e9
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push 1
mov esi, 0x258
push esi
call fcn.00402908
mov edi, eax
call fcn.0042031b
mov eax, dword [0x44bb40]
push esi
lea eax, [eax + 0x44b690]
push eax
push edi
call fcn.0042ab00
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.0042031b
Function at 0x423827
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 0x423a6d
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.0042a6d0
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x423aa7
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub edi, eax
cmp ecx, esi
jge 0x423aa7
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x423a95
push dword [ebp + 8]
call fcn.00423827
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.00423859
push esi
lea eax, [ebp - 0x40]
push 0x5c
push eax
call fcn.0042a6d0
add esp, 0x1c
xor ecx, ecx
test ebx, ebx
jle 0x423aeb
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
sub edi, eax
cmp ecx, esi
jge 0x423aeb
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc ecx
cmp ecx, ebx
jl 0x423ad9
mov edx, dword [ebp + 8]
add edx, 0x60
push edx
call fcn.00423827
push esi
lea eax, [ebp - 0x40]
push eax
push edx
call fcn.00423859
push esi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0042a6d0
add esp, 0x1c
pop edi
pop esi
leave
ret
Function at 0x42608b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [0x44bbb0], 0
je 0x4260b6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.The_first__s_supported_by_the_server_is_n_s__which_is_below_the_configured_warning_threshold._nConnection_abandoned._n
push 0x4484d8
call fcn.0042bd3a
add esp, 0x10
xor eax, eax
leave
ret
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, 0x4484d8
push dword [ebp + 0xc]
push str.The_first__s_supported_by_the_server_is_n_s__which_is_below_the_configured_warning_threshold._nContinue_with_connection___y_n_
push esi
call fcn.0042bd3a
push esi
call fcn.0042b3cd
add esp, 0x14
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
or eax, 7
push eax
push ebx
call edi
push 0
lea eax, [ebp - 8]
push eax
push 0x1f
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
push ebx
call edi
cmp byte [ebp - 0x28], 0x79
je 0x426133
cmp byte [ebp - 0x28], 0x59
je 0x426133
push str.Connection_abandoned._n
push esi
call fcn.0042bd3a
pop ecx
pop ecx
xor eax, eax
jmp 0x426136
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42613b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [0x44bbb0], 0
push esi
mov esi, 0x4484d8
lea eax, [ebp + 0xc]
je 0x426171
push eax
push 0x104
push str.The_session_log_file___.s__already_exists._nLogging_will_not_be_enabled._n
push esi
call fcn.0042bd3a
push esi
call fcn.0042b3cd
add esp, 0x14
xor eax, eax
jmp 0x4261e6
push edi
push eax
push 0x104
push str.The_session_log_file___.s__already_exists._nYou_can_overwrite_it_with_a_new_session_log__nappend_your_session_log_to_the_end_of_it__nor_disable_session_logging_for_this_session._nEnter__y__to_wipe_the_file___n__to_append_to_it__nor_just_press_Return_to_disable_logging._nWipe_the_log_file___y_n__Return_cancels_logging_
push esi
call fcn.0042bd3a
push esi
call fcn.0042b3cd
add esp, 0x14
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
or eax, 7
push eax
push edi
call esi
push 0
lea eax, [ebp - 8]
push eax
push 0x1f
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
push edi
call esi
mov al, byte [ebp - 0x28]
cmp al, 0x79
pop edi
je 0x4261e3
cmp al, 0x59
je 0x4261e3
cmp al, 0x6e
je 0x4261de
cmp al, 0x4e
jne 0x42616d
xor eax, eax
inc eax
jmp 0x4261e6
push 2
pop eax
pop esi
leave
ret