joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbd50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push edi
mov edi, dword [ebp + 0x10]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp + 0xc]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push esi
push eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0xc3d2e1f0
call fcn.004bc0e0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4bbeca
mov eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x68]
lea edx, [eax*8]
mov eax, esi
shr eax, 0x1d
lea ecx, [esi*8]
or edx, eax
mov byte [ebp - 0xc], cl
mov eax, ecx
mov byte [ebp - 8], dl
shr eax, 8
and esi, 0x3f
mov byte [ebp - 0xb], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 6], al
mov eax, 0x38
mov byte [ebp - 9], cl
sub eax, esi
shr edx, 0x18
mov ecx, 0x78
sub ecx, esi
mov byte [ebp - 5], dl
cmp esi, 0x38
cmovae eax, ecx
push eax
lea eax, [ebp - 0x68]
push 0x52c668
push eax
call fcn.004bc0e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bbeca
push 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004bc0e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bbeca
mov eax, dword [ebp - 0x60]
mov byte [edi], al
mov byte [edi + 1], ah
movzx eax, byte [ebp - 0x5e]
mov byte [edi + 2], al
movzx eax, byte [ebp - 0x5d]
mov byte [edi + 3], al
mov eax, dword [ebp - 0x5c]
mov byte [edi + 4], al
mov byte [edi + 5], ah
movzx eax, byte [ebp - 0x5a]
mov byte [edi + 6], al
movzx eax, byte [ebp - 0x59]
mov byte [edi + 7], al
mov eax, dword [ebp - 0x58]
mov byte [edi + 8], al
mov byte [edi + 9], ah
movzx eax, byte [ebp - 0x56]
mov byte [edi + 0xa], al
movzx eax, byte [ebp - 0x55]
mov byte [edi + 0xb], al
mov eax, dword [ebp - 0x54]
mov byte [edi + 0xc], al
mov byte [edi + 0xd], ah
movzx eax, byte [ebp - 0x52]
mov byte [edi + 0xe], al
movzx eax, byte [ebp - 0x51]
mov byte [edi + 0xf], al
mov eax, dword [ebp - 0x50]
mov byte [edi + 0x10], al
mov byte [edi + 0x11], ah
movzx eax, byte [ebp - 0x4e]
mov byte [edi + 0x12], al
movzx eax, byte [ebp - 0x4d]
mov byte [edi + 0x13], al
lea eax, [ebp - 0x68]
push 0x5c
push eax
call fcn.004ae790
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.005091c5
mov esp, ebp
pop ebp
ret

Function at 0x4bc0a0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
xor eax, eax
pop ebp
ret
Function at 0x4bd6c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push edi
mov edi, dword [ebp + 0x10]
push 0x40
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push esi
push eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x67452301
mov dword [ebp - 0x54], 0xefcdab89
mov dword [ebp - 0x50], 0x98badcfe
mov dword [ebp - 0x4c], 0x10325476
mov dword [ebp - 0x48], 0xc3d2e1f0
call fcn.004bd8b0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4bd73b
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.004bd760
add esp, 8
mov esi, eax
lea eax, [ebp - 0x60]
push 0x5c
push eax
call fcn.004ae790
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.005091c5
mov esp, ebp
pop ebp
ret
Function at 0x4bfa20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
push edi
mov edi, dword [ebp + 0x18]
push eax
call fcn.004a78f0
push edi
call fcn.004a7880
mov edi, eax
add esp, 8
test edi, edi
jne 0x4bfa6b
pop edi
mov eax, 0xffffbf80
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004a78f0
push 0
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.004a7910
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4bfbbd
push edi
call fcn.004a7510
movzx eax, al
push 0x40
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov dword [ebp - 0x48], ebx
test eax, eax
je 0x4bfbbd
cmp eax, dword [ebp - 0x58]
mov edi, eax
lea eax, [ebp - 0x54]
cmovae edi, dword [ebp - 0x58]
push eax
call fcn.004a7b00
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4bfbbd
push dword [ebp + 0x14]
lea eax, [ebp - 0x54]
push dword [ebp - 0x5c]
push eax
call fcn.004a7bb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4bfbbd
push 4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004a7bb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4bfbbd
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004a73c0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4bfbbd
xor ecx, ecx
test edi, edi
je 0x4bfbac
cmp edi, 0x40
jb 0x4bfba0
lea edx, [esi - 1]
lea eax, [ebp + edi - 0x45]
add edx, edi
cmp esi, eax
ja 0x4bfb4b
lea eax, [ebp - 0x44]
cmp edx, eax
jae 0x4bfba0
mov eax, edi
and eax, 0xffffffc0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [ebp + ecx - 0x44]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [esi + 0x10]
movups xmm1, xmmword [ebp + ecx - 0x34]
pxor xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [esi + 0x20]
movups xmm1, xmmword [ebp + ecx - 0x24]
pxor xmm1, xmm0
movups xmmword [esi + 0x20], xmm1
movups xmm0, xmmword [esi + 0x30]
movups xmm1, xmmword [ebp + ecx - 0x14]
add ecx, 0x40
pxor xmm1, xmm0
movups xmmword [esi + 0x30], xmm1
add esi, 0x40
cmp ecx, eax
jb 0x4bfb50
cmp ecx, edi
jae 0x4bfbac
mov al, byte [ebp + ecx - 0x44]
inc ecx
xor byte [esi], al
inc esi
cmp ecx, edi
jb 0x4bfba0
mov eax, dword [ebp + 0xc]
inc byte [ebp - 0x45]
sub eax, edi
mov dword [ebp + 0xc], eax
jne 0x4bfab7
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004ae790
lea eax, [ebp - 0x54]
push eax
call fcn.004a7460
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, ebx
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.005091c5
mov esp, ebp
pop ebp
ret
Function at 0x4c24b0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esi], 0x61707865
mov dword [esi + 4], 0x3320646e
mov dword [esi + 8], 0x79622d32
mov dword [esi + 0xc], 0x6b206574
movzx ecx, byte [edx + 3]
shl ecx, 8
movzx eax, byte [edx + 2]
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx ecx, byte [edx + 7]
shl ecx, 8
movzx eax, byte [edx + 6]
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x1c], ecx
movzx ecx, byte [edx + 0x13]
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], ecx
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x24], ecx
movzx ecx, byte [edx + 0x1b]
movzx eax, byte [edx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
shl ecx, 8
movzx eax, byte [edx + 0x18]
or ecx, eax
mov dword [esi + 0x28], ecx
movzx ecx, byte [edx + 0x1f]
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [esi + 0x2c], ecx
pop esi
pop ebp
ret
Function at 0x4c2690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
push edi
test ecx, ecx
je 0x4c26df
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub edi, edx
mov esi, dword [ebx + 0x80]
cmp esi, 0x40
jae 0x4c26d9
mov al, byte [edi + edx]
xor al, byte [esi + ebx + 0x40]
mov esi, dword [ebp - 4]
mov byte [edx], al
inc esi
inc dword [ebx + 0x80]
inc edx
mov dword [ebp - 4], esi
sub ecx, 1
jne 0x4c26b0
jmp 0x4c26dc
mov esi, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
mov edi, dword [ebp + 0x10]
lea eax, [ebx + 0x40]
mov dword [ebp - 0x14], eax
cmp ecx, 0x40
jb 0x4c27bd
mov edx, dword [ebp + 0x14]
lea eax, [ebx + 0x41]
mov dword [ebp - 0x10], eax
mov eax, edi
sub eax, edx
shr ecx, 6
inc edx
mov dword [ebp - 0xc], eax
add esi, edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edi, 3
mov eax, ecx
add edi, edx
shl eax, 6
add edx, eax
mov dword [ebp - 4], edx
nop dword [eax]
lea eax, [ebx + 0x40]
push eax
push ebx
call fcn.004c2190
mov ecx, dword [ebp - 0x10]
add esp, 8
inc dword [ebx + 0x30]
mov edx, 8
mov ebx, dword [ebp - 0xc]
nop dword [eax + eax]
movzx eax, byte [edi - 3]
lea ecx, [ecx + 8]
xor al, byte [ecx - 9]
mov byte [esi - 1], al
movzx eax, byte [esi + ebx]
xor al, byte [ecx - 8]
mov byte [esi], al
movzx eax, byte [edi - 1]
xor al, byte [ecx - 7]
mov byte [esi + 1], al
movzx eax, byte [ecx - 6]
xor al, byte [edi]
mov byte [esi + 2], al
movzx eax, byte [edi + 1]
xor al, byte [ecx - 5]
mov byte [esi + 3], al
movzx eax, byte [edi + 2]
xor al, byte [ecx - 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 3]
xor al, byte [ecx - 3]
mov byte [esi + 5], al
movzx eax, byte [edi + 4]
add edi, 8
xor al, byte [ecx - 2]
mov byte [esi + 6], al
add esi, 8
sub edx, 1
jne 0x4c2740
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
sub ecx, 0x40
sub dword [ebp - 8], 1
mov dword [ebp + 0xc], ecx
jne 0x4c2720
mov edi, dword [ebp - 0xc]
lea eax, [ebx + 0x40]
mov esi, dword [ebp + 0x14]
jmp 0x4c27c2
mov esi, dword [ebp + 0x14]
sub edi, esi
test ecx, ecx
je 0x4c27ff
push eax
push ebx
call fcn.004c2190
inc dword [ebx + 0x30]
add esp, 8
mov ebx, dword [ebp - 4]
xor edx, edx
add ebx, esi
nop word [eax + eax]
mov esi, dword [ebp - 0x14]
lea ecx, [ebx + edx]
mov al, byte [edi + ecx]
xor al, byte [esi + edx]
inc edx
mov esi, dword [ebp + 0xc]
mov byte [ecx], al
cmp edx, esi
jb 0x4c27e0
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x80], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c2bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x14]
push edi
mov edi, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
push eax
push dword [ebp + 0x18]
push ecx
push edx
push ebx
push 1
push esi
call fcn.004c2810
add esp, 0x24
test eax, eax
jne 0x4c2cc3
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x10]
sub ecx, eax
xorps xmm4, xmm4
xorps xmm3, xmm3
sub edx, eax
mov esi, 2
nop dword [eax]
movd xmm2, dword [ecx + eax]
xorps xmm0, xmm0
movd xmm1, dword [eax]
lea eax, [eax + 8]
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [eax - 4]
punpcklbw xmm1, xmm0
por xmm4, xmm2
movd xmm2, dword [edx + eax - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
sub esi, 1
jne 0x4c2c30
por xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x4c2cc1
push ebx
push edi
call fcn.004ae790
add esp, 8
lea eax, [esi - 0x56]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005091c5
mov esp, ebp
pop ebp
ret

Function at 0x4c2dd0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c24b0
Function at 0x4c2e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
push eax
push 0x10
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push ebx
movups xmmword [ebp - 0x14], xmm0
call fcn.004b31a0
add esp, 0x14
test eax, eax
jne 0x4c3078
movzx eax, byte [ebp - 0x13]
xor edx, edx
movzx ecx, byte [ebp - 0x10]
push esi
movzx esi, byte [ebp - 0x14]
shl esi, 8
or esi, eax
shl ecx, 8
movzx eax, byte [ebp - 0x12]
shl esi, 8
or esi, eax
mov dword [ebx + 0xc8], 0
movzx eax, byte [ebp - 0x11]
shl esi, 8
or esi, eax
mov dword [ebx + 0xcc], 0
movzx eax, byte [ebp - 0xf]
or ecx, eax
mov dword [ebx + 0x10c], esi
movzx eax, byte [ebp - 0xe]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x48], 0
movzx eax, byte [ebp - 0xd]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x4c], 0
movzx eax, byte [ebp - 0xb]
or edx, ecx
movzx ecx, byte [ebp - 8]
push edi
movzx edi, byte [ebp - 0xc]
shl edi, 8
or edi, eax
shl ecx, 8
movzx eax, byte [ebp - 0xa]
shl edi, 8
or edi, eax
mov dword [ebp - 0x1c], edx
movzx eax, byte [ebp - 9]
xor edx, edx
shl edi, 8
or edi, eax
mov dword [ebp - 0x20], 4
movzx eax, byte [ebp - 7]
or ecx, eax
mov dword [ebx + 0x8c], edi
movzx eax, byte [ebp - 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 5]
shl ecx, 8
or ecx, eax
or edx, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x108], ecx
shrd dword [ebp - 0x18], edi, 1
shl ecx, 0x1f
and edx, 1
shr edi, 1
xor eax, eax
or dword [ebp - 0x18], eax
or edi, ecx
mov ecx, dword [ebp - 0x1c]
shrd ecx, esi, 1
imul edx, edx, 0xe1000000
xor ecx, eax
shr esi, 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
xor esi, edx
mov edx, dword [ebp - 0x18]
mov dword [ebx + eax*8 + 0x48], edx
mov dword [ebx + eax*8 + 0x4c], edi
mov dword [ebx + eax*8 + 0xc8], ecx
mov dword [ebx + eax*8 + 0xcc], esi
shr eax, 1
mov dword [ebp - 0x20], eax
jne 0x4c2fa1
mov ecx, 2
mov dword [ebp - 0x20], ecx
lea edi, [ecx + 0x19]
mov eax, dword [ebx + edi*8]
lea edi, [ebx + edi*8]
mov dword [ebp - 0x1c], eax
lea edx, [ecx + 9]
mov eax, dword [edi + 4]
lea edx, [ebx + edx*8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
cmp ecx, 1
jle 0x4c306a
lea eax, [ebx + 0x50]
sub edi, edx
lea esi, [edx + 8]
lea ebx, [ecx - 1]
nop dword [eax]
mov ecx, dword [eax + 0x84]
lea eax, [eax + 8]
xor ecx, dword [ebp - 0x18]
lea esi, [esi + 8]
mov edx, dword [ebp - 0x1c]
xor edx, dword [eax + 0x78]
mov dword [edi + esi - 8], edx
mov edx, dword [ebp - 0x28]
mov dword [edi + esi - 4], ecx
mov ecx, dword [eax - 4]
xor edx, dword [eax - 8]
xor ecx, dword [ebp - 0x2c]
mov dword [esi - 8], edx
mov dword [esi - 4], ecx
sub ebx, 1
jne 0x4c3030
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
add ecx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 8
jle 0x4c2ff6
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005091c5
mov esp, ebp
pop ebp
ret
Function at 0x4c3330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x2c]
push ebx
mov ebx, dword [ebp + 0x28]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
push eax
push 0
push esi
mov dword [ebp - 0x1c], ecx
call fcn.004c37f0
add esp, 0x10
test eax, eax
jne 0x4c34bf
push dword [ebp + 0x1c]
push edi
push esi
call fcn.004c3bc0
add esp, 0xc
test eax, eax
jne 0x4c34bf
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp - 0x1c]
push eax
push ebx
push esi
call fcn.004c39b0
add esp, 0x18
test eax, eax
jne 0x4c34bf
mov ebx, dword [ebp + 0x24]
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push esi
call fcn.004c3540
add esp, 0x18
test eax, eax
jne 0x4c34bf
xor esi, esi
test ebx, ebx
je 0x4c34bd
mov edi, dword [ebp + 0x20]
cmp ebx, 8
jb 0x4c3479
mov edx, ebx
lea esi, [ebp - 0x14]
sub esi, edi
lea ebx, [ebp - 0x10]
and edx, 0xfffffff8
mov ecx, edi
sub ebx, edi
xorps xmm4, xmm4
mov dword [ebp - 0x18], ebx
xorps xmm3, xmm3
mov ebx, dword [ebp + 0x24]
mov edi, dword [ebp - 0x18]
nop word [eax + eax]
movd xmm2, dword [esi + ecx]
lea ecx, [ecx + 8]
movd xmm1, dword [ecx - 8]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
add eax, 8
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [ecx - 4]
punpcklbw xmm1, xmm0
por xmm4, xmm2
movd xmm2, dword [edi + ecx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp eax, edx
jb 0x4c3400
mov edi, dword [ebp + 0x20]
por xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd esi, xmm3
cmp eax, ebx
jae 0x4c3495
lea ecx, [ebp - 0x14]
sub edi, ecx
nop
lea ecx, [ebp - 0x14]
add ecx, eax
inc eax
movzx edx, byte [edi + ecx]
movzx ecx, byte [ecx]
xor edx, ecx
or esi, edx
cmp eax, ebx
jb 0x4c3480
test esi, esi
je 0x4c34bd
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call fcn.004ae790
add esp, 8
mov eax, 0xffffffee
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005091c5
mov esp, ebp
pop ebp
ret
Function at 0x4c3540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebp - 0x28], ecx
mov ecx, dword [edi + 0x148]
mov edx, ecx
mov eax, dword [edi + 0x14c]
mov ebx, eax
mov esi, dword [edi + 0x154]
shld ebx, edx, 3
shl edx, 3
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], edx
mov edx, dword [edi + 0x150]
mov ebx, edx
shld esi, ebx, 3
shl ebx, 3
or ecx, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
jne 0x4c35b9
and edx, 0xf
or edx, ecx
je 0x4c35b9
lea eax, [edi + 0x178]
push eax
push eax
push edi
call fcn.004c3150
add esp, 0xc
mov ebx, dword [ebp + 0x1c]
lea eax, [ebx - 4]
cmp eax, 0xc
ja 0x4c36fe
mov eax, dword [edi + 0x148]
lea esi, [edi + 0x178]
and eax, 0xf
or eax, 0
je 0x4c35e7
push esi
push esi
push edi
call fcn.004c3150
add esp, 0xc
push ebx
lea eax, [edi + 0x158]
push eax
push dword [ebp - 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x24]
add esp, 0xc
or eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
jne 0x4c3610
mov eax, edx
or eax, dword [ebp - 0x1c]
je 0x4c36eb
mov ebx, dword [ebp - 0x1c]
mov ecx, edx
mov eax, ebx
mov byte [ebp - 0x11], bl
shr eax, 0x18
mov byte [ebp - 0x14], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x13], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0x12], al
mov eax, ebx
shrd ecx, eax, 0x18
mov eax, ebx
mov byte [ebp - 0xd], dl
mov byte [ebp - 0x10], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
mov edx, dword [ebp - 0x24]
shrd eax, ebx, 8
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, ebx
mov byte [ebp - 0xf], cl
mov ecx, edx
shrd ecx, eax, 0x18
mov eax, ebx
mov byte [ebp - 9], bl
mov byte [ebp - 8], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [ebp - 5], dl
shrd eax, ebx, 8
mov byte [ebp - 7], cl
lea edx, [ebp - 0x13]
mov byte [ebp - 6], al
mov ebx, 4
lea eax, [edi + 0x179]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 4]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 2]
xor byte [eax - 2], cl
sub ebx, 1
jne 0x4c36a1
push esi
push esi
push edi
call fcn.004c3150
mov ebx, dword [ebp + 0x1c]
add esp, 0xc
xor ecx, ecx
test ebx, ebx
je 0x4c36eb
mov edx, dword [ebp - 0x28]
nop
mov al, byte [esi + ecx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, ebx
jb 0x4c36e0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffffec
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005091c5
mov esp, ebp
pop ebp
ret
Function at 0x4c37f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x55ca98]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
test esi, esi
je 0x4c398f
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movups xmmword [edi + 0x168], xmm0
push ebx
lea ebx, [edi + 0x168]
mov dword [ebp - 0x20], ebx
movups xmmword [edi + 0x178], xmm0
mov dword [edi + 0x188], eax
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
cmp esi, 0xc
jne 0x4c388b
movq xmm0, qword [ecx]
movq qword [ebx], xmm0
mov eax, dword [ecx + 8]
mov dword [ebx + 8], eax
mov byte [edi + 0x177], 1
jmp 0x4c3967
mov ecx, 8
movlpd qword [ebp - 0x14], xmm0
mov eax, esi
mul ecx
mov ecx, edx
mov byte [ebp - 9], dl
shr ecx, 0x18
mov ebx, eax
mov byte [ebp - 0xc], cl
mov eax, edx
mov ecx, edx
mov byte [ebp - 5], bl
shr ecx, 0x10
mov byte [ebp - 0xb], cl
mov ecx, edx
shr ecx, 8
mov byte [ebp - 0xa], cl
mov ecx, ebx
shrd ecx, eax, 0x18
mov eax, edx
mov byte [ebp - 8], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov ebx, dword [ebp - 0x20]
shrd eax, edx, 8
mov byte [ebp - 7], cl
mov byte [ebp - 6], al
mov eax, dword [ebp - 0x18]
nop
mov edi, 0x10
cmp esi, edi
cmovb edi, esi
test edi, edi
je 0x4c3906
mov edx, eax
mov esi, edi
mov eax, ebx
mov cl, byte [edx]
lea edx, [edx + 1]
xor byte [eax], cl
lea eax, [eax + 1]
sub esi, 1
jne 0x4c38f4
mov esi, dword [ebp + 0x14]
push ebx
push ebx
push dword [ebp - 0x1c]
call fcn.004c3150
mov eax, dword [ebp - 0x18]
sub esi, edi
add eax, edi
mov dword [ebp + 0x14], esi
add esp, 0xc
mov dword [ebp - 0x18], eax
test esi, esi
jne 0x4c38e0
mov edi, dword [ebp - 0x1c]
lea edx, [ebp - 0x13]
mov esi, 4
lea ecx, [edi + 0x169]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
xor byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 4]
xor byte [ecx - 4], al
movzx eax, byte [edx - 3]
xor byte [ecx - 3], al
movzx eax, byte [edx - 2]
xor byte [ecx - 2], al
sub esi, 1
jne 0x4c3935
push ebx
push ebx
push edi
call fcn.004c3150
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 0x158]
push eax
push 0x10
push ebx
push edi
call fcn.004b31a0
add esp, 0x14
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005091c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffffec
pop edi
xor ecx, ebp
pop esi
call fcn.005091c5
mov esp, ebp
pop ebp
ret