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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0x411
push esi
push edi
je 0x4d30ba
dec eax
je 0x4d3095
dec eax
je 0x4d3066
sub eax, 4
je 0x4d3047
dec eax
je 0x4d3025
mov eax, 0xfffff445
jmp 0x4d30e5
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push 0x10
mov eax, edi
sub ecx, edi
pop esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x4d3032
mov esi, dword [ebp + 0xc]
push esi
push edi
push 0xe
jmp 0x4d30d7
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push 0x10
mov eax, edi
sub ecx, edi
pop esi
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x4d3054
mov esi, dword [ebp + 0xc]
push esi
push edi
push 0xc
jmp 0x4d30d7
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push 8
mov eax, esi
sub ecx, esi
pop edi
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec edi
jne 0x4d3073
mov edi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 0x14]
call fcn.004c4f3e
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
jmp 0x4d30e3
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push 8
mov eax, esi
sub ecx, esi
pop edi
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec edi
jne 0x4d30a2
mov edi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 0x14]
call fcn.004c51de
jmp 0x4d3089
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push 0x10
mov eax, edi
sub ecx, edi
pop esi
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x4d30c7
mov esi, dword [ebp + 0xc]
push esi
push edi
push 0xa
push dword [ebp + 0x14]
call fcn.004c5ad0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x4d30f0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0x411
push ebx
push esi
push edi
je 0x4d316e
dec eax
je 0x4d3151
dec eax
je 0x4d3134
sub eax, 4
je 0x4d3127
dec eax
je 0x4d311a
mov eax, 0xfffff445
jmp 0x4d31be
push 0x10
pop ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0xe
jmp 0x4d3179
push 0x10
pop ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0xc
jmp 0x4d3179
mov esi, dword [ebp + 0x10]
push 8
pop ebx
push dword [ebp + 0xc]
mov edi, 0x4e22d4
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
call fcn.004c4f3e
jmp 0x4d318d
mov esi, dword [ebp + 0x10]
push 8
pop ebx
push dword [ebp + 0xc]
mov edi, 0x4e22d4
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
call fcn.004c51de
jmp 0x4d318d
push 0x10
pop ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 0xa
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov edi, 0x4e22d4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c6822
test ebx, ebx
jle 0x4d31a4
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
sub esi, eax
mov edi, ebx
mov cl, byte [esi + eax]
xor byte [eax], cl
inc eax
dec edi
jne 0x4d319b
mov edi, dword [ebp + 0x18]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov esi, 0x4e22d4
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x4d31ca
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0x411
push ebx
push esi
push edi
je 0x4d3248
dec eax
je 0x4d322b
dec eax
je 0x4d320e
sub eax, 4
je 0x4d3201
dec eax
je 0x4d31f4
mov eax, 0xfffff445
jmp 0x4d3298
push 0x10
pop ebx
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0xe
jmp 0x4d3253
push 0x10
pop ebx
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0xc
jmp 0x4d3253
mov esi, dword [ebp + 0x10]
push 8
pop ebx
push dword [ebp + 0xc]
mov edi, 0x4e22d4
push dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
call fcn.004c4f3e
jmp 0x4d3267
mov esi, dword [ebp + 0x10]
push 8
pop ebx
push dword [ebp + 0xc]
mov edi, 0x4e22d4
push dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
call fcn.004c51de
jmp 0x4d3267
push 0x10
pop ebx
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0xa
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov edi, 0x4e22d4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c5ad0
test ebx, ebx
jle 0x4d3280
mov eax, dword [ebp + 0xc]
mov esi, 0x4e22d4
sub esi, eax
mov edi, ebx
mov cl, byte [esi + eax]
xor byte [eax], cl
inc eax
dec edi
jne 0x4d3277
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x4d32a4
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0x411
push ebx
push esi
push edi
je 0x4d3328
dec eax
je 0x4d3305
dec eax
je 0x4d32e2
sub eax, 4
je 0x4d32d8
dec eax
je 0x4d32ce
mov eax, 0xfffff445
jmp 0x4d337b
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0xe
jmp 0x4d3330
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0xc
jmp 0x4d3330
push dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x18]
mov ebx, 0x4e22d4
push dword [ebp + 0x14]
mov edi, ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp + 8], 8
movsd dword es:[edi], dword [esi]
call fcn.004c4f3e
jmp 0x4d334d
push dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x18]
mov ebx, 0x4e22d4
push dword [ebp + 0x14]
mov edi, ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp + 8], 8
movsd dword es:[edi], dword [esi]
call fcn.004c51de
jmp 0x4d334d
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0xa
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov ebx, 0x4e22d4
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 8], 0x10
call fcn.004c5ad0
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x4d3366
mov eax, dword [ebp + 0xc]
mov esi, ebx
sub esi, eax
mov edi, ecx
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x4d335d
mov edi, dword [ebp + 0x18]
mov eax, ecx
shr ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x4d3387
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0x411
push ebx
push esi
push edi
je 0x4d3405
dec eax
je 0x4d33e8
dec eax
je 0x4d33cb
sub eax, 4
je 0x4d33be
dec eax
je 0x4d33b1
mov eax, 0xfffff445
jmp 0x4d3455
push 0x10
pop ebx
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0xe
jmp 0x4d3410
push 0x10
pop ebx
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0xc
jmp 0x4d3410
mov esi, dword [ebp + 0x10]
push 8
pop ebx
push dword [ebp + 0xc]
mov edi, 0x4e22d4
push dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
call fcn.004c4f3e
jmp 0x4d3424
mov esi, dword [ebp + 0x10]
push 8
pop ebx
push dword [ebp + 0xc]
mov edi, 0x4e22d4
push dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
call fcn.004c51de
jmp 0x4d3424
push 0x10
pop ebx
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0xa
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov edi, 0x4e22d4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c5ad0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebx, ebx
rep movsb byte es:[edi], byte [esi]
jle 0x4d3453
mov eax, dword [ebp + 0xc]
mov ecx, 0x4e22d4
sub ecx, eax
mov esi, ebx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x4d344a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x4d3461
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0x411
push ebx
push esi
push edi
je 0x4d3529
dec eax
je 0x4d34ed
dec eax
je 0x4d34b1
sub eax, 4
je 0x4d34a0
dec eax
je 0x4d348f
mov eax, 0xfffff445
jmp 0x4d3582
mov eax, dword [ebp + 0x18]
push 0x10
pop ebx
push dword [ebp + 0xc]
push eax
push 0xe
jmp 0x4d3535
mov eax, dword [ebp + 0x18]
push 0x10
pop ebx
push dword [ebp + 0xc]
push eax
push 0xc
jmp 0x4d3535
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov edx, ecx
shr edx, 0x18
mov byte [eax + 4], dl
mov edx, ecx
shr edx, 0x10
push 8
mov byte [eax + 5], dl
pop ebx
push dword [ebp + 0xc]
mov edx, ecx
shr edx, 8
mov byte [eax + 6], dl
mov byte [eax + 7], cl
mov edi, 0x4e22d4
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
call fcn.004c4f3e
jmp 0x4d3567
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov edx, ecx
shr edx, 0x18
mov byte [eax + 4], dl
mov edx, ecx
shr edx, 0x10
push 8
mov byte [eax + 5], dl
pop ebx
push dword [ebp + 0xc]
mov edx, ecx
shr edx, 8
mov byte [eax + 6], dl
mov byte [eax + 7], cl
mov edi, 0x4e22d4
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
call fcn.004c51de
jmp 0x4d3567
mov eax, dword [ebp + 0x18]
push 0x10
pop ebx
push dword [ebp + 0xc]
push eax
push 0xa
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0xc], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 0xd], dl
mov edx, ecx
mov byte [eax + 0xf], cl
shr edx, 8
mov byte [eax + 0xe], dl
mov edi, 0x4e22d4
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c5ad0
test ebx, ebx
jle 0x4d3580
mov eax, dword [ebp + 0xc]
mov ecx, 0x4e22d4
sub ecx, eax
mov esi, ebx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x4d3577
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x4d358e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x40
lea edi, [ebx + 0xc]
pop ecx
mov esi, 0x4dfbb8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [ebx + 0x10c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
cmp eax, 0x10
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
je 0x4d361b
cmp eax, 0x20
je 0x4d361b
push 0xfffffffffffffff4
pop edi
mov dword [ebp + 8], ecx
lea esi, [ebx + 0xc]
sub edi, ebx
xor edx, edx
lea eax, [edi + esi]
div dword [ebx]
mov cl, byte [esi]
xor eax, eax
mov al, byte [edx + ebx + 0x10c]
xor edx, edx
mov dl, cl
add edx, dword [ebp + 8]
add eax, edx
and eax, 0xff
mov dword [ebp + 8], eax
lea eax, [ebx + eax + 0xc]
mov dl, byte [eax]
mov byte [esi], dl
inc esi
mov byte [eax], cl
lea eax, [edi + esi]
cmp eax, 0x100
jb 0x4d35e1
jmp 0x4d3661
push 0xfffffffffffffff4
dec eax
pop edi
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], ecx
lea esi, [ebx + 0xc]
sub edi, ebx
mov al, byte [esi]
xor edx, edx
mov dl, al
lea ecx, [esi + edi]
and ecx, dword [ebp + 0x10]
movzx ecx, byte [ecx + ebx + 0x10c]
add edx, dword [ebp + 8]
add ecx, edx
and ecx, 0xff
mov dword [ebp + 8], ecx
lea ecx, [ebx + ecx + 0xc]
mov dl, byte [ecx]
mov byte [esi], dl
inc esi
mov byte [ecx], al
lea eax, [esi + edi]
cmp eax, 0x100
jb 0x4d362a
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax + 8]
jbe 0x4d36dc
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
sub ecx, edx
mov dword [ebp + 8], edx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], ebx
inc esi
and esi, 0xff
lea ecx, [eax + esi + 0xc]
mov dl, byte [ecx]
xor ebx, ebx
mov bl, dl
add ebx, edi
and ebx, 0xff
mov edi, ebx
mov bl, byte [eax + edi + 0xc]
mov byte [ecx], bl
mov ebx, dword [ebp + 0x14]
mov byte [eax + edi + 0xc], dl
mov cl, byte [ecx]
add cl, dl
movzx ecx, cl
mov dl, byte [ecx + eax + 0xc]
mov ecx, dword [ebp + 8]
xor dl, byte [ebx + ecx]
mov byte [ecx], dl
inc ecx
dec dword [ebp + 0x10]
mov dword [ebp + 8], ecx
jne 0x4d3698
mov dword [eax + 8], edi
pop edi
mov dword [eax + 4], esi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x4d3a99
Capabilities:
Encode data using xor
Encrypt data using sosemanuk

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
push esi
lea edx, [ecx + 0x10]
cmp ecx, edx
mov esi, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], esi
jae 0x4d3b76
push ebx
push edi
lea ecx, [esi - 5]
and esi, 0xf
lea esi, [eax + esi*4]
mov edi, dword [esi]
mov dword [ebp - 4], edi
shr edi, 0x18
mov edi, dword [edi*4 + 0x4dfdb8]
mov edx, ecx
and edx, 0xf
mov edx, dword [eax + edx*4]
lea ebx, [ecx + 7]
and ebx, 0xf
xor edi, dword [eax + ebx*4]
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x4e01b8]
shr edx, 8
mov ebx, edi
mov edi, dword [ebp - 4]
shl edi, 8
xor ebx, edi
xor ebx, edx
mov dword [esi], ebx
movzx edi, byte [eax + 0x42]
mov edi, dword [edi*4 + 0x4e0db8]
movzx ebx, byte [eax + 0x41]
xor edi, dword [ebx*4 + 0x4e09b8]
movzx ebx, byte [eax + 0x43]
xor edi, dword [ebx*4 + 0x4e11b8]
mov ebx, dword [eax + 0x40]
lea edx, [ecx - 6]
and edx, 0xf
mov edx, dword [eax + edx*4]
add edx, dword [eax + 0x44]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x4e05b8]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edi
mov edi, dword [esi]
mov esi, dword [ebp + 8]
add ecx, 6
and ecx, 0xf
add edi, edx
xor edi, dword [eax + ecx*4]
mov ecx, dword [ebp + 0xc]
xor edi, dword [eax + 0x44]
mov dword [ecx + esi*4], edi
mov ecx, dword [ebp - 0xc]
inc esi
lea edx, [ecx + 0x10]
cmp esi, edx
mov dword [ebp + 8], esi
jb 0x4d3abd
pop edi
pop ebx
and ecx, 0xf
mov dword [eax + 0x50], ecx
xor eax, eax
pop esi
leave
ret 8

