joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006dc40
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
call fcn.1006dbc0
test eax, eax
jne 0x1006dc4e
pop esi
ret
mov eax, dword [esi + 4]
push edi
cmp dword [eax], 0
je 0x1006dc71
mov edi, dword [esi]
lea ecx, [edi + 0x20]
call fcn.10072970
cmp dword [edi + 0x20], 0
je 0x1006dc71
mov dword [edi + 0x1b4], 1
mov eax, dword [esi + 4]
cmp dword [eax + 0xe44], 0
jne 0x1006dcac
push 0
mov edi, eax
call fcn.10097f97
add esp, 4
cmp dword [edi + 0x34], eax
je 0x1006dca7
mov eax, dword [edi + 8]
test eax, eax
je 0x1006dcb6
push dword [edi + 0x30]
push 0
push 0
push esi
call eax
add esp, 0x10
cmp eax, 1
jne 0x1006dcb6
pop edi
xor eax, eax
pop esi
ret
mov dword [eax + 0xe44], 0
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xf8], 0
mov eax, dword [esi + 4]
push dword [eax + 0x1c4]
call fcn.1009783c
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + 0x1c4], 0
mov eax, dword [esi + 4]
pop edi
mov dword [eax + 0xfc], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0xe40], eax
mov eax, dword [esi + 4]
mov dword [eax + 0xe8], 0
mov eax, dword [esi + 4]
mov dword [eax + 0xe4], 0
mov eax, dword [esi + 4]
add eax, 0xe4c
mov dword [eax + 0x40], 0x67452301
mov dword [eax + 0x44], 0xefcdab89
mov dword [eax + 0x48], 0x98badcfe
mov dword [eax + 0x4c], 0x10325476
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov eax, dword [esi + 4]
mov dword [eax + 0x1810], 0
mov dword [eax + 0x1814], 0
mov eax, dword [esi + 4]
pop esi
mov dword [eax + 0x1820], 0
mov eax, 1
ret
Function at 0x10071ca0
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push edi
mov edi, dword [eax + 0x14]
test edi, edi
je 0x10071cff
mov edx, dword [eax + 0x10]
mov ecx, dword [eax]
push ebp
push esi
mov esi, dword [eax + 0x1c]
mov ebp, dword [ecx + edx*4]
cmp esi, edi
jae 0x10071cf7
push ebx
mov ebx, dword [eax + 0x18]
nop
mov ecx, 0x18
mov edx, ebp
sub ecx, esi
add esi, 8
shr edx, cl
mov ecx, ebx
shr ecx, 8
movzx edx, dl
xor edx, ecx
movzx ebx, bl
shl ebx, 8
xor ebx, dword [edx*4 + 0x100cb738]
cmp esi, edi
jb 0x10071cc0
mov dword [eax + 0x1c], esi
mov dword [eax + 0x18], ebx
mov ax, bx
pop ebx
pop esi
pop ebp
pop edi
ret
mov ax, word [eax + 0x18]
pop esi
pop ebp
pop edi
ret
mov ax, word [eax + 0x18]
pop edi
ret
Function at 0x10078db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add edx, 0xfffffff0
cmp edx, 0xf0
ja case.0x10078dc5.17
movzx eax, byte [edx + 0x10078e00]
jmp dword [eax*4 + 0x10078df0]
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10077330
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10077a20
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10078250
mov eax, 1
pop ebp
ret

Function at 0x10078dcc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add edx, 0xfffffff0
cmp edx, 0xf0
ja case.0x10078dc5.17
movzx eax, byte [edx + 0x10078e00]
jmp dword [eax*4 + 0x10078df0]
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10077330
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10077a20
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10078250
mov eax, 1
pop ebp
ret

Function at 0x10078dd5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add edx, 0xfffffff0
cmp edx, 0xf0
ja case.0x10078dc5.17
movzx eax, byte [edx + 0x10078e00]
jmp dword [eax*4 + 0x10078df0]
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10077330
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10077a20
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10078250
mov eax, 1
pop ebp
ret

