joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bd3d0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.0065d180
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], 1
cmp esi, 0xffffffff
jne 0x4bd426
push 0x52
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
push 0x87
mov edx, 0x8a
lea ecx, [esi + 0x21]
call fcn.0047b7e0
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
shr eax, 3
and eax, 1
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jns 0x4bd47e
push 0xc3
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 5
push eax
lea ecx, [edx - 3]
call fcn.0047b7e0
add esp, 0xc
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
jne 0x4bd46b
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
test bl, 4
je 0x4bd4cb
push 4
lea eax, [ebp - 8]
push eax
push 8
push 0xffff
push esi
call edi
test eax, eax
je 0x4bd4cb
push 0x5c
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 0xe
push eax
lea ecx, [edx - 0xc]
call fcn.0047b7e0
push 0x5d
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
push 0x89
jmp 0x4bd55e
test bl, 0x10
je 0x4bd50a
push 4
lea eax, [ebp - 8]
push eax
push 1
push 6
push esi
call edi
test eax, eax
je 0x4bd50a
push 0x65
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 0xe
push eax
lea ecx, [edx - 0xc]
call fcn.0047b7e0
push 0x66
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
push 0x8a
jmp 0x4bd55e
mov edx, dword [ebp - 0x10]
mov edi, 0x10
mov eax, 0x1c
cmp word [edx], 2
cmove eax, edi
push eax
push edx
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4bd581
or ecx, eax
call fcn.004bd820
test eax, eax
jne 0x4bd46b
push 0x6e
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 2
push eax
mov ecx, edx
call fcn.0047b7e0
push 0x6f
push str.C:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcrypto_bio_b_sock2.c
push 0x67
mov edx, 0x8a
lea ecx, [edx - 0x6a]
call fcn.0047b7e0
add esp, 0x18
xor eax, eax
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
Function at 0x4c3d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
call fcn.0065d180
cmp dword [ecx], 0x72
push ebx
push esi
mov dword [ebp - 8], edx
jne 0x4c3eb2
mov esi, dword [ebp + 0x18]
mov ecx, 0x6dcfe4
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.004c3a60
add esp, 0x14
test eax, eax
je 0x4c3ecd
push edi
test esi, esi
je 0x4c3e8d
push esi
mov dword [0x7474ac], 0
call fcn.00668b52
mov edi, eax
add esp, 4
test edi, edi
je 0x4c3e8d
mov edx, dword [ebp - 8]
mov ecx, 0x6ccf10
push esi
push edi
push dword [ebp + 0x10]
lea edx, [ebx + edx]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.004c3a60
add esp, 0x14
test eax, eax
jne 0x4c3dae
push esi
push edi
call fcn.00401320
push edi
call fcn.00663ce7
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 0x4c3e71
mov edx, dword [ebp + 0x14]
cmp esi, 0x40
jb 0x4c3e4a
lea eax, [esi - 1]
lea ecx, [edx - 1]
add eax, edi
add ecx, esi
cmp edx, eax
ja 0x4c3dd6
cmp ecx, edi
jae 0x4c3e4a
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 0x4c3df1
mov edx, dword [ebp + 0x14]
mov dword [ebp - 8], ebx
cmp ebx, esi
jae 0x4c3e71
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 0x4c3e60
mov esi, dword [ebp + 0x18]
push esi
push edi
call fcn.00401320
push edi
call fcn.00663ce7
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:pixelseeinstaller_dependencesopenssl1_1_win_build_1.1.1qcryptokdf_tls1_prf.c
push 0x41
lea ecx, [edx - 0x3b]
call fcn.0047b7e0
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.004c3a60
add esp, 0x14
test eax, eax
jne 0x4c3ed5
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 0x4e15c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.0065d180
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
push esi
test eax, eax
je 0x4e15e5
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x4e15ea
mov ebx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov esi, dword [ebp + 0xc]
test esi, esi
jle 0x4e16bb
push edi
mov edi, dword [ebp + 8]
inc edi
nop word [eax + eax]
movzx eax, byte [edi - 1]
cmp esi, 3
jb 0x4e164d
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 0x4e1690
shl eax, 0x10
cmp esi, 2
jne 0x4e165d
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 0x4e1683
mov al, 0x3d
jmp 0x4e168c
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 0x4e1600
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 0x4e1f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.0065d180
mov dword [ebp - 4], edx
push ebx
mov ebx, ecx
test edx, edx
je 0x4e1fa2
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4e1fa1
mov eax, dword [ebx + 0x14]
cmp esi, eax
push edi
mov edi, eax
cmovb edi, esi
test edi, edi
je 0x4e1f76
lea ecx, [ebx + 0x18]
mov al, byte [edx]
lea edx, [edx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x4e1f61
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 4]
pop edi
cmp esi, eax
jbe 0x4e1fa1
sub esi, eax
cmp esi, 0x10
jbe 0x4e1f89
mov esi, 0x10
jmp 0x4e1f8d
test esi, esi
je 0x4e1fa1
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 0x4e1f90
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e1fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.0065d180
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 0x4e205f
push edi
mov edi, dword [ebp + 8]
cmp esi, 0x40
jb 0x4e2047
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 0x4e1ff1
mov edi, dword [ebp + 8]
cmp ecx, esi
jge 0x4e205e
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 0x4e2050
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 0x4e207a
call fcn.004af340
jmp 0x4e207f
call fcn.004af750
add esp, 0xc
test eax, eax
je 0x4e2096
cmp dword [ebp - 4], esi
jne 0x4e2096
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 0x4eb2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.0065d180
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 0x4eb32f
test edi, edi
je 0x4eb30f
lea eax, [edx + 0x30]
add eax, ecx
mov dword [ebp + 8], eax
cmp ecx, 0x40
jae 0x4eb30f
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 0x4eb2f5
mov dword [edx + 0x70], ecx
test edi, edi
je 0x4eb3fc
cmp ecx, 0x40
jne 0x4eb32f
mov dword [edx + 0x70], 0
add dword [edx + 0x20], 1
jne 0x4eb32f
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 0x4eb3a7
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 0x4eb39f
inc dword [edx + 0x24]
mov dword [ebp + 8], eax
cmp edi, 0x40
jae 0x4eb350
cmp dword [ebp - 8], 0
je 0x4eb3fc
push 0x40
lea eax, [edx + 0x30]
push 0
push eax
mov dword [ebp + 8], eax
call fcn.006607e0
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 0x4eb3f9
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 0x4eb3e0
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 0x4fff90
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 0x4fffe0
cmp ecx, esi
jb 0x4fffe0
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 0x4fffc0
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 0x4ffff0
pop esi
pop ebx
pop ebp
ret
Function at 0x519620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.0065d180
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 0x5197de
push edi
cmp esi, 0x10
jb 0x5196c0
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 0x519670
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 0x519653
mov dword [ebp - 8], eax
mov dword [ebp + 8], edx
mov dword [ebp - 4], ecx
test edx, edx
je 0x5197d0
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 0x51977f
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 0x519779
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 0x519774
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 0x51976f
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 0x519700
jmp 0x5197a1
add edx, 3
jmp 0x51977a
add edx, 2
jmp 0x51977a
inc edx
cmp edx, 0x10
jae 0x5197a1
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 0x519790
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 0x5197d0
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 0x5196c0
mov ecx, dword [ebp + 0x10]
pop edi
cmp ecx, eax
je 0x5197de
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x519b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.0065d180
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 0x519b3b
mov edx, dword [ebp + 0x10]
test edi, edi
je 0x519b3b
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 0x519b24
cmp edi, 0x10
jb 0x519bbd
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 0x519b73
mov edx, dword [ebp + 0x10]
push dword [ebp + 0xc]
push edx
push edx
call dword [ebp + 0x18]
add esp, 0xc
cmp esi, 0x10
jae 0x519ba8
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 0x519b96
add dword [ebp + 8], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
sub dword [ebp - 8], 1
jne 0x519b70
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x519bf2
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 0x519be0
mov eax, dword [ebp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x519c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10
call fcn.0065d180
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 0x519c6b
mov edx, dword [ebp + 0x14]
test esi, esi
je 0x519c6b
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 0x519c54
cmp esi, 0x10
jb 0x519ce7
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 0x519ca3
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.00519c00
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 0x519cc0
sub esi, 0x10
add edi, 0x10
add ebx, 0x10
sub dword [ebp + 8], 1
jne 0x519ca0
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
test esi, esi
je 0x519d23
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.00519c00
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 0x519d11
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x519d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc
call fcn.0065d180
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 0x519daa
mov ecx, dword [ebp + 0x14]
nop dword [eax]
test esi, esi
je 0x519daa
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 0x519d90
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0xc]
bswap eax
mov dword [ebp + 8], eax
cmp esi, 0x10
jb 0x519e3c
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 0x519e1f
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 0x519e07
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 0x519dc0
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0xc]
test esi, esi
je 0x519e92
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 0x519e6c
call fcn.00519d30
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 0x519e80
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret