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

Disassembly:
mov eax, 8
call fcn.101632f0
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov edi, dword [edi]
mov dword [esp + 0x14], edi
test edi, edi
je 0x1010157d
mov ebx, dword [esp + 0x30]
test esi, esi
je 0x1010157d
mov al, byte [edi + ebx]
xor al, byte [ecx]
inc ecx
mov byte [ebp], al
inc edi
inc ebp
dec esi
and edi, 0xf
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
jne 0x10101560
mov ebx, dword [esp + 0x2c]
movzx edx, byte [ebx + 0xc]
movzx eax, byte [ebx + 0xd]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 0xe]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 0xf]
shl edx, 8
or edx, eax
mov dword [esp + 0x24], edx
cmp esi, 0x10
jb 0x10101637
mov edi, ebx
nop
mov ebx, esi
shr ebx, 4
add edx, ebx
mov dword [esp + 0x24], edx
cmp edx, ebx
jae 0x101015c7
sub ebx, edx
xor edx, edx
mov dword [esp + 0x24], edx
push edi
push dword [esp + 0x2c]
push ebx
push ebp
push ecx
call dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov eax, edx
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, edx
shr eax, 8
add esp, 0x14
mov byte [edi + 0xe], al
mov byte [edi + 0xf], dl
test edx, edx
jne 0x10101619
mov edx, 0xc
mov ecx, 1
movzx eax, byte [edx + edi - 1]
dec edx
add ecx, eax
mov byte [edx + edi], cl
shr ecx, 8
test edx, edx
jne 0x10101603
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
shl ebx, 4
sub esi, ebx
add ecx, ebx
add ebp, ebx
mov dword [esp + 0x10], ecx
cmp esi, 0x10
jae 0x101015b0
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
test esi, esi
je 0x101016af
mov eax, dword [esp + 0x30]
push ebx
push dword [esp + 0x2c]
xorps xmm0, xmm0
push 1
push eax
movq qword [eax], xmm0
push eax
movq qword [eax + 8], xmm0
call dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
inc ecx
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0xd], al
mov eax, ecx
shr eax, 8
add esp, 0x14
mov byte [ebx + 0xe], al
mov byte [ebx + 0xf], cl
test ecx, ecx
jne 0x10101688
push ebx
call fcn.101016f0
add esp, 4
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
lea ecx, [edi + ebx]
sub edx, ebx
sub ebp, ebx
add edi, esi
lea esp, [esp]
mov al, byte [edx + ecx]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + ebp - 1], al
dec esi
jne 0x101016a0
mov eax, dword [esp + 0x34]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10101720
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.101632f0
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x34]
push edi
mov esi, dword [esi]
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x1010175d
mov ecx, dword [esp + 0x34]
test edi, edi
je 0x1010175d
mov al, byte [esi + ecx]
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebx
inc ebp
dec edi
and esi, 0xf
jne 0x10101748
mov edx, dword [esp + 0x3c]
cmp edi, 0x10
jb 0x101017f1
mov ecx, dword [esp + 0x34]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
jmp 0x101017a4
mov ecx, dword [esp + 0x34]
push dword [esp + 0x30]
push ecx
push ecx
call edx
add esp, 0xc
cmp esi, 0x10
jae 0x101017d4
mov eax, dword [esp + 0x34]
mov edx, 0xf
sub edx, esi
shr edx, 2
add eax, esi
inc edx
mov ecx, dword [eax + ebp]
xor ecx, dword [eax]
lea eax, [eax + 4]
mov dword [ebx + eax - 4], ecx
dec edx
jne 0x101017c5
mov edx, dword [esp + 0x3c]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
dec dword [esp + 0x2c]
jne 0x101017a0
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x10101820
push dword [esp + 0x30]
mov eax, dword [esp + 0x38]
push eax
push eax
call edx
mov eax, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esi + eax]
sub ebp, eax
sub ebx, eax
add esi, edi
mov al, byte [ecx + ebp]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + ebx - 1], al
dec edi
jne 0x10101811
mov eax, dword [esp + 0x38]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10101830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x5c
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x74]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x70], ecx
jbe 0x101019c4
lea eax, [esp + 0x3c]
sub eax, ebx
push ebp
push esi
mov dword [esp + 0x28], eax
lea eax, [esp + 0x45]
mov esi, ebx
sub esi, eax
lea eax, [ebx + 2]
mov dword [esp + 0x1c], esi
lea edx, [eax - 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
movq xmm0, qword [ebx]
mov eax, ecx
and eax, 7
mov ebp, 7
sub ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x70]
shr eax, 3
mov dword [esp + 0x24], eax
mov al, byte [eax + ecx]
mov ecx, ebp
mov edx, 1
shl edx, cl
push edi
movq qword [esp + 0x48], xmm0
movq xmm0, qword [ebx + 8]
and al, dl
neg al
sbb al, al
and al, 0x80
push ebx
push ebx
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x1f], al
movq qword [esp + 0x58], xmm0
call dword [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x88], 0
je 0x1010190e
movzx edx, byte [ebx]
movzx eax, byte [esp + 0x13]
xor edx, eax
mov byte [esp + 0x54], dl
jmp 0x1010191a
mov al, byte [esp + 0x13]
mov dl, byte [ebx]
mov byte [esp + 0x54], al
xor dl, al
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
xor ebp, ebp
lea edi, [esp + 0x45]
add edi, ebp
add esi, edi
mov ah, byte [edi]
movzx ecx, byte [esi + edx]
mov bl, byte [edi + 1]
add cl, cl
mov al, ah
shr al, 7
or cl, al
mov al, bl
shr al, 7
mov byte [esi], cl
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
add ah, ah
or al, ah
mov byte [ecx + ebp], al
mov cl, byte [edi + 2]
mov al, cl
shr al, 7
add bl, bl
or al, bl
mov ebx, dword [esp + 0x30]
add cl, cl
mov byte [ebx + ebp], al
mov al, byte [edi + 3]
shr al, 7
or al, cl
mov byte [ebx + ebp + 1], al
add ebp, 4
cmp ebp, 0x10
jl 0x10101924
mov cl, byte [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
and cl, 7
and dl, 0x80
shr dl, cl
mov ecx, dword [esp + 0x40]
mov al, 1
shl al, cl
mov ecx, dword [esp + 0x24]
not al
and al, byte [ecx + edi]
or dl, al
mov byte [ecx + edi], dl
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x78]
jb 0x101018a0
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
pop edi
pop ebx
xor ecx, esp
call fcn.1016027d
add esp, 0x5c
ret
Function at 0x10101d10
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x38]
or eax, dword [ebx + 0x3c]
je 0x10101d24
mov eax, 0xfffffffe
pop ebx
ret
push esi
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov eax, esi
add eax, dword [ebx + 0x30]
adc ecx, dword [ebx + 0x34]
cmp ecx, 0x20000000
ja 0x10101dd9
jb 0x10101d49
test eax, eax
jne 0x10101dd9
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [ebx + 0x16c]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
test edi, edi
je 0x10101d89
nop
test esi, esi
je 0x10101d75
mov al, byte [ebp]
xor byte [edi + ebx + 0x40], al
inc edi
inc ebp
dec esi
and edi, 0xf
jne 0x10101d60
jmp 0x10101d79
test edi, edi
jne 0x10101dcc
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.10102f00
add esp, 8
mov eax, esi
and eax, 0xfffffff0
mov dword [esp + 0x14], eax
je 0x10101dae
push eax
push ebp
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.10102cc0
add ebp, dword [esp + 0x24]
add esp, 0x10
sub esi, dword [esp + 0x14]
test esi, esi
je 0x10101dcc
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x10101dcc
lea ebx, [ebx]
mov al, byte [ecx + ebp]
xor byte [ebx + ecx + 0x40], al
inc ecx
cmp ecx, esi
jb 0x10101dc0
mov dword [ebx + 0x16c], edi
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
ret
pop esi
or eax, 0xffffffff
pop ebx
ret
Function at 0x10102a90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.101632f0
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp ebp, 0xc
jne 0x10102b2f
mov eax, dword [esp + 0x1c]
lea ebx, [ebp - 0xb]
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x10102c51
xor ebx, ebx
mov dword [esp + 0x10], ebp
cmp ebp, 0x10
jb 0x10102ba6
mov edx, dword [esp + 0x1c]
mov ecx, ebp
shr ecx, 4
push edi
mov edi, edx
mov eax, ecx
shl eax, 4
sub edi, esi
add edx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
lea edx, [esi + 2]
add edx, edi
mov eax, esi
mov ebx, 4
movzx ecx, byte [edi + eax]
xor byte [eax], cl
movzx ecx, byte [edx - 1]
xor byte [eax + 1], cl
movzx ecx, byte [edx]
xor byte [eax + 2], cl
movzx ecx, byte [edx + 1]
xor byte [eax + 3], cl
lea eax, [eax + 4]
lea edx, [edx + 4]
dec ebx
jne 0x10102b63
lea eax, [esi + 0x60]
push eax
push esi
call fcn.10102f00
add esp, 8
add edi, 0x10
sub ebp, 0x10
dec dword [esp + 0x10]
jne 0x10102b57
mov eax, dword [esp + 0x24]
pop edi
jmp 0x10102baa
mov eax, dword [esp + 0x1c]
test ebp, ebp
je 0x10102bd4
sub eax, esi
mov ecx, esi
mov dword [esp + 0x20], eax
mov esi, eax
mov al, byte [ecx + esi]
xor byte [ecx], al
lea ecx, [ecx + 1]
dec ebp
jne 0x10102bb8
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x60]
push eax
push esi
call fcn.10102f00
add esp, 8
mov edx, dword [esp + 0x10]
shld ebx, edx, 3
mov eax, ebx
shr eax, 0x18
xor byte [esi + 8], al
xor byte [esi + 0xb], bl
mov eax, ebx
shr eax, 0x10
xor byte [esi + 9], al
mov eax, ebx
shr eax, 8
xor byte [esi + 0xa], al
shl edx, 3
xor byte [esi + 0xf], dl
mov eax, ebx
mov ecx, edx
shrd ecx, eax, 0x18
xor byte [esi + 0xc], cl
shr eax, 0x18
mov eax, ebx
mov ecx, edx
shrd ecx, eax, 0x10
xor byte [esi + 0xd], cl
shr eax, 0x10
mov eax, edx
shrd eax, ebx, 8
xor byte [esi + 0xe], al
lea eax, [esi + 0x60]
push eax
push esi
shr ebx, 8
call fcn.10102f00
movzx ebx, byte [esi + 0xc]
movzx eax, byte [esi + 0xd]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xe]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xf]
shl ebx, 8
add esp, 8
or ebx, eax
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
inc ebx
mov eax, ebx
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
add esp, 0xc
mov eax, ebx
shr eax, 8
mov byte [esi + 0xf], bl
mov byte [esi + 0xe], al
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10102f00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.101632f0
mov eax, dword [esp + 0x18]
push ebx
movzx ecx, byte [eax + 0xf]
push ebp
mov ebp, ecx
and ecx, 0xf
add ecx, ecx
push esi
mov esi, dword [esp + 0x28]
push edi
mov ebx, dword [esi + ecx*8]
mov edi, dword [esi + ecx*8 + 4]
mov edx, dword [esi + ecx*8 + 8]
mov ecx, dword [esi + ecx*8 + 0xc]
mov esi, edx
shrd edx, ecx, 4
mov dword [esp + 0x14], ebx
shl dword [esp + 0x14], 0x1c
shrd ebx, edi, 4
and esi, 0xf
shr ecx, 4
or dword [esp + 0x14], ecx
mov dword [esp + 0x28], 0
or dword [esp + 0x28], edx
mov edx, dword [esi*4 + 0x101c2da8]
mov esi, dword [esp + 0x2c]
shr edi, 4
and ebp, 0xfffffff0
xor edx, edi
xor edx, dword [esi + ebp + 4]
mov edi, dword [esp + 0x28]
xor edi, dword [esi + ebp + 8]
xor ecx, ecx
xor ecx, ebx
xor ecx, dword [esi + ebp]
mov ebx, dword [esp + 0x14]
xor ebx, dword [esi + ebp + 0xc]
mov dword [esp + 0x18], edx
mov edx, 0xe
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
jmp 0x10102fa0
movzx edx, byte [edx + eax]
mov ebp, dword [esp + 0x10]
mov ecx, edx
shr ecx, 4
mov dword [esp + 0x20], ecx
mov ecx, edi
shrd edi, ebx, 4
shr ebx, 4
and ecx, 0xf
shl ebp, 0x1c
or ebp, ebx
mov ebx, dword [ecx*4 + 0x101c2da8]
mov ecx, dword [esp + 0x18]
shrd dword [esp + 0x10], ecx, 4
shr ecx, 4
xor ebx, ecx
mov ecx, dword [esp + 0x2c]
and edx, 0xf
add edx, edx
xor esi, esi
xor ebx, dword [ecx + edx*8 + 4]
xor ebp, dword [ecx + edx*8 + 0xc]
or esi, edi
xor esi, dword [ecx + edx*8 + 8]
xor edi, edi
xor edi, dword [esp + 0x10]
mov dword [esp + 0x28], 0
xor edi, dword [ecx + edx*8]
mov ecx, esi
shrd esi, ebp, 4
or dword [esp + 0x28], esi
mov edx, edi
shrd edi, ebx, 4
shl edx, 0x1c
shr ebp, 4
or edx, ebp
shr ebx, 4
and ecx, 0xf
mov dword [esp + 0x14], edx
mov ecx, dword [ecx*4 + 0x101c2da8]
mov edx, dword [esp + 0x20]
xor ecx, ebx
xor ebp, ebp
xor ebp, edi
add edx, edx
mov dword [esp + 0x10], ebp
mov ebx, ebp
mov ebp, dword [esp + 0x2c]
xor ebx, dword [ebp + edx*8]
xor ecx, dword [ebp + edx*8 + 4]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x28]
xor ebx, dword [ebp + edx*8 + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x14]
xor ebx, dword [ebp + edx*8 + 0xc]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
dec edx
mov dword [esp + 0x1c], edx
jns 0x10102fa0
mov edx, dword [esp + 0x18]
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov byte [eax + 3], dl
mov edx, dword [esp + 0x10]
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 5], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 6], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [eax + 8], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 9], cl
mov ecx, ebx
shr ecx, 8
mov byte [eax + 0xa], cl
mov byte [eax + 7], dl
mov edx, edi
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 0xc], cl
mov ecx, edx
shr ecx, 0x10
pop edi
mov byte [eax + 0xd], cl
pop esi
mov ecx, edx
shr ecx, 8
pop ebp
mov byte [eax + 0xb], bl
mov byte [eax + 0xe], cl
mov byte [eax + 0xf], dl
pop ebx
add esp, 0x14
ret
Function at 0x10103790
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x20], esi
mov byte [esp + 0xf], bl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test bl, 0x40
jne 0x101037e8
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
movzx eax, bl
and eax, 7
mov edx, 0xf
sub edx, eax
xor ecx, ecx
mov byte [esi], al
mov dword [esp + 0x24], edx
cmp edx, 0xf
jae 0x10103815
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x10103802
movzx eax, byte [esi + 0xf]
mov ebx, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x1010383c
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1016027d
add esp, 0x30
ret
push edi
mov edi, ebx
shr edi, 4
test edi, edi
je 0x10103876
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x20]
push edi
push dword [esp + 0x24]
push ebp
call dword [esp + 0x38]
shl edi, 4
add dword [esp + 0x2c], edi
add esp, 0x18
add ebp, edi
sub ebx, edi
je 0x101038de
shr edi, 4
push edi
push esi
call fcn.10103e70
add esp, 8
test ebx, ebx
je 0x101038de
push dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x101038c9
lea eax, [esp + 0x2c]
sub ebp, eax
sub dword [esp + 0x14], eax
lea eax, [esi + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x2c]
add ecx, edi
inc edi
movzx edx, byte [ecx + ebp]
movzx eax, byte [ecx]
xor edx, eax
mov eax, dword [esp + 0x20]
mov byte [esi + ecx], dl
xor byte [eax + edi - 1], dl
cmp edi, ebx
jb 0x101038a6
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call ebp
add esp, 0xc
jmp 0x101038e6
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jae 0x10103909
mov ecx, 0x10
sub ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esi + eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x30]
push eax
push esi
call ebp
mov eax, dword [esp + 0x38]
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x44]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov byte [esi], al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1016027d
add esp, 0x30
ret
Function at 0x10103b80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
push edi
mov byte [esp + 0x13], bl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
test bl, 0x40
jne 0x10103bdd
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, bl
and eax, 7
mov edx, 0xf
sub edx, eax
xor ecx, ecx
mov byte [esi], al
mov dword [esp + 0x20], edx
cmp edx, 0xf
jae 0x10103c13
jmp 0x10103c00
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x10103c00
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x10103c3b
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1016027d
add esp, 0x2c
ret
lea eax, [edi + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x10103c74
ja 0x10103c5c
cmp dword [esi + 0x20], 0
jbe 0x10103c74
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1016027d
add esp, 0x2c
ret
mov ebx, edi
shr ebx, 4
test ebx, ebx
je 0x10103cad
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x28]
push ebp
call dword [esp + 0x3c]
shl ebx, 4
add dword [esp + 0x30], ebx
add esp, 0x18
add ebp, ebx
sub edi, ebx
je 0x10103d04
shr ebx, 4
push ebx
push esi
call fcn.10103e70
add esp, 8
test edi, edi
je 0x10103d04
xor ecx, ecx
test edi, edi
je 0x10103cc3
mov al, byte [ecx + ebp]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, edi
jb 0x10103cb7
mov ebx, dword [esp + 0x14]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [esp + 0x28]
push ebx
lea eax, [esp + 0x38]
push eax
push esi
call dword [esp + 0x34]
add esp, 0x18
xor edx, edx
test edi, edi
je 0x10103d08
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x28]
sub ebp, eax
sub ebx, eax
lea ecx, [esp + 0x28]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, edi
jb 0x10103cf1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, 0x10
jae 0x10103d2b
mov ecx, 0x10
sub ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esi + eax]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x2c]
push eax
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x34]
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x38]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x1f]
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov byte [esi], al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1016027d
add esp, 0x2c
ret
Function at 0x10106ba0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x10106bb4
mov dword [esp + 0x18], fcn.10105380
jmp fcn.10101280
mov dword [esp + 0x18], fcn.10104610
jmp fcn.10100fc0
Function at 0x10108440
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
mov ebx, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0xb4]
test edi, edi
je 0x101085e2
push ebp
dec edi
lea ebp, [ebx + 0xc]
add ebx, 0x14
shr edi, 3
push esi
mov esi, dword [esp + 0xb8]
mov dword [esp + 0x18], ebx
inc edi
jmp 0x10108490
movzx eax, byte [esi + 1]
movzx ecx, byte [esi]
shl eax, 8
or ecx, eax
movzx eax, byte [esi + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [esi + 5]
shl eax, 8
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esi + 4]
or ecx, eax
movzx eax, byte [esi + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi + 7]
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebp]
and al, 0xdf
or al, 0x40
mov byte [ebp], al
movzx eax, byte [ebx]
and al, 0xbf
or al, 0x20
push ebp
mov dword [esp + 0x18], ecx
lea esi, [esi + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], ecx
mov byte [ebx], al
call fcn.10098eb0
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.10098c70
push 1
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100cc9f0
push ebx
call fcn.10098eb0
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.10098c70
push 1
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100cc9f0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
xor edx, ecx
xor ecx, dword [esp + 0x50]
xor ebx, eax
xor eax, dword [esp + 0x4c]
mov dword [esp + 0x44], ecx
mov ecx, ebp
mov dword [esp + 0x40], eax
mov byte [ecx], al
shr eax, 8
mov byte [ecx + 1], al
mov eax, dword [esp + 0x40]
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, dword [esp + 0x40]
add esp, 0x30
shr eax, 0x18
mov byte [ecx + 3], al
mov byte [ecx + 4], dl
mov eax, edx
shr eax, 8
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 6], al
shr edx, 0x18
mov byte [ecx + 7], dl
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov byte [ecx], bl
mov eax, ebx
shr eax, 8
mov byte [ecx + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 2], al
shr ebx, 0x18
mov byte [ecx + 3], bl
mov eax, edx
shr eax, 8
mov byte [ecx + 4], dl
mov byte [ecx + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ecx + 6], al
mov byte [ecx + 7], dl
mov ebx, ecx
dec edi
jne 0x10108490
pop esi
pop ebp
mov ecx, dword [esp + 0xa4]
pop edi
pop ebx
xor ecx, esp
call fcn.1016027d
add esp, 0xa0
ret