Function at 0x10078dde
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add edx, 0xfffffff0
cmp edx, 0xf0
ja case.0x10078dc5.17
movzx eax, byte [edx + 0x10078e00]
jmp dword [eax*4 + 0x10078df0]
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10077330
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10077a20
mov edx, dword [ebp + 8]
pop ebp
jmp fcn.10078250
mov eax, 1
pop ebp
ret
Function at 0x1007acf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
test ebx, ebx
je 0x1007ad78
push esi
push edi
mov edi, dword [ebx]
xor eax, eax
xor esi, esi
mov dword [ebp - 8], edi
mov dword [edi + 0x16], eax
cmp dword [ebx + 4], eax
jle 0x1007ad2b
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x100d0cc0]
cmp esi, dword [ebx + 4]
jl 0x1007ad10
mov ecx, dword [ebx + 0xc]
xor esi, esi
test ecx, ecx
jle 0x1007ad5d
mov edi, dword [ebx + 8]
mov ebx, ecx
nop dword [eax]
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x100d0cc0]
cmp esi, ebx
jl 0x1007ad40
mov edi, dword [ebp - 8]
mov byte [edi + 0x16], al
mov ecx, eax
shr ecx, 8
mov byte [edi + 0x17], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 0x18], cl
shr eax, 0x18
mov byte [edi + 0x19], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10080c20
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 8], ecx
mov dl, 1
push esi
mov esi, ebp
push edi
mov edi, dword [esp + 0x20]
mov dword [edi], 1
test ebp, ebp
jle 0x10080c7f
cmp dword [edi], 0
jbe 0x10080c7f
test dl, dl
je 0x10080c7f
mov eax, dword [esp + 0x18]
push 0
push edi
sub eax, esi
push esi
add eax, ebp
push eax
push dword [ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne dl
test dl, dl
je 0x10080c77
mov eax, dword [edi]
test eax, eax
jne 0x10080c73
xor dl, dl
jmp 0x10080c77
sub esi, eax
add ebx, eax
mov ecx, dword [esp + 0x10]
test esi, esi
jg 0x10080c41
mov dword [edi], ebx
xor ecx, ecx
pop edi
pop esi
test dl, dl
mov eax, 0x3e8
pop ebp
cmovne eax, ecx
pop ebx
pop ecx
ret 0xc
Function at 0x100830e0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
cmp eax, 2
jne 0x1008314a
mov ebp, dword [esp + 0x24]
test ebp, ebp
jle 0x10083140
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
sub esi, ebx
mov dword [esp + 0x24], esi
nop word [eax + eax]
mov ecx, dword [ebx]
lea ebx, [ebx + 4]
mov esi, dword [esi + ebx - 4]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub esi, eax
lea eax, [ecx + esi]
cdq
mov ecx, eax
mov eax, esi
mov esi, dword [esp + 0x24]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
add edi, eax
add edi, ecx
sub ebp, 1
jne 0x10083110
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
cmp eax, 1
jne 0x10083140
mov ebx, dword [esp + 0x24]
xor ecx, ecx
mov esi, dword [esp + 0x18]
test ebx, ebx
jle 0x100831c9
cmp ebx, 8
jb 0x100831c9
cmp dword [0x100ddadc], 2
jl 0x100831c9
mov eax, ebx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x10083179
dec eax
or eax, 0xfffffff8
inc eax
mov edx, ebx
xorps xmm2, xmm2
sub edx, eax
movaps xmm1, xmm2
movups xmm0, xmmword [esi + ecx*4]
pabsd xmm0, xmm0
paddd xmm2, xmm0
movups xmm0, xmmword [esi + ecx*4 + 0x10]
add ecx, 8
pabsd xmm0, xmm0
paddd xmm1, xmm0
cmp ecx, edx
jl 0x10083183
paddd xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd edi, xmm1
mov dword [esp + 0x10], edi
xor ebp, ebp
mov dword [esp + 0x18], ebp
cmp ecx, ebx
jge 0x10083140
mov eax, ebx
sub eax, ecx
cmp eax, 2
jl 0x1008320f
lea eax, [ebx - 1]
xor ebx, ebx
mov edi, eax
mov eax, dword [esi + ecx*4]
cdq
xor eax, edx
sub eax, edx
add ebp, eax
mov eax, dword [esi + ecx*4 + 4]
cdq
add ecx, 2
xor eax, edx
sub eax, edx
add ebx, eax
cmp ecx, edi
jl 0x100831e7
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
cmp ecx, ebx
jge 0x1008321d
mov eax, dword [esi + ecx*4]
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [esp + 0x18]
add eax, ebp
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x10084640
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ecx
xor ecx, ecx
push ebx
mov dword [esp + 4], ecx
push esi
nop dword [eax]
xor eax, eax
test cl, 1
je 0x1008465b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10084666
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10084671
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1008467c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10084687
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10084692
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1008469d
bts eax, 1
test cl, 2
je 0x100846a6
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
xor edx, edx
lea ecx, [edx + 1]
nop dword [eax]
test bl, 1
je 0x1008473f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10084730
mov ecx, dword [esp + 8]
mov dword [ecx*4 + 0x100ddaf0], edx
inc ecx
mov dword [esp + 8], ecx
cmp ecx, 0xff
jle 0x10084650
mov esi, 0x100ddef0
nop dword [eax + eax]
mov ecx, dword [esi - 0x400]
movzx eax, cl
shr ecx, 8
mov edx, dword [eax*4 + 0x100ddaf0]
xor edx, ecx
movzx eax, dl
mov dword [esi], edx
shr edx, 8
mov ebx, dword [eax*4 + 0x100ddaf0]
xor ebx, edx
mov dword [esi + 0x400], ebx
movzx eax, bl
shr ebx, 8
mov ecx, dword [eax*4 + 0x100ddaf0]
xor ecx, ebx
movzx eax, cl
mov dword [esi + 0x800], ecx
shr ecx, 8
mov edx, dword [eax*4 + 0x100ddaf0]
xor edx, ecx
movzx eax, dl
mov dword [esi + 0xc00], edx
shr edx, 8
mov ecx, dword [eax*4 + 0x100ddaf0]
xor ecx, edx
movzx eax, cl
mov dword [esi + 0x1000], ecx
shr ecx, 8
mov edx, dword [eax*4 + 0x100ddaf0]
xor edx, ecx
movzx eax, dl
mov dword [esi + 0x1400], edx
shr edx, 8
xor edx, dword [eax*4 + 0x100ddaf0]
mov dword [esi + 0x1800], edx
add esi, 4
cmp esi, 0x100de2ec
jle 0x10084770
pop esi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x10084820
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
jl 0x100848d5
push ebx
mov ebx, edi
shr ebx, 3
mov eax, ebx
neg eax
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x10]
movzx edx, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
xor eax, edx
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x100deef0]
xor edx, dword [ecx*4 + 0x100df2f0]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x100deaf0]
movzx ecx, byte [esi + 6]
xor edx, dword [ecx*4 + 0x100ddef0]
movzx ecx, byte [esi + 5]
xor edx, dword [ecx*4 + 0x100de2f0]
movzx ecx, byte [esi + 7]
xor edx, dword [ecx*4 + 0x100ddaf0]
movzx ecx, byte [esi + 4]
add esi, 8
xor edx, dword [ecx*4 + 0x100de6f0]
xor edx, dword [eax*4 + 0x100df6f0]
mov eax, edx
sub ebx, 1
jne 0x10084844
pop ebx
jmp 0x100848d9
mov eax, dword [esp + 0xc]
test edi, edi
je 0x100848fa
nop dword [eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100ddaf0]
sub edi, 1
jne 0x100848e0
pop edi
pop esi
ret

