joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d96d5
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 0x4d96f0
push 0xfffffffffffffffe
pop eax
jmp 0x4d97af
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 0x4d97ab
jb 0x4d9714
test eax, eax
jne 0x4d97ab
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 0x4d975c
mov edx, dword [ebp + 0xc]
test edi, edi
je 0x4d9741
mov al, byte [edx]
lea ebx, [esi + 0x40]
xor byte [ebx + ecx], al
inc edx
dec edi
inc ecx
and ecx, 0xf
jne 0x4d972d
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x4d97a1
lea eax, [esi + 0x60]
push eax
push ebx
call fcn.004dab6b
mov eax, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x4d9762
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 0x4d9783
push ecx
push eax
push edx
push ebx
call fcn.004da94e
mov eax, dword [ebp - 0xc]
add esp, 0x10
add dword [ebp - 4], eax
sub edi, eax
test edi, edi
je 0x4d979e
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 0x4d978e
mov esi, dword [ebp + 8]
jmp 0x4d97a1
mov ecx, dword [ebp - 8]
mov dword [esi + 0x16c], ecx
xor eax, eax
jmp 0x4d97ae
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4da79d
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 0x4da7e7
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 0x4da8dc
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 0x4da840
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 0x4da80e
push edx
push edi
call fcn.004dab6b
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 0x4da80e
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 8]
jmp 0x4da843
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x4da860
mov al, byte [ecx + edx]
xor byte [edi + ecx], al
inc ecx
cmp ecx, esi
jb 0x4da847
lea esi, [ebx + 0x60]
push esi
push edi
call fcn.004dab6b
pop ecx
pop ecx
jmp 0x4da863
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.004dab6b
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 0x4db363
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x639034]
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 0x4db3b5
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 0x4db3d7
movzx eax, byte [esi + ebx]
or edi, eax
mov byte [esi + ebx], 0
shl edi, 8
inc ebx
cmp ebx, 0xf
jb 0x4db3c9
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or edi, eax
mov byte [esi + 0xf], 1
cmp edi, ebx
je 0x4db3f5
or eax, 0xffffffff
jmp 0x4db4c5
mov edi, ebx
shr edi, 4
test edi, edi
je 0x4db427
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 0x4db47a
shr edi, 4
push edi
push esi
call fcn.004db945
pop ecx
pop ecx
mov edi, dword [ebp - 0x20]
test ebx, ebx
je 0x4db47d
push edi
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0xc
xor edx, edx
test ebx, ebx
je 0x4db46a
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 0x4db44b
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 0x4db480
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
push 0x10
pop eax
cmp ecx, eax
jae 0x4db49b
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.0055fb20
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.00546623
leave
ret
Function at 0x4db6cb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x639034]
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 0x4db722
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 0x4db746
movzx eax, byte [esi + edi]
or ecx, eax
mov byte [esi + edi], 0
shl ecx, 8
inc edi
cmp edi, 0xf
jb 0x4db738
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x4db764
or eax, 0xffffffff
jmp 0x4db862
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 0x4db78d
ja 0x4db785
cmp dword [esi + 0x20], 0
jbe 0x4db78d
push 0xfffffffffffffffe
pop eax
jmp 0x4db862
mov edi, ebx
shr edi, 4
test edi, edi
je 0x4db7c2
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 0x4db81a
shr edi, 4
push edi
push esi
call fcn.004db945
pop ecx
pop ecx
test ebx, ebx
je 0x4db81a
mov edi, dword [ebp - 0x20]
xor ecx, ecx
test ebx, ebx
je 0x4db7db
mov al, byte [edi + ecx]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, ebx
jb 0x4db7cf
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 0x4db81a
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 0x4db805
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push 0x10
pop eax
cmp ecx, eax
jae 0x4db835
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.0055fb20
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.00546623
leave
ret
Function at 0x4dcae1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4dcb0a
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 0x4dcafa
pop edi
pop esi
pop ebp
ret
Function at 0x4de2ee
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 [0x639034]
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 0x4de3f3
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.004de400
pop ecx
xor edx, edx
pop ecx
test esi, esi
je 0x4de3da
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 0x4de3bf
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 0x4de37f
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00546623
leave
ret
Function at 0x4e1e3b
Capabilities:
Encode data using xor
Hash data using sha512

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x639034]
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.0055fb20
push 0xa8
lea eax, [ebx + 0x40]
push 0
push eax
call fcn.0055fb20
add esp, 0x18
mov esi, 0x5faab8
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 0x4e1e9c
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00546623
leave
ret
Function at 0x4e8366
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x639034]
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.0055fb20
add esp, 0xc
mov esi, 0x5faaf8
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 0x4e83be
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00546623
leave
ret
Function at 0x4eafdb
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 0x4eb0e2
push esi
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
test eax, eax
je 0x4eb0ca
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.004ea636
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 0x4eb00e
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
push esi
call fcn.004ea730
mov eax, dword [ebp - 8]
sub edi, ebx
mov dword [ebp + 0x10], edi
pop ecx
cmp edi, ebx
jae 0x4eaffc
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x4eb2bf
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x639034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4eb48d
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.004d239b
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.004d2174
push 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004cf6a9
mov ebx, dword [ebp - 0x90]
push ebx
call fcn.004d239b
lea eax, [ebp - 0x84]
push eax
push ebx
call fcn.004d2174
push 1
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004cf6a9
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 0x4eb2fd
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00546623
leave
ret
Function at 0x4f34d6
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 0x4f356c
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 0x4f356c
mov eax, dword [ebp + 8]
mov ecx, 0x14c
cmp ax, cx
jne 0x4f3535
mov dword [esi + 0x1c], 1
jmp 0x4f356c
mov ecx, 0x8664
cmp ax, cx
jne 0x4f3548
mov dword [esi + 0x1c], 2
jmp 0x4f356c
mov ecx, 0x1c4
cmp ax, cx
jne 0x4f355b
mov dword [esi + 0x1c], 3
jmp 0x4f356c
mov ecx, 0xaa64
cmp ax, cx
jne 0x4f356c
mov dword [esi + 0x1c], 4
cmp dword [esi + 0x1c], ebx
jne 0x4f35b8
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x28]
test ax, ax
jne 0x4f358d
mov dword [esi + 0x1c], 1
jmp 0x4f35b8
cmp ax, 9
jne 0x4f359c
mov dword [esi + 0x1c], 2
jmp 0x4f35b8
cmp ax, 5
jne 0x4f35ab
mov dword [esi + 0x1c], 3
jmp 0x4f35b8
cmp ax, 0xc
jne 0x4f35b8
mov dword [esi + 0x1c], 4
push dword [esi + 0x1c]
call fcn.004f379c
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 0x4f35e6
push edi
lea eax, [esi + 0x6b]
push 0x40
push eax
call fcn.004f2e22
mov ecx, dword [edi]
add esp, 0xc
mov edx, dword [edi + 4]
or ecx, edx
jne 0x4f35f1
push edi
call fcn.004f2f0e
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f39cd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x639034]
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 + 0x5fd958]
mov edx, eax
xor edx, ebx
and edx, edi
xor edx, eax
movzx eax, byte [esi + 0x5fd918]
add edx, dword [ebp + eax*4 - 0x44]
mov eax, ebx
add edx, dword [esi*4 + 0x5fd998]
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 0x4f3a0a
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
cmp esi, 0x20
jae 0x4f3a98
mov ebx, dword [ebp - 0x4c]
movzx ecx, byte [esi + 0x5fd958]
mov edx, ebx
xor edx, edi
and edx, eax
movzx eax, byte [esi + 0x5fd918]
xor edx, ebx
add edx, dword [ebp + eax*4 - 0x44]
mov eax, ebx
add edx, dword [esi*4 + 0x5fd998]
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 0x4f3a55
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
cmp esi, 0x30
jae 0x4f3ae4
mov ebx, dword [ebp - 0x4c]
movzx eax, byte [esi + 0x5fd918]
xor edx, ebx
movzx ecx, byte [esi + 0x5fd958]
xor edx, edi
mov eax, dword [ebp + eax*4 - 0x44]
add eax, edx
mov edx, ebx
add eax, dword [esi*4 + 0x5fd998]
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 0x4f3aa3
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x54]
cmp esi, 0x40
jae 0x4f3b2f
mov ebx, dword [ebp - 0x4c]
movzx eax, byte [esi + 0x5fd918]
not edx
movzx ecx, byte [esi + 0x5fd958]
or edx, edi
xor edx, ebx
mov eax, dword [ebp + eax*4 - 0x44]
add eax, edx
mov edx, ebx
add eax, dword [esi*4 + 0x5fd998]
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 0x4f3aec
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.00546623
leave
ret 4

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