joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48f573
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [edx + 0x3f]
push esi
shr eax, 6
mov esi, edx
sub esi, eax
mov dword [ebp - 8], edx
push edi
xor edi, edi
mov dword [ebp - 0x10], ecx
and dword [ebp - 0xc], edi
inc esi
imul eax, esi, 3
shr eax, 2
cmp eax, dword [ebx]
ja 0x48f77b
mov esi, dword [ebp + 8]
cmp edx, 3
jbe 0x48f769
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
call fcn.0048f4fa
add esp, 4
test eax, eax
jne 0x48f75f
mov eax, dword [ebp - 0xc]
mov bl, byte [eax + ecx]
inc eax
mov dword [ebp - 0xc], eax
test bl, bl
je 0x48f766
dec dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0048f4fa
add esp, 4
test eax, eax
jne 0x48f780
mov eax, dword [ebp - 0xc]
mov dl, byte [eax + ecx]
inc eax
dec dword [ebp - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov byte [ebp - 2], dl
lea edx, [ebp - 8]
push eax
call fcn.0048f4fa
add esp, 4
test eax, eax
jne 0x48f780
mov eax, dword [ebp - 0xc]
mov dh, byte [eax + ecx]
inc eax
dec dword [ebp - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov byte [ebp - 1], dh
lea edx, [ebp - 8]
push eax
call fcn.0048f4fa
add esp, 4
test eax, eax
jne 0x48f780
mov eax, dword [ebp - 0xc]
mov bh, byte [eax + ecx]
inc eax
mov cl, byte [ebp - 1]
dec dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp cl, 0x3d
jne 0x48f65a
cmp bh, cl
jne 0x48f758
cmp bl, 0x2b
jb 0x48f758
mov al, byte [ebp - 2]
cmp al, 0x2b
jb 0x48f758
cmp cl, 0x2b
jb 0x48f758
cmp bh, 0x2b
jb 0x48f758
cmp bl, 0x7a
ja 0x48f758
cmp al, 0x7a
ja 0x48f758
cmp cl, 0x7a
ja 0x48f758
cmp bh, 0x7a
ja 0x48f758
xor edx, edx
cmp bh, 0x3d
setne dl
xor eax, eax
cmp cl, 0x3d
mov ecx, dword [ebp + 0xc]
setne al
add edx, edi
inc eax
add eax, edx
cmp eax, dword [ecx]
ja 0x48f77b
mov cl, bl
call fcn.0048f4c7
mov dl, byte [ebp - 2]
mov cl, dl
mov byte [ebp - 3], al
call fcn.0048f4c7
mov byte [ebp - 2], al
mov al, byte [ebp - 1]
cmp al, 0x3d
jne 0x48f6e5
xor bl, bl
jmp 0x48f6ee
mov cl, al
call fcn.0048f4c7
mov bl, al
cmp bh, 0x3d
jne 0x48f6f7
xor al, al
jmp 0x48f6fe
mov cl, bh
call fcn.0048f4c7
mov ah, byte [ebp - 3]
cmp ah, 0xff
je 0x48f758
mov dl, byte [ebp - 2]
cmp dl, 0xff
je 0x48f758
cmp bl, 0xff
je 0x48f758
cmp al, 0xff
je 0x48f758
mov dh, byte [ebp - 1]
mov cl, bl
shl cl, 6
or cl, al
shl ah, 2
mov al, dl
shr al, 4
or al, ah
mov byte [edi + esi], al
inc edi
cmp dh, 0x3d
je 0x48f740
shr bl, 2
shl dl, 4
or bl, dl
mov byte [edi + esi], bl
inc edi
cmp bh, 0x3d
je 0x48f766
mov byte [edi + esi], cl
inc edi
cmp dword [ebp - 8], 3
mov ecx, dword [ebp - 0x10]
ja 0x48f5af
jmp 0x48f766
mov eax, 0xffffff66
jmp 0x48f780
cmp eax, 0xffffff7c
jne 0x48f780
mov ebx, dword [ebp + 0xc]
test esi, esi
je 0x48f775
cmp dword [ebx], edi
jbe 0x48f775
mov byte [edi + esi], 0
mov dword [ebx], edi
xor eax, eax
jmp 0x48f780
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48fbc6
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, ecx
mov esi, edx
or eax, edx
sub esi, ecx
test al, 3
jne 0x48fbe5
push 2
pop edx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x48fbd6
pop esi
ret
push 8
pop edx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x48fbe8
pop esi
ret

Function at 0x48fcb3
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x88], edx
push edi
mov edx, ecx
mov dword [ebp - 0x84], ebx
mov edi, esi
movzx ecx, byte [edi + str.91__]
dec ecx
mov eax, ecx
and ecx, 7
sar eax, 3
mov al, byte [eax + edx]
test byte [ecx*4 + 0x512f80], al
setne al
mov byte [ebp + edi - 0x7c], al
inc edi
cmp edi, 0x38
jl 0x48fcde
mov eax, esi
mov dword [ebp - 0x80], esi
movzx edx, byte [eax + 0x513008]
mov edi, esi
push 0x1c
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
lea ebx, [edx - 0x1c]
pop esi
cmp edi, esi
mov eax, ebx
push 0x38
pop ecx
cmovl ecx, esi
cmp edx, ecx
cmovl eax, edx
mov al, byte [ebp + eax - 0x7c]
mov byte [ebp + edi - 0x44], al
inc edi
inc edx
inc ebx
cmp edi, 0x38
jl 0x48fd1f
mov ebx, dword [ebp - 0x84]
xor esi, esi
mov edi, esi
movzx eax, byte [edi + 0x512fd8]
cmp byte [ebp + eax - 0x45], 0
je 0x48fd6c
mov eax, edi
push 6
pop ecx
cdq
idiv ecx
mov ecx, dword [edx*4 + 0x512f80]
sar ecx, 2
or byte [ebp + eax - 0xc], cl
inc edi
cmp edi, 0x30
jl 0x48fd48
movzx ecx, byte [ebp - 0xc]
movzx eax, byte [ebp - 0xa]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
movzx eax, dl
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 6]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + eax*8], ecx
movzx ecx, byte [ebp - 0xb]
movzx eax, byte [ebp - 9]
shl ecx, 8
or ecx, eax
movzx eax, dh
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 5]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + eax*8 + 4], ecx
inc eax
mov dword [ebp - 0x80], eax
cmp eax, 0x10
jl 0x48fd0a
cmp dword [ebp - 0x88], 1
jne 0x48fdfa
lea edx, [ebx + 0x7c]
mov eax, dword [edx - 4]
mov ecx, dword [ebx + esi*4]
mov dword [ebx + esi*4], eax
mov dword [edx - 4], ecx
mov ecx, dword [ebx + esi*4 + 4]
mov eax, dword [edx]
mov dword [ebx + esi*4 + 4], eax
add esi, 2
mov dword [edx], ecx
lea edx, [edx - 8]
cmp esi, 0x10
jl 0x48fdd7
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caa72
leave
ret
Function at 0x48feeb
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, edx
mov dword [ebp - 4], 8
push esi
mov eax, ecx
mov dword [ebp - 0xc], ebx
push edi
mov edi, dword [ebx]
mov ebx, dword [ebp + 8]
mov esi, dword [eax]
add ebx, 8
mov dword [ebp - 8], eax
mov edx, edi
ror edx, 4
xor edx, dword [ebx - 8]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x512780]
xor ecx, dword [eax*4 + 0x512980]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x512b80]
xor ecx, dword [edx*4 + 0x512d80]
mov edx, dword [ebx - 4]
xor esi, ecx
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x512880]
xor ecx, dword [eax*4 + 0x512a80]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x512c80]
xor ecx, dword [edx*4 + 0x512e80]
xor esi, ecx
mov edx, esi
ror edx, 4
xor edx, dword [ebx]
lea ebx, [ebx + 0x10]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x512780]
xor ecx, dword [eax*4 + 0x512980]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x512b80]
xor ecx, dword [edx*4 + 0x512d80]
mov edx, dword [ebx - 0xc]
xor edi, ecx
xor edx, esi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x512880]
xor ecx, dword [eax*4 + 0x512a80]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x512c80]
xor ecx, dword [edx*4 + 0x512e80]
xor edi, ecx
sub dword [ebp - 4], 1
jne 0x48ff0f
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ebx], edi
pop edi
mov dword [eax], esi
pop esi
pop ebx
leave
ret
Function at 0x498e69
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x468], ebx
inc ebx
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0x10]
push esi
shr ebx, 1
mov esi, ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x460], ecx
push edi
mov edi, edx
cmp ebx, 0x104
ja 0x499034
add eax, dword [ebp + 0x1c]
cmp eax, 0x80
ja 0x499034
cmp edi, 0xe0
ja 0x499034
push edi
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.004cd4b0
add esp, 0xc
lea eax, [ebp - 0x168]
push edi
push 0
push eax
call fcn.004cd4b0
add esp, 0xc
lea eax, [ebp - 0x350]
push ebx
push dword [ebp - 0x464]
push eax
call fcn.004cc9b0
mov eax, dword [ebp - 0x468]
add esp, 0xc
mov ecx, dword [ebp - 0x464]
and eax, 1
sub ecx, eax
lea eax, [ebp - 0x458]
add ecx, ebx
push ebx
push ecx
push eax
call fcn.004cc9b0
add esp, 0xc
lea eax, [ebp - 0x88]
push dword [ebp - 0x45c]
push dword [ebp - 0x46c]
push eax
call fcn.004cc9b0
mov eax, dword [ebp - 0x45c]
lea ecx, [ebp - 0x88]
add esp, 0xc
add eax, ecx
push dword [ebp + 0x1c]
push dword [ebp - 0x460]
push eax
call fcn.004cc9b0
mov eax, dword [ebp - 0x45c]
mov edx, edi
add eax, dword [ebp + 0x1c]
pop ecx
pop ecx
push dword [ebp + 0x20]
lea ecx, [ebp - 0x248]
push 1
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x350]
push ebx
push eax
call fcn.00498bf1
add esp, 0x1c
test eax, eax
jne 0x49902e
mov eax, dword [ebp - 0x45c]
mov edx, edi
add eax, dword [ebp + 0x1c]
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp - 0x168]
push 2
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x458]
push ebx
push eax
call fcn.00498bf1
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x499030
push edi
lea eax, [ebp - 0x248]
push eax
push esi
call fcn.004cc9b0
mov eax, esi
lea ecx, [ebp - 0x168]
or eax, edi
add esp, 0xc
or eax, ecx
test al, 3
jne 0x499015
shr edi, 2
test edi, edi
je 0x499030
sub ecx, esi
mov eax, dword [ecx + esi]
xor dword [esi], eax
lea esi, [esi + 4]
sub edi, 1
jne 0x499006
jmp 0x499030
test edi, edi
je 0x499030
lea ecx, [ebp - 0x168]
sub ecx, esi
mov al, byte [esi + ecx]
xor byte [esi], al
inc esi
sub edi, 1
jne 0x499021
jmp 0x499030
mov ebx, eax
mov eax, ebx
jmp 0x499039
mov eax, 0xffffff7c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caa72
leave
ret
Function at 0x4996d1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x278], edx
xor ecx, ecx
mov dword [ebp - 0x28c], eax
push esi
inc ecx
mov dword [ebp - 0x27c], ecx
push edi
mov edi, dword [ebp + 0x1c]
test ebx, ebx
je 0x4998fc
cmp dword [ebp + 8], 0
jl 0x4998fc
cmp dword [ebp + 0x10], 0
jl 0x4998fc
mov eax, dword [ebp + 0x18]
test eax, eax
js 0x4998fc
cmp dword [ebp + 0x14], 0
mov eax, ecx
mov ecx, edi
cmovg eax, dword [ebp + 0x14]
xor edx, edx
mov dword [ebp - 0x288], eax
lea eax, [edi - 1]
cmp eax, 0x12
cmova ecx, edx
call fcn.004a15a7
mov dword [ebp - 0x280], eax
test eax, eax
js 0x4998fc
push ecx
lea ecx, [ebp - 0x270]
call fcn.004a21e3
mov esi, eax
pop ecx
test esi, esi
jne 0x4998f8
push dword [ebp + 8]
mov edx, edi
lea ecx, [ebp - 0x270]
push dword [ebp - 0x278]
call fcn.004a1c85
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4998f8
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4998f8
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x28c]
lea ecx, [ebp - 0x270]
call fcn.004a1f5a
mov esi, eax
pop ecx
test esi, esi
jne 0x4998f8
xor edi, edi
mov eax, dword [ebp - 0x27c]
lea edx, [ebp - 0x271]
push 0x18
pop ecx
sub ecx, edi
shr eax, cl
lea ecx, [ebp - 0x270]
push 1
mov byte [ebp - 0x271], al
call fcn.004a1f5a
mov esi, eax
pop ecx
test esi, esi
jne 0x4998f8
add edi, 8
cmp edi, 0x20
jl 0x4997c0
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x270]
call fcn.004a1ff1
mov esi, eax
test esi, esi
jne 0x4998f8
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x48]
cmp dword [ebp + 0x18], ecx
mov edi, ecx
cmovl edi, dword [ebp + 0x18]
push edi
push eax
push ebx
mov dword [ebp - 0x284], edi
call fcn.004cc9b0
xor eax, eax
add esp, 0xc
inc eax
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x288], eax
jle 0x4998e3
push dword [ebp - 0x280]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x270]
call fcn.004a1f5a
mov esi, eax
pop ecx
test esi, esi
jne 0x4998f8
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x270]
call fcn.004a1ff1
mov esi, eax
test esi, esi
jne 0x4998f8
mov eax, ebx
lea ecx, [ebp - 0x48]
or eax, edi
or eax, ecx
test al, 3
jne 0x4998a8
mov ecx, edi
shr ecx, 2
test ecx, ecx
je 0x4998ca
lea edi, [ebp - 0x48]
mov edx, ebx
sub edi, ebx
mov eax, dword [edi + edx]
xor dword [edx], eax
lea edx, [edx + 4]
sub ecx, 1
jne 0x499899
jmp 0x4998c4
test edi, edi
je 0x4998ca
lea edx, [ebp - 0x48]
mov dword [ebp - 0x290], edi
mov ecx, ebx
sub edx, ebx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4998b9
mov edi, dword [ebp - 0x284]
mov eax, dword [ebp - 0x278]
inc eax
mov dword [ebp - 0x278], eax
cmp eax, dword [ebp - 0x288]
jl 0x499849
mov eax, dword [ebp + 0x18]
add ebx, edi
sub eax, edi
inc dword [ebp - 0x27c]
mov dword [ebp + 0x18], eax
jmp 0x499797
mov eax, esi
jmp 0x499901
mov eax, 0xffffff53
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caa72
leave
ret
Function at 0x49a505
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0x14], ecx
push 4
mov dword [ebp - 0x10], eax
xor ebx, ebx
add eax, 0xfffffffc
mov dword [ebp - 4], ebx
xor edi, edi
mov dword [ebp - 8], eax
pop edx
cmp eax, edx
mov dword [ebp - 0xc], edi
mov esi, eax
cmova esi, edx
test eax, eax
je 0x49a57c
xor edx, edx
test esi, esi
jle 0x49a55d
lea ebx, [edi + ecx]
mov edi, esi
movzx ecx, byte [ebx + esi]
movzx eax, byte [ebx]
xor ecx, eax
or edx, ecx
inc ebx
sub edi, 1
jne 0x49a53f
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
test edx, edx
jne 0x49a563
push 3
pop ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x10]
push 4
pop ecx
add edi, ecx
sub esi, edi
mov dword [ebp - 0xc], edi
cmp esi, ecx
cmova esi, ecx
mov ecx, dword [ebp - 0x14]
cmp edi, eax
jb 0x49a534
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x49a89d
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
sub esp, 0xc
lea eax, [ebp - 0x88]
xor esi, esi
xor edx, edx
push eax
test ecx, ecx
je 0x49a962
push 0x20
push 0x514aac
push 0x30
xor ecx, ecx
push str.c63w
push esi
inc ecx
call fcn.0049a7ba
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x49aa7b
xorps xmm3, xmm3
mov edi, 0x80
movd xmm2, dword [esi + 0x514b90]
xorps xmm0, xmm0
movd xmm1, dword [ebp + esi - 0x88]
add esi, 4
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp esi, edi
jl 0x49a906
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x49aa7b
jmp 0x49a9e4
push esi
push esi
push 0x30
push 0x514a7c
push esi
xor ecx, ecx
call fcn.0049a7ba
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x49aa7b
xorps xmm0, xmm0
mov eax, esi
movaps xmmword [ebp - 0xa0], xmm0
xorps xmm3, xmm3
mov edi, 0x80
movd xmm2, dword [eax + 0x514ae0]
movd xmm1, dword [ebp + eax - 0x88]
add eax, 4
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp eax, edi
jl 0x49a994
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd eax, xmm3
test eax, eax
je 0x49a9ec
or ecx, 0xffffffff
jmp 0x49aa7b
sub esp, 0xc
lea eax, [ebp - 0x88]
mov edx, 0x514a9c
xor ecx, ecx
push eax
push esi
push esi
push 0x20
push 0x514a7c
push 0x10
call fcn.0049a7ba
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x49aa7b
movd xmm2, dword [esi + 0x514ae0]
xorps xmm0, xmm0
movd xmm1, dword [ebp + esi - 0x88]
add esi, 4
punpcklbw xmm1, xmm0
punpcklbw xmm2, xmm0
punpcklwd xmm1, xmm0
punpcklwd xmm2, xmm0
pxor xmm2, xmm1
movaps xmm1, xmmword [ebp - 0xa0]
por xmm1, xmm2
movaps xmmword [ebp - 0xa0], xmm1
cmp esi, edi
jl 0x49aa16
movaps xmm0, xmm1
or edx, 0xffffffff
psrldq xmm0, 8
por xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
por xmm1, xmm0
movd eax, xmm1
test eax, eax
cmovne ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004caa72
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x49afc3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x60], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x68], eax
call fcn.004a15a7
mov dword [ebp - 0x5c], eax
test eax, eax
js 0x49b17b
cmp edx, eax
je 0x49b013
mov eax, 0xffffff53
jmp 0x49b17b
mov ecx, dword [ebp + 0x20]
lea edx, [ecx - 1]
and edx, 7
mov dword [ebp - 0x70], edx
jne 0x49b029
mov byte [ebx], 0
inc ebx
dec edi
mov dword [ebp - 0x58], edi
cmp esi, 0xffffffff
jne 0x49b042
mov esi, eax
cmp ecx, 0x400
jne 0x49b053
cmp eax, 0x40
jne 0x49b053
push 0x3e
pop esi
jmp 0x49b053
cmp esi, eax
jg 0x49b176
cmp esi, 0xffffffff
jl 0x49b176
mov ecx, edi
sub ecx, eax
lea eax, [esi + 2]
mov dword [ebp - 0x54], ecx
cmp ecx, eax
jl 0x49b176
lea eax, [ecx - 1]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + 8]
add ecx, esi
cmp edi, ecx
jae 0x49b092
call fcn.0049945a
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x49b08b
push 0xffffffffffffff83
pop eax
jmp 0x49b17b
mov edi, eax
mov eax, dword [ebp - 0x4c]
jmp 0x49b094
mov edi, ebx
and dword [edi], 0
and dword [edi + 4], 0
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x6c], edi
add edi, 8
push edi
call fcn.004cc9b0
add edi, dword [ebp - 0x4c]
add esp, 0xc
test esi, esi
jle 0x49b0dd
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0x48]
push esi
call fcn.0049a67c
mov dword [ebp - 0x4c], eax
pop ecx
test eax, eax
jne 0x49b16c
push esi
lea eax, [ebp - 0x48]
push eax
push edi
call fcn.004cc9b0
add esp, 0xc
add edi, esi
mov eax, dword [ebp - 0x50]
push dword [ebp - 0x5c]
sub edi, dword [ebp - 0x6c]
add eax, ebx
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp + 0x14]
push eax
push edi
mov dword [ebp - 0x50], eax
call fcn.004a1687
mov edi, dword [ebp - 0x54]
add esp, 0xc
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x49b159
mov eax, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp + 0x18]
mov byte [eax + ebx - 1], 0xbc
lea eax, [edi - 1]
push eax
push ebx
push dword [ebp - 0x5c]
call fcn.0049ad99
add esp, 0x10
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x49b159
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x49b13a
mov al, 1
shl al, cl
dec al
and byte [ebx], al
sub edi, esi
lea ecx, [ebx - 1]
add ecx, edi
xor byte [ecx - 1], 1
test esi, esi
jle 0x49b159
lea edx, [ebp - 0x48]
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x49b14e
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x49b167
mov ecx, eax
call fcn.0049946f
mov eax, dword [ebp - 0x4c]
jmp 0x49b17b
mov edi, dword [ebp - 0x54]
lea edx, [edi - 1]
add edx, ebx
jmp 0x49b104
mov eax, 0xffffff06
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caa72
leave
ret
Function at 0x49b2b2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x50], ecx
mov ebx, edx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x68], eax
call fcn.004a15a7
mov esi, eax
mov dword [ebp - 0x64], esi
test esi, esi
js 0x49b44c
lea ecx, [esi*2 + 2]
cmp ebx, ecx
jb 0x49b44c
mov ecx, ebx
call fcn.0049945a
mov edi, eax
test edi, edi
jne 0x49b30c
push 0xffffffffffffff83
pop eax
jmp 0x49b451
push ebx
xor ebx, ebx
push ebx
push edi
call fcn.004cd4b0
mov ecx, dword [ebp - 0x50]
add esp, 8
mov eax, dword [ebp - 0x54]
inc ecx
add ecx, esi
sub eax, esi
dec eax
mov dword [ebp - 0x5c], ecx
push esi
push edi
mov edx, ecx
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0049ad99
add esp, 0x10
mov dword [ebp - 0x58], eax
test eax, eax
je 0x49b351
mov ecx, edi
call fcn.0049946f
mov eax, dword [ebp - 0x58]
jmp 0x49b451
mov ecx, ebx
test esi, esi
je 0x49b368
mov ebx, dword [ebp - 0x50]
mov al, byte [ebx + ecx + 1]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jb 0x49b35a
xor ebx, ebx
push ecx
push dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x10]
lea eax, [edi + esi]
push eax
push esi
mov edx, edi
mov dword [ebp - 0x60], eax
call fcn.0049ad99
add esp, 0x10
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x49b342
mov edx, dword [ebp - 0x4c]
mov ecx, ebx
test edx, edx
je 0x49b3a7
mov ebx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
mov al, byte [esi + ecx]
xor byte [ebx + ecx], al
inc ecx
cmp ecx, edx
jb 0x49b397
mov esi, dword [ebp - 0x64]
xor ebx, ebx
mov ecx, edi
call fcn.0049946f
mov eax, dword [ebp - 0x54]
lea edi, [esi*2 + 1]
dec eax
mov dword [ebp - 0x4c], edi
cmp edi, eax
jae 0x49b3d1
mov ecx, dword [ebp - 0x50]
cmp byte [ecx + edi], 0
jne 0x49b3ce
inc edi
cmp edi, eax
jb 0x49b3c3
mov dword [ebp - 0x4c], edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push esi
push eax
push ebx
xor edx, edx
call fcn.004a1687
add esp, 0xc
test eax, eax
jne 0x49b451
mov edx, ebx
test esi, esi
jle 0x49b406
mov edi, dword [ebp - 0x5c]
movzx ecx, byte [edi + edx]
movzx eax, byte [ebp + edx - 0x48]
xor ecx, eax
or ebx, ecx
inc edx
cmp edx, esi
jl 0x49b3f1
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
movzx ecx, byte [esi + edi]
movzx eax, byte [esi]
xor ecx, 1
add ecx, ebx
mov ebx, dword [ebp - 0x54]
add ecx, eax
lea eax, [ecx - 1]
not ecx
shr eax, 0x1f
neg al
shr ecx, 0x1f
neg cl
movsx edx, al
movsx eax, cl
and edx, eax
lea eax, [edi + 1]
mov ecx, edx
and eax, edx
mov edx, dword [ebp - 0x68]
not ecx
and ecx, ebx
or ecx, eax
sub ebx, ecx
lea eax, [esi + ecx]
mov dword [edx], eax
mov eax, ebx
jmp 0x49b451
mov eax, 0xffffff53
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caa72
leave
ret