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

Disassembly:
mov eax, 0x10
call fcn.005c8080
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [eax + 0x60]
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, dword [ebp + 0x70]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], ebp
test ecx, ecx
je 0x53edd9
test ebx, ebx
je 0x53edb9
lea edx, [ebp + 0x30]
add edx, ecx
cmp ecx, 0x40
jae 0x53edb9
mov al, byte [edx]
inc ecx
xor al, byte [esi]
inc edx
mov byte [edi], al
inc esi
inc edi
sub ebx, 1
jne 0x53eda5
mov dword [ebp + 0x70], ecx
test ebx, ebx
je 0x53ee94
cmp ecx, 0x40
jne 0x53edd9
mov dword [ebp + 0x70], 0
add dword [ebp + 0x20], 1
jne 0x53edd9
inc dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov eax, ebx
and eax, 0x3f
sub ebx, eax
mov dword [esp + 0x1c], eax
lea eax, [ebp + 0x20]
mov dword [esp + 0x24], eax
cmp ebx, 0x40
jb 0x53ee47
push dword [esp + 0x24]
mov ecx, ebx
xor ebp, ebp
shr ecx, 6
lea eax, [ecx + edx]
cmp eax, ecx
cmovae ebp, eax
neg edx
cmp eax, ecx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
cmovae edx, ecx
shl edx, 6
push ebp
push edx
push esi
push edi
mov dword [esp + 0x28], edx
call fcn.00443840
mov eax, dword [esp + 0x28]
add esp, 0x14
sub ebx, eax
add esi, eax
add edi, eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x20], eax
test eax, eax
jne 0x53ee40
inc dword [ebp + 0x24]
mov edx, eax
cmp ebx, 0x40
jae 0x53edf3
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x53ee94
push 0x40
lea eax, [ebp + 0x30]
push 0
push eax
call fcn.005c9580
lea eax, [ebp + 0x20]
push eax
push ebp
lea eax, [ebp + 0x30]
push 0x40
push eax
push eax
call fcn.00443840
add esp, 0x20
xor edx, edx
test ebx, ebx
je 0x53ee91
sub esi, edi
nop dword [eax + eax]
mov al, byte [edx + ebp + 0x30]
lea ecx, [edx + edi]
xor al, byte [esi + ecx]
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x53ee80
mov dword [ebp + 0x70], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x542200
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.005c8080
mov eax, dword [0x678dc8]
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.00517bf0
push ebp
push 0
push ebx
mov dword [esp + 0x2c], eax
call fcn.00583ef0
add esp, 0x10
test eax, eax
je 0x5423f1
mov ebx, dword [esp + 0xcc]
inc ebp
test ebx, ebx
mov ebx, dword [esp + 0x10]
je 0x5422b4
push 0
push esi
push ebx
push dword [esp + 0x28]
call fcn.004bd710
add esp, 0x10
test eax, eax
jle 0x5423f2
push esi
push ebx
push edi
call fcn.005c9000
push esi
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.005c9000
lea eax, [esi - 1]
add esp, 0x18
test eax, eax
js 0x5422dd
add byte [edi + eax], 1
jne 0x5422dd
sub eax, 1
jns 0x5422d2
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push 0
push eax
push esi
push ebx
call fcn.004ae620
add esp, 0x18
test eax, eax
je 0x5423f2
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x74]
push 0
push eax
push esi
push edi
call fcn.004ae620
add esp, 0x18
test eax, eax
je 0x5423f2
xor eax, eax
test esi, esi
jle 0x54239d
cmp esi, 0x40
jb 0x542390
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 0x542330
cmp eax, esi
jge 0x54239d
nop dword [eax]
mov cl, byte [esp + eax + 0x6c]
xor byte [esp + eax + 0x2c], cl
inc eax
cmp eax, esi
jl 0x542390
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.004bf890
add esp, 0xc
test eax, eax
je 0x5423f2
push dword [esp + 0x18]
push dword [esp + 0x28]
push ebx
call fcn.00583f40
add esp, 0xc
test eax, eax
jg 0x542413
jne 0x5423f2
push ebp
push 0
push dword [esp + 0x20]
mov ebx, 1
call fcn.00583ef0
add esp, 0xc
test eax, eax
jne 0x542293
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.005c77ea
add esp, 0xa0
ret
mov eax, 1
jmp 0x5423f4
Function at 0x5448d0
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 0x544983
mov esi, dword [esp + 0x10]
test esi, esi
je 0x54494a
push esi
push 0
lea eax, [esp + 0x28]
push eax
push 0
call fcn.004fb8c0
add esp, 0x10
cmp dword [esp + 0x20], 0xffffffff
jne 0x544920
mov eax, dword [esi]
mov esi, dword [esp + 0x1c]
push eax
call fcn.004a9c00
add esp, 4
test esi, esi
jne 0x54491c
mov esi, eax
jmp 0x54494e
cmp esi, eax
je 0x54494e
call fcn.004a93e0
push str.ossl_ecx_key_op
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0x66
push 0x10
call fcn.004a94f0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
ret
mov esi, dword [esp + 0x1c]
test edi, edi
je 0x544920
test esi, esi
je 0x544920
cmp esi, 0x40a
je 0x544976
cmp esi, 0x43f
je 0x544976
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x54497b
mov eax, 0x20
cmp dword [esp + 0x18], eax
je 0x544987
jmp 0x544920
mov esi, dword [esp + 0x1c]
cmp esi, 0x40a
je 0x5449ab
cmp esi, 0x43f
je 0x5449ab
xor eax, eax
cmp esi, 0x40b
setne al
lea eax, [eax*2 + 1]
jmp 0x5449bb
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.004eed70
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x544a01
call fcn.004a93e0
push str.ossl_ecx_key_op
push ebx
push 0x66ed1f
call fcn.004a94e0
push ebx
push 0xc0100
push 0x10
call fcn.004a94f0
add esp, 0x18
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
test ebp, ebp
jne 0x544a1d
push dword [esp + 0x1c]
lea eax, [ebx + 0xc]
push edi
push eax
call fcn.005c9000
add esp, 0xc
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
push ebx
call fcn.004eecf0
mov edi, eax
add esp, 4
test edi, edi
jne 0x544a4c
call fcn.004a93e0
push str.ossl_ecx_key_op
push edi
push 0x66ed1f
call fcn.004a94e0
push edi
push 0xc0100
jmp 0x544b1f
cmp ebp, 2
jne 0x544abe
test esi, esi
je 0x544af1
cmp esi, 0x40a
je 0x544a79
cmp esi, 0x43f
je 0x544a79
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x544a7e
mov eax, 0x20
push 0
push eax
push edi
push dword [esp + 0x34]
call fcn.004bdce0
add esp, 0x10
test eax, eax
jle 0x544b29
cmp esi, 0x40a
jne 0x544aad
mov al, byte [edi + 0x1f]
and byte [edi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
jmp 0x544af1
cmp esi, 0x40b
jne 0x544af1
and byte [edi], 0xfc
or byte [edi + 0x37], 0x80
jmp 0x544af1
cmp esi, 0x40a
je 0x544ade
cmp esi, 0x43f
je 0x544ade
xor eax, eax
cmp esi, 0x40b
setne al
add eax, 0x38
jmp 0x544ae3
mov eax, 0x20
push eax
push dword [esp + 0x1c]
push edi
call fcn.005c9000
add esp, 0xc
push ebx
call fcn.00544b40
add esp, 4
test eax, eax
jne 0x544a16
call fcn.004a93e0
push str.ossl_ecx_key_op
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0xa6
push 0x10
call fcn.004a94f0
add esp, 0x18
push ebx
call fcn.004eed10
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x5494f0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0xe4
call fcn.005c8080
mov eax, dword [0x678dc8]
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.004af250
mov edi, eax
add esp, 0xc
test edi, edi
je 0x549572
push 0
push edi
push 0
lea eax, [esp + 0xb8]
push eax
push 0x20
push esi
call fcn.004ae620
push edi
mov esi, eax
call fcn.004af280
add esp, 0x1c
test esi, esi
jne 0x54958c
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.005c77ea
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.00548d30
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.00548cb0
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.005c77ea
add esp, 0xe4
ret
Function at 0x549600
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x174
call fcn.005c8080
mov eax, dword [0x678dc8]
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.004af250
add esp, 0xc
mov edi, eax
call fcn.004af0b0
mov dword [esp + 0x18], 0
mov esi, eax
test edi, edi
je 0x54980e
test esi, esi
je 0x54980e
push 0
push edi
push esi
call fcn.004aea40
add esp, 0xc
test eax, eax
je 0x54980e
push 0x20
push ebx
push esi
call fcn.004aea80
add esp, 0xc
test eax, eax
je 0x54980e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xc4]
push eax
push esi
call fcn.004ae920
add esp, 0xc
test eax, eax
je 0x54980e
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.004aea40
add esp, 0xc
test eax, eax
je 0x54980e
push 0x20
lea eax, [esp + 0xe4]
push eax
push esi
call fcn.004aea80
add esp, 0xc
test eax, eax
je 0x54980e
mov ebx, dword [esp + 0x190]
push ebx
push dword [esp + 0x14]
push esi
call fcn.004aea80
add esp, 0xc
test eax, eax
je 0x54980e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x104]
push eax
push esi
call fcn.004ae920
add esp, 0xc
test eax, eax
je 0x54980e
lea eax, [esp + 0x100]
push eax
call fcn.0054e280
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00548d30
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00548cb0
push 0
push edi
push esi
call fcn.004aea40
add esp, 0x20
test eax, eax
je 0x54980e
push 0x20
push ebp
push esi
call fcn.004aea80
add esp, 0xc
test eax, eax
je 0x54980e
push 0x20
push dword [esp + 0x20]
push esi
call fcn.004aea80
add esp, 0xc
test eax, eax
je 0x54980e
push ebx
push dword [esp + 0x14]
push esi
call fcn.004aea80
add esp, 0xc
test eax, eax
je 0x54980e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x144]
push eax
push esi
call fcn.004ae920
add esp, 0xc
test eax, eax
je 0x54980e
lea eax, [esp + 0x140]
push eax
call fcn.0054e280
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.00549d30
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.004af280
push esi
call fcn.004af020
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.005c77ea
add esp, 0x174
ret
Function at 0x555b40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x555bfb
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x555b61
cmp al, 0x6b
jne 0x555bfb
inc ecx
cmp al, 0x6b
jne 0x555bb4
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x555b82
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x555b82
cmp dl, 0xbb
jne 0x555b88
inc eax
cmp eax, esi
jl 0x555b70
sub esi, eax
test eax, eax
jne 0x555bb7
call fcn.004a93e0
push str.RSA_padding_check_X931
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0x8a
push 4
call fcn.004a94f0
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x555be9
call fcn.004a93e0
push str.RSA_padding_check_X931
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0x8b
push 4
call fcn.004a94f0
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.005c9000
add esp, 0xc
mov eax, esi
pop esi
ret
call fcn.004a93e0
push str.RSA_padding_check_X931
push 0
push 0x66ed1f
call fcn.004a94e0
push 0
push 0x89
push 4
call fcn.004a94f0
add esp, 0x18
or eax, 0xffffffff
pop esi
ret
Function at 0x55bd70
Capabilities:
Terminate process

Disassembly:
mov eax, 8
call fcn.005c8080
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
push ebx
xor edi, edi
call fcn.004a3e00
add esp, 4
test eax, eax
jle 0x55bf47
push edi
push ebx
call fcn.004a3fb0
mov esi, eax
mov dword [esp + 0x18], 0
push 0x9c
push esi
xor ebp, ebp
call fcn.00587a90
add esp, 0x10
test eax, eax
je 0x55bdc1
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
push 0x9d
push esi
call fcn.00587a90
add esp, 8
test eax, eax
je 0x55bdd6
mov ebp, dword [eax + 4]
push esi
call fcn.00587b80
add eax, 0xffffff6a
add esp, 4
cmp eax, 5
ja case.0x55bded.153
jmp dword [eax*4 + 0x55bf68]
mov ebp, dword [esp + 0x28]
test ebp, ebp
je case.0x55bded.153
cmp dword [ebp], 0
jne case.0x55bded.153
push esi
call fcn.00587ab0
push eax
call fcn.00527670
add esp, 8
mov dword [ebp], eax
jmp 0x55bf31
mov ebp, dword [esp + 0x28]
test ebp, ebp
je case.0x55bded.153
cmp dword [ebp], 0
jne case.0x55bded.153
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call fcn.00587b90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x55bf5d
push esi
call fcn.00527670
push esi
mov dword [ebp], eax
call fcn.00527540
add esp, 8
cmp dword [ebp], 0
jmp 0x55bf33
cmp dword [esp + 0x2c], 0
je case.0x55bded.153
push esi
call fcn.00587b40
add esp, 4
cmp eax, 0x9e
jne case.0x55bded.153
push esi
call fcn.00587af0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x55bf5d
test ebp, ebp
je 0x55beba
push dword [ebp]
push dword [ebp + 8]
push ebx
call fcn.00501be0
add esp, 0xc
test eax, eax
je 0x55bf54
mov eax, dword [esp + 0x10]
test eax, eax
je 0x55bef8
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004f9d50
add esp, 8
test eax, eax
js 0x55bef8
push eax
push dword [esp + 0x18]
push ebx
call fcn.00501b50
push 0
push 0x66ed1f
push dword [esp + 0x28]
mov esi, eax
call fcn.004a4eb0
add esp, 0x18
test esi, esi
je 0x55bf54
push ebx
push dword [esp + 0x30]
call fcn.004a3e80
add esp, 8
test eax, eax
je 0x55bf54
mov ebx, dword [esp + 0x1c]
jmp case.0x55bded.153
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.00587ad0
add esp, 4
push eax
call fcn.0055bd70
add esp, 0x14
test eax, eax
je 0x55bf5d
push ebx
inc edi
call fcn.004a3e00
add esp, 4
cmp edi, eax
jl 0x55bd95
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
push ebx
call fcn.004ba8d0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x567790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.005c8080
mov eax, dword [0x678dc8]
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 0x567925
mov edi, dword [esp + 0x3c]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x5678d2
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 0x567870
test ecx, ecx
je 0x567925
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.005c77ea
add esp, 0x28
ret
Function at 0x569df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.005c8080
mov eax, dword [0x678dc8]
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 0x569e51
pop edi
pop esi
mov dword [eax], 0xffffffff
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005c77ea
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 0x569fa2
mov edi, dword [esp + 0x40]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x569f45
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.005693e0
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 0x569ee5
test ecx, ecx
je 0x569fa2
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.005c77ea
add esp, 0x2c
ret
Function at 0x56ab00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.005c8080
mov eax, dword [0x678dc8]
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 0x56ac93
mov edi, dword [esp + 0x3c]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x56ac40
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.0056a7c0
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 0x56abe0
test ecx, ecx
je 0x56ac93
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.005c77ea
add esp, 0x28
ret