joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5011
Capabilities:
Encrypt data using des

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ecx, ecx
push 0x1c
xor edi, edi
mov dword [ebp - 4], ecx
pop edx
movzx eax, byte [ecx + 0x4256b8]
mov ebx, eax
shr ebx, 3
mov bl, byte [ebx + esi]
and eax, 7
and bl, byte [eax*4 + 0x425698]
xor eax, eax
inc eax
shl eax, cl
neg bl
sbb ebx, ebx
and ebx, eax
or edi, ebx
inc ecx
cmp ecx, edx
jb 0x4c502c
xor ecx, ecx
movzx eax, byte [ecx + 0x4256d4]
mov ebx, eax
shr ebx, 3
mov bl, byte [ebx + esi]
and eax, 7
and bl, byte [eax*4 + 0x425698]
xor eax, eax
inc eax
shl eax, cl
neg bl
sbb ebx, ebx
and ebx, eax
or dword [ebp - 4], ebx
inc ecx
dec edx
jne 0x4c5059
mov eax, dword [ebp + 0x14]
and dword [ebp + 0xc], 0
mov esi, dword [ebp + 0x10]
shl eax, 3
mov dword [ebp + 0x14], eax
lea esi, [ebp + esi*8 - 0x80]
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x425688]
push 0x1c
pop edx
sub edx, eax
mov ecx, edx
mov ebx, edi
shl ebx, cl
mov ecx, eax
shr edi, cl
mov ecx, edx
mov edx, dword [ebp - 4]
or edi, ebx
mov ebx, dword [ebp - 4]
shl ebx, cl
mov ecx, eax
shr edx, cl
mov ecx, edi
shr ecx, 1
mov eax, ecx
or ebx, edx
and eax, 0x7000000
mov dword [ebp - 4], ebx
mov ebx, ecx
mov edx, edi
and edx, 0xc00000
or eax, edx
shr eax, 1
and ebx, 0x60000
mov edx, edi
and edx, 0x100000
or eax, edx
shr eax, 0x14
mov eax, dword [eax*4 + 0x4259f0]
and ecx, 0xf00
mov edx, edi
and edx, 0x1e000
or edx, ebx
shr edx, 0xd
or eax, dword [edx*4 + 0x4258f0]
mov ebx, dword [ebp - 4]
mov edx, edi
and edx, 0xc0
or ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 6
or eax, dword [ecx*4 + 0x4257f0]
shr edx, 1
mov ecx, edi
and ecx, 0x3f
or eax, dword [ecx*4 + 0x4256f0]
mov ecx, edx
and ecx, 0x1e00
and ebx, 0x180
or ecx, ebx
mov ebx, dword [ebp - 4]
and edx, 0x6000000
shr ecx, 7
mov ecx, dword [ecx*4 + 0x425bf0]
and ebx, 0x1e00000
or edx, ebx
shr edx, 0x15
or ecx, dword [edx*4 + 0x425df0]
mov edx, dword [ebp - 4]
shr edx, 0xf
and edx, 0x3f
or ecx, dword [edx*4 + 0x425cf0]
mov edx, dword [ebp - 4]
and edx, 0x3f
or ecx, dword [edx*4 + 0x425af0]
mov edx, eax
mov ebx, ecx
and edx, 0xffff
shl ebx, 0x10
or edx, ebx
shr eax, 0x10
and ecx, 0xffff0000
ror edx, 0x1e
or eax, ecx
mov dword [esi - 4], edx
ror eax, 0x1a
mov dword [esi], eax
add esi, dword [ebp + 0x14]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0x10
jb 0x4c5098
mov edi, dword [ebp + 8]
push 0x20
pop ecx
lea esi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x4c58e3
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004c5468
and dword [ebp + 0x10], 0
mov ebx, eax
shl ebx, 2
test ebx, ebx
mov dword [ebp + 0xc], eax
jle 0x4c5952
lea edx, [esi + ebx*4 + 8]
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
mov edi, dword [ecx - 8]
add dword [ebp + 0x10], 4
mov dword [ecx - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], edi
mov edi, dword [ecx - 4]
mov dword [ecx - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], edi
mov edi, dword [ecx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
sub ebx, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp + 0x10], ebx
jl 0x4c5911
mov eax, dword [ebp + 0xc]
cmp eax, 1
jle 0x4c5ac4
lea ecx, [eax - 1]
mov dword [ebp + 0x10], ecx
mov ecx, 0xff
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x4276f0]
add esi, 0x10
mov edx, dword [esi]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x4276f0]
and edi, ecx
mov edi, dword [edi*4 + 0x427af0]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4282f0]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + 0x4276f0]
and ebx, ecx
xor edi, dword [ebx*4 + 0x427ef0]
movzx ebx, byte [esi + 5]
and edx, ecx
mov edx, dword [edx*4 + 0x4276f0]
and edx, ecx
xor edi, dword [edx*4 + 0x4286f0]
mov edx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + 0x4276f0]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x4276f0]
and edi, ecx
mov edi, dword [edi*4 + 0x427af0]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4282f0]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + 0x4276f0]
and ebx, ecx
xor edi, dword [ebx*4 + 0x427ef0]
movzx ebx, byte [esi + 9]
and edx, ecx
mov edx, dword [edx*4 + 0x4276f0]
and edx, ecx
xor edi, dword [edx*4 + 0x4286f0]
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + 0x4276f0]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x4276f0]
and edi, ecx
mov edi, dword [edi*4 + 0x427af0]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4282f0]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x4276f0]
and ebx, ecx
xor edi, dword [ebx*4 + 0x427ef0]
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x4276f0]
and edx, ecx
xor edi, dword [edx*4 + 0x4286f0]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x4276f0]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x4276f0]
and edi, ecx
mov edi, dword [edi*4 + 0x427af0]
and ebx, ecx
xor edi, dword [ebx*4 + 0x4282f0]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + 0x4276f0]
and edx, ecx
mov edx, dword [edx*4 + 0x4276f0]
and ebx, ecx
xor edi, dword [ebx*4 + 0x427ef0]
and edx, ecx
xor edi, dword [edx*4 + 0x4286f0]
dec dword [ebp + 0x10]
mov dword [esi + 0xc], edi
jne 0x4c5966
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4c9c31
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
push ebx
push esi
push edi
je 0x4c9e23
mov eax, dword [ecx + 4]
test eax, eax
je 0x4c9e23
mov esi, dword [eax]
test esi, esi
je 0x4c9e23
cmp dword [ebp + 0xc], 0
je 0x4c9e23
mov eax, dword [ecx]
mov ebx, 0x408
mov dword [esi], eax
sub eax, ebx
je 0x4c9c8f
dec eax
je 0x4c9c8f
dec eax
je 0x4c9c8f
dec eax
je 0x4c9c86
dec eax
je 0x4c9c86
mov eax, 0xfffff445
jmp 0x4c9e28
mov dword [esi + 0x18], 0x80
jmp 0x4c9c96
mov dword [esi + 0x18], 0x40
push dword [esi + 0x18]
mov edi, dword [sym.imp.msvcrt.dll_malloc]
call edi
test eax, eax
pop ecx
mov dword [ebp + 8], eax
jne 0x4c9cb3
mov eax, 0xfffff447
jmp 0x4c9e28
push dword [esi + 0x18]
call edi
test eax, eax
pop ecx
mov dword [esi + 0x1c], eax
jne 0x4c9cca
mov esi, 0xfffff447
jmp 0x4c9e15
push dword [esi + 0x18]
push dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.004c9a86
xor eax, eax
cmp dword [esi + 0x18], eax
jbe 0x4c9cf7
mov ecx, dword [esi + 0x1c]
mov cl, byte [ecx + eax]
mov edx, dword [ebp + 8]
xor cl, 0x36
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x18]
jb 0x4c9ce2
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jae 0x4c9d13
mov ecx, dword [esi + 0x1c]
mov cl, byte [ecx + eax]
mov edx, dword [ebp + 8]
xor cl, 0x36
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x18]
jb 0x4c9cfe
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov eax, dword [esi]
sub eax, ebx
je 0x4c9def
dec eax
je 0x4c9dc6
dec eax
je 0x4c9d9d
dec eax
je 0x4c9d74
dec eax
je 0x4c9d48
mov esi, 0xfffff445
jmp 0x4c9e15
push 0x148
call edi
test eax, eax
pop ecx
mov dword [esi + 0x10], eax
je 0x4c9cc0
push eax
call fcn.004d4f9b
push dword [esi + 0x18]
push dword [ebp + 8]
push dword [esi + 0x10]
call fcn.004d4fd8
jmp 0x4c9e13
push 0x148
call edi
test eax, eax
pop ecx
mov dword [esi + 0xc], eax
je 0x4c9cc0
push eax
call fcn.004d517d
push dword [esi + 0x18]
push dword [ebp + 8]
push dword [esi + 0xc]
call fcn.004d4fd8
jmp 0x4c9e13
push 0xa8
call edi
test eax, eax
pop ecx
mov dword [esi + 8], eax
je 0x4c9cc0
push eax
call fcn.004d4a81
push dword [esi + 0x18]
push dword [ebp + 8]
push dword [esi + 8]
call fcn.004d4ab8
jmp 0x4c9e13
push 0x9c
call edi
test eax, eax
pop ecx
mov dword [esi + 4], eax
je 0x4c9cc0
push eax
call fcn.004d0ac5
push dword [esi + 0x18]
push dword [ebp + 8]
push dword [esi + 4]
call fcn.004d2234
jmp 0x4c9e13
push 0x58
call edi
test eax, eax
pop ecx
mov dword [esi + 0x14], eax
je 0x4c9cc0
push eax
call fcn.004d3c46
push dword [esi + 0x18]
push dword [ebp + 8]
push dword [esi + 0x14]
call fcn.004d478f
xor esi, esi
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, esi
jmp 0x4c9e28
mov eax, 0xfffff446
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4c9e96
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4dd52c]
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov byte [ebp - 0x14], 0
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosd dword es:[edi], eax
mov edx, dword [ebp + 0xc]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
test ecx, ecx
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x4ca044
mov eax, dword [ecx + 4]
test eax, eax
je 0x4ca044
mov edi, dword [eax]
test edi, edi
je 0x4ca044
test edx, edx
je 0x4ca044
cmp dword [ebp + 0x10], 0x10
je 0x4c9f00
mov eax, 0xfffff445
jmp 0x4ca049
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax]
and dword [eax + 0x20], 0
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push ebx
push esi
push 0x80
lea edi, [eax + 0x44]
push edx
push edi
lea esi, [eax + 0x24]
lea ebx, [eax + 0x34]
call fcn.004c5468
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push 0xa
push edi
call fcn.004c5ad0
mov al, byte [ebp - 0x14]
shr al, 7
jne 0x4c9f73
mov eax, esi
lea ecx, [ebp - 0x14]
xor edi, edi
sub eax, ecx
mov dl, byte [ebp + edi - 0x14]
mov cl, byte [ebp + edi - 0x13]
shl dl, 1
shr cl, 7
or cl, dl
lea edx, [eax + edi]
inc edi
cmp edi, 0xf
mov byte [ebp + edx - 0x14], cl
jl 0x4c9f4c
mov al, byte [ebp + edi - 0x14]
shl al, 1
mov byte [esi + 0xf], al
jmp 0x4c9fba
cmp al, 1
jne 0x4c9fba
mov edi, esi
lea ecx, [ebp - 0x14]
xor eax, eax
sub edi, ecx
mov dl, byte [ebp + eax - 0x14]
mov cl, byte [ebp + eax - 0x13]
shl dl, 1
shr cl, 7
or cl, dl
lea edx, [edi + eax]
inc eax
cmp eax, 0xf
mov byte [ebp + edx - 0x14], cl
jl 0x4c9f80
mov al, byte [ebp + eax - 0x14]
shl al, 1
mov edi, 0x4df654
push 0x10
mov byte [esi + 0xf], al
mov eax, esi
sub edi, esi
pop ecx
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x4c9fb1
mov al, byte [esi]
shr al, 7
jne 0x4c9ff5
mov dword [ebp - 0x28], ebx
sub dword [ebp - 0x28], esi
mov edi, esi
mov dword [ebp - 0x2c], 0xf
mov cl, byte [edi]
lea eax, [edi + 1]
mov dl, byte [eax]
shr dl, 7
shl cl, 1
or cl, dl
dec dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov byte [edx + edi], cl
mov edi, eax
jne 0x4c9fd0
mov al, byte [esi + 0xf]
shl al, 1
mov byte [ebx + 0xf], al
jmp 0x4ca03e
cmp al, 1
jne 0x4ca03e
mov dword [ebp - 0x28], ebx
sub dword [ebp - 0x28], esi
mov edi, esi
mov dword [ebp - 0x2c], 0xf
mov dl, byte [edi]
lea eax, [edi + 1]
mov cl, byte [eax]
shl dl, 1
shr cl, 7
or cl, dl
dec dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov byte [edi + edx], cl
mov edi, eax
jne 0x4ca008
mov al, byte [esi + 0xf]
shl al, 1
mov byte [ebx + 0xf], al
mov eax, 0x4df654
push 0x10
sub eax, ebx
pop esi
mov cl, byte [eax + ebx]
xor byte [ebx], cl
inc ebx
dec esi
jne 0x4ca035
pop esi
xor eax, eax
pop ebx
jmp 0x4ca049
mov eax, 0xfffff446
mov ecx, dword [ebp - 4]
pop edi
call fcn.004a9585
leave
ret 0xc
Function at 0x4ca17e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
xor esi, esi
cmp edx, esi
je 0x4ca238
mov eax, dword [edx + 4]
cmp eax, esi
je 0x4ca238
cmp dword [eax], esi
je 0x4ca238
cmp dword [ebp + 0xc], esi
je 0x4ca238
push ebx
push edi
mov edi, dword [eax]
push 0x10
pop ebx
cmp dword [edi + 0x20], ebx
jne 0x4ca1cf
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov cl, byte [esi + edi + 0x24]
lea eax, [eax + esi + 0x10]
xor byte [eax], cl
inc esi
cmp esi, ebx
jl 0x4ca1b9
jmp 0x4ca20e
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
add eax, ecx
xor byte [eax], 0x80
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov cl, byte [esi + edi + 0x34]
add eax, esi
xor byte [eax], cl
inc esi
cmp esi, ebx
jl 0x4ca1dc
mov eax, dword [edx + 4]
mov esi, dword [eax]
mov edi, dword [esi + 0x20]
mov ecx, ebx
sub ecx, edi
lea edi, [edi + esi + 0x10]
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [edx + 4]
mov eax, dword [eax]
push eax
lea ecx, [eax + 0x44]
push ecx
add eax, 0x10
push eax
push dword [ebp + 0xc]
push 0x411
call fcn.004d2ff4
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4ca232
mov dword [eax], ebx
pop edi
xor eax, eax
pop ebx
jmp 0x4ca23d
mov eax, 0xfffff446
pop esi
pop ebp
ret 0xc
Function at 0x4cc7d5
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004cc321
test eax, eax
jl 0x4cc9d0
mov edx, dword [esi + 0xf0]
and dword [ebp + 0x10], 0
shl edx, 2
test edx, edx
push ebx
push edi
jle 0x4cc84a
lea ecx, [esi + edx*4 + 8]
lea eax, [esi + 8]
mov ebx, dword [ecx - 8]
mov edi, dword [eax - 8]
add dword [ebp + 0x10], 4
mov dword [eax - 8], ebx
mov ebx, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebx
mov ebx, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebx
mov ebx, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebx
mov dword [ecx + 4], edi
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp dword [ebp + 0x10], edx
jl 0x4cc80c
xor eax, eax
inc eax
cmp dword [esi + 0xf0], eax
mov dword [ebp + 0x10], eax
jle 0x4cc9cc
lea ecx, [esi + 2]
mov eax, 0xff
mov edx, dword [ecx + 0xe]
movzx ebx, byte [ecx + 0xf]
mov ebx, dword [ebx*4 + 0x42ac30]
add ecx, 0x10
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x42ac30]
and edi, eax
mov edi, dword [edi*4 + 0x42b830]
and ebx, eax
xor edi, dword [ebx*4 + 0x42c030]
and edx, eax
mov edx, dword [edx*4 + 0x42ac30]
and edx, eax
xor edi, dword [edx*4 + 0x42c430]
movzx edx, byte [ecx]
mov edx, dword [edx*4 + 0x42ac30]
movzx ebx, byte [ecx + 3]
and edx, eax
xor edi, dword [edx*4 + 0x42bc30]
mov edx, dword [ecx + 2]
mov dword [ecx - 2], edi
mov ebx, dword [ebx*4 + 0x42ac30]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x42ac30]
and edi, eax
mov edi, dword [edi*4 + 0x42b830]
and ebx, eax
xor edi, dword [ebx*4 + 0x42c030]
movzx ebx, byte [ecx + 4]
mov ebx, dword [ebx*4 + 0x42ac30]
and ebx, eax
xor edi, dword [ebx*4 + 0x42bc30]
movzx ebx, byte [ecx + 7]
and edx, eax
mov edx, dword [edx*4 + 0x42ac30]
and edx, eax
xor edi, dword [edx*4 + 0x42c430]
mov edx, dword [ecx + 6]
mov dword [ecx + 2], edi
mov ebx, dword [ebx*4 + 0x42ac30]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x42ac30]
and edi, eax
mov edi, dword [edi*4 + 0x42b830]
and ebx, eax
xor edi, dword [ebx*4 + 0x42c030]
movzx ebx, byte [ecx + 8]
mov ebx, dword [ebx*4 + 0x42ac30]
and edx, eax
mov edx, dword [edx*4 + 0x42ac30]
and ebx, eax
xor edi, dword [ebx*4 + 0x42bc30]
movzx ebx, byte [ecx + 0xb]
and edx, eax
xor edi, dword [edx*4 + 0x42c430]
mov edx, dword [ecx + 0xa]
mov dword [ecx + 6], edi
mov ebx, dword [ebx*4 + 0x42ac30]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x42ac30]
and edi, eax
mov edi, dword [edi*4 + 0x42b830]
and ebx, eax
xor edi, dword [ebx*4 + 0x42c030]
movzx ebx, byte [ecx + 0xc]
mov ebx, dword [ebx*4 + 0x42ac30]
and edx, eax
mov edx, dword [edx*4 + 0x42ac30]
and ebx, eax
xor edi, dword [ebx*4 + 0x42bc30]
and edx, eax
xor edi, dword [edx*4 + 0x42c430]
inc dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xa], edi
cmp edx, dword [esi + 0xf0]
jl 0x4cc864
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x4cd3ad
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4dd52c]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
test bl, 7
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], edi
jne 0x4cd474
cmp ebx, 8
jb 0x4cd474
push ebx
lea eax, [edi + 8]
push ecx
push eax
mov dword [ebp - 0x18], 1
call fcn.004cbdfa
test esi, esi
jne 0x4cd402
mov esi, 0x42c958
push 8
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.004cbdfa
mov dword [ebp - 0x20], 6
jmp 0x4cd41a
mov edi, dword [ebp - 0x1c]
add edi, 8
test ebx, ebx
jbe 0x4cd45c
lea esi, [ebx - 1]
shr esi, 3
inc esi
push 8
push edi
lea eax, [ebp - 0xc]
push eax
call fcn.004cbdfa
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push eax
call fcn.004cc9f7
mov al, byte [ebp - 0x18]
xor byte [ebp - 0xd], al
push 8
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.004cbdfa
inc dword [ebp - 0x18]
add edi, 8
dec esi
jne 0x4cd428
dec dword [ebp - 0x20]
jne 0x4cd417
push 8
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call fcn.004cbdfa
lea eax, [ebx + 8]
jmp 0x4cd477
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 0x14