Function at 0x4d3b88
Capabilities:
Encrypt data using sosemanuk

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x50]
push ebx
push esi
push edi
mov esi, ecx
and esi, 0xf
lea esi, [eax + esi*4]
mov edi, dword [esi]
mov dword [ebp + 8], edi
shr edi, 0x18
mov edi, dword [edi*4 + 0x4dfdb8]
lea edx, [ecx - 5]
and edx, 0xf
mov edx, dword [eax + edx*4]
lea ebx, [ecx + 2]
and ebx, 0xf
xor edi, dword [eax + ebx*4]
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x4e01b8]
shr edx, 8
mov ebx, edi
mov edi, dword [ebp + 8]
shl edi, 8
xor ebx, edi
xor ebx, edx
mov dword [esi], ebx
movzx edi, byte [eax + 0x43]
mov edi, dword [edi*4 + 0x4e11b8]
movzx ebx, byte [eax + 0x42]
xor edi, dword [ebx*4 + 0x4e0db8]
movzx ebx, byte [eax + 0x41]
xor edi, dword [ebx*4 + 0x4e09b8]
mov ebx, dword [eax + 0x40]
lea edx, [ecx + 5]
and edx, 0xf
mov edx, dword [eax + edx*4]
add edx, dword [eax + 0x44]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x4e05b8]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edi
mov esi, dword [esi]
add esi, edx
mov edx, dword [ebp + 0xc]
inc ecx
and ecx, 0xf
xor esi, dword [eax + ecx*4]
xor esi, edi
pop edi
mov dword [edx], esi
pop esi
mov dword [eax + 0x50], ecx
xor eax, eax
pop ebx
leave
ret 8

Function at 0x4d3c46
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4
Function at 0x4d48bd
Capabilities:
Encode data using xor
Encrypt data using hc-128

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x4d4a78
mov eax, dword [ebp + 8]
add eax, 0x88
push ebx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
push esi
add eax, 2
mov dword [ebp + 0xc], ecx
push edi
xor ecx, ecx
movzx esi, byte [eax]
xor edx, edx
mov dh, byte [eax - 2]
add eax, 4
mov dl, byte [eax - 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax - 3]
shl edx, 8
or edx, esi
mov dword [ebp + ecx*4 - 0x124], edx
inc ecx
cmp ecx, 0x10
jl 0x4d48ec
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xec]
mov dword [ebp + 0x10], 0x30
mov ecx, dword [eax - 0x34]
mov edx, dword [eax]
mov esi, ecx
mov edi, ecx
shl edi, 0xe
shr esi, 0x12
or esi, edi
mov edi, ecx
mov ebx, ecx
shl edi, 0x19
shr ebx, 7
or edi, ebx
xor esi, edi
shr ecx, 3
xor esi, ecx
mov ecx, edx
shr ecx, 0x11
mov edi, edx
shl edi, 0xf
or ecx, edi
mov edi, edx
mov ebx, edx
shr edi, 0x13
shl ebx, 0xd
or edi, ebx
xor ecx, edi
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [eax - 0x38]
add eax, 4
add esi, dword [eax - 0x18]
dec dword [ebp + 0x10]
mov dword [eax + 4], esi
jne 0x4d4925
mov esi, dword [ebp + 8]
and dword [ebp + 0x10], 0
push 8
pop ecx
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov eax, edx
shl eax, 0x15
mov ecx, edx
shr ecx, 0xb
or eax, ecx
mov ecx, edx
shl ecx, 0x1a
mov edi, edx
shr edi, 6
or ecx, edi
xor eax, ecx
mov ecx, edx
shr ecx, 0x19
mov edi, edx
shl edi, 7
or ecx, edi
mov edi, dword [ebp - 0xc]
xor eax, ecx
and edi, edx
mov ecx, edx
not ecx
and ecx, dword [ebp - 8]
mov ebx, esi
xor ecx, edi
add eax, ecx
mov ecx, dword [ebp + 0x10]
add eax, dword [ecx + 0x4e1628]
mov edi, esi
add eax, dword [ebp + ecx - 0x124]
shr edi, 0xd
mov ecx, esi
add eax, dword [ebp - 4]
shl ecx, 0x13
or ecx, edi
mov edi, esi
shr edi, 0x16
shl ebx, 0xa
or edi, ebx
xor ecx, edi
mov edi, esi
mov ebx, esi
shl edi, 0x1e
add dword [ebp + 0x10], 4
shr ebx, 2
or edi, ebx
xor ecx, edi
mov edi, dword [ebp - 0x1c]
xor edi, esi
mov esi, dword [ebp - 0x1c]
and esi, dword [ebp - 0x20]
and edi, dword [ebp - 0x18]
xor edi, esi
mov esi, dword [ebp - 8]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x20]
add ecx, edi
mov dword [ebp - 0x1c], esi
add edx, eax
cmp dword [ebp + 0x10], 0x100
lea esi, [ecx + eax]
mov dword [ebp - 0x20], esi
jl 0x4d4990
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], edx
xor ecx, ecx
mov edx, dword [ebp + ecx*4 - 0x20]
add dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 8
jl 0x4d4a5a
dec dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
jne 0x4d48ea
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4d4a81
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0x4e1608
lea eax, [edx + 0x88]
push esi
mov esi, dword [ecx]
mov dword [eax], esi
add ecx, 4
add eax, 4
cmp ecx, 0x4e1628
jl 0x4d4a95
and dword [edx + 4], 0
and dword [edx], 0
pop esi
pop ebp
ret 4
Function at 0x4d4f9b
Capabilities:
Hash data using sha512

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0x4e1768
lea eax, [edx + 0x108]
push esi
mov esi, dword [ecx]
mov dword [eax], esi
mov esi, dword [ecx + 4]
mov dword [eax + 4], esi
add ecx, 8
add eax, 8
cmp ecx, 0x4e17a8
jl 0x4d4faf
and dword [edx + 4], 0
and dword [edx], 0
pop esi
pop ebp
ret 4

Function at 0x4d517d
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0x4e1728
lea eax, [edx + 0x108]
push esi
mov esi, dword [ecx]
mov dword [eax], esi
mov esi, dword [ecx + 4]
mov dword [eax + 4], esi
add ecx, 8
add eax, 8
cmp ecx, 0x4e1768
jl 0x4d5191
and dword [edx + 4], 0
and dword [edx], 0
pop esi
pop ebp
ret 4
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00404502
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00404502
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00404502
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00404502
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00404502
mov dword [0x41203c], eax
call fcn.00404502
test eax, eax
jge 0x402550
push 8
call fcn.00404502
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00404502
pop ecx
push 1
call fcn.00404502
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00404502
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00404502
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00404502
jmp 0x402495

Function at 0x404502
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x404511
pop dword [ebp - 8]
mov eax, 0x8eaa5e44
add eax, 0x7195e6cd
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x36e3e
push 0
mov eax, 0xe8343f09
add eax, 0x180ca1cf
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xc9680c23
sub ecx, 0xc967cd61
xor esi, esi
add esi, eax
mov edi, 0xa2b83d76
sub edi, 0xa27701b2
add edi, dword [ebp - 8]
mov edx, 0x917fe6f5
add edx, 0x34bef36b
add dword [ebp - 4], edx
mov ebx, dword [edi]
xor dword [ebp - 4], 0x133e0ed0
sub ebx, edx
sub dword [ebp - 4], ebx
mov dword [esi], ebx
xor dword [ebp - 4], edi
add esi, 4
add edi, 4
loop 0x404572
add eax, 0xeddb
xor ebx, ebx
add ebx, eax
add eax, 0x6e5a4999
sub eax, 0x6e5a4994
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret