joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5ac640]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x8c], edx
push 0x10
pop ecx
lea edi, [ebp - 0x44]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, esi
movzx eax, byte [edx + ecx]
inc dword [ebp + eax*4 - 0x44]
inc ecx
cmp ecx, 0x3c
jb 0x49853f
xor edx, edx
mov dword [ebp - 0x44], esi
mov dword [ebx + 0x44], esi
lea edi, [ebx + 0x48]
mov dword [ebx], esi
inc edx
mov dword [ebp - 0x88], esi
mov eax, dword [ebp + edx*4 - 0x44]
push 0xf
pop ecx
sub ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x88]
add ecx, eax
mov dword [ebp - 0x88], ecx
cmp ecx, 0x8000
ja 0x498652
mov eax, dword [edi - 4]
add eax, dword [ebp + edx*4 - 0x48]
mov dword [ebp + edx*4 - 0x84], eax
inc edx
mov dword [edi - 0x44], ecx
mov dword [edi], eax
add edi, 4
cmp edx, 0xf
jbe 0x498561
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x40], 0x8000
movzx edx, byte [eax + esi]
test edx, edx
je 0x498644
mov edi, dword [ebp + edx*4 - 0x84]
movzx eax, si
mov dword [ebp - 0x88], eax
mov word [ebx + edi*2 + 0x484], ax
lea eax, [edi + 1]
mov dword [ebp + edx*4 - 0x84], eax
cmp edx, 9
ja 0x49863e
sub edi, dword [ebx + edx*4 + 0x44]
xor eax, eax
inc eax
push 9
pop ecx
sub ecx, edx
shl eax, cl
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
shl eax, 4
or eax, edx
shl edi, cl
mov ecx, dword [ebp - 0x90]
add edi, 0x42
movzx eax, ax
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + edx*4 - 4]
shr eax, 6
add edi, eax
lea edi, [ebx + edi*2]
test ecx, ecx
je 0x49863e
mov eax, dword [ebp - 0x88]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x8c]
inc esi
cmp esi, 0x3c
jb 0x4985af
mov al, 1
jmp 0x498654
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007dac04
leave
ret 4
Function at 0x499afa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5ac640]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x8c], edx
push 0x10
pop ecx
lea edi, [ebp - 0x44]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, esi
movzx eax, byte [edx + ecx]
inc dword [ebp + eax*4 - 0x44]
inc ecx
cmp ecx, 0x10
jb 0x499b29
xor edx, edx
mov dword [ebp - 0x44], esi
mov dword [ebx + 0x44], esi
lea edi, [ebx + 0x48]
mov dword [ebx], esi
inc edx
mov dword [ebp - 0x88], esi
mov eax, dword [ebp + edx*4 - 0x44]
push 0xf
pop ecx
sub ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x88]
add ecx, eax
mov dword [ebp - 0x88], ecx
cmp ecx, 0x8000
ja 0x499c3c
mov eax, dword [edi - 4]
add eax, dword [ebp + edx*4 - 0x48]
mov dword [ebp + edx*4 - 0x84], eax
inc edx
mov dword [edi - 0x44], ecx
mov dword [edi], eax
add edi, 4
cmp edx, 0xf
jbe 0x499b4b
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x40], 0x8000
movzx edx, byte [eax + esi]
test edx, edx
je 0x499c2e
mov edi, dword [ebp + edx*4 - 0x84]
movzx eax, si
mov dword [ebp - 0x88], eax
mov word [ebx + edi*2 + 0x484], ax
lea eax, [edi + 1]
mov dword [ebp + edx*4 - 0x84], eax
cmp edx, 9
ja 0x499c28
sub edi, dword [ebx + edx*4 + 0x44]
xor eax, eax
inc eax
push 9
pop ecx
sub ecx, edx
shl eax, cl
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
shl eax, 4
or eax, edx
shl edi, cl
mov ecx, dword [ebp - 0x90]
add edi, 0x42
movzx eax, ax
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + edx*4 - 4]
shr eax, 6
add edi, eax
lea edi, [ebx + edi*2]
test ecx, ecx
je 0x499c28
mov eax, dword [ebp - 0x88]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x8c]
inc esi
cmp esi, 0x10
jb 0x499b99
mov al, 1
jmp 0x499c3e
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007dac04
leave
ret 4
Function at 0x499c4f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5ac640]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x8c], edx
push 0x10
pop ecx
lea edi, [ebp - 0x44]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, esi
movzx eax, byte [edx + ecx]
inc dword [ebp + eax*4 - 0x44]
inc ecx
cmp ecx, 0x132
jb 0x499c7e
xor edx, edx
mov dword [ebp - 0x44], esi
mov dword [ebx + 0x44], esi
lea edi, [ebx + 0x48]
mov dword [ebx], esi
inc edx
mov dword [ebp - 0x88], esi
mov eax, dword [ebp + edx*4 - 0x44]
push 0xf
pop ecx
sub ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x88]
add ecx, eax
mov dword [ebp - 0x88], ecx
cmp ecx, 0x8000
ja 0x499d97
mov eax, dword [edi - 4]
add eax, dword [ebp + edx*4 - 0x48]
mov dword [ebp + edx*4 - 0x84], eax
inc edx
mov dword [edi - 0x44], ecx
mov dword [edi], eax
add edi, 4
cmp edx, 0xf
jbe 0x499ca3
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x40], 0x8000
movzx edx, byte [eax + esi]
test edx, edx
je 0x499d86
mov edi, dword [ebp + edx*4 - 0x84]
movzx eax, si
mov dword [ebp - 0x88], eax
mov word [ebx + edi*2 + 0x484], ax
lea eax, [edi + 1]
mov dword [ebp + edx*4 - 0x84], eax
cmp edx, 9
ja 0x499d80
sub edi, dword [ebx + edx*4 + 0x44]
xor eax, eax
inc eax
push 9
pop ecx
sub ecx, edx
shl eax, cl
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
shl eax, 4
or eax, edx
shl edi, cl
mov ecx, dword [ebp - 0x90]
add edi, 0x42
movzx eax, ax
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + edx*4 - 4]
shr eax, 6
add edi, eax
lea edi, [ebx + edi*2]
test ecx, ecx
je 0x499d80
mov eax, dword [ebp - 0x88]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x8c]
inc esi
cmp esi, 0x132
jb 0x499cf1
mov al, 1
jmp 0x499d99
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007dac04
leave
ret 4
Function at 0x499daa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5ac640]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x8c], edx
push 0x10
pop ecx
lea edi, [ebp - 0x44]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, esi
movzx eax, byte [edx + ecx]
inc dword [ebp + eax*4 - 0x44]
inc ecx
cmp ecx, 0x2c
jb 0x499dd9
xor edx, edx
mov dword [ebp - 0x44], esi
mov dword [ebx + 0x44], esi
lea edi, [ebx + 0x48]
mov dword [ebx], esi
inc edx
mov dword [ebp - 0x88], esi
mov eax, dword [ebp + edx*4 - 0x44]
push 0xf
pop ecx
sub ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x88]
add ecx, eax
mov dword [ebp - 0x88], ecx
cmp ecx, 0x8000
ja 0x499eec
mov eax, dword [edi - 4]
add eax, dword [ebp + edx*4 - 0x48]
mov dword [ebp + edx*4 - 0x84], eax
inc edx
mov dword [edi - 0x44], ecx
mov dword [edi], eax
add edi, 4
cmp edx, 0xf
jbe 0x499dfb
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x40], 0x8000
movzx edx, byte [eax + esi]
test edx, edx
je 0x499ede
mov edi, dword [ebp + edx*4 - 0x84]
movzx eax, si
mov dword [ebp - 0x88], eax
mov word [ebx + edi*2 + 0x484], ax
lea eax, [edi + 1]
mov dword [ebp + edx*4 - 0x84], eax
cmp edx, 9
ja 0x499ed8
sub edi, dword [ebx + edx*4 + 0x44]
xor eax, eax
inc eax
push 9
pop ecx
sub ecx, edx
shl eax, cl
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
shl eax, 4
or eax, edx
shl edi, cl
mov ecx, dword [ebp - 0x90]
add edi, 0x42
movzx eax, ax
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + edx*4 - 4]
shr eax, 6
add edi, eax
lea edi, [ebx + edi*2]
test ecx, ecx
je 0x499ed8
mov eax, dword [ebp - 0x88]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x8c]
inc esi
cmp esi, 0x2c
jb 0x499e49
mov al, 1
jmp 0x499eee
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007dac04
leave
ret 4
Function at 0x499eff
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5ac640]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x8c], edx
push 0x10
pop ecx
lea edi, [ebp - 0x44]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, esi
movzx eax, byte [edx + ecx]
inc dword [ebp + eax*4 - 0x44]
inc ecx
cmp ecx, 0x40
jb 0x499f2e
xor edx, edx
mov dword [ebp - 0x44], esi
mov dword [ebx + 0x44], esi
lea edi, [ebx + 0x48]
mov dword [ebx], esi
inc edx
mov dword [ebp - 0x88], esi
mov eax, dword [ebp + edx*4 - 0x44]
push 0xf
pop ecx
sub ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x88]
add ecx, eax
mov dword [ebp - 0x88], ecx
cmp ecx, 0x8000
ja 0x49a041
mov eax, dword [edi - 4]
add eax, dword [ebp + edx*4 - 0x48]
mov dword [ebp + edx*4 - 0x84], eax
inc edx
mov dword [edi - 0x44], ecx
mov dword [edi], eax
add edi, 4
cmp edx, 0xf
jbe 0x499f50
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x40], 0x8000
movzx edx, byte [eax + esi]
test edx, edx
je 0x49a033
mov edi, dword [ebp + edx*4 - 0x84]
movzx eax, si
mov dword [ebp - 0x88], eax
mov word [ebx + edi*2 + 0x484], ax
lea eax, [edi + 1]
mov dword [ebp + edx*4 - 0x84], eax
cmp edx, 9
ja 0x49a02d
sub edi, dword [ebx + edx*4 + 0x44]
xor eax, eax
inc eax
push 9
pop ecx
sub ecx, edx
shl eax, cl
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
shl eax, 4
or eax, edx
shl edi, cl
mov ecx, dword [ebp - 0x90]
add edi, 0x42
movzx eax, ax
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + edx*4 - 4]
shr eax, 6
add edi, eax
lea edi, [ebx + edi*2]
test ecx, ecx
je 0x49a02d
mov eax, dword [ebp - 0x88]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x8c]
inc esi
cmp esi, 0x40
jb 0x499f9e
mov al, 1
jmp 0x49a043
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007dac04
leave
ret 4
Function at 0x49ca95
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5ac640]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x94], edx
push 0x11
pop ecx
lea edi, [ebp - 0x48]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, esi
movzx eax, byte [edx + ecx]
inc dword [ebp + eax*4 - 0x48]
inc ecx
cmp ecx, 0x14
jb 0x49cac4
xor edx, edx
mov dword [ebp - 0x48], esi
mov dword [ebx + 0x48], esi
lea edi, [ebx + 0x4c]
mov dword [ebx], esi
inc edx
mov dword [ebp - 0x90], esi
mov eax, dword [ebp + edx*4 - 0x48]
push 0x10
pop ecx
sub ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x90]
add ecx, eax
mov dword [ebp - 0x90], ecx
cmp ecx, 0x10000
ja 0x49cbd7
mov eax, dword [edi - 4]
add eax, dword [ebp + edx*4 - 0x4c]
mov dword [ebp + edx*4 - 0x8c], eax
inc edx
mov dword [edi - 0x48], ecx
mov dword [edi], eax
add edi, 4
cmp edx, 0x10
jbe 0x49cae6
mov eax, dword [ebp - 0x94]
mov dword [ebx + 0x44], 0x10000
movzx edx, byte [eax + esi]
test edx, edx
je 0x49cbc9
mov edi, dword [ebp + edx*4 - 0x8c]
movzx eax, si
mov dword [ebp - 0x90], eax
mov word [ebx + edi*2 + 0x18c], ax
lea eax, [edi + 1]
mov dword [ebp + edx*4 - 0x8c], eax
cmp edx, 7
ja 0x49cbc3
sub edi, dword [ebx + edx*4 + 0x48]
xor eax, eax
inc eax
push 7
pop ecx
sub ecx, edx
shl eax, cl
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
shl eax, 4
or eax, edx
shl edi, cl
mov ecx, dword [ebp - 0x98]
add edi, 0x46
movzx eax, ax
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + edx*4 - 4]
shr eax, 9
add edi, eax
lea edi, [ebx + edi*2]
test ecx, ecx
je 0x49cbc3
mov eax, dword [ebp - 0x90]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x94]
inc esi
cmp esi, 0x14
jb 0x49cb34
mov al, 1
jmp 0x49cbd9
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007dac04
leave
ret 4
Function at 0x49cbea
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5ac640]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x94], edx
push 0x11
pop ecx
lea edi, [ebp - 0x48]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, esi
movzx eax, byte [edx + ecx]
inc dword [ebp + eax*4 - 0x48]
inc ecx
cmp ecx, 0x290
jb 0x49cc19
xor edx, edx
mov dword [ebp - 0x48], esi
mov dword [ebx + 0x48], esi
lea edi, [ebx + 0x4c]
mov dword [ebx], esi
inc edx
mov dword [ebp - 0x90], esi
mov eax, dword [ebp + edx*4 - 0x48]
push 0x10
pop ecx
sub ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x90]
add ecx, eax
mov dword [ebp - 0x90], ecx
cmp ecx, 0x10000
ja 0x49cd32
mov eax, dword [edi - 4]
add eax, dword [ebp + edx*4 - 0x4c]
mov dword [ebp + edx*4 - 0x8c], eax
inc edx
mov dword [edi - 0x48], ecx
mov dword [edi], eax
add edi, 4
cmp edx, 0x10
jbe 0x49cc3e
mov eax, dword [ebp - 0x94]
mov dword [ebx + 0x44], 0x10000
movzx edx, byte [eax + esi]
test edx, edx
je 0x49cd21
mov edi, dword [ebp + edx*4 - 0x8c]
movzx eax, si
mov dword [ebp - 0x90], eax
mov word [ebx + edi*2 + 0x48c], ax
lea eax, [edi + 1]
mov dword [ebp + edx*4 - 0x8c], eax
cmp edx, 9
ja 0x49cd1b
sub edi, dword [ebx + edx*4 + 0x48]
xor eax, eax
inc eax
push 9
pop ecx
sub ecx, edx
shl eax, cl
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
shl eax, 4
or eax, edx
shl edi, cl
mov ecx, dword [ebp - 0x98]
add edi, 0x46
movzx eax, ax
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + edx*4 - 4]
shr eax, 7
add edi, eax
lea edi, [ebx + edi*2]
test ecx, ecx
je 0x49cd1b
mov eax, dword [ebp - 0x90]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x94]
inc esi
cmp esi, 0x290
jb 0x49cc8c
mov al, 1
jmp 0x49cd34
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007dac04
leave
ret 4
Function at 0x49cd45
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5ac640]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x94], edx
push 0x11
pop ecx
lea edi, [ebp - 0x48]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, esi
movzx eax, byte [edx + ecx]
inc dword [ebp + eax*4 - 0x48]
inc ecx
cmp ecx, 0xf9
jb 0x49cd74
xor edx, edx
mov dword [ebp - 0x48], esi
mov dword [ebx + 0x48], esi
lea edi, [ebx + 0x4c]
mov dword [ebx], esi
inc edx
mov dword [ebp - 0x90], esi
mov eax, dword [ebp + edx*4 - 0x48]
push 0x10
pop ecx
sub ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x90]
add ecx, eax
mov dword [ebp - 0x90], ecx
cmp ecx, 0x10000
ja 0x49ce8d
mov eax, dword [edi - 4]
add eax, dword [ebp + edx*4 - 0x4c]
mov dword [ebp + edx*4 - 0x8c], eax
inc edx
mov dword [edi - 0x48], ecx
mov dword [edi], eax
add edi, 4
cmp edx, 0x10
jbe 0x49cd99
mov eax, dword [ebp - 0x94]
mov dword [ebx + 0x44], 0x10000
movzx edx, byte [eax + esi]
test edx, edx
je 0x49ce7c
mov edi, dword [ebp + edx*4 - 0x8c]
movzx eax, si
mov dword [ebp - 0x90], eax
mov word [ebx + edi*2 + 0x48c], ax
lea eax, [edi + 1]
mov dword [ebp + edx*4 - 0x8c], eax
cmp edx, 9
ja 0x49ce76
sub edi, dword [ebx + edx*4 + 0x48]
xor eax, eax
inc eax
push 9
pop ecx
sub ecx, edx
shl eax, cl
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
shl eax, 4
or eax, edx
shl edi, cl
mov ecx, dword [ebp - 0x98]
add edi, 0x46
movzx eax, ax
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + edx*4 - 4]
shr eax, 7
add edi, eax
lea edi, [ebx + edi*2]
test ecx, ecx
je 0x49ce76
mov eax, dword [ebp - 0x90]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x94]
inc esi
cmp esi, 0xf9
jb 0x49cde7
mov al, 1
jmp 0x49ce8f
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007dac04
leave
ret 4

