joyce8/EMBER2024-capa huggingface dataset:
Function at 0x542750
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
push ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xbc]
push esi
mov esi, dword [esp + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xcc]
push edi
mov edi, dword [esp + 0xc0]
push ecx
mov ebp, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebx
call fcn.00518130
push ebp
push 0
push ebx
mov dword [esp + 0x2c], eax
call fcn.00584400
add esp, 0x10
test eax, eax
je 0x542941
mov ebx, dword [esp + 0xcc]
inc ebp
test ebx, ebx
mov ebx, dword [esp + 0x10]
je 0x542804
push 0
push esi
push ebx
push dword [esp + 0x28]
call fcn.004bdc40
add esp, 0x10
test eax, eax
jle 0x542942
push esi
push ebx
push edi
call fcn.005c9520
push esi
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.005c9520
lea eax, [esi - 1]
add esp, 0x18
test eax, eax
js 0x54282d
add byte [edi + eax], 1
jne 0x54282d
sub eax, 1
jns 0x542822
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push 0
push eax
push esi
push ebx
call fcn.004aeb50
add esp, 0x18
test eax, eax
je 0x542942
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x74]
push 0
push eax
push esi
push edi
call fcn.004aeb50
add esp, 0x18
test eax, eax
je 0x542942
xor eax, eax
test esi, esi
jle 0x5428ed
cmp esi, 0x40
jb 0x5428e0
mov ecx, esi
and ecx, 0xffffffc0
nop dword [eax + eax]
movups xmm0, xmmword [esp + eax + 0x2c]
movups xmm1, xmmword [esp + eax + 0x6c]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x2c], xmm1
movups xmm0, xmmword [esp + eax + 0x3c]
movups xmm1, xmmword [esp + eax + 0x7c]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x3c], xmm1
movups xmm0, xmmword [esp + eax + 0x4c]
movups xmm1, xmmword [esp + eax + 0x8c]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x4c], xmm1
movups xmm0, xmmword [esp + eax + 0x5c]
movups xmm1, xmmword [esp + eax + 0x9c]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x5c], xmm1
add eax, 0x40
cmp eax, ecx
jl 0x542880
cmp eax, esi
jge 0x5428ed
nop dword [eax]
mov cl, byte [esp + eax + 0x6c]
xor byte [esp + eax + 0x2c], cl
inc eax
cmp eax, esi
jl 0x5428e0
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
or byte [esp + 0x2c], 0x80
or byte [esp + esi + 0x2b], 1
push ebx
push esi
push eax
call fcn.004bfdc0
add esp, 0xc
test eax, eax
je 0x542942
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebx
call fcn.00584450
add esp, 0xc
test eax, eax
jg 0x542963
jne 0x542942
push ebp
push 0
push dword [esp + 0x20]
mov ebx, 1
call fcn.00584400
add esp, 0xc
test eax, eax
jne 0x5427e3
inc ebp
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], ebp
mov ecx, dword [esp + 0xa4]
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0xa0
ret
mov eax, 1
jmp 0x542944
Function at 0x544e20
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp ebp, 2
je 0x544ed3
mov esi, dword [esp + 0x10]
test esi, esi
je 0x544e9a
push esi
push 0
lea eax, [esp + 0x28]
push eax
push 0
call fcn.004fbdd0
add esp, 0x10
cmp dword [esp + 0x20], 0xffffffff
jne 0x544e70
mov eax, dword [esi]
mov esi, dword [esp + 0x1c]
push eax
call fcn.004aa140
add esp, 4
test esi, esi
jne 0x544e6c
mov esi, eax
jmp 0x544e9e
cmp esi, eax
je 0x544e9e
call fcn.004a9920
push str.ossl_ecx_key_op
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0x66
push 0x10
call fcn.004a9a30
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
ret
mov esi, dword [esp + 0x1c]
test edi, edi
je 0x544e70
test esi, esi
je 0x544e70
cmp esi, 0x40a
je 0x544ec6
cmp esi, 0x43f
je 0x544ec6
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x544ecb
mov eax, 0x20
cmp dword [esp + 0x18], eax
je 0x544ed7
jmp 0x544e70
mov esi, dword [esp + 0x1c]
cmp esi, 0x40a
je 0x544efb
cmp esi, 0x43f
je 0x544efb
xor eax, eax
cmp esi, 0x40b
setne al
lea eax, [eax*2 + 1]
jmp 0x544f0b
xor ecx, ecx
mov eax, 2
cmp esi, 0x40a
cmove eax, ecx
push ebx
push dword [esp + 0x2c]
push 1
push eax
push dword [esp + 0x34]
call fcn.004ef280
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x544f51
call fcn.004a9920
push str.ossl_ecx_key_op
push ebx
push 0x66fd1f
call fcn.004a9a20
push ebx
push 0xc0100
push 0x10
call fcn.004a9a30
add esp, 0x18
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
test ebp, ebp
jne 0x544f6d
push dword [esp + 0x1c]
lea eax, [ebx + 0xc]
push edi
push eax
call fcn.005c9520
add esp, 0xc
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
push ebx
call fcn.004ef200
mov edi, eax
add esp, 4
test edi, edi
jne 0x544f9c
call fcn.004a9920
push str.ossl_ecx_key_op
push edi
push 0x66fd1f
call fcn.004a9a20
push edi
push 0xc0100
jmp 0x54506f
cmp ebp, 2
jne 0x54500e
test esi, esi
je 0x545041
cmp esi, 0x40a
je 0x544fc9
cmp esi, 0x43f
je 0x544fc9
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x544fce
mov eax, 0x20
push 0
push eax
push edi
push dword [esp + 0x34]
call fcn.004be210
add esp, 0x10
test eax, eax
jle 0x545079
cmp esi, 0x40a
jne 0x544ffd
mov al, byte [edi + 0x1f]
and byte [edi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
jmp 0x545041
cmp esi, 0x40b
jne 0x545041
and byte [edi], 0xfc
or byte [edi + 0x37], 0x80
jmp 0x545041
cmp esi, 0x40a
je 0x54502e
cmp esi, 0x43f
je 0x54502e
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x545033
mov eax, 0x20
push eax
push dword [esp + 0x1c]
push edi
call fcn.005c9520
add esp, 0xc
push ebx
call fcn.00545090
add esp, 4
test eax, eax
jne 0x544f66
call fcn.004a9920
push str.ossl_ecx_key_op
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0xa6
push 0x10
call fcn.004a9a30
add esp, 0x18
push ebx
call fcn.004ef220
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x549a40
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0xe4
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xe8]
push ebx
mov ebx, dword [esp + 0xf0]
push esi
mov esi, dword [esp + 0xf8]
push edi
push eax
push str.SHA512
push ecx
call fcn.004af780
mov edi, eax
add esp, 0xc
test edi, edi
je 0x549ac2
push 0
push edi
push 0
lea eax, [esp + 0xb8]
push eax
push 0x20
push esi
call fcn.004aeb50
push edi
mov esi, eax
call fcn.004af7b0
add esp, 0x1c
test esi, esi
jne 0x549adc
lea eax, [esp + 0xac]
push 0x40
push eax
call fcn.00401320
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.005c7d0a
add esp, 0xe4
ret
mov al, byte [esp + 0xcb]
and byte [esp + 0xac], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esp + 0xcb], al
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00549280
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00549200
lea eax, [esp + 0xbc]
push 0x40
push eax
call fcn.00401320
mov ecx, dword [esp + 0x104]
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0xe4
ret
Function at 0x549b50
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x174
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x18c]
push ebp
mov ebp, dword [esp + 0x180]
push esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x190]
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1a0]
push eax
push str.SHA512
push ecx
call fcn.004af780
add esp, 0xc
mov edi, eax
call fcn.004af5e0
mov dword [esp + 0x18], 0
mov esi, eax
test edi, edi
je 0x549d5e
test esi, esi
je 0x549d5e
push 0
push edi
push esi
call fcn.004aef70
add esp, 0xc
test eax, eax
je 0x549d5e
push 0x20
push ebx
push esi
call fcn.004aefb0
add esp, 0xc
test eax, eax
je 0x549d5e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc4]
push eax
push esi
call fcn.004aee50
add esp, 0xc
test eax, eax
je 0x549d5e
mov al, byte [esp + 0xdf]
and byte [esp + 0xc0], 0xf8
and al, 0x3f
push 0
or al, 0x40
push edi
push esi
mov byte [esp + 0xeb], al
call fcn.004aef70
add esp, 0xc
test eax, eax
je 0x549d5e
push 0x20
lea eax, [esp + 0xe4]
push eax
push esi
call fcn.004aefb0
add esp, 0xc
test eax, eax
je 0x549d5e
mov ebx, dword [esp + 0x190]
push ebx
push dword [esp + 0x14]
push esi
call fcn.004aefb0
add esp, 0xc
test eax, eax
je 0x549d5e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x104]
push eax
push esi
call fcn.004aee50
add esp, 0xc
test eax, eax
je 0x549d5e
lea eax, [esp + 0x100]
push eax
call fcn.0054e7d0
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00549280
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00549200
push 0
push edi
push esi
call fcn.004aef70
add esp, 0x20
test eax, eax
je 0x549d5e
push 0x20
push ebp
push esi
call fcn.004aefb0
add esp, 0xc
test eax, eax
je 0x549d5e
push 0x20
push dword [esp + 0x20]
push esi
call fcn.004aefb0
add esp, 0xc
test eax, eax
je 0x549d5e
push ebx
push dword [esp + 0x14]
push esi
call fcn.004aefb0
add esp, 0xc
test eax, eax
je 0x549d5e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x144]
push eax
push esi
call fcn.004aee50
add esp, 0xc
test eax, eax
je 0x549d5e
lea eax, [esp + 0x140]
push eax
call fcn.0054e7d0
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x14c]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0054a280
add esp, 0x14
mov dword [esp + 0x18], 1
lea eax, [esp + 0x100]
push 0x40
push eax
call fcn.00401320
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.00401320
push edi
call fcn.004af7b0
push esi
call fcn.004af550
mov ecx, dword [esp + 0x198]
add esp, 0x18
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0x174
ret
Function at 0x556090
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x55614b
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x5560b1
cmp al, 0x6b
jne 0x55614b
inc ecx
cmp al, 0x6b
jne 0x556104
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x5560d2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x5560d2
cmp dl, 0xbb
jne 0x5560d8
inc eax
cmp eax, esi
jl 0x5560c0
sub esi, eax
test eax, eax
jne 0x556107
call fcn.004a9920
push str.RSA_padding_check_X931
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0x8a
push 4
call fcn.004a9a30
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x556139
call fcn.004a9920
push str.RSA_padding_check_X931
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0x8b
push 4
call fcn.004a9a30
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.005c9520
add esp, 0xc
mov eax, esi
pop esi
ret
call fcn.004a9920
push str.RSA_padding_check_X931
push 0
push 0x66fd1f
call fcn.004a9a20
push 0
push 0x89
push 4
call fcn.004a9a30
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
Function at 0x55c2b0
Capabilities:
Terminate process

Disassembly:
mov eax, 8
call fcn.005c85a0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push ebx
xor edi, edi
call fcn.004a4350
add esp, 4
test eax, eax
jle 0x55c487
push edi
push ebx
call fcn.004a4500
mov esi, eax
mov dword [esp + 0x18], 0
push 0x9c
push esi
xor ebp, ebp
call fcn.00587fa0
add esp, 0x10
test eax, eax
je 0x55c301
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push 0x9d
push esi
call fcn.00587fa0
add esp, 8
test eax, eax
je 0x55c316
mov ebp, dword [eax + 4]
push esi
call fcn.00588090
add eax, 0xffffff6a
add esp, 4
cmp eax, 5
ja case.0x55c32d.153
jmp dword [eax*4 + 0x55c4a8]
mov ebp, dword [esp + 0x28]
test ebp, ebp
je case.0x55c32d.153
cmp dword [ebp], 0
jne case.0x55c32d.153
push esi
call fcn.00587fc0
push eax
call fcn.00527bc0
add esp, 8
mov dword [ebp], eax
jmp 0x55c471
mov ebp, dword [esp + 0x28]
test ebp, ebp
je case.0x55c32d.153
cmp dword [ebp], 0
jne case.0x55c32d.153
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call fcn.005880a0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x55c49d
push esi
call fcn.00527bc0
push esi
mov dword [ebp], eax
call fcn.00527a90
add esp, 8
cmp dword [ebp], 0
jmp 0x55c473
cmp dword [esp + 0x2c], 0
je case.0x55c32d.153
push esi
call fcn.00588050
add esp, 4
cmp eax, 0x9e
jne case.0x55c32d.153
push esi
call fcn.00588000
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x55c49d
test ebp, ebp
je 0x55c3fa
push dword [ebp]
push dword [ebp + 8]
push ebx
call fcn.005020f0
add esp, 0xc
test eax, eax
je 0x55c494
mov eax, dword [esp + 0x10]
test eax, eax
je 0x55c438
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004fa260
add esp, 8
test eax, eax
js 0x55c438
push eax
push dword [esp + 0x18]
push ebx
call fcn.00502060
push 0
push 0x66fd1f
push dword [esp + 0x28]
mov esi, eax
call fcn.004a5400
add esp, 0x18
test esi, esi
je 0x55c494
push ebx
push dword [esp + 0x30]
call fcn.004a43d0
add esp, 8
test eax, eax
je 0x55c494
mov ebx, dword [esp + 0x1c]
jmp case.0x55c32d.153
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.00587fe0
add esp, 4
push eax
call fcn.0055c2b0
add esp, 0x14
test eax, eax
je 0x55c49d
push ebx
inc edi
call fcn.004a4350
add esp, 4
cmp edi, eax
jl 0x55c2d5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
push ebx
call fcn.004bae10
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x567cb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], 0
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
shl eax, 8
or edx, eax
movzx ebx, byte [edi + 4]
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 7]
shl eax, 0x10
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], edx
movzx eax, byte [edi + 6]
or ecx, eax
mov byte [esp + 0x2c], dl
mov eax, edx
shl ecx, 0x10
shr eax, 8
or ebx, ecx
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x20], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x33], al
test ebp, ebp
je 0x567e45
mov edi, dword [esp + 0x3c]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x567df2
push 1
push dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
call fcn.00438280
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov eax, edx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x2c], dl
mov byte [esp + 0x30], bl
mov byte [esp + 0x33], al
mov al, byte [esp + esi + 0x2c]
inc esi
mov ecx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
test ebp, ebp
jne 0x567d90
test ecx, ecx
je 0x567e45
mov ecx, dword [esp + 0x28]
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 5], al
mov eax, ebx
mov byte [ecx], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ecx + 4], bl
shr ebx, 0x18
mov byte [ecx + 3], dl
mov byte [ecx + 6], al
mov byte [ecx + 7], bl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0x28
ret
Function at 0x568980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], 0
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
shl eax, 8
or edx, eax
movzx ebx, byte [edi + 4]
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 7]
shl eax, 0x10
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], edx
movzx eax, byte [edi + 6]
or ecx, eax
mov byte [esp + 0x34], dl
mov eax, edx
shl ecx, 0x10
shr eax, 8
or ebx, ecx
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x20], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
test ebp, ebp
je 0x568b2f
mov edi, dword [esp + 0x44]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x568ad8
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push eax
call fcn.004383e0
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov ebx, dword [esp + 0x20]
mov eax, edx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x34], dl
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
mov al, byte [esp + esi + 0x34]
inc esi
mov ecx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
test ebp, ebp
jne 0x568a70
test ecx, ecx
je 0x568b2f
mov ecx, dword [esp + 0x30]
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 5], al
mov eax, ebx
mov byte [ecx], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ecx + 4], bl
shr ebx, 0x18
mov byte [ecx + 3], dl
mov byte [ecx + 6], al
mov byte [ecx + 7], bl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0x30
ret
Function at 0x56a310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
push esi
push edi
mov edi, dword [esp + 0x4c]
mov esi, dword [eax]
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0
test esi, esi
jns 0x56a371
pop edi
pop esi
mov dword [eax], 0xffffffff
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005c7d0a
add esp, 0x2c
ret
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
shl eax, 0x10
movzx ecx, byte [edi + 6]
shl edx, 0x18
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 2]
shl eax, 8
or edx, eax
movzx eax, byte [edi + 3]
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 0x10
push ebx
movzx ebx, byte [edi + 4]
shl ebx, 0x18
or ebx, eax
mov dword [esp + 0x18], edx
movzx eax, byte [edi + 7]
or ecx, eax
mov byte [esp + 0x33], dl
mov eax, edx
or ebx, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 8
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x36], al
mov byte [esp + 0x37], bl
test ebp, ebp
je 0x56a4c2
mov edi, dword [esp + 0x40]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x56a465
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.00569900
mov edx, dword [esp + 0x20]
add esp, 8
mov ebx, dword [esp + 0x1c]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 8
inc dword [esp + 0x14]
mov byte [esp + 0x33], dl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], bl
mov al, byte [esp + esi + 0x30]
inc esi
mov ecx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x28], eax
test ebp, ebp
jne 0x56a405
test ecx, ecx
je 0x56a4c2
mov ecx, dword [esp + 0x24]
mov eax, edx
shr eax, 0x18
mov byte [ecx], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, edx
shr eax, 8
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 3], dl
mov byte [ecx + 6], al
mov byte [ecx + 7], bl
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
pop ebx
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor ecx, esp
call fcn.005c7d0a
add esp, 0x2c
ret
Function at 0x56b020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], 0
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
shl eax, 8
or edx, eax
movzx ebx, byte [edi + 4]
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 7]
shl eax, 0x10
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], edx
movzx eax, byte [edi + 6]
or ecx, eax
mov byte [esp + 0x2c], dl
mov eax, edx
shl ecx, 0x10
shr eax, 8
or ebx, ecx
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x20], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x33], al
test ebp, ebp
je 0x56b1b3
mov edi, dword [esp + 0x3c]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x56b160
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.0056ace0
mov edx, dword [esp + 0x24]
add esp, 8
mov ebx, dword [esp + 0x20]
mov eax, edx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ebx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x2c], dl
mov byte [esp + 0x30], bl
mov byte [esp + 0x33], al
mov al, byte [esp + esi + 0x2c]
inc esi
mov ecx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
test ebp, ebp
jne 0x56b100
test ecx, ecx
je 0x56b1b3
mov ecx, dword [esp + 0x28]
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 5], al
mov eax, ebx
mov byte [ecx], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ecx + 4], bl
shr ebx, 0x18
mov byte [ecx + 3], dl
mov byte [ecx + 6], al
mov byte [ecx + 7], bl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0x28
ret