joyce8/EMBER2024-capa huggingface dataset:
Function at 0x666cb0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret

Function at 0x666fd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.00702be0
cmp dword [0x10336b4], 0
jne 0x667125
push ebx
push esi
push edi
push 0x30
push 0x10336b8
push str.OPENSSL_ia32cap
mov dword [0x10336b4], 1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x6670ff
movzx esi, word [0x10336b8]
xor ecx, ecx
cmp word [0x10336b8], 0x7e
sete cl
lea eax, [ecx*2 + 0x10336b8]
push eax
call fcn.006674d0
add esp, 4
mov edi, eax
mov ebx, edx
cmp esi, 0x7e
jne 0x66706a
push 0x1034e10
mov esi, edi
call fcn.00402680
not edi
not ebx
and esi, 0x1000000
add esp, 4
and edi, eax
and ebx, edx
or esi, 0
je 0x667085
and ebx, 0xedfff7fd
jmp 0x667085
cmp word [0x10336b8], 0x3a
jne 0x667085
push 0x1034e10
call fcn.00402680
add esp, 4
mov edi, eax
mov ebx, edx
mov ax, word [0x10336b8]
mov ecx, 0x10336b8
movzx edx, ax
test ax, ax
je 0x6670aa
cmp dx, 0x3a
je 0x6670c0
movzx edx, word [ecx + 2]
add ecx, 2
test dx, dx
jne 0x667098
mov dword [0x1034e18], 0
mov dword [0x1034e1c], 0
jmp 0x667110
movzx esi, word [ecx + 2]
xor eax, eax
cmp esi, 0x7e
sete al
add ecx, 2
lea eax, [ecx + eax*2]
push eax
call fcn.006674d0
add esp, 4
cmp esi, 0x7e
jne 0x6670f2
not eax
not edx
and dword [0x1034e18], eax
and dword [0x1034e1c], edx
jmp 0x667110
mov dword [0x1034e18], eax
mov dword [0x1034e1c], edx
jmp 0x667110
push 0x1034e10
call fcn.00402680
add esp, 4
mov edi, eax
mov ebx, edx
or edi, 0x400
mov dword [0x1034e14], ebx
mov dword [0x1034e10], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6770c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x84], 0xffffffff
jne 0x6770d5
xor eax, eax
pop edi
pop ebp
ret
push ebx
push esi
push dword [edi]
call fcn.006489b0
mov ecx, dword [ebp + 0x10]
add esp, 4
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov dword [ecx], esi
test ebx, ebx
je 0x677189
mov ecx, dword [edi + 0x84]
cmp ecx, esi
jne 0x677126
test esi, esi
jle 0x677167
mov edx, ebx
lea ecx, [edi + 4]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x677110
jmp 0x677164
sub eax, ecx
mov byte [ecx + edi + 0x64], 0x80
cmp eax, 1
jle 0x677144
dec eax
push eax
lea eax, [edi + 0x65]
add eax, ecx
push 0
push eax
call fcn.007051b0
add esp, 0xc
test esi, esi
jle 0x677167
mov edx, ebx
lea ecx, [edi + 0x24]
mov ebx, esi
nop
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x677150
mov ebx, dword [ebp + 0xc]
push esi
push ebx
push ebx
push dword [edi]
call fcn.00648f60
add esp, 0x10
test eax, eax
jne 0x677189
push esi
push ebx
call fcn.004029a0
add esp, 8
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret
pop esi
pop ebx
mov eax, 1
pop edi
pop ebp
ret

Function at 0x67f710
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov cl, byte [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
add ebx, esi
push edi
mov edi, dword [ebp + 8]
movzx eax, cl
add edi, esi
and eax, 1
test esi, esi
je 0x67f74e
movzx edx, byte [ebx - 1]
lea ebx, [ebx - 1]
movzx ecx, cl
lea edi, [edi - 1]
xor edx, ecx
mov cl, byte [ebp + 0x14]
add eax, edx
mov byte [edi], al
shr eax, 8
sub esi, 1
jne 0x67f730
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x680480
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
push 1
push edi
call fcn.0063e340
mov ebx, eax
push ebx
push edi
call fcn.0063e210
add esp, 0x10
test eax, eax
je 0x6804cf
push esi
push 2
push ebx
push eax
xor esi, esi
push esi
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
cmove esi, ebx
lea eax, [esi*8]
push eax
push esi
push edi
call fcn.0063e290
push edi
call fcn.0063e3e0
add esp, 0x10
pop esi
test eax, eax
jne 0x6804d8
push edi
call fcn.0063e3e0
add esp, 4
pop edi
pop ebx
pop ebp
ret
Function at 0x687270
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00702be0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
push esi
test eax, eax
je 0x687296
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x68729b
mov ebx, 0x7e3cf0
mov esi, dword [ebp + 0x14]
test esi, esi
jle 0x687370
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
inc edi
nop
cmp esi, 3
jl 0x687301
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + ebx]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + ebx]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + ebx]
mov byte [edx + 2], al
add edx, 3
and ecx, 0x3f
movzx eax, byte [ecx + ebx]
mov byte [edx], al
jmp 0x68734c
movzx eax, byte [edi - 1]
shl eax, 0x10
cmp esi, 2
jne 0x687315
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x687339
lea eax, [esi + 0x3c]
jmp 0x687343
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + ebx]
mov byte [edx + 2], al
add edx, 3
mov byte [edx], 0x3d
mov ecx, dword [ebp - 4]
sub esi, 3
add ecx, 4
add edi, 3
inc edx
mov dword [ebp - 4], ecx
test esi, esi
jg 0x6872b0
pop edi
pop esi
mov byte [edx], 0
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov byte [eax], cl
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x68b730
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00702be0
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 2
je 0x68b7bc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x68b788
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
call fcn.0063b990
add esp, 0x10
cmp dword [ebp - 4], 0xffffffff
je 0x68b788
push 0x3b
push str.cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.00640550
add esp, 0x14
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x68b7b8
cmp edi, 0x40a
je 0x68b7ae
cmp edi, 0x43f
je 0x68b7ae
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x68b7b3
mov eax, 0x20
cmp dword [ebp + 0x18], eax
je 0x68b7bc
push 0x41
jmp 0x68b76a
push ebx
push 0x46
push str.cryptoececx_meth.c
push 0x40
call fcn.0062ecf0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x68b7f5
push 0x48
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.00640550
add esp, 0x14
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x68b80e
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push eax
push ebx
call fcn.00704c30
add esp, 0xc
jmp case.0x68b940.1036
cmp edi, 0x40a
je 0x68b82e
cmp edi, 0x43f
je 0x68b82e
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x68b833
mov eax, 0x20
push 0x50
push str.cryptoececx_meth.c
push eax
call fcn.00647140
mov esi, eax
add esp, 0xc
mov dword [ebx + 0x3c], esi
test esi, esi
jne 0x68b866
push 0x52
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.00640550
add esp, 0x14
jmp 0x68b8ba
cmp dword [ebp + 0x1c], 2
jne 0x68b8fb
cmp edi, 0x40a
je 0x68b890
cmp edi, 0x43f
je 0x68b890
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x68b895
mov eax, 0x20
push eax
push esi
call fcn.0063dc40
add esp, 8
test eax, eax
jg 0x68b8d3
push 0x57
push str.cryptoececx_meth.c
push esi
call fcn.00647130
add esp, 0xc
mov dword [ebx + 0x3c], 0
push 0x79
push str.cryptoececx_meth.c
push ebx
call fcn.0062ea30
add esp, 0xc
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0x40a
jne 0x68b8ea
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
jmp 0x68b92e
cmp edi, 0x40b
jne 0x68b92e
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x68b92e
cmp edi, 0x40a
je 0x68b91b
cmp edi, 0x43f
je 0x68b91b
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x68b920
mov eax, 0x20
push eax
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.00704c30
add esp, 0xc
lea eax, [edi - 0x40a]
cmp eax, 0x36
ja case.0x68b940.1036
movzx eax, byte [eax + 0x68b99c]
jmp dword [eax*4 + 0x68b988]
push esi
push ebx
call fcn.006ba1d0
jmp 0x68b969
push esi
push ebx
call fcn.006b9cb0
jmp 0x68b969
push esi
push ebx
call fcn.006c44c0
jmp 0x68b969
push esi
push ebx
call fcn.006c64d0
add esp, 8
push ebx
push edi
push dword [ebp + 8]
call fcn.00639490
add esp, 0xc
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6904a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c
call fcn.00702be0
mov eax, dword [0x8fc044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0x10], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 9], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xc], dl
test eax, eax
je 0x690631
mov edi, dword [ebp + 8]
sub dword [ebp - 0x14], edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x6905c8
push 1
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.00404180
mov ebx, dword [ebp - 0x20]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x18]
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], dl
mov byte [ebp - 9], al
mov al, byte [ebp + esi - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x690570
test ecx, ecx
je 0x69061b
mov edi, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00703eaa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00703eaa
mov esp, ebp
pop ebp
ret
Function at 0x6910b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x38
call fcn.00702be0
mov eax, dword [0x8fc044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
push ebx
movzx ebx, byte [ecx]
push esi
mov esi, dword [eax]
push edi
lea edi, [ecx + 1]
mov dword [ebp - 0x38], ecx
mov edx, edi
mov dword [ebp - 0x34], edi
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x24], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x14]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0x10], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xc], dl
test eax, eax
je 0x691248
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x18], ecx
xor edi, edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x6911f0
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push eax
call fcn.004042e0
mov ebx, dword [ebp - 0x24]
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
mov ecx, dword [ebp + 8]
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
inc edi
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], dl
mov byte [ebp - 9], al
mov al, byte [ebp + esi - 0x10]
inc esi
mov edx, dword [ebp - 0x18]
and esi, 7
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ebp + 8], ecx
test eax, eax
jne 0x691190
test edi, edi
mov edi, dword [ebp - 0x34]
je 0x691248
mov eax, dword [ebp - 0x38]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 2], bl
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.00703eaa
mov esp, ebp
pop ebp
ret
Function at 0x6924b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c
call fcn.00702be0
mov eax, dword [0x8fc044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xd], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 0xa], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 9], dl
test eax, eax
je 0x692643
mov edi, dword [ebp + 8]
sub dword [ebp - 0x14], edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x6925d6
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.00691ad0
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x10], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xe], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x18]
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xa], al
mov byte [ebp - 9], dl
mov al, byte [ebp + esi - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x692580
test ecx, ecx
je 0x69262d
mov edi, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00703eaa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00703eaa
mov esp, ebp
pop ebp
ret
Function at 0x692660
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x80
mov esi, 0x400
mov ecx, edi
mov byte [ebx], 0
cmp dword [ebp + 0xc], ecx
mov edx, esi
cmovle ecx, dword [ebp + 0xc]
test eax, eax
cmovg edx, eax
cmp edx, esi
cmovg edx, esi
mov dword [ebp + 0xc], edx
test ecx, ecx
jle 0x6926b1
sub dword [ebp + 0x10], ebx
mov edx, ebx
mov ebx, dword [ebp + 0x10]
mov esi, ecx
nop
mov al, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub esi, 1
jne 0x6926a0
mov ebx, dword [ebp + 8]
movzx edx, byte [ecx + ebx - 1]
cmp ecx, edi
jge 0x6926d8
mov esi, ebx
sub esi, ecx
nop
movzx eax, byte [esi + ecx]
add eax, edx
movzx eax, al
movzx edx, byte [eax + 0x7e5350]
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, edi
jl 0x6926c0
mov ecx, dword [ebp + 0xc]
mov edx, 0xff
lea eax, [ecx + 7]
neg ecx
sar eax, 3
and ecx, 7
sub edi, eax
sar edx, cl
lea esi, [edi + ebx]
mov dword [ebp + 8], eax
movzx eax, byte [esi]
and edx, eax
movzx ecx, byte [edx + 0x7e5350]
mov byte [esi], cl
test edi, edi
je 0x692728
mov edx, dword [ebp + 8]
nop word [eax + eax]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x7e5350]
mov byte [esi], cl
sub edi, 1
jne 0x692710
lea esi, [ebx + 0xfc]
mov edi, 0x40
lea edx, [ebx + 0x7e]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x692736
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x6931b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c
call fcn.00702be0
mov eax, dword [0x8fc044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x2c], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x18], 0
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x1c]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0x10], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 9], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0xc], dl
test eax, eax
je 0x69333f
mov edi, dword [ebp + 8]
sub dword [ebp - 0x14], edi
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x6932d6
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
call fcn.00692e60
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x18]
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xc], dl
mov byte [ebp - 9], al
mov al, byte [ebp + esi - 0x10]
inc esi
mov ecx, dword [ebp - 0x14]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x693280
test ecx, ecx
je 0x693329
mov edi, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00703eaa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00703eaa
mov esp, ebp
pop ebp
ret