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

Disassembly:
mov eax, 0x10
call fcn.10163610
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 0x10101a3d
mov ecx, dword [esp + 0x34]
test edi, edi
je 0x10101a3d
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 0x10101a28
mov edx, dword [esp + 0x3c]
cmp edi, 0x10
jb 0x10101ad1
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 0x10101a84
mov ecx, dword [esp + 0x34]
push dword [esp + 0x30]
push ecx
push ecx
call edx
add esp, 0xc
cmp esi, 0x10
jae 0x10101ab4
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 0x10101aa5
mov edx, dword [esp + 0x3c]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
dec dword [esp + 0x2c]
jne 0x10101a80
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edi, edi
je 0x10101b00
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 0x10101af1
mov eax, dword [esp + 0x38]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10101b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x5c
call fcn.10163610
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 0x10101ca4
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 0x10101bee
movzx edx, byte [ebx]
movzx eax, byte [esp + 0x13]
xor edx, eax
mov byte [esp + 0x54], dl
jmp 0x10101bfa
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 0x10101c04
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 0x10101b80
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
pop edi
pop ebx
xor ecx, esp
call fcn.1016059f
add esp, 0x5c
ret
Function at 0x10101ff0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 0x38]
or eax, dword [ebx + 0x3c]
je 0x10102004
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 0x101020b9
jb 0x10102029
test eax, eax
jne 0x101020b9
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 0x10102069
nop
test esi, esi
je 0x10102055
mov al, byte [ebp]
xor byte [edi + ebx + 0x40], al
inc edi
inc ebp
dec esi
and edi, 0xf
jne 0x10102040
jmp 0x10102059
test edi, edi
jne 0x101020ac
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.101031e0
add esp, 8
mov eax, esi
and eax, 0xfffffff0
mov dword [esp + 0x14], eax
je 0x1010208e
push eax
push ebp
lea eax, [ebx + 0x60]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.10102fa0
add ebp, dword [esp + 0x24]
add esp, 0x10
sub esi, dword [esp + 0x14]
test esi, esi
je 0x101020ac
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x101020ac
lea ebx, [ebx]
mov al, byte [ecx + ebp]
xor byte [ebx + ecx + 0x40], al
inc ecx
cmp ecx, esi
jb 0x101020a0
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 0x10102d70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.10163610
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 0x10102e0f
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 0x10102f31
xor ebx, ebx
mov dword [esp + 0x10], ebp
cmp ebp, 0x10
jb 0x10102e86
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 0x10102e43
lea eax, [esi + 0x60]
push eax
push esi
call fcn.101031e0
add esp, 8
add edi, 0x10
sub ebp, 0x10
dec dword [esp + 0x10]
jne 0x10102e37
mov eax, dword [esp + 0x24]
pop edi
jmp 0x10102e8a
mov eax, dword [esp + 0x1c]
test ebp, ebp
je 0x10102eb4
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 0x10102e98
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x60]
push eax
push esi
call fcn.101031e0
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.101031e0
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 0x101031e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.10163610
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 0x10103280
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 0x10103280
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 0x10103a70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.10163610
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 0x10103ac8
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 0x10103af5
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x10103ae2
movzx eax, byte [esi + 0xf]
mov ebx, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x10103b1c
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1016059f
add esp, 0x30
ret
push edi
mov edi, ebx
shr edi, 4
test edi, edi
je 0x10103b56
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 0x10103bbe
shr edi, 4
push edi
push esi
call fcn.10104150
add esp, 8
test ebx, ebx
je 0x10103bbe
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 0x10103ba9
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 0x10103b86
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 0x10103bc6
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jae 0x10103be9
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.1016059f
add esp, 0x30
ret
Function at 0x10103e60
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.10163610
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 0x10103ebd
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 0x10103ef3
jmp 0x10103ee0
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x10103ee0
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x4c]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x10103f1b
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1016059f
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 0x10103f54
ja 0x10103f3c
cmp dword [esi + 0x20], 0
jbe 0x10103f54
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1016059f
add esp, 0x2c
ret
mov ebx, edi
shr ebx, 4
test ebx, ebx
je 0x10103f8d
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 0x10103fe4
shr ebx, 4
push ebx
push esi
call fcn.10104150
add esp, 8
test edi, edi
je 0x10103fe4
xor ecx, ecx
test edi, edi
je 0x10103fa3
mov al, byte [ecx + ebp]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, edi
jb 0x10103f97
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 0x10103fe8
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 0x10103fd1
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, 0x10
jae 0x1010400b
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.1016059f
add esp, 0x2c
ret
Function at 0x10106e70
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x10106e84
mov dword [esp + 0x18], fcn.10105650
jmp fcn.10101560
mov dword [esp + 0x18], fcn.101048f0
jmp fcn.101012a0
Function at 0x10108710
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.10163610
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 0x101088b2
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 0x10108760
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.10099170
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.10098f30
push 1
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100cccd0
push ebx
call fcn.10099170
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.10098f30
push 1
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100cccd0
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 0x10108760
pop esi
pop ebp
mov ecx, dword [esp + 0xa4]
pop edi
pop ebx
xor ecx, esp
call fcn.1016059f
add esp, 0xa0
ret

Function at 0x10108a10
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.10161d70
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x101102b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.10163610
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [ecx]
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x101103b4
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
lea edi, [ebx + 3]
lea esi, [edx + 2]
sub ebx, edx
lea ecx, [ecx]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call fcn.10110660
movzx ecx, byte [edi - 3]
movzx eax, byte [esp + 0x28]
xor ecx, eax
movzx eax, byte [esp + 0x29]
mov byte [esi - 2], cl
mov byte [esp + 0x20], cl
movzx ecx, byte [edi - 2]
xor ecx, eax
movzx eax, byte [esp + 0x2a]
mov byte [esi - 1], cl
mov byte [esp + 0x21], cl
movzx ecx, byte [esi + ebx]
xor ecx, eax
movzx eax, byte [esp + 0x2b]
mov byte [esi], cl
mov byte [esp + 0x22], cl
movzx ecx, byte [edi]
xor ecx, eax
movzx eax, byte [esp + 0x2c]
mov byte [esi + 1], cl
mov byte [esp + 0x23], cl
movzx ecx, byte [edi + 1]
xor ecx, eax
movzx eax, byte [esp + 0x2d]
mov byte [esi + 2], cl
mov byte [esp + 0x24], cl
movzx ecx, byte [edi + 2]
xor ecx, eax
movzx eax, byte [esp + 0x2e]
mov byte [esi + 3], cl
mov byte [esp + 0x25], cl
movzx ecx, byte [edi + 3]
xor ecx, eax
movzx eax, byte [esp + 0x2f]
mov byte [esi + 4], cl
mov byte [esp + 0x26], cl
movzx ecx, byte [edi + 4]
xor ecx, eax
add esp, 0xc
mov byte [esi + 5], cl
mov byte [esp + 0x1b], cl
lea edi, [edi + 8]
lea esi, [esi + 8]
dec ebp
jne 0x10110300
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
pop ebp
xor ecx, esp
call fcn.1016059f
add esp, 0x18
ret