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

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.00626ba0
cmp dword [ecx], 0x72
push ebx
push esi
mov dword [ebp - 8], edx
jne 0x4c3cc2
mov esi, dword [ebp + 0x18]
mov ecx, 0x6a2b94
mov eax, dword [ebp + 8]
mov ebx, eax
push esi
push dword [ebp + 0x14]
and eax, 1
shr ebx, 1
push dword [ebp + 0x10]
add eax, ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
push eax
call fcn.004c3870
add esp, 0x14
test eax, eax
je 0x4c3cdd
push edi
test esi, esi
je 0x4c3c9d
push esi
mov dword [0x70b32c], 0
call fcn.00630d7d
mov edi, eax
add esp, 4
test edi, edi
je 0x4c3c9d
mov edx, dword [ebp - 8]
mov ecx, 0x692ac0
push esi
push edi
push dword [ebp + 0x10]
lea edx, [ebx + edx]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.004c3870
add esp, 0x14
test eax, eax
jne 0x4c3bbe
push esi
push edi
call fcn.00401320
push edi
call fcn.0062d677
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test esi, esi
je 0x4c3c81
mov edx, dword [ebp + 0x14]
cmp esi, 0x40
jb 0x4c3c5a
lea eax, [esi - 1]
lea ecx, [edx - 1]
add eax, edi
add ecx, esi
cmp edx, eax
ja 0x4c3be6
cmp ecx, edi
jae 0x4c3c5a
mov eax, esi
lea ecx, [edi + 0x30]
and eax, 0xffffffc0
mov esi, edi
sub esi, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
lea eax, [edx + 0x10]
mov esi, dword [ebp + 0x18]
mov edx, dword [ebp - 8]
movups xmm0, xmmword [eax - 0x10]
add ebx, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ebx, dword [ebp - 4]
jb 0x4c3c01
mov edx, dword [ebp + 0x14]
mov dword [ebp - 8], ebx
cmp ebx, esi
jae 0x4c3c81
mov eax, edi
lea ecx, [ebx + edx]
sub eax, edx
mov edx, esi
mov dword [ebp - 8], eax
sub edx, ebx
mov esi, eax
nop word [eax + eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x4c3c70
mov esi, dword [ebp + 0x18]
push esi
push edi
call fcn.00401320
push edi
call fcn.0062d677
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x6f
push 0x105
push str.C:mediagetdependencies_installeropenssl1_1_win_build_1.1.1qcryptokdf_tls1_prf.c
push 0x41
lea ecx, [edx - 0x3b]
call fcn.0047b5e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c3870
add esp, 0x14
test eax, eax
jne 0x4c3ce5
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e13b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00626ba0
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
push esi
test eax, eax
je 0x4e13d5
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x4e13da
mov ebx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x4e14ab
push edi
mov edi, dword [ebp + 8]
inc edi
nop word [eax + eax]
movzx eax, byte [edi - 1]
cmp esi, 3
jb 0x4e143d
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 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
mov ecx, eax
shr ecx, 6
add edx, 2
and ecx, 0x3f
and eax, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [edx], cl
mov cl, byte [eax + ebx]
jmp 0x4e1480
shl eax, 0x10
cmp esi, 2
jne 0x4e144d
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
add edx, 2
cmp esi, 1
jne 0x4e1473
mov al, 0x3d
jmp 0x4e147c
shr eax, 6
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [edx], al
mov cl, 0x3d
lea eax, [edx + 1]
sub esi, 3
mov byte [eax], cl
lea edx, [eax + 1]
mov ecx, dword [ebp - 4]
add edi, 3
add ecx, 4
mov dword [ebp - 4], ecx
test esi, esi
jg 0x4e13f0
pop edi
pop esi
mov byte [edx], 0
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov byte [edx], cl
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e1d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.00626ba0
mov dword [ebp - 4], edx
push ebx
mov ebx, ecx
test edx, edx
je 0x4e1d92
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4e1d91
mov eax, dword [ebx + 0x14]
cmp esi, eax
push edi
mov edi, eax
cmovb edi, esi
test edi, edi
je 0x4e1d66
lea ecx, [ebx + 0x18]
mov al, byte [edx]
lea edx, [edx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x4e1d51
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 4]
pop edi
cmp esi, eax
jbe 0x4e1d91
sub esi, eax
cmp esi, 0x10
jbe 0x4e1d79
mov esi, 0x10
jmp 0x4e1d7d
test esi, esi
je 0x4e1d91
xor ecx, ecx
nop
mov eax, dword [ebx + 0x14]
add eax, ecx
mov al, byte [eax + edx]
xor byte [ebx + ecx + 0x38], al
inc ecx
cmp ecx, esi
jb 0x4e1d80
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e1da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00626ba0
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov dword [ebp - 4], 0x10
test esi, esi
jle 0x4e1e4f
push edi
mov edi, dword [ebp + 8]
cmp esi, 0x40
jb 0x4e1e37
mov eax, esi
lea edx, [edi + 0x30]
and eax, 0xffffffc0
sub edi, ebx
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x10]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea edx, [edx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [edx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [ebp - 0xc]
jl 0x4e1de1
mov edi, dword [ebp + 8]
cmp ecx, esi
jge 0x4e1e4e
mov edx, esi
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x4e1e40
pop edi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 4]
push esi
push ebx
mov edx, ebx
mov ecx, dword [ecx + 8]
push eax
cmp dword [ecx + 8], 0
je 0x4e1e6a
call fcn.004af170
jmp 0x4e1e6f
call fcn.004af580
add esp, 0xc
test eax, eax
je 0x4e1e86
cmp dword [ebp - 4], esi
jne 0x4e1e86
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eb0b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00626ba0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov edx, dword [eax + 0x60]
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [edx + 0x70]
mov dword [ebp - 4], edx
test ecx, ecx
je 0x4eb11f
test edi, edi
je 0x4eb0ff
lea eax, [edx + 0x30]
add eax, ecx
mov dword [ebp + 8], eax
cmp ecx, 0x40
jae 0x4eb0ff
mov al, byte [eax]
inc ecx
xor al, byte [esi]
inc esi
mov byte [ebx], al
inc ebx
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
sub edi, 1
jne 0x4eb0e5
mov dword [edx + 0x70], ecx
test edi, edi
je 0x4eb1ec
cmp ecx, 0x40
jne 0x4eb11f
mov dword [edx + 0x70], 0
add dword [edx + 0x20], 1
jne 0x4eb11f
inc dword [edx + 0x24]
mov eax, edi
and eax, 0x3f
sub edi, eax
mov dword [ebp - 8], eax
lea eax, [edx + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp edi, 0x40
jb 0x4eb197
nop dword [eax]
push dword [ebp - 0xc]
mov ecx, edi
xor edx, edx
shr ecx, 6
add eax, ecx
cmp eax, ecx
cmovae edx, eax
neg dword [ebp + 8]
cmp eax, ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmovae eax, ecx
push edx
shl eax, 6
push eax
push esi
push ebx
mov dword [ebp + 8], eax
call fcn.0043e900
mov eax, dword [ebp + 8]
add esp, 0x14
mov ecx, dword [ebp - 0xc]
sub edi, eax
mov edx, dword [ebp - 4]
add esi, eax
add ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x4eb18f
inc dword [edx + 0x24]
mov dword [ebp + 8], eax
cmp edi, 0x40
jae 0x4eb140
cmp dword [ebp - 8], 0
je 0x4eb1ec
push 0x40
lea eax, [edx + 0x30]
push 0
push eax
mov dword [ebp + 8], eax
call fcn.00629cd0
push dword [ebp - 0xc]
mov edi, dword [ebp - 4]
push edi
push 0x40
lea eax, [edi + 0x30]
push eax
push eax
call fcn.0043e900
mov eax, dword [ebp - 8]
add esp, 0x20
xor edx, edx
test eax, eax
je 0x4eb1e9
sub esi, ebx
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [edx + ebx]
mov al, byte [eax + edx]
inc edx
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, edi
jb 0x4eb1d0
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edi + 0x70], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ffd90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [edx + 0x3c]
movd xmm0, ebx
pshufd xmm4, xmm0, 0
lea eax, [esi + 0x3c]
cmp edx, eax
ja 0x4ffde0
cmp ecx, esi
jb 0x4ffde0
push edi
sub esi, edx
mov edi, 0x10
nop dword [eax]
mov ecx, dword [edx + esi]
lea edx, [edx + 4]
mov eax, dword [edx - 4]
xor eax, ecx
and eax, ebx
xor ecx, eax
mov dword [edx + esi - 4], ecx
xor dword [edx - 4], eax
sub edi, 1
jne 0x4ffdc0
pop edi
pop esi
pop ebx
pop ebp
ret
sub esi, edx
mov eax, 4
nop word [eax + eax]
lea edx, [edx + 0x10]
movups xmm1, xmmword [esi + edx - 0x10]
movups xmm3, xmmword [edx - 0x10]
movaps xmm2, xmm1
pxor xmm2, xmm3
pand xmm2, xmm4
movaps xmm0, xmm2
pxor xmm2, xmm3
pxor xmm0, xmm1
movups xmmword [esi + edx - 0x10], xmm0
movups xmmword [edx - 0x10], xmm2
sub eax, 1
jne 0x4ffdf0
pop esi
pop ebx
pop ebp
ret
Function at 0x519430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.00626ba0
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
test esi, esi
je 0x5195ee
push edi
cmp esi, 0x10
jb 0x5194d0
mov eax, esi
shr eax, 4
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 8]
mov eax, ecx
sub edi, ecx
mov edx, 4
mov ecx, ebx
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov esi, ecx
nop dword [eax]
mov ecx, dword [edi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [esi + eax - 4], ecx
sub edx, 1
jne 0x519480
push dword [ebp + 0xc]
push ebx
push ebx
call dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [ebp - 4]
sub esi, 0x10
mov dword [ebp - 8], ebx
add ecx, 0x10
add esp, 0xc
mov dword [ebp + 8], esi
add ebx, 0x10
mov dword [ebp - 4], ecx
sub dword [ebp - 0xc], 1
mov edx, esi
jne 0x519463
mov dword [ebp - 8], eax
mov dword [ebp + 8], edx
mov dword [ebp - 4], ecx
test edx, edx
je 0x5195e0
mov esi, eax
mov dword [ebp - 0xc], eax
sub esi, dword [ebp - 4]
lea edi, [ebx + 2]
mov dword [ebp - 0x18], esi
xor edx, edx
mov esi, ebx
inc ecx
sub esi, dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov esi, 1
sub esi, dword [ebp - 4]
mov dword [ebp - 0x20], esi
mov esi, 2
sub esi, dword [ebp - 4]
sub dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], esi
mov esi, ebx
not esi
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
nop dword [eax]
cmp edx, esi
jae 0x51958f
add eax, edx
mov dword [ebp - 0x10], eax
mov esi, eax
mov al, byte [ecx - 1]
xor al, byte [esi]
mov esi, dword [ebp + 8]
mov byte [edi - 2], al
mov eax, dword [ebp - 0x14]
add eax, edi
cmp eax, esi
jae 0x519589
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov al, byte [ecx + eax]
xor al, byte [ecx]
mov byte [ecx + esi], al
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp + 8]
add eax, ecx
cmp eax, esi
jae 0x519584
mov eax, dword [ebp - 0xc]
mov al, byte [eax + edi]
xor al, byte [ecx + 1]
mov byte [edi], al
mov eax, dword [ebp - 0x24]
add eax, ecx
cmp eax, esi
jae 0x51957f
mov esi, dword [ebp - 0x10]
add edx, 4
mov al, byte [ecx + 2]
add ecx, 4
xor al, byte [esi + 3]
mov esi, dword [ebp + 8]
mov byte [edi + 1], al
add edi, 4
mov eax, dword [ebp - 8]
cmp edx, 0x10
jb 0x519510
jmp 0x5195b1
add edx, 3
jmp 0x51958a
add edx, 2
jmp 0x51958a
inc edx
cmp edx, 0x10
jae 0x5195b1
mov esi, dword [ebp - 0xc]
lea ecx, [edx + ebx]
mov edi, 0x10
sub edi, edx
nop dword [eax]
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edi, 1
jne 0x5195a0
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
push ebx
call dword [ebp + 0x14]
add esp, 0xc
mov eax, ebx
mov dword [ebp - 8], eax
cmp esi, 0x10
jbe 0x5195e0
mov ecx, dword [ebp - 4]
sub esi, 0x10
add ecx, 0x10
mov dword [ebp + 8], esi
add ebx, 0x10
mov dword [ebp - 4], ecx
test esi, esi
jne 0x5194d0
mov ecx, dword [ebp + 0x10]
pop edi
cmp ecx, eax
je 0x5195ee
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x519910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00626ba0
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov esi, dword [esi]
test esi, esi
je 0x51994b
mov edx, dword [ebp + 0x10]
test edi, edi
je 0x51994b
mov al, byte [esi + edx]
dec edi
xor al, byte [ecx]
inc esi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp - 4], ecx
and esi, 0xf
jne 0x519934
cmp edi, 0x10
jb 0x5199cd
mov edx, dword [ebp + 0x10]
mov eax, ebx
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
mov eax, edi
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
jmp 0x519983
mov edx, dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
push edx
call dword [ebp + 0x18]
add esp, 0xc
cmp esi, 0x10
jae 0x5199b8
mov eax, dword [ebp + 0x10]
mov edx, 0xf
sub edx, esi
add eax, esi
mov esi, dword [ebp + 8]
shr edx, 2
inc edx
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x5199a6
add dword [ebp + 8], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
sub dword [ebp - 8], 1
jne 0x519980
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x519a02
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push eax
call dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp - 4]
sub ebx, eax
sub edx, eax
lea ecx, [esi + eax]
add esi, edi
nop
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x5199f0
mov eax, dword [ebp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x519a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.00626ba0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 4], ecx
mov edi, dword [edi]
test edi, edi
je 0x519a7b
mov edx, dword [ebp + 0x14]
test esi, esi
je 0x519a7b
mov al, byte [edi + edx]
dec esi
xor al, byte [ecx]
inc edi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp - 4], ecx
and edi, 0xf
jne 0x519a64
cmp esi, 0x10
jb 0x519af7
mov edx, dword [ebp + 0x14]
mov eax, ecx
sub eax, edx
xor edi, edi
mov dword [ebp - 8], eax
mov eax, esi
shr eax, 4
mov dword [ebp - 0xc], edi
mov edi, ebx
mov dword [ebp + 8], eax
sub edi, edx
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x519ab3
mov edx, dword [ebp + 0x14]
push dword [ebp + 0xc]
push edx
push dword [ebp + 0x10]
call dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
call fcn.00519a10
mov eax, dword [ebp + 0x14]
mov edx, 4
mov ecx, dword [ebx + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [edi + eax - 4], ecx
sub edx, 1
jne 0x519ad0
sub esi, 0x10
add edi, 0x10
add ebx, 0x10
sub dword [ebp + 8], 1
jne 0x519ab0
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x519b33
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
call fcn.00519a10
mov eax, dword [ebp + 0x14]
sub ebx, eax
mov edx, dword [ebp - 4]
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub esi, 1
jne 0x519b21
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x519b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.00626ba0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, dword [ebp + 0x18]
mov edx, ecx
mov dword [ebp - 4], edx
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
je 0x519bba
mov ecx, dword [ebp + 0x14]
nop dword [eax]
test esi, esi
je 0x519bba
mov al, byte [edi + ecx]
dec esi
xor al, byte [edx]
inc edi
mov byte [ebx], al
inc edx
inc ebx
mov dword [ebp - 4], edx
and edi, 0xf
mov dword [ebp - 0xc], edi
jne 0x519ba0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0xc]
bswap eax
mov dword [ebp + 8], eax
cmp esi, 0x10
jb 0x519c4c
mov edi, eax
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
shr ecx, 4
lea eax, [ecx + edi]
neg edi
cmp eax, ecx
cmovae edi, ecx
mov dword [ebp - 8], edi
xor edi, edi
push dword [ebp - 8]
cmp eax, ecx
push ebx
cmovae edi, eax
push edx
mov dword [ebp + 8], edi
call dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov eax, edi
add esp, 0x14
bswap eax
mov dword [ecx + 0xc], eax
test edi, edi
jne 0x519c2f
mov edx, 0xc
mov eax, 1
mov edi, ecx
movzx ecx, byte [edx + edi - 1]
dec edx
add eax, ecx
mov byte [edx + edi], al
shr eax, 8
test edx, edx
jne 0x519c17
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
shl eax, 4
sub esi, eax
add edx, eax
add ebx, eax
mov dword [ebp - 4], edx
cmp esi, 0x10
jae 0x519bd0
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0xc]
test esi, esi
je 0x519ca2
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
push ecx
push dword [ebp + 0xc]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
add esp, 0x14
mov ecx, dword [ebp + 0x10]
add eax, 1
bswap eax
mov dword [ecx + 0xc], eax
jne 0x519c7c
call fcn.00519b40
mov eax, dword [ebp + 0x14]
sub ebx, eax
mov edx, dword [ebp - 4]
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
nop dword [eax + eax]
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x519c90
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51a2e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [eax]
movzx ebx, byte [ecx]
push edi
lea edi, [ecx + 1]
mov dword [ebp - 0x1c], edx
mov edx, edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 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 - 0x14], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x18]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 5], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 8], dl
test eax, eax
je 0x51a464
mov ecx, dword [ebp - 0x20]
sub dword [ebp - 0x1c], ecx
xor edi, edi
dec eax
mov dword [ebp + 8], eax
test esi, esi
jne 0x51a40c
push 1
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.00402b00
mov ebx, dword [ebp - 0x14]
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
mov ecx, dword [ebp - 0x20]
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc edi
mov byte [ebp - 0xc], bl
mov dword [ebp - 0x18], edx
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + esi - 0xc]
inc esi
mov edx, dword [ebp - 0x1c]
and esi, 7
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
test eax, eax
jne 0x51a3b0
test edi, edi
mov edi, dword [ebp - 0x2c]
je 0x51a464
mov eax, dword [ebp - 0x30]
mov byte [edi + 3], dl
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 eax, 8
mov byte [edi + 4], al
mov eax, edx
shr ebx, 0x18
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 2], bl
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.00626a7a
mov esp, ebp
pop ebp
ret