Function at 0x10085740
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
lea esi, [eax*4]
push esi
push ebx
push edi
call fcn.1008bac0
mov eax, dword [esp + 0x24]
add esi, edi
add esp, 0xc
xor edx, edx
lea eax, [edi + eax*4]
mov dword [esp + 0x1c], eax
cmp esi, eax
jae 0x100857ab
push ebp
mov ebp, dword [esp + 0x24]
sub ebx, edi
nop dword [eax + eax]
mov eax, dword [edi]
lea edi, [edi + 4]
imul eax, edx
sar eax, 0xc
add eax, dword [ebx + esi]
mov dword [esi], eax
mov eax, edx
mov ecx, dword [ebx + esi]
sub eax, ebp
xor ecx, dword [edi - 4]
add edx, ebp
test ecx, ecx
cmovle edx, eax
add esi, 4
cmp esi, dword [esp + 0x20]
jb 0x10085780
pop ebp
pop edi
pop esi
pop ebx
ret 0x14
Function at 0x10086c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aab88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x18], ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edx, edx
js 0x10086d3b
mov eax, dword [ebp + 0x18]
lea ecx, [eax + edx*4]
mov edx, dword [ebp + 0x1c]
sub edx, eax
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], edx
mov eax, dword [edx + ecx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10086cfa
cmp ebx, 0x20
jle 0x10086cfa
push 0x80
push edi
push esi
call fcn.1008bac0
add esp, 0xc
mov eax, 0x200
cmp ebx, 0x20
jle 0x10086d0c
mov edx, dword [ebp + 0xc]
lea esi, [edi + 0x80]
mov ecx, 0x20
sub ecx, dword [ebp - 0x10]
lea edi, [edx + ecx*4]
mov ecx, edx
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebx - 0x20]
mov dword [ebp - 0x10], ecx
mov ebx, ecx
mov edx, dword [edi]
lea edi, [edi + 4]
mov ecx, dword [esi]
lea esi, [esi + 4]
imul edx, eax
sar edx, 0xc
sub ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [edx + esi - 4], ecx
mov ecx, dword [edi - 4]
xor ecx, dword [esi - 4]
lea ecx, [eax + 8]
lea eax, [eax - 8]
cmovle eax, ecx
sub ebx, 1
jne 0x10086cc2
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
jmp 0x10086d0c
lea eax, [ebx*4]
push eax
push edi
push esi
call fcn.1008bac0
add esp, 0xc
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x18]
push 0x20
push 1
push dword [eax]
push ebx
push edi
push esi
call fcn.100879a0
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
dec edx
sub ecx, 4
mov dword [ebp + 0x14], edx
test edx, edx
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp + 0x1c]
jns 0x10086c76
lea ecx, [ebp + 0xc]
call fcn.100856f0
mov dword [ebp + 0xc], 0x100ad1f0
push ebx
push esi
push edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.10088340
lea ecx, [ebp + 0xc]
call fcn.10085700
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10086d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aab88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x20], ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
js 0x10086ee3
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ecx + esi*4]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x10086eb9
test eax, eax
je 0x10086eb9
cmp ebx, 0x40
jle 0x10086eb9
push 0x100
push dword [ebp + 8]
push edi
call fcn.1008bac0
mov edx, 0x40
add esp, 0xc
mov edi, edx
cmp ebx, edx
jle 0x10086e88
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x100
mov dword [ebp - 0x18], eax
mov eax, edx
sub eax, dword [ebp - 0x14]
lea esi, [ecx + eax*4]
mov eax, edx
sub eax, dword [ebp - 0x10]
lea eax, [ecx + eax*4]
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebx - 0x40]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
nop dword [eax]
mov eax, dword [eax]
lea esi, [esi + 4]
mov ecx, dword [esi - 4]
lea ebx, [ebx + 4]
imul eax, edx
imul ecx, edi
sar eax, 9
sar ecx, 9
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
add eax, dword [ebx - 4]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
xor eax, dword [ebx - 4]
lea eax, [edx - 1]
lea edx, [edx + 1]
cmovle edx, eax
mov eax, dword [esi - 4]
xor eax, dword [ebx - 4]
lea eax, [edi + 1]
lea edi, [edi - 1]
cmovle edi, eax
mov eax, dword [ebp - 0x10]
add eax, 4
sub dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
jne 0x10086e30
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
sub esi, 1
js 0x10086ecf
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x20]
push 0x40
push dword [eax + esi*4]
mov eax, dword [ebp + 0x18]
push dword [eax + esi*4]
push ebx
push dword [ebp + 8]
push edi
call fcn.10087ab0
sub esi, 1
mov dword [ebp + 0x14], esi
jns 0x10086db2
jmp 0x10086ee3
lea eax, [ebx*4]
push eax
push dword [ebp + 8]
push edi
call fcn.1008bac0
add esp, 0xc
jmp 0x10086e8b
lea eax, [ebx*4]
push eax
push edi
push dword [ebp + 8]
call fcn.1008bac0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.100856f0
mov dword [ebp + 0xc], 0x100ad200
push ebx
push edi
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.100885f0
lea ecx, [ebp + 0xc]
call fcn.10085700
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10086f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aab88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x20], ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
js 0x10087093
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ecx + esi*4]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x10087069
test eax, eax
je 0x10087069
cmp ebx, 0x40
jle 0x10087069
push 0x100
push dword [ebp + 8]
push edi
call fcn.1008bac0
mov edx, 0x40
add esp, 0xc
mov edi, edx
cmp ebx, edx
jle 0x10087038
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add eax, 0x100
mov dword [ebp - 0x18], eax
mov eax, edx
sub eax, dword [ebp - 0x14]
lea esi, [ecx + eax*4]
mov eax, edx
sub eax, dword [ebp - 0x10]
lea eax, [ecx + eax*4]
sub ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebx - 0x40]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
nop dword [eax]
mov eax, dword [eax]
lea esi, [esi + 4]
mov ecx, dword [esi - 4]
lea ebx, [ebx + 4]
imul eax, edx
imul ecx, edi
sar eax, 9
sar ecx, 9
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
add eax, dword [ebx - 4]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
xor eax, dword [ebx - 4]
lea eax, [edx - 1]
lea edx, [edx + 1]
cmovle edx, eax
mov eax, dword [esi - 4]
xor eax, dword [ebx - 4]
lea eax, [edi + 1]
lea edi, [edi - 1]
cmovle edi, eax
mov eax, dword [ebp - 0x10]
add eax, 4
sub dword [ebp - 0x14], 1
mov dword [ebp - 0x10], eax
jne 0x10086fe0
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
sub esi, 1
js 0x1008707f
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x20]
push 0x40
push dword [eax + esi*4]
mov eax, dword [ebp + 0x18]
push dword [eax + esi*4]
push ebx
push dword [ebp + 8]
push edi
call fcn.10087ab0
sub esi, 1
mov dword [ebp + 0x14], esi
jns 0x10086f62
jmp 0x10087093
lea eax, [ebx*4]
push eax
push dword [ebp + 8]
push edi
call fcn.1008bac0
add esp, 0xc
jmp 0x1008703b
lea eax, [ebx*4]
push eax
push edi
push dword [ebp + 8]
call fcn.1008bac0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.100856f0
mov dword [ebp + 0xc], 0x100ad208
push ebx
push edi
push dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.10088cc0
lea ecx, [ebp + 0xc]
call fcn.10085700
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100879a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x10087a84
mov ebx, dword [esp + 0x24]
cmp esi, ebx
jle 0x10087a84
push ebp
mov ebp, dword [esp + 0x18]
lea eax, [ebx*4]
push eax
push dword [esp + 0x18]
push ebp
call fcn.1008bac0
add esp, 0xc
mov eax, 0x200
cmp dword [esp + 0x24], 0
jle 0x10087a33
cmp ebx, esi
jge 0x10087a2c
mov ecx, dword [esp + 0x14]
lea edx, [ecx + ebx*4]
mov ecx, ebx
sub ecx, edi
lea edi, [ecx*4]
add edi, ebp
sub ebp, dword [esp + 0x14]
sub esi, ebx
mov ecx, dword [edi]
lea edi, [edi + 4]
imul ecx, eax
lea edx, [edx + 4]
sar ecx, 0xc
add ecx, dword [edx - 4]
mov dword [edx + ebp - 4], ecx
mov ecx, dword [edx - 4]
xor ecx, dword [edi - 4]
lea ecx, [eax - 8]
lea eax, [eax + 8]
cmovle eax, ecx
sub esi, 1
jne 0x10087a03
pop ebp
pop edi
pop esi
pop ebx
ret 0x18
cmp ebx, esi
jge 0x10087a2c
mov edx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, dword [esp + 0x20]
lea edi, [edx + ebx*4]
lea ebx, [ecx*4]
add ebx, ebp
sub ebp, edx
sub esi, dword [esp + 0x28]
mov edx, dword [ebx]
lea ebx, [ebx + 4]
mov ecx, dword [edi]
lea edi, [edi + 4]
imul edx, eax
sar edx, 0xc
sub ecx, edx
mov dword [edi + ebp - 4], ecx
mov ecx, dword [edi - 4]
xor ecx, dword [ebx - 4]
lea ecx, [eax + 8]
lea eax, [eax - 8]
cmovle eax, ecx
sub esi, 1
jne 0x10087a53
pop ebp
pop edi
pop esi
pop ebx
ret 0x18
lea eax, [esi*4]
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.1008bac0
add esp, 0xc
pop edi
pop esi
pop ebx
ret 0x18