Function at 0x4cd48b
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4dd52c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
sub eax, 8
test al, 7
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
jne 0x4cd57b
cmp eax, 8
jb 0x4cd57b
push ebx
shr eax, 3
push 8
lea ebx, [eax + eax*2]
push esi
lea eax, [ebp - 0x14]
push eax
shl ebx, 1
call fcn.004cbdfa
push dword [ebp - 0x18]
add esi, 8
push esi
push edi
call fcn.004cbdfa
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edi - 8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], 6
test eax, eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
jbe 0x4cd544
lea esi, [eax - 1]
shr esi, 3
inc esi
xor byte [ebp - 0xd], bl
push 8
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
call fcn.004cbdfa
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
push eax
call fcn.004cced5
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x1c]
call fcn.004cbdfa
sub dword [ebp - 0x1c], 8
dec ebx
dec esi
jne 0x4cd50d
mov eax, dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x4cd4fc
cmp dword [ebp - 0x20], 0
pop ebx
jne 0x4cd557
mov dword [ebp - 0x20], 0x42c958
push 8
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
call fcn.004cbe23
test eax, eax
je 0x4cd576
push dword [ebp - 0x18]
push edi
call fcn.004cbe49
xor eax, eax
jmp 0x4cd57e
mov eax, dword [ebp - 0x18]
jmp 0x4cd57e
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.004a9585
leave
ret 0x14
Function at 0x4ce5cc
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword [ebp + 0xc]
dec edx
push 0x20
pop ecx
sub ecx, dword [ebp + 0x10]
lea esi, [edi + edx*4]
mov eax, dword [esi]
shr eax, cl
test edx, edx
mov dword [ebp - 8], ecx
je 0x4ce61e
mov ecx, dword [ebp + 8]
sub ecx, edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
push ebx
mov edi, dword [esi - 4]
mov ecx, dword [ebp - 8]
mov ebx, dword [esi]
shr edi, cl
mov ecx, dword [ebp + 0x10]
shl ebx, cl
mov ecx, dword [ebp - 0xc]
xor edi, ebx
mov dword [ecx + esi], edi
dec edx
sub esi, 4
dec dword [ebp - 4]
jne 0x4ce5fa
mov edi, dword [ebp + 0xc]
pop ebx
mov ecx, dword [ebp + 0x10]
shl edx, 2
mov esi, dword [edx + edi]
shl esi, cl
mov ecx, dword [ebp + 8]
pop edi
mov dword [edx + ecx], esi
pop esi
leave
ret 0xc