Function at 0x49de1b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 8
jb 0x49de44
mov edi, esi
shr edi, 3
mov eax, dword [ecx + 4]
sub esi, 8
xor eax, dword [ecx]
add ecx, 8
xor edx, eax
sub edi, 1
jne 0x49de32
cmp esi, 4
jb 0x49de4e
xor edx, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x49de61
movzx eax, byte [ecx]
shl eax, 0x10
xor edx, eax
inc ecx
jmp 0x49de6a
mov eax, edx
mov edi, ecx
cmp esi, 1
jbe 0x49de75
movzx eax, byte [ecx]
shl eax, 8
xor edx, eax
inc ecx
jmp 0x49de7d
mov edx, eax
mov ecx, edi
test esi, esi
je 0x49de82
movzx ecx, byte [ecx]
xor edx, ecx
pop edi
mov eax, edx
pop esi
pop ebp
ret
Function at 0x49ef31
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
or dword [edi], 0xffffffff
cmp dword [eax], 0x23170f69
jne 0x49f00c
mov ecx, 0x40c1
cmp word [eax + 4], cx
jne 0x49f00c
mov ebx, dword [ebp + 0x14]
mov edx, 0x2790
mov byte [ebx], 1
movzx ecx, word [eax + 6]
cmp cx, dx
jne 0x49ef75
mov byte [ebx], 0
jmp 0x49ef83
mov edx, 0x2791
cmp cx, dx
jne 0x49f00c
mov ecx, dword [eax + 8]
xor esi, esi
mov eax, dword [eax + 0xc]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
cmp dword [0x5b50f0], esi
jbe 0x49f00c
mov ch, byte [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [esi*4 + 0x5b50f8]
cmp eax, dword [edx + 8]
jne 0x49efe2
mov edi, dword [ebp - 4]
cmp edi, dword [edx + 0xc]
mov edi, dword [ebp + 0x18]
jne 0x49efe2
xor eax, eax
cmp byte [ebx], al
je 0x49efc1
cmp dword [edx + 4], eax
jmp 0x49efc3
cmp dword [edx], eax
sete al
test eax, eax
jne 0x49efdf
mov cl, byte [edx + 0x18]
test ch, ch
je 0x49efd8
test cl, cl
sete al
jmp 0x49efdb
movzx eax, cl
test eax, eax
je 0x49efed
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [0x5b50f0]
jb 0x49ef9f
jmp 0x49f00c
movzx eax, byte [ebp + 0xc]
movzx ecx, byte [ebp + 0xc]
xor eax, 1
cmp dword [edx + 0x14], 1
cmove eax, ecx
test eax, eax
je 0x49f00a
mov eax, 0x80004002
jmp 0x49f00e
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x49f7d1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov dword [ebp + 8], eax
cmp eax, 3
jae 0x49f7f0
push edi
call fcn.004a053f
jmp 0x49f848
mov ecx, dword [edi]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [edi + 0x24]
xor edx, dword [edi + eax*4 + 0x60]
mov eax, dword [edi + 4]
movzx edx, dx
mov esi, dword [ecx + edx*4]
mov dword [ecx + edx*4], eax
push dword [edi + 0x30]
push dword [edi + 0x18]
push dword [edi + 0x14]
push dword [edi + 0x28]
push dword [edi]
push dword [edi + 4]
push esi
push dword [ebp + 8]
call fcn.004a06be
add esp, 0x20
inc dword [edi + 0x14]
inc dword [edi]
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jne 0x49f849
push edi
call fcn.004a01cd
pop ecx
sub ebx, 1
jne 0x49f7dd
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov dword [eax + 0x34], ecx
lea esi, [eax + 0x60]
mov word [eax + 0x1e], cx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
push 8
mov edx, ecx
pop edi
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor edx, eax
sub edi, 1
jne 0x4a0275
mov dword [esi], edx
inc ecx
add esi, 4
cmp ecx, 0x100
jb 0x4a0270
pop edi
pop esi
pop ebp
ret
Function at 0x4a099e
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], ecx
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
test edi, edi
je 0x4a09d4
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x4a09c7
cmp esi, ecx
jae 0x4a0ab7
mov eax, esi
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebx + esi*4 - 4]
mov eax, esi
mov dword [ebp + 8], ecx
div edi
mov dword [ebp - 8], eax
test edx, edx
jne 0x4a0a4d
movzx ecx, cl
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
movzx eax, al
shr ecx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x5684c0]
xor ecx, eax
or ecx, edx
jmp 0x4a0a9d
cmp edi, 6
jbe 0x4a0a9d
cmp edx, 4
jne 0x4a0a9d
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add edx, 4
xor eax, ecx
mov dword [ebp - 4], edx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x4a09e6
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4a15ef
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x4a9c1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edx + 4]
mov ecx, dword [edx]
add esi, 2
lea esi, [edx + esi*4]
mov dword [ebp - 4], esi
test edi, edi
je 0x4a9cb2
push ebx
mov ebx, dword [ebp + 0xc]
cmp ecx, 0x10
je 0x4a9c57
mov al, byte [esi + ecx]
xor byte [ebx], al
inc ecx
inc ebx
sub edi, 1
je 0x4a9c54
cmp ecx, 0x10
jne 0x4a9c43
mov dword [ebp + 0x10], edi
cmp edi, 0x10
jb 0x4a9c80
mov ecx, dword [ebp - 4]
mov esi, edi
shr esi, 4
add ecx, 0x10
push esi
mov edx, ebx
call dword [0x5c881c]
shl esi, 4
add ebx, esi
sub edi, esi
mov esi, dword [ebp - 4]
push 0x10
mov dword [ebp + 0x10], edi
pop ecx
test edi, edi
je 0x4a9cac
xor eax, eax
lea ecx, [esi + 0x10]
mov edi, esi
mov edx, esi
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [0x5c881c]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
sub esi, ebx
mov al, byte [esi + ebx]
xor byte [ebx], al
inc ecx
inc ebx
sub edx, 1
jne 0x4a9ca0
mov eax, dword [ebp + 8]
pop ebx
mov dword [eax], ecx
pop edi
pop esi
leave
ret

Function at 0x4a9fda
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov ecx, 0x12345678
mov esi, 0x23456789
mov edx, 0x34567890
cmp dword [ebp + 0x10], edi
jbe 0x4aa033
push ebx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [edi + ebx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5c8840]
movzx eax, cl
add eax, esi
imul esi, eax, 0x8088405
inc esi
mov eax, esi
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x5c8840]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x4a9ff9
pop ebx
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 0x18], esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x1c], edx
xor eax, eax
pop esi
pop ebp
ret 0xc