Function at 0x10087ab0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x10], 0
push ebx
push esi
mov esi, dword [esp + 0x14]
je 0x10087b90
cmp dword [esp + 0x1c], 0
je 0x10087b90
mov ebx, dword [esp + 0x20]
cmp esi, ebx
jle 0x10087b90
push ebp
mov ebp, dword [esp + 0x10]
lea eax, [ebx*4]
push edi
push eax
push ebp
push dword [esp + 0x20]
call fcn.1008bac0
add esp, 0xc
mov edx, 0x40
mov edi, edx
cmp ebx, esi
jge 0x10087b89
mov ecx, dword [esp + 0x18]
lea ebp, [ebp + ebx*4]
mov eax, ebx
sub eax, dword [esp + 0x24]
lea eax, [ecx + eax*4]
mov dword [esp + 0x24], eax
mov eax, ebx
sub eax, dword [esp + 0x20]
lea eax, [ecx + eax*4]
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
sub esi, ebx
mov eax, dword [esp + 0x24]
mov ebx, ecx
mov ecx, dword [eax]
lea ebp, [ebp + 4]
mov eax, dword [esp + 0x18]
imul ecx, edi
mov eax, dword [eax]
imul eax, edx
sar ecx, 9
sar eax, 9
sub eax, ecx
add eax, dword [ebp - 4]
mov dword [ebx + ebp - 4], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
xor eax, dword [ebp - 4]
lea eax, [edx - 1]
lea edx, [edx + 1]
cmovle edx, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
xor eax, dword [ebp - 4]
lea eax, [edi + 1]
lea edi, [edi - 1]
cmovle edi, eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], 4
add eax, 4
mov dword [esp + 0x24], eax
sub esi, 1
jne 0x10087b30
pop edi
pop ebp
pop esi
pop ebx
ret 0x18
lea eax, [esi*4]
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
call fcn.1008bac0
add esp, 0xc
pop esi
pop ebx
ret 0x18