Function at 0x4ce63a
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0x20
mov esi, eax
mov eax, dword [esi]
pop ecx
sub ecx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 4], ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
dec ecx
je 0x4ce695
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, esi
mov edx, esi
mov dword [ebp - 8], edi
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x10], ecx
mov ebx, dword [edx]
mov ecx, dword [ebp + 0x10]
lea edi, [edx + 4]
shr ebx, cl
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov edi, dword [edi]
shl edi, cl
mov ecx, dword [ebp - 8]
xor ebx, edi
dec dword [ebp + 0xc]
mov dword [ecx + edx], ebx
mov edx, dword [ebp - 0xc]
jne 0x4ce66c
mov edx, dword [ebp - 0x10]
pop edi
pop ebx
mov ecx, dword [ebp + 0x10]
shl edx, 2
mov esi, dword [edx + esi]
shr esi, cl
mov ecx, dword [ebp + 8]
mov dword [edx + ecx], esi
pop esi
leave
ret 0xc

Function at 0x4cf0fc
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.004cef17
mov ecx, dword [ebp + 0xc]
mov esi, dword [sym.imp.msvcrt.dll_rand]
xor eax, eax
shr ecx, 5
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
je 0x4cf141
call esi
mov ebx, eax
shl ebx, 0xb
call esi
mov ecx, dword [edi + 0xc]
xor ebx, eax
mov eax, dword [ebp + 8]
mov dword [ecx + eax*4], ebx
inc eax
cmp eax, dword [ebp - 4]
mov dword [ebp + 8], eax
jb 0x4cf124
mov ecx, dword [ebp + 0xc]
and ecx, 0x1f
mov dword [ebp - 4], ecx
je 0x4cf176
mov ebx, eax
shl ebx, 2
call esi
shl eax, 0xb
mov dword [ebp + 8], eax
call esi
mov ecx, dword [ebp + 8]
xor ecx, eax
mov eax, dword [edi + 0xc]
mov dword [ebx + eax], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 4]
add ebx, eax
xor eax, eax
inc eax
shl eax, cl
dec eax
and dword [ebx], eax
mov eax, dword [ebp + 0xc]
dec eax
shr eax, 5
inc eax
mov dword [edi + 4], eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8
Function at 0x4d0ac5
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
lea eax, [edx + 0x98]
push eax
call fcn.004d0a9e
and dword [edx + 0x54], 0
and dword [edx + 0x50], 0
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], 0xc3d2e1f0
pop ebp
ret 4

Function at 0x4d21eb
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push esi
mov esi, eax
je 0x4d222a
shr esi, 2
je 0x4d222a
push edi
mov ecx, dword [edx]
mov eax, ecx
mov edi, ecx
shr eax, 8
shl edi, 8
xor eax, edi
shl ecx, 8
and eax, 0xff00ff
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
shl eax, 0x10
or ecx, eax
mov dword [edx], ecx
add edx, 4
dec esi
jne 0x4d21ff
pop edi
pop esi
pop ebp
ret 4