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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
je 0x4d3dbc
push 0xfffffffffffffffe
pop eax
jmp 0x4d3e7b
push edi
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, edi
add eax, dword [esi + 0x30]
adc ecx, dword [esi + 0x34]
cmp ecx, 0x20000000
ja 0x4d3e77
jb 0x4d3de0
test eax, eax
jne 0x4d3e77
mov dword [esi + 0x34], ecx
lea ebx, [esi + 0x40]
mov ecx, dword [esi + 0x16c]
mov dword [esi + 0x30], eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x4d3e28
mov edx, dword [ebp + 0xc]
test edi, edi
je 0x4d3e0d
mov al, byte [edx]
lea ebx, [esi + 0x40]
xor byte [ebx + ecx], al
inc edx
dec edi
inc ecx
and ecx, 0xf
jne 0x4d3df9
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x4d3e6d
lea eax, [esi + 0x60]
push eax
push ebx
call fcn.004d5237
mov eax, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x4d3e2e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, edi
lea edx, [esi + 0x60]
and ecx, 0xfffffff0
mov dword [ebp - 0xc], ecx
je 0x4d3e4f
push ecx
push eax
push edx
push ebx
call fcn.004d501a
mov eax, dword [ebp - 0xc]
add esp, 0x10
add dword [ebp - 4], eax
sub edi, eax
test edi, edi
je 0x4d3e6a
mov esi, dword [ebp - 4]
mov ecx, edi
xor edx, edx
mov al, byte [edx + esi]
xor byte [ebx + edx], al
inc edx
cmp edx, edi
jb 0x4d3e5a
mov esi, dword [ebp + 8]
jmp 0x4d3e6d
mov ecx, dword [ebp - 8]
mov dword [esi + 0x16c], ecx
xor eax, eax
jmp 0x4d3e7a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4d4e69
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x16c], ecx
mov dword [ebx + 0x168], ecx
cmp esi, 0xc
jne 0x4d4eb3
mov esi, dword [ebp + 0xc]
mov edi, ebx
xor eax, eax
inc eax
mov dword [ebp + 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebx + 0xc], cx
mov byte [ebx + 0xe], cl
mov byte [ebx + 0xf], al
jmp 0x4d4fa8
mov dword [ebp + 0x10], esi
lea edi, [ebx + 0x40]
mov dword [edi], ecx
lea edx, [ebx + 0x60]
mov dword [edi + 4], ecx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], ecx
mov dword [ebp - 8], edx
cmp esi, 0x10
jb 0x4d4f0c
mov ebx, dword [ebp + 0xc]
mov eax, esi
shr eax, 4
mov dword [ebp - 4], eax
mov al, byte [ecx + ebx]
xor byte [edi + ecx], al
inc ecx
cmp ecx, 0x10
jb 0x4d4eda
push edx
push edi
call fcn.004d5237
mov edx, dword [ebp - 8]
add ebx, 0x10
pop ecx
pop ecx
sub esi, 0x10
sub dword [ebp - 4], 1
push 0
pop ecx
jne 0x4d4eda
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 8]
jmp 0x4d4f0f
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x4d4f2c
mov al, byte [ecx + edx]
xor byte [edi + ecx], al
inc ecx
cmp ecx, esi
jb 0x4d4f13
lea esi, [ebx + 0x60]
push esi
push edi
call fcn.004d5237
pop ecx
pop ecx
jmp 0x4d4f2f
lea esi, [ebx + 0x60]
mov eax, dword [ebp + 0x10]
xor edx, edx
shld edx, eax, 3
push esi
xor byte [ebx + 0x4b], dl
shl eax, 3
mov dword [ebp + 0x10], eax
mov ecx, eax
mov eax, edx
shrd ecx, eax, 0x18
push edi
xor byte [ebx + 0x4c], cl
mov ecx, dword [ebp + 0x10]
shrd ecx, eax, 0x10
xor byte [ebx + 0x4d], cl
mov ecx, dword [ebp + 0x10]
mov eax, ecx
xor byte [ebx + 0x4f], cl
shrd eax, edx, 8
xor byte [ebx + 0x4e], al
call fcn.004d5237
movzx eax, byte [ebx + 0x4d]
pop ecx
pop ecx
movzx ecx, byte [ebx + 0x4c]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x4e]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x4f]
shl ecx, 8
or ecx, eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x48]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebp + 8], ecx
xor ecx, ecx
mov dword [ebx + 0xc], eax
push dword [ebx + 0x174]
lea eax, [ebx + 0x20]
mov dword [ebx + 0x40], ecx
push eax
push ebx
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], ecx
call dword [ebx + 0x170]
mov ecx, dword [ebp + 8]
add esp, 0xc
inc ecx
mov eax, ecx
mov byte [ebx + 0xf], cl
shr eax, 0x18
mov byte [ebx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0xd], al
mov eax, ecx
pop edi
shr eax, 8
pop esi
mov byte [ebx + 0xe], al
pop ebx
leave
ret
Function at 0x4d5a2f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x62fff4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
lea edx, [esi + 0x10]
mov bl, byte [esi]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
push edi
test bl, 0x40
jne 0x4d5a81
push ecx
push edx
push esi
call eax
mov ecx, dword [ebp - 0x20]
lea edx, [esi + 0x10]
add esp, 0xc
movzx eax, bl
xor edi, edi
push 0xf
and eax, 7
pop ebx
sub ebx, eax
mov byte [esi], al
mov dword [ebp - 0x34], ebx
jmp 0x4d5aa3
movzx eax, byte [esi + ebx]
or edi, eax
mov byte [esi + ebx], 0
shl edi, 8
inc ebx
cmp ebx, 0xf
jb 0x4d5a95
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or edi, eax
mov byte [esi + 0xf], 1
cmp edi, ebx
je 0x4d5ac1
or eax, 0xffffffff
jmp 0x4d5b91
mov edi, ebx
shr edi, 4
test edi, edi
je 0x4d5af3
push edx
push esi
push ecx
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call dword [ebp - 0x2c]
shl edi, 4
add esp, 0x18
add dword [ebp - 0x24], edi
add dword [ebp - 0x1c], edi
sub ebx, edi
je 0x4d5b46
shr edi, 4
push edi
push esi
call fcn.004d6011
pop ecx
pop ecx
mov edi, dword [ebp - 0x20]
test ebx, ebx
je 0x4d5b49
push edi
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0xc
xor edx, edx
test ebx, ebx
je 0x4d5b36
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
sub edi, eax
sub dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
add eax, edx
mov cl, byte [edi + eax]
xor cl, byte [eax]
mov byte [esi + eax], cl
mov esi, dword [ebp - 0x30]
xor byte [esi + edx + 0x10], cl
inc edx
cmp edx, ebx
jb 0x4d5b17
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
lea eax, [esi + 0x10]
push edi
push eax
push eax
call ebx
add esp, 0xc
jmp 0x4d5b4c
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
push 0x10
pop eax
cmp ecx, eax
jae 0x4d5b67
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.00559fa0
add esp, 0xc
push edi
lea eax, [ebp - 0x14]
push eax
push esi
call ebx
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x15]
mov byte [esi], al
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00540aaa
leave
ret
Function at 0x4d5d97
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x62fff4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
push edi
test bl, 0x40
jne 0x4d5dee
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
mov edx, dword [ebp - 0x20]
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, bl
xor ecx, ecx
push 0xf
and eax, 7
pop ebx
sub ebx, eax
mov byte [esi], al
mov dword [ebp - 0x34], ebx
mov edi, ebx
jmp 0x4d5e12
movzx eax, byte [esi + edi]
or ecx, eax
mov byte [esi + edi], 0
shl ecx, 8
inc edi
cmp edi, 0xf
jb 0x4d5e04
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x4d5e30
or eax, 0xffffffff
jmp 0x4d5f2e
lea eax, [ebx + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x4d5e59
ja 0x4d5e51
cmp dword [esi + 0x20], 0
jbe 0x4d5e59
push 0xfffffffffffffffe
pop eax
jmp 0x4d5f2e
mov edi, ebx
shr edi, 4
test edi, edi
je 0x4d5e8e
lea eax, [esi + 0x10]
push eax
push esi
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x1c]
push edx
call dword [ebp - 0x2c]
shl edi, 4
add esp, 0x18
add dword [ebp - 0x20], edi
add dword [ebp - 0x1c], edi
sub ebx, edi
je 0x4d5ee6
shr edi, 4
push edi
push esi
call fcn.004d6011
pop ecx
pop ecx
test ebx, ebx
je 0x4d5ee6
mov edi, dword [ebp - 0x20]
xor ecx, ecx
test ebx, ebx
je 0x4d5ea7
mov al, byte [edi + ecx]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, ebx
jb 0x4d5e9b
push dword [ebp - 0x24]
lea eax, [esi + 0x10]
push eax
push eax
call dword [ebp - 0x28]
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0x18
xor edx, edx
test ebx, ebx
je 0x4d5ee6
lea eax, [ebp - 0x14]
sub edi, eax
sub dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add ecx, edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
inc edx
mov byte [esi + ecx], al
cmp edx, ebx
jb 0x4d5ed1
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push 0x10
pop eax
cmp ecx, eax
jae 0x4d5f01
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.00559fa0
add esp, 0xc
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x15]
mov byte [esi], al
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00540aaa
leave
ret
Function at 0x4d71ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4d71d6
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
sub esi, ecx
sub edi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
sub edx, 1
jne 0x4d71c6
pop edi
pop esi
pop ebp
ret
Function at 0x4d89ba
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x62fff4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
push edi
mov eax, dword [ecx]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], 0x61707865
mov dword [ebp - 0x40], 0x3320646e
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x3c], 0x79622d32
mov dword [ebp - 0x38], 0x6b206574
mov dword [ebp - 8], eax
test edi, edi
je 0x4d8abf
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push 0x40
pop esi
lea eax, [ebp - 0x44]
cmp edi, esi
push eax
lea eax, [ebp - 0x84]
cmovb esi, edi
push eax
call fcn.004d8acc
pop ecx
xor edx, edx
pop ecx
test esi, esi
je 0x4d8aa6
mov edi, ebx
lea eax, [ebp - 0x84]
sub edi, eax
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x88]
sub eax, ecx
mov dword [ebp - 0x8c], eax
mov ebx, eax
lea ecx, [ebp - 0x84]
add ecx, edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
inc edx
mov byte [ebx + ecx], al
cmp edx, esi
jb 0x4d8a8b
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
add dword [ebp - 0x88], esi
add ebx, esi
sub edi, esi
mov dword [ebp + 0xc], ebx
inc dword [ebp - 0x14]
mov dword [ebp + 0x10], edi
test edi, edi
jne 0x4d8a4b
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00540aaa
leave
ret
Function at 0x4dc50a
Capabilities:
Encode data using xor
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x62fff4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 0x2e
push eax
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x32]
push eax
mov dword [ebp - 0x44], 0x1010040
movlpd qword [ebp - 0x3c], xmm0
call fcn.00559fa0
push 0xa8
lea eax, [ebx + 0x40]
push 0
push eax
call fcn.00559fa0
add esp, 0x18
mov esi, 0x5f30e8
mov edi, ebx
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x44]
push 8
sub esi, ebx
pop edi
mov ecx, dword [esi + ebx]
mov edx, dword [esi + ebx + 4]
xor dword [ebx], ecx
lea ebx, [ebx + 8]
xor dword [ebx - 4], edx
sub edi, 1
jne 0x4dc56b
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00540aaa
leave
ret
Function at 0x4e2a35
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62fff4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
lea edi, [ebp - 0x15]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], cl
mov dword [ebp - 0x24], 0x1010020
stosd dword es:[edi], eax
push 0x54
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebx + 0x20]
push eax
call fcn.00559fa0
add esp, 0xc
mov esi, 0x5f3128
mov edi, ebx
push 8
pop edx
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x24]
sub esi, ebx
mov ecx, dword [esi + ebx]
xor dword [ebx], ecx
lea ebx, [ebx + 4]
sub edx, 1
jne 0x4e2a8d
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00540aaa
leave
ret
Function at 0x4e56aa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
mov eax, ebx
push edi
mov edi, dword [ebp + 0x10]
shr eax, 3
mov dword [ebp - 8], eax
cmp edi, ebx
jb 0x4e57b1
push esi
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
test eax, eax
je 0x4e5799
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 7]
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [ebp + 0xc]
shld ecx, esi, 8
shl esi, 8
movzx eax, byte [eax + 6]
cdq
or esi, eax
or ecx, edx
mov eax, dword [ebp + 0xc]
shld ecx, esi, 8
shl esi, 8
movzx eax, byte [eax + 5]
cdq
or esi, eax
or ecx, edx
mov eax, dword [ebp + 0xc]
shld ecx, esi, 8
shl esi, 8
movzx eax, byte [eax + 4]
cdq
or esi, eax
or ecx, edx
mov eax, dword [ebp + 0xc]
shld ecx, esi, 8
shl esi, 8
movzx eax, byte [eax + 3]
cdq
or esi, eax
or ecx, edx
mov eax, dword [ebp + 0xc]
shld ecx, esi, 8
shl esi, 8
movzx eax, byte [eax + 2]
cdq
or esi, eax
or ecx, edx
mov eax, dword [ebp + 0xc]
shld ecx, esi, 8
shl esi, 8
movzx eax, byte [eax + 1]
cdq
or esi, eax
or ecx, edx
mov eax, dword [ebp + 0xc]
add dword [ebp + 0xc], 8
shld ecx, esi, 8
movzx eax, byte [eax]
cdq
or ecx, edx
shl esi, 8
or esi, eax
push ecx
push esi
call fcn.004e4d05
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor dword [edi + ecx*8], eax
xor dword [edi + ecx*8 + 4], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, ebx
jb 0x4e56dd
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push esi
call fcn.004e4dff
mov eax, dword [ebp - 8]
sub edi, ebx
mov dword [ebp + 0x10], edi
pop ecx
cmp edi, ebx
jae 0x4e56cb
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x4e598e
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x62fff4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4e5b5c
dec esi
lea edx, [eax + 0x14]
push ebx
lea ebx, [eax + 0xc]
shr esi, 3
push edi
mov edi, dword [ebp + 0xc]
inc esi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], edx
movzx eax, byte [edi + 1]
movzx ecx, byte [edi]
lea edi, [edi + 8]
shl eax, 8
or ecx, eax
movzx eax, byte [edi - 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edi - 5]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edi - 3]
shl eax, 8
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa4], ecx
movzx ecx, byte [edi - 4]
or ecx, eax
movzx eax, byte [edi - 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edi - 1]
shl eax, 0x18
or ecx, eax
mov al, byte [ebx]
and al, 0xdf
mov dword [ebp - 0x8c], ecx
or al, 0x40
mov dword [ebp - 0x98], ecx
mov byte [ebx], al
mov al, byte [edx]
and al, 0xbf
mov dword [ebp - 0xa0], ecx
or al, 0x20
push ebx
mov byte [edx], al
call fcn.004cca64
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.004cc83d
push 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004c9d71
mov ebx, dword [ebp - 0x90]
push ebx
call fcn.004cca64
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.004cc83d
push 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004c9d71
mov ecx, dword [ebp - 0x8c]
add esp, 0x30
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x88]
xor edx, ecx
xor ecx, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x9c]
xor ebx, eax
mov dword [ebp - 0x8c], ecx
xor eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x88], eax
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
mov eax, dword [ebp - 0x88]
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [ebp - 0x88]
shr eax, 0x18
mov byte [ecx + 3], al
mov byte [ecx + 4], dl
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 6], al
mov eax, ebx
shr edx, 0x18
mov byte [ecx + 7], dl
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
shr eax, 8
mov byte [ecx], bl
mov byte [ecx + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [ecx + 3], bl
mov ebx, dword [ebp - 0x94]
mov byte [ecx + 4], dl
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ecx + 6], al
mov byte [ecx + 7], dl
mov edx, ecx
sub esi, 1
jne 0x4e59cc
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00540aaa
leave
ret
Function at 0x4edba3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push str.kernel32.dll
mov dword [esi + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
test edi, edi
je 0x4edc39
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x4edc39
mov eax, dword [ebp + 8]
mov ecx, 0x14c
cmp ax, cx
jne 0x4edc02
mov dword [esi + 0x1c], 1
jmp 0x4edc39
mov ecx, 0x8664
cmp ax, cx
jne 0x4edc15
mov dword [esi + 0x1c], 2
jmp 0x4edc39
mov ecx, 0x1c4
cmp ax, cx
jne 0x4edc28
mov dword [esi + 0x1c], 3
jmp 0x4edc39
mov ecx, 0xaa64
cmp ax, cx
jne 0x4edc39
mov dword [esi + 0x1c], 4
cmp dword [esi + 0x1c], ebx
jne 0x4edc85
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x28]
test ax, ax
jne 0x4edc5a
mov dword [esi + 0x1c], 1
jmp 0x4edc85
cmp ax, 9
jne 0x4edc69
mov dword [esi + 0x1c], 2
jmp 0x4edc85
cmp ax, 5
jne 0x4edc78
mov dword [esi + 0x1c], 3
jmp 0x4edc85
cmp ax, 0xc
jne 0x4edc85
mov dword [esi + 0x1c], 4
push dword [esi + 0x1c]
call fcn.004ede69
lea edi, [esi + 0x10]
mov dword [esi + 0x18], eax
mov edx, dword [edi + 4]
pop ecx
mov ecx, dword [edi]
mov eax, ecx
or eax, edx
jne 0x4edcb3
push edi
lea eax, [esi + 0x6b]
push 0x40
push eax
call fcn.004ed4ef
mov ecx, dword [edi]
add esp, 0xc
mov edx, dword [edi + 4]
or ecx, edx
jne 0x4edcbe
push edi
call fcn.004ed5db
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ee09a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x62fff4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx + 8]
lea edi, [ebp - 0x44]
push 0x10
pop ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0xc]
xor esi, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
movzx ecx, byte [esi + 0x5f5f70]
mov edx, eax
xor edx, ebx
and edx, edi
xor edx, eax
movzx eax, byte [esi + 0x5f5f30]
add edx, dword [ebp + eax*4 - 0x44]
mov eax, ebx
add edx, dword [esi*4 + 0x5f5fb0]
mov ebx, edi
add edx, dword [ebp - 0x50]
rol edx, cl
mov ecx, dword [ebp - 0x48]
add edx, edi
inc esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], eax
mov edi, edx
cmp esi, 0x10
jb 0x4ee0d7
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
cmp esi, 0x20
jae 0x4ee165
mov ebx, dword [ebp - 0x4c]
movzx ecx, byte [esi + 0x5f5f70]
mov edx, ebx
xor edx, edi
and edx, eax
movzx eax, byte [esi + 0x5f5f30]
xor edx, ebx
add edx, dword [ebp + eax*4 - 0x44]
mov eax, ebx
add edx, dword [esi*4 + 0x5f5fb0]
mov ebx, edi
add edx, dword [ebp - 0x50]
rol edx, cl
mov ecx, dword [ebp - 0x48]
add edx, edi
inc esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], eax
mov edi, edx
cmp esi, 0x20
jb 0x4ee122
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
cmp esi, 0x30
jae 0x4ee1b1
mov ebx, dword [ebp - 0x4c]
movzx eax, byte [esi + 0x5f5f30]
xor edx, ebx
movzx ecx, byte [esi + 0x5f5f70]
xor edx, edi
mov eax, dword [ebp + eax*4 - 0x44]
add eax, edx
mov edx, ebx
add eax, dword [esi*4 + 0x5f5fb0]
mov ebx, edi
add eax, dword [ebp - 0x50]
rol eax, cl
mov ecx, dword [ebp - 0x48]
add eax, edi
inc esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], edx
mov edi, eax
cmp esi, 0x30
jb 0x4ee170
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
cmp esi, 0x40
jae 0x4ee1fc
mov ebx, dword [ebp - 0x4c]
movzx eax, byte [esi + 0x5f5f30]
not edx
movzx ecx, byte [esi + 0x5f5f70]
or edx, edi
xor edx, ebx
mov eax, dword [ebp + eax*4 - 0x44]
add eax, edx
mov edx, ebx
add eax, dword [esi*4 + 0x5f5fb0]
mov ebx, edi
add eax, dword [ebp - 0x50]
rol eax, cl
mov ecx, dword [ebp - 0x48]
add eax, edi
inc esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], edx
mov edi, eax
cmp esi, 0x40
jb 0x4ee1b9
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
add dword [ebx + 8], ecx
add dword [ebx + 0xc], edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
xor ecx, ebp
add dword [ebx + 0x10], eax
add dword [ebx + 0x14], edx
pop edi
pop esi
pop ebx
call fcn.00540aaa
leave
ret 4

Function at 0x4ee32a
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
ret