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

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

Function at 0x48fc22
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 + 0x512fb0]
dec ecx
mov eax, ecx
and ecx, 7
sar eax, 3
mov al, byte [eax + edx]
test byte [ecx*4 + 0x512fe8], al
setne al
mov byte [ebp + edi - 0x7c], al
inc edi
cmp edi, 0x38
jl 0x48fc4d
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 0x48fc8e
mov ebx, dword [ebp - 0x84]
xor esi, esi
mov edi, esi
movzx eax, byte [edi + 0x512f80]
cmp byte [ebp + eax - 0x45], 0
je 0x48fcdb
mov eax, edi
push 6
pop ecx
cdq
idiv ecx
mov ecx, dword [edx*4 + 0x512fe8]
sar ecx, 2
or byte [ebp + eax - 0xc], cl
inc edi
cmp edi, 0x30
jl 0x48fcb7
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 0x48fc79
cmp dword [ebp - 0x88], 1
jne 0x48fd69
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 0x48fd46
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret
Function at 0x48fe5a
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 0x48fe7e
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 0x498dd9
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 0x498fa4
add eax, dword [ebp + 0x1c]
cmp eax, 0x80
ja 0x498fa4
cmp edi, 0xe0
ja 0x498fa4
push edi
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.004cd420
add esp, 0xc
lea eax, [ebp - 0x168]
push edi
push 0
push eax
call fcn.004cd420
add esp, 0xc
lea eax, [ebp - 0x350]
push ebx
push dword [ebp - 0x464]
push eax
call fcn.004cc920
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.004cc920
add esp, 0xc
lea eax, [ebp - 0x88]
push dword [ebp - 0x45c]
push dword [ebp - 0x46c]
push eax
call fcn.004cc920
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.004cc920
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.00498b61
add esp, 0x1c
test eax, eax
jne 0x498f9e
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.00498b61
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x498fa0
push edi
lea eax, [ebp - 0x248]
push eax
push esi
call fcn.004cc920
mov eax, esi
lea ecx, [ebp - 0x168]
or eax, edi
add esp, 0xc
or eax, ecx
test al, 3
jne 0x498f85
shr edi, 2
test edi, edi
je 0x498fa0
sub ecx, esi
mov eax, dword [ecx + esi]
xor dword [esi], eax
lea esi, [esi + 4]
sub edi, 1
jne 0x498f76
jmp 0x498fa0
test edi, edi
je 0x498fa0
lea ecx, [ebp - 0x168]
sub ecx, esi
mov al, byte [esi + ecx]
xor byte [esi], al
inc esi
sub edi, 1
jne 0x498f91
jmp 0x498fa0
mov ebx, eax
mov eax, ebx
jmp 0x498fa9
mov eax, 0xffffff7c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret
Function at 0x499641
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 0x49986c
cmp dword [ebp + 8], 0
jl 0x49986c
cmp dword [ebp + 0x10], 0
jl 0x49986c
mov eax, dword [ebp + 0x18]
test eax, eax
js 0x49986c
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.004a1515
mov dword [ebp - 0x280], eax
test eax, eax
js 0x49986c
push ecx
lea ecx, [ebp - 0x270]
call fcn.004a2151
mov esi, eax
pop ecx
test esi, esi
jne 0x499868
push dword [ebp + 8]
mov edx, edi
lea ecx, [ebp - 0x270]
push dword [ebp - 0x278]
call fcn.004a1bf3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x499868
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x499868
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x28c]
lea ecx, [ebp - 0x270]
call fcn.004a1ec8
mov esi, eax
pop ecx
test esi, esi
jne 0x499868
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.004a1ec8
mov esi, eax
pop ecx
test esi, esi
jne 0x499868
add edi, 8
cmp edi, 0x20
jl 0x499730
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x270]
call fcn.004a1f5f
mov esi, eax
test esi, esi
jne 0x499868
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.004cc920
xor eax, eax
add esp, 0xc
inc eax
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x288], eax
jle 0x499853
push dword [ebp - 0x280]
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x270]
call fcn.004a1ec8
mov esi, eax
pop ecx
test esi, esi
jne 0x499868
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x270]
call fcn.004a1f5f
mov esi, eax
test esi, esi
jne 0x499868
mov eax, ebx
lea ecx, [ebp - 0x48]
or eax, edi
or eax, ecx
test al, 3
jne 0x499818
mov ecx, edi
shr ecx, 2
test ecx, ecx
je 0x49983a
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 0x499809
jmp 0x499834
test edi, edi
je 0x49983a
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 0x499829
mov edi, dword [ebp - 0x284]
mov eax, dword [ebp - 0x278]
inc eax
mov dword [ebp - 0x278], eax
cmp eax, dword [ebp - 0x288]
jl 0x4997b9
mov eax, dword [ebp + 0x18]
add ebx, edi
sub eax, edi
inc dword [ebp - 0x27c]
mov dword [ebp + 0x18], eax
jmp 0x499707
mov eax, esi
jmp 0x499871
mov eax, 0xffffff53
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret
Function at 0x49a475
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 0x49a4ec
xor edx, edx
test esi, esi
jle 0x49a4cd
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 0x49a4af
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
test edx, edx
jne 0x49a4d3
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 0x49a4a4
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x49a80d
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 0x49a8d2
push 0x20
push 0x514aac
push 0x30
xor ecx, ecx
push str.c63w
push esi
inc ecx
call fcn.0049a72a
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x49a9eb
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 0x49a876
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 0x49a9eb
jmp 0x49a954
push esi
push esi
push 0x30
push 0x514a7c
push esi
xor ecx, ecx
call fcn.0049a72a
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x49a9eb
xorps xmm0, xmm0
mov eax, esi
movaps xmmword [ebp - 0xa0], xmm0
xorps xmm3, xmm3
mov edi, 0x80
movd xmm2, dword [eax + 0x514b10]
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 0x49a904
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 0x49a95c
or ecx, 0xffffffff
jmp 0x49a9eb
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.0049a72a
mov ecx, eax
add esp, 0x24
test ecx, ecx
jne 0x49a9eb
movd xmm2, dword [esi + 0x514b10]
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 0x49a986
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.004ca9dc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x49af33
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.004a1515
mov dword [ebp - 0x5c], eax
test eax, eax
js 0x49b0eb
cmp edx, eax
je 0x49af83
mov eax, 0xffffff53
jmp 0x49b0eb
mov ecx, dword [ebp + 0x20]
lea edx, [ecx - 1]
and edx, 7
mov dword [ebp - 0x70], edx
jne 0x49af99
mov byte [ebx], 0
inc ebx
dec edi
mov dword [ebp - 0x58], edi
cmp esi, 0xffffffff
jne 0x49afb2
mov esi, eax
cmp ecx, 0x400
jne 0x49afc3
cmp eax, 0x40
jne 0x49afc3
push 0x3e
pop esi
jmp 0x49afc3
cmp esi, eax
jg 0x49b0e6
cmp esi, 0xffffffff
jl 0x49b0e6
mov ecx, edi
sub ecx, eax
lea eax, [esi + 2]
mov dword [ebp - 0x54], ecx
cmp ecx, eax
jl 0x49b0e6
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 0x49b002
call fcn.004993ca
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x49affb
push 0xffffffffffffff83
pop eax
jmp 0x49b0eb
mov edi, eax
mov eax, dword [ebp - 0x4c]
jmp 0x49b004
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.004cc920
add edi, dword [ebp - 0x4c]
add esp, 0xc
test esi, esi
jle 0x49b04d
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0x48]
push esi
call fcn.0049a5ec
mov dword [ebp - 0x4c], eax
pop ecx
test eax, eax
jne 0x49b0dc
push esi
lea eax, [ebp - 0x48]
push eax
push edi
call fcn.004cc920
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.004a15f5
mov edi, dword [ebp - 0x54]
add esp, 0xc
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x49b0c9
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.0049ad09
add esp, 0x10
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x49b0c9
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x49b0aa
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 0x49b0c9
lea edx, [ebp - 0x48]
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x49b0be
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x49b0d7
mov ecx, eax
call fcn.004993df
mov eax, dword [ebp - 0x4c]
jmp 0x49b0eb
mov edi, dword [ebp - 0x54]
lea edx, [edi - 1]
add edx, ebx
jmp 0x49b074
mov eax, 0xffffff06
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret
Function at 0x49b222
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.004a1515
mov esi, eax
mov dword [ebp - 0x64], esi
test esi, esi
js 0x49b3bc
lea ecx, [esi*2 + 2]
cmp ebx, ecx
jb 0x49b3bc
mov ecx, ebx
call fcn.004993ca
mov edi, eax
test edi, edi
jne 0x49b27c
push 0xffffffffffffff83
pop eax
jmp 0x49b3c1
push ebx
xor ebx, ebx
push ebx
push edi
call fcn.004cd420
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.0049ad09
add esp, 0x10
mov dword [ebp - 0x58], eax
test eax, eax
je 0x49b2c1
mov ecx, edi
call fcn.004993df
mov eax, dword [ebp - 0x58]
jmp 0x49b3c1
mov ecx, ebx
test esi, esi
je 0x49b2d8
mov ebx, dword [ebp - 0x50]
mov al, byte [ebx + ecx + 1]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jb 0x49b2ca
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.0049ad09
add esp, 0x10
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x49b2b2
mov edx, dword [ebp - 0x4c]
mov ecx, ebx
test edx, edx
je 0x49b317
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 0x49b307
mov esi, dword [ebp - 0x64]
xor ebx, ebx
mov ecx, edi
call fcn.004993df
mov eax, dword [ebp - 0x54]
lea edi, [esi*2 + 1]
dec eax
mov dword [ebp - 0x4c], edi
cmp edi, eax
jae 0x49b341
mov ecx, dword [ebp - 0x50]
cmp byte [ecx + edi], 0
jne 0x49b33e
inc edi
cmp edi, eax
jb 0x49b333
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.004a15f5
add esp, 0xc
test eax, eax
jne 0x49b3c1
mov edx, ebx
test esi, esi
jle 0x49b376
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 0x49b361
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 0x49b3c1
mov eax, 0xffffff53
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ca9dc
leave
ret
Function at 0x49b3d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
mov edi, edx
call fcn.004a1515
mov edx, eax
mov dword [ebp - 0xc], edx
test edx, edx
js 0x49b55f
mov ebx, dword [ebp + 0x18]
mov eax, 0xff
dec ebx
and ebx, 7
mov ecx, ebx
mov dword [ebp - 0x10], ebx
shl eax, cl
test byte [esi], al
jne 0x49b55a
test ebx, ebx
lea ecx, [esi + 1]
lea eax, [edi - 1]
cmovne eax, edi
cmovne ecx, esi
mov esi, eax
mov dword [ebp - 4], ecx
sub esi, edx
mov dword [ebp - 8], eax
sub esi, 1
jns 0x49b434
mov eax, 0xffffff16
jmp 0x49b55f
mov edi, dword [ebp + 0x14]
cmp edi, 0xffffffff
jne 0x49b451
cmp dword [ebp + 0x18], 0x400
mov edi, edx
jne 0x49b462
cmp edx, 0x40
jne 0x49b462
push 0x3e
pop edi
jmp 0x49b462
cmp edi, edx
jg 0x49b553
cmp edi, 0xffffffff
jl 0x49b553
lea eax, [edi + 1]
cmp esi, eax
jl 0x49b553
mov eax, dword [ebp - 8]
cmp byte [eax + ecx - 1], 0xbc
jne 0x49b55a
mov ecx, esi
call fcn.004993ca
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x49b493
push 0xffffffffffffff83
pop eax
jmp 0x49b55f
mov edx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x10]
push esi
push ebx
push dword [ebp - 0xc]
lea edx, [edx + esi]
call fcn.0049ad09
add esp, 0x10
mov dword [ebp + 0x18], eax
test eax, eax
je 0x49b4b5
mov esi, eax
jmp 0x49b50d
mov ecx, dword [ebp - 0x10]
mov al, 1
mov edx, dword [ebp - 4]
shl al, cl
xor ecx, ecx
dec al
and byte [ebx], al
and byte [edx], al
mov eax, esi
sub eax, edi
mov dword [ebp - 0x18], eax
dec eax
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x49b4fe
mov eax, edx
mov dword [ebp + 0x18], ebx
sub dword [ebp + 0x18], edx
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x18]
mov al, byte [edx + eax]
mov edx, dword [ebp - 8]
cmp al, byte [edx]
mov edx, dword [ebp - 4]
jne 0x49b508
mov eax, dword [ebp - 8]
inc ecx
inc eax
mov dword [ebp - 8], eax
cmp ecx, dword [ebp - 0x10]
jl 0x49b4e1
mov al, byte [edx + ecx]
xor al, 1
cmp byte [ecx + ebx], al
je 0x49b518
mov esi, 0xffffff06
mov ecx, ebx
call fcn.004993df
mov eax, esi
jmp 0x49b55f
inc ecx
cmp ecx, esi
jge 0x49b53a
lea eax, [edx + ecx]
mov dword [ebp + 0x18], ebx
sub ebx, edx
mov dword [ebp - 0x10], eax
sub esi, ecx
mov ecx, eax
mov al, byte [ecx + ebx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x49b52c
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.004993df
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
add eax, edi
jmp 0x49b55f
mov eax, 0xffffff06
jmp 0x49b55f
mov eax, 0xffffff3f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49d2a7
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x49d2b8
mov eax, 0xffffff53
pop ebp
ret
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0xc0], ecx
mov dword [eax + 0xc8], ecx
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], ecx
xor eax, eax
pop ebp
ret