joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47eb49
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x47ecea
mov esi, dword [ebp + 8]
test esi, esi
je 0x47ecea
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47ecea
mov ecx, dword [eax + 4]
mov eax, dword [esi + 4]
add ecx, 0x18
add eax, ecx
mov dword [ebp - 4], 0x18
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
je 0x47ecea
mov ecx, dword [ebp + 0xc]
mov dword [ebx], 0x31415352
mov eax, dword [ecx + 4]
shl eax, 3
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 4]
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
mov dword [ebx + 0xc], eax
push dword [esi + 4]
mov eax, dword [ebp - 4]
push dword [esi]
add eax, ebx
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
add eax, dword [esi + 4]
mov dword [ebp - 4], eax
add eax, ebx
push dword [ecx + 4]
push dword [ecx]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0x18
lea eax, [ebp - 0xc]
push 8
push dword [ebp - 0x14]
push ebx
push eax
push str.RSAPUBLICBLOB
push 0
push dword [0x5164a8]
call dword [sym.imp.bcrypt.dll_BCryptImportKeyPair]
mov esi, eax
test esi, esi
js 0x47ecd8
push 1
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi + 4]
push dword [edi]
push dword [ebp - 0xc]
call dword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov esi, eax
test esi, esi
js 0x47eccf
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
call fcn.0047ea91
test eax, eax
jne 0x47ecca
mov esi, dword [ebp - 8]
cmp dword [edi + 4], esi
cmova esi, dword [edi + 4]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.msvcrt.dll_malloc]
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x47ecca
sub esi, dword [edi + 4]
push esi
push 0
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.msvcrt.dll_memset]
push dword [edi + 4]
mov eax, dword [ebp - 4]
push dword [edi]
mov esi, dword [ebp - 0x14]
add eax, esi
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 4]
add esp, 0x18
push 1
push eax
push dword [edi + 4]
xor eax, eax
push dword [edi]
push eax
push eax
push eax
push dword [ebp - 8]
push esi
push dword [ebp - 0xc]
call dword [sym.imp.bcrypt.dll_BCryptEncrypt]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
test esi, esi
js 0x47eccf
mov edx, dword [ebp - 4]
mov ecx, edi
call fcn.0047ea91
jmp 0x47eccf
mov esi, 0xc0000017
push dword [ebp - 0xc]
call dword [sym.imp.bcrypt.dll_BCryptDestroyKey]
push ebx
call dword [sym.imp.msvcrt.dll_free]
xor eax, eax
test esi, esi
pop ecx
setns al
dec eax
jmp 0x47eced
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c552
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov esi, edx
add eax, 0x3c8
mov edi, ecx
push 0x10
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
test esi, esi
jle 0x48c603
add edi, 2
dec esi
shr esi, 4
inc esi
push ebx
xor edx, edx
mov ebx, edi
movzx ecx, byte [ebx - 2]
movzx eax, byte [ebx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 1]
shl ecx, 8
add ebx, 4
or ecx, eax
xor dword [ebp + edx*4 - 0x14], ecx
inc edx
cmp edx, 4
jl 0x48c597
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [eax + 0x3c0]
pop ecx
pop ecx
xor edx, edx
mov ecx, dword [ebp + edx*4 - 0x14]
mov eax, ecx
shr eax, 0x18
mov byte [edi - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [edi - 1], al
mov al, byte [ebp + edx*4 - 0x14]
shr ecx, 8
inc edx
mov byte [edi], cl
lea edi, [edi + 4]
mov byte [edi - 3], al
cmp edx, 4
jl 0x48c5d4
mov edi, ebx
dec esi
jne 0x48c593
pop ebx
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_memcpy]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x48c625
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x10
lea eax, [ebx + 0x3c8]
mov dword [ebp - 0x40], ebx
push eax
mov dword [ebp - 0x44], eax
mov esi, edx
lea eax, [ebp - 0x14]
mov edi, ecx
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
test esi, esi
jle 0x48c71d
dec esi
lea eax, [edi + 2]
shr esi, 4
inc esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esi
mov edi, eax
xor edx, edx
movzx ecx, byte [edi - 2]
movzx eax, byte [edi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
add edi, 4
or ecx, eax
mov dword [ebp + edx - 0x34], ecx
mov dword [ebp + edx - 0x24], ecx
add edx, 4
cmp edx, 0x10
jl 0x48c675
lea eax, [ebp - 0x24]
mov dword [ebp - 0x48], edi
push eax
push ebx
call dword [ebx + 0x3c4]
mov esi, dword [ebp - 0x38]
xor edi, edi
pop ecx
pop ecx
mov edx, dword [ebp + edi - 0x14]
mov ecx, edx
mov ebx, dword [ebp + edi - 0x24]
mov eax, ebx
shr eax, 0x18
shr ecx, 0x18
xor cl, al
mov eax, ebx
mov byte [esi - 2], cl
mov ecx, edx
shr eax, 0x10
shr ecx, 0x10
xor cl, al
shr edx, 8
mov al, byte [ebp + edi - 0x24]
xor al, byte [ebp + edi - 0x14]
mov byte [esi + 1], al
mov eax, dword [ebp + edi - 0x34]
shr ebx, 8
xor dl, bl
mov dword [ebp + edi - 0x14], eax
add edi, 4
mov byte [esi - 1], cl
mov byte [esi], dl
lea esi, [esi + 4]
cmp edi, 0x10
jl 0x48c6bb
dec dword [ebp - 0x3c]
mov edi, dword [ebp - 0x48]
mov eax, edi
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x38], edi
jne 0x48c671
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.msvcrt.dll_memcpy]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x48c740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x10
lea eax, [ebx + 0x3c8]
mov dword [ebp - 0x30], ebx
push eax
mov dword [ebp - 0x2c], eax
mov esi, edx
lea eax, [ebp - 0x14]
mov edi, ecx
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
test esi, esi
jle 0x48c81f
add edi, 2
dec esi
shr esi, 4
inc esi
mov dword [ebp - 0x28], esi
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [ebx + 0x3c0]
add esp, 0x14
xor esi, esi
movzx ebx, byte [edi - 2]
movzx eax, byte [edi - 1]
mov edx, dword [ebp + esi*4 - 0x24]
mov ecx, edx
shl ebx, 8
or ebx, eax
shr ecx, 0x18
movzx eax, byte [edi]
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 1]
shl ebx, 8
or ebx, eax
mov eax, ebx
shr eax, 0x18
xor cl, al
mov eax, ebx
mov byte [edi - 2], cl
mov ecx, edx
shr eax, 0x10
shr ecx, 0x10
xor cl, al
shr edx, 8
mov eax, ebx
mov byte [edi - 1], cl
shr eax, 8
xor dl, al
mov al, byte [ebp + esi*4 - 0x24]
xor al, bl
mov byte [edi], dl
mov byte [edi + 1], al
inc esi
add edi, 4
cmp esi, 4
jl 0x48c7a9
push 3
pop eax
inc dword [ebp + eax*4 - 0x14]
jne 0x48c813
dec eax
jns 0x48c80a
dec dword [ebp - 0x28]
mov ebx, dword [ebp - 0x30]
jne 0x48c789
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.msvcrt.dll_memcpy]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
and dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0
mov bl, byte [edi]
mov dh, byte [edi + 1]
jle 0x48c9d9
push esi
inc bl
movzx esi, bl
mov dl, byte [esi + edi + 2]
add dh, dl
movzx ecx, dh
mov al, byte [ecx + edi + 2]
mov byte [esi + edi + 2], al
mov byte [ecx + edi + 2], dl
movzx ecx, byte [esi + edi + 2]
mov esi, dword [ebp + 0xc]
movzx eax, dl
add ecx, eax
and ecx, 0xff
mov al, byte [ecx + edi + 2]
mov ecx, dword [ebp + 8]
xor byte [ecx + esi], al
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, dword [ebp + 0x10]
jl 0x48c998
pop esi
mov byte [edi], bl
mov byte [edi + 1], dh
pop edi
pop ebx
pop ebp
ret
Function at 0x48c9e2
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x110], edx
push esi
lea esi, [ecx + 2]
mov dword [ebp - 0x10c], eax
push edi
mov word [ecx], ax
mov ebx, eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x114], esi
mov edi, 0x100
sub esi, eax
mov dword [ebp - 0x108], edi
xor edx, edx
mov edi, dword [ebp - 0x110]
mov eax, ebx
lea ecx, [ebp - 0x104]
div dword [ebp + 8]
add ecx, ebx
mov byte [esi + ecx], bl
inc ebx
mov al, byte [edx + edi]
mov byte [ecx], al
cmp ebx, dword [ebp - 0x108]
jb 0x48ca27
mov esi, dword [ebp - 0x114]
lea ebx, [ebp - 0x104]
mov edi, esi
sub ebx, esi
mov dl, byte [edi]
movzx eax, byte [ebx + edi]
add eax, dword [ebp - 0x10c]
movzx ecx, dl
add ecx, eax
and ecx, 0xff
mov dword [ebp - 0x10c], ecx
mov al, byte [ecx + esi]
mov byte [edi], al
inc edi
dec dword [ebp - 0x108]
mov byte [ecx + esi], dl
jne 0x48ca5d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x48d2ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1048]
mov eax, dword [esi + 0x104c]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
test edx, edx
jle 0x48d37b
push edi
lea edi, [edx - 1]
add ebx, 2
shr edi, 3
inc edi
movzx edx, byte [ebx + 5]
lea eax, [ebp - 0xc]
movzx ecx, byte [ebx + 1]
shl edx, 8
push esi
push eax
movzx eax, byte [ebx + 4]
or edx, eax
shl ecx, 8
movzx eax, byte [ebx + 3]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ebx]
xor edx, dword [ebp + 8]
or ecx, eax
movzx eax, byte [ebx - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx - 2]
shl ecx, 8
or ecx, eax
xor ecx, dword [ebp - 4]
call fcn.0048cb22
mov edx, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 8
mov byte [ebx - 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx], al
mov eax, ecx
shr eax, 0x18
lea ebx, [ebx + 8]
mov byte [ebx - 7], al
mov eax, edx
shr eax, 8
mov byte [ebx - 5], al
mov eax, edx
shr eax, 0x10
mov byte [ebx - 4], al
mov eax, edx
shr eax, 0x18
mov byte [ebx - 0xa], cl
mov byte [ebx - 6], dl
mov byte [ebx - 3], al
mov dword [ebp - 4], ecx
mov dword [ebp + 8], edx
dec edi
jne 0x48d2de
pop edi
jmp 0x48d37e
mov edx, dword [ebp + 8]
mov dword [esi + 0x1048], ecx
mov dword [esi + 0x104c], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebx + 0x1048]
mov eax, dword [ebx + 0x104c]
mov dword [ebp - 4], edi
mov dword [ebp + 8], eax
test edx, edx
jle 0x48d471
lea eax, [edx - 1]
add ecx, 2
shr eax, 3
inc eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
push esi
movzx edi, byte [ecx + 1]
movzx eax, byte [ecx]
movzx esi, byte [ecx + 5]
shl edi, 8
or edi, eax
shl esi, 8
movzx eax, byte [ecx - 1]
shl edi, 8
or edi, eax
movzx eax, byte [ecx - 2]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 4]
or esi, eax
movzx eax, byte [ecx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 2]
shl esi, 8
mov ecx, edi
or esi, eax
lea eax, [ebp - 0x14]
push ebx
push eax
mov edx, esi
call fcn.0048cee7
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov eax, edx
shr eax, 8
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], edi
mov byte [ecx - 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx - 2], dl
shr edx, 0x18
mov byte [ecx], al
mov byte [ecx + 1], dl
mov edx, dword [ebp + 8]
mov eax, edx
shr eax, 8
mov byte [ecx + 3], al
mov eax, edx
mov byte [ecx + 2], dl
shr eax, 0x10
shr edx, 0x18
mov byte [ecx + 4], al
mov eax, esi
mov byte [ecx + 5], dl
add ecx, 8
dec dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov dword [ebp - 8], ecx
jne 0x48d3c6
pop esi
mov dword [ebx + 0x1048], edi
pop edi
mov dword [ebx + 0x104c], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48d483
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1048]
mov eax, dword [esi + 0x104c]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
test edx, edx
jle 0x48d552
push edi
lea edi, [edx - 1]
add ebx, 2
shr edi, 3
inc edi
movzx edx, byte [ebx + 2]
lea eax, [ebp - 0xc]
movzx ecx, byte [ebx - 2]
shl edx, 8
push esi
push eax
movzx eax, byte [ebx + 3]
or edx, eax
shl ecx, 8
movzx eax, byte [ebx + 4]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 5]
shl edx, 8
or edx, eax
movzx eax, byte [ebx - 1]
xor edx, dword [ebp + 8]
or ecx, eax
movzx eax, byte [ebx]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
xor ecx, dword [ebp - 4]
call fcn.0048cb22
mov edx, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [ebx - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx - 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx], al
mov eax, edx
shr eax, 0x18
lea ebx, [ebx + 8]
mov byte [ebx - 6], al
mov eax, edx
shr eax, 0x10
mov byte [ebx - 5], al
mov eax, edx
shr eax, 8
mov byte [ebx - 7], cl
mov byte [ebx - 4], al
mov byte [ebx - 3], dl
mov dword [ebp - 4], ecx
mov dword [ebp + 8], edx
dec edi
jne 0x48d4b5
pop edi
jmp 0x48d555
mov edx, dword [ebp + 8]
mov dword [esi + 0x1048], ecx
mov dword [esi + 0x104c], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d567
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebx + 0x1048]
mov eax, dword [ebx + 0x104c]
mov dword [ebp - 4], edi
mov dword [ebp + 8], eax
test edx, edx
jle 0x48d64c
lea eax, [edx - 1]
add ecx, 2
shr eax, 3
inc eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
push esi
movzx edi, byte [ecx - 2]
movzx eax, byte [ecx - 1]
movzx esi, byte [ecx + 2]
shl edi, 8
or edi, eax
shl esi, 8
movzx eax, byte [ecx]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 1]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 3]
or esi, eax
movzx eax, byte [ecx + 4]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 5]
shl esi, 8
mov ecx, edi
or esi, eax
lea eax, [ebp - 0x14]
push ebx
push eax
mov edx, esi
call fcn.0048cee7
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov eax, edx
shr eax, 0x18
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], edi
mov byte [ecx - 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx - 1], al
mov eax, edx
shr eax, 8
mov byte [ecx], al
mov byte [ecx + 1], dl
mov edx, dword [ebp + 8]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 3], al
mov eax, edx
shr eax, 8
mov byte [ecx + 4], al
mov eax, esi
mov byte [ecx + 5], dl
add ecx, 8
dec dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov dword [ebp - 8], ecx
jne 0x48d59d
pop esi
mov dword [ebx + 0x1048], edi
pop edi
mov dword [ebx + 0x104c], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48f7d4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
xor edx, edx
push edi
mov edi, ecx
test esi, esi
je 0x48f7f6
movzx eax, byte [edi]
inc edi
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4d8f40]
dec esi
jne 0x48f7e0
pop edi
mov eax, edx
pop esi
ret

Function at 0x48f7fb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push 4
pop ebx
mov edx, dword [esi]
movzx eax, byte [edi]
inc edi
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4d8f40]
dec ebx
jne 0x48f807
pop edi
mov dword [esi], edx
pop esi
pop ebx
ret
Function at 0x490d03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
test edx, edx
je 0x490dcf
push edi
lea edi, [edx - 1]
add ebx, 2
shr edi, 3
mov edx, eax
inc edi
movzx ecx, byte [ebx + 2]
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx - 1]
xor ecx, edx
movzx edx, byte [ebx - 2]
shl edx, 8
or edx, eax
movzx eax, byte [ebx]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 1]
shl edx, 8
push esi
or edx, eax
xor edx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 8]
call fcn.0048fb0d
mov edx, dword [ebp - 4]
pop ecx
pop ecx
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x18
mov byte [ebx - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx - 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx], al
mov eax, edx
shr eax, 0x18
lea ebx, [ebx + 8]
mov byte [ebx - 6], al
mov eax, edx
shr eax, 0x10
mov byte [ebx - 5], al
mov eax, edx
shr eax, 8
mov byte [ebx - 7], cl
mov byte [ebx - 4], al
mov byte [ebx - 3], dl
mov dword [ebp + 8], ecx
dec edi
jne 0x490d36
pop edi
jmp 0x490dd2
mov edx, dword [ebp - 4]
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x490de4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebx + 0x80]
mov eax, dword [ebx + 0x84]
mov dword [ebp - 8], edi
mov dword [ebp + 8], eax
test edx, edx
je 0x490ec7
lea eax, [edx - 1]
add ecx, 2
shr eax, 3
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
push esi
movzx edi, byte [ecx - 2]
movzx eax, byte [ecx - 1]
movzx esi, byte [ecx + 2]
shl edi, 8
or edi, eax
shl esi, 8
movzx eax, byte [ecx]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 1]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 3]
or esi, eax
mov edx, edi
movzx eax, byte [ecx + 4]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 5]
shl esi, 8
lea ecx, [ebp - 0x14]
or esi, eax
push ebx
push esi
call fcn.00490408
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov eax, edx
shr eax, 0x18
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], edi
mov byte [ecx - 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx - 1], al
mov eax, edx
shr eax, 8
mov byte [ecx], al
mov byte [ecx + 1], dl
mov edx, dword [ebp + 8]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 3], al
mov eax, edx
shr eax, 8
mov byte [ecx + 4], al
mov eax, esi
mov byte [ecx + 5], dl
add ecx, 8
dec dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
jne 0x490e1a
pop esi
mov dword [ebx + 0x80], edi
pop edi
mov dword [ebx + 0x84], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x490f14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x84]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
test edx, edx
je 0x49100b
push edi
lea edi, [edx - 1]
add ebx, 2
shr edi, 3
mov edx, eax
inc edi
movzx ecx, byte [ebx + 2]
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx - 1]
xor ecx, edx
movzx edx, byte [ebx - 2]
shl edx, 8
or edx, eax
movzx eax, byte [ebx]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 1]
shl edx, 8
push esi
or edx, eax
xor edx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 8]
call fcn.0048fb0d
mov edx, dword [ebp - 8]
lea eax, [esi + 0x88]
push eax
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.00490408
mov edx, dword [ebp - 8]
lea eax, [esi + 0x110]
push eax
push dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0048fb0d
mov ecx, dword [ebp - 8]
add esp, 0x18
mov edx, dword [ebp - 4]
mov eax, ecx
shr eax, 0x18
mov byte [ebx - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx - 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx], al
mov eax, edx
shr eax, 0x18
lea ebx, [ebx + 8]
mov byte [ebx - 6], al
mov eax, edx
shr eax, 0x10
mov byte [ebx - 5], al
mov eax, edx
shr eax, 8
mov byte [ebx - 7], cl
mov byte [ebx - 4], al
mov byte [ebx - 3], dl
mov dword [ebp + 8], ecx
dec edi
jne 0x490f47
pop edi
jmp 0x49100e
mov edx, dword [ebp - 4]
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49105b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebx + 0x80]
mov eax, dword [ebx + 0x84]
mov dword [ebp - 8], edi
mov dword [ebp + 8], eax
test edx, edx
je 0x491169
lea eax, [edx - 1]
add ecx, 2
shr eax, 3
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
push esi
movzx edi, byte [ecx - 2]
movzx eax, byte [ecx - 1]
movzx esi, byte [ecx + 2]
shl edi, 8
or edi, eax
shl esi, 8
movzx eax, byte [ecx]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 1]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 3]
or esi, eax
mov edx, edi
movzx eax, byte [ecx + 4]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 5]
shl esi, 8
lea ecx, [ebp - 0x14]
or esi, eax
lea eax, [ebx + 0x110]
push eax
push esi
call fcn.00490408
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x88]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0048fb0d
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
call fcn.00490408
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov eax, edx
shr eax, 0x18
mov byte [ecx - 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx - 1], al
mov eax, edx
shr eax, 8
mov byte [ecx], al
mov byte [ecx + 1], dl
mov edx, dword [ebp + 8]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 3], al
mov eax, edx
shr eax, 8
mov byte [ecx + 4], al
mov eax, esi
mov byte [ecx + 5], dl
add ecx, 8
dec dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov dword [ebp + 8], eax
jne 0x491091
pop esi
mov dword [ebx + 0x80], edi
pop edi
mov dword [ebx + 0x84], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x493575
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x54], eax
ret
Function at 0x493768
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_memset]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov esi, edx
mov edi, ecx
call ebx
lea eax, [ebp - 0x44]
add esp, 0xc
xor edx, edx
sub esi, eax
cmp edx, 0x40
jge 0x4937ae
lea ecx, [ebp - 0x44]
add ecx, edx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 0x10
jl 0x493799
mov ecx, edi
call fcn.00493575
push 0x40
lea edx, [ebp - 0x44]
call fcn.0049359c
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call ebx
add esp, 0x10
xor edx, edx
cmp edx, 0x40
jge 0x4937e3
lea ecx, [ebp - 0x44]
add ecx, edx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 0x10
jl 0x4937ce
lea ecx, [edi + 0x5c]
call fcn.00493575
push 0x40
lea edx, [ebp - 0x44]
call fcn.0049359c
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call ebx
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret