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

Disassembly:
mov eax, 4
call fcn.10123010
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
add ebp, 1
test byte [ecx + 0x38], 1
je 0x100c7f4a
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
lea edx, [ecx + ebp]
cmp edx, eax
jbe 0x100c7f3d
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub eax, ecx
mov dword [esi + 4], eax
jmp 0x100c7f55
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax + 4]
ja 0x100c7f36
mov esi, eax
test dword [edi + 0x100], 0x200
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push ebx
movzx ebx, byte [ecx + edx - 1]
je 0x100c7faa
cmp dword [edi + 0x88], 0
jne 0x100c7faa
mov eax, dword [edi + 0x58]
push 8
add eax, 8
push 0x1018ac00
push eax
call fcn.100875c0
add esp, 0xc
test eax, eax
jne 0x100c7f9b
test bl, 1
jne 0x100c7f9b
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov ecx, dword [edi + 0x58]
test byte [ecx], 8
je 0x100c7faa
test ebx, ebx
jbe 0x100c7faa
sub ebx, 1
mov edx, dword [edi + 0x80]
mov eax, dword [edx]
push eax
call fcn.1009d190
add esp, 4
test eax, 0x200000
je 0x100c7fd5
or ecx, 0xffffffff
sub ecx, ebx
add dword [esi + 4], ecx
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
mov edi, dword [esi + 4]
lea eax, [ebx + ebp]
mov esi, edi
sub esi, eax
xor esi, eax
mov edx, edi
xor edx, eax
or esi, edx
xor esi, edi
shr esi, 0x1f
mov ecx, 0xff
lea eax, [edi - 1]
sub esi, 1
cmp eax, ecx
mov dword [esp + 0x18], ecx
jae 0x100c8005
mov ecx, eax
mov dword [esp + 0x18], eax
xor ebp, ebp
test ecx, ecx
jbe 0x100c805e
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, ebx
shr ecx, 0x1f
lea eax, [edi + edx - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov edx, ebx
sub edx, ebp
shr edx, 0x1f
mov eax, ebp
shr eax, 0x1f
xor dl, al
xor cl, al
or dl, cl
mov ecx, dword [esp + 0x10]
xor dl, cl
sub dl, 1
movzx eax, dl
mov edx, dword [esp + 0x24]
movzx edx, byte [edx]
sub dword [esp + 0x24], 1
xor edx, ebx
and eax, edx
not eax
add ebp, 1
and esi, eax
cmp ebp, dword [esp + 0x18]
jb 0x100c8023
mov edx, dword [esp + 0x1c]
not esi
and esi, 0xff
lea ecx, [esi - 1]
shr ecx, 0x1f
not esi
shr esi, 0x1f
and ecx, esi
neg ecx
lea eax, [ebx + 1]
and eax, ecx
sub edi, eax
shl eax, 8
or dword [edx], eax
pop ebx
mov dword [edx + 4], edi
mov eax, ecx
pop edi
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebp
pop ecx
ret
Function at 0x100c80a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa4
call fcn.10123010
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x18], esi
sub esi, edi
xor ebp, ebp
cmp ebx, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
jae 0x100c810a
push str.orig_len___md_size
push 0xf8
push str.._ssl_s3_cbc.c
call fcn.10087590
add esp, 0xc
cmp edi, 0x40
jbe 0x100c8126
push str.md_size___EVP_MAX_MD_SIZE
push 0xf9
push str.._ssl_s3_cbc.c
call fcn.10087590
add esp, 0xc
lea ecx, [esp + 0x30]
neg ecx
and ecx, 0x3f
lea edx, [edi + 0x100]
cmp ebx, edx
lea ecx, [esp + ecx + 0x30]
mov dword [esp + 0x1c], ecx
jbe 0x100c8150
mov eax, ebx
sub eax, edi
sub eax, 0x100
mov dword [esp + 0x10], eax
mov ebp, eax
mov eax, edi
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebp
add eax, esi
xor edx, edx
div edi
push edi
push 0
push ecx
mov ebx, edx
mov dword [esp + 0x30], ebx
call fcn.1011e8d0
mov edx, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
cmp edx, dword [esp + 0xc4]
jae 0x100c8235
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub edx, ecx
mov ebx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0xc]
shr eax, 0x1f
shr ebx, 0x1f
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jmp 0x100c81c8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
add ecx, ebx
shr ecx, 0x1f
xor cl, al
mov edx, ebp
shr edx, 0x1f
xor al, dl
or cl, al
mov eax, ebx
mov bl, byte [esp + 0x2c]
shr eax, 0x1f
xor al, bl
xor bl, dl
or al, bl
xor al, dl
sub al, 1
xor cl, dl
mov edx, dword [esp + 0x14]
mov dl, byte [edx + ebp]
not al
add dword [esp + 0x10], 1
and al, dl
sub cl, 1
and al, cl
mov ecx, dword [esp + 0x1c]
or byte [esi + ecx], al
add esi, 1
mov eax, esi
sub eax, edi
xor eax, edi
mov ecx, esi
xor ecx, edi
or eax, ecx
xor eax, esi
shr eax, 0x1f
neg eax
add ebp, 1
and esi, eax
cmp ebp, dword [esp + 0xc4]
jb 0x100c81c0
mov ebx, dword [esp + 0x24]
xor eax, eax
test edi, edi
jbe 0x100c8275
jmp 0x100c8240
mov esi, dword [esp + 0x1c]
mov edx, ebx
xor edx, 0x20
mov cl, byte [edx + esi]
mov dl, byte [ebx + esi]
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax], dl
add ebx, 1
mov edx, ebx
sub edx, edi
xor edx, edi
mov ecx, ebx
xor ecx, edi
or edx, ecx
xor edx, ebx
shr edx, 0x1f
neg edx
add eax, 1
and ebx, edx
cmp eax, edi
jb 0x100c8240
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011a380
add esp, 0xa4
ret
Function at 0x100cc2c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5c
call fcn.10123010
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x88]
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x88]
add edi, 0xffffffff
test eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
jne 0x100cc31f
call fcn.10082be0
mov dword [esp + 0x10], eax
test esi, esi
jne 0x100cc327
mov dword [esp + 0x14], eax
push eax
call fcn.1009d1d0
mov esi, eax
lea eax, [esi + esi]
sub edi, eax
lea edx, [edi - 1]
add esp, 4
cmp ebp, edx
jle 0x100cc36b
push 0x3a
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0xa0
push 4
call fcn.10065aa0
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1011a380
add esp, 0x5c
ret
add eax, 1
cmp dword [esp + 0x1c], eax
jge 0x100cc37f
push 0x40
push str..crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x100cc347
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
push 0
push ecx
lea eax, [ebx + 1]
mov byte [ebx], 0
push 0
lea ebx, [ebx + esi + 1]
push ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.10082ab0
add esp, 0x18
test eax, eax
je 0x100cc356
sub edi, ebp
sub edi, 1
push edi
lea ecx, [ebx + esi]
push 0
push ecx
call fcn.1011e8d0
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov edx, ebx
sub edx, ebp
sub edx, esi
push ebp
lea eax, [edx + edi]
push ecx
push eax
mov byte [eax - 1], 1
call fcn.1011e560
mov ebp, dword [esp + 0x30]
push esi
push ebp
call fcn.10066020
add esp, 0x20
test eax, eax
jle 0x100cc356
push 0x55
sub edi, esi
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.10074010
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x100cc41c
push 0x57
push str..crypto_rsa_rsa_oaep.c
push 0x41
jmp 0x100cc347
mov edx, dword [esp + 0x14]
push edx
push esi
push ebp
push edi
push eax
call fcn.100cc140
add esp, 0x14
test eax, eax
jl 0x100cc46a
test edi, edi
jle 0x100cc451
mov ebp, dword [esp + 0x10]
mov eax, ebx
sub ebp, ebx
mov ecx, edi
nop
mov dl, byte [eax + ebp]
xor byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x100cc440
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push eax
push edi
push ebx
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.100cc140
add esp, 0x14
test eax, eax
jge 0x100cc48c
mov edx, dword [esp + 0x10]
push edx
call fcn.10074210
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1011a380
add esp, 0x5c
ret
test esi, esi
jle 0x100cc4a5
lea ecx, [esp + 0x28]
mov eax, ebp
sub ecx, ebp
mov dl, byte [ecx + eax]
xor byte [eax], dl
add eax, 1
sub esi, 1
jne 0x100cc498
mov eax, dword [esp + 0x10]
push eax
call fcn.10074210
mov ecx, dword [esp + 0x6c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1011a380
add esp, 0x5c
ret
Function at 0x100ccd70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100cce3d
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100ccd91
cmp al, 0x6b
jne 0x100cce3d
cmp al, 0x6b
lea edx, [ecx + 1]
jne 0x100ccdfe
add esi, 0xfffffffd
xor ecx, ecx
test esi, esi
jle 0x100ccdb5
mov al, byte [edx]
add edx, 1
cmp al, 0xba
je 0x100ccdb5
cmp al, 0xbb
jne 0x100ccdde
add ecx, 1
cmp ecx, esi
jl 0x100ccda1
sub esi, ecx
test ecx, ecx
jne 0x100cce01
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10065aa0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.10065aa0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + edx], 0xcc
je 0x100cce2a
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.10065aa0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
push esi
push edx
push eax
call fcn.1011e560
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.10065aa0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100df750
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10123010
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [eax]
test esi, esi
push edi
mov edi, dword [esp + 0x28]
je 0x100df79d
test ebx, ebx
je 0x100df79d
mov cl, byte [esi + edi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
add eax, 1
add ebp, 1
add esi, 1
sub ebx, 1
and esi, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jne 0x100df770
cmp ebx, 0x10
jb 0x100df81c
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, edi
mov dword [esp + 0x20], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edi, edi
mov edx, dword [esp + 0x24]
push edx
push edi
push edi
call dword [esp + 0x3c]
add esp, 0xc
cmp esi, 0x10
jae 0x100df808
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
add ecx, 1
mov edx, dword [esp + 0x20]
mov edx, dword [edx + eax]
xor edx, dword [eax]
add eax, 4
sub ecx, 1
mov dword [eax + ebp - 4], edx
jne 0x100df7f3
add dword [esp + 0x20], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x10], 1
jne 0x100df7d0
test ebx, ebx
je 0x100df85e
mov eax, dword [esp + 0x24]
push eax
push edi
push edi
call dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
nop
mov dl, byte [eax + ebp]
xor dl, byte [eax]
sub ebx, 1
mov byte [eax + ecx], dl
add eax, 1
test ebx, ebx
jne 0x100df840
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x100dfab0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x34
call fcn.10123010
mov eax, dword [0x101c1b88]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push ebx
push esi
mov esi, dword [esp + 0x44]
mov ebx, edx
lea edx, [esi - 1]
cmp edx, 0x7f
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
ja 0x100dfc6d
mov edx, dword [edi]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 4]
push ebp
mov dword [esp + 0x20], edx
mov edx, dword [edi + 8]
push eax
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0xc]
push edi
push edi
mov dword [esp + 0x34], edx
call ecx
lea eax, [esi + 7]
cdq
and edx, 7
add eax, edx
mov esi, eax
add esp, 0xc
sar esi, 3
cmp dword [esp + 0x58], 0
je 0x100dfb59
test esi, esi
jle 0x100dfba0
mov eax, dword [esp + 0x14]
mov edx, edi
lea ebp, [esp + 0x2c]
sub edx, ebx
sub ebp, ebx
sub eax, ebx
mov ecx, ebx
mov dword [esp + 0x14], eax
lea ecx, [ecx]
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov ebx, dword [esp + 0x14]
mov byte [ecx + ebp], al
mov byte [ebx + ecx], al
add ecx, 1
sub esi, 1
jne 0x100dfb40
jmp 0x100dfba0
xor ebp, ebp
test esi, esi
jle 0x100dfba0
lea eax, [esp + 0x2c]
mov ecx, eax
sub ebx, eax
mov eax, dword [esp + 0x14]
mov edx, edi
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
jmp 0x100dfb84
mov edx, dword [esp + 0x18]
lea ecx, [esp + ebp + 0x2c]
mov al, byte [ebx + ecx]
mov dl, byte [edx + ecx]
xor dl, al
mov byte [ecx], al
mov eax, dword [esp + 0x14]
add ebp, 1
cmp ebp, esi
mov byte [eax + ecx], dl
jl 0x100dfb80
mov eax, dword [esp + 0x4c]
mov ecx, eax
and ecx, reloc.WS2_32.dll_getsockopt
jns 0x100dfbb3
dec ecx
or ecx, 0xfffffff8
inc ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
test ecx, ecx
mov dword [esp + 0x14], ecx
jne 0x100dfbf4
mov ecx, dword [esp + eax + 0x1c]
mov edx, dword [esp + eax + 0x20]
lea eax, [esp + eax + 0x1c]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 4], edx
mov edx, dword [eax + 0xc]
pop ebp
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1011a380
add esp, 0x34
ret
mov dl, 8
sub dl, cl
mov byte [esp + 0x13], dl
add edi, 1
lea esi, [esp + eax + 0x1d]
mov ebp, 4
movzx edx, byte [esi - 1]
mov al, byte [esi]
shl dl, cl
movzx ecx, byte [esp + 0x13]
mov bl, al
shr bl, cl
mov ecx, dword [esp + 0x14]
shl al, cl
movzx ecx, byte [esp + 0x13]
or dl, bl
mov byte [edi - 1], dl
mov dl, byte [esi + 1]
mov bl, dl
shr bl, cl
mov ecx, dword [esp + 0x14]
shl dl, cl
movzx ecx, byte [esp + 0x13]
or al, bl
mov byte [edi], al
mov al, byte [esi + 2]
mov bl, al
shr bl, cl
movzx ecx, byte [esp + 0x13]
or dl, bl
mov byte [edi + 1], dl
movzx edx, byte [esi + 3]
shr dl, cl
mov ecx, dword [esp + 0x14]
shl al, cl
add esi, 4
add edi, 4
or dl, al
sub ebp, 1
mov byte [edi - 2], dl
jne 0x100dfc08
pop ebp
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011a380
add esp, 0x34
ret
Function at 0x100e0fd0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push eax
push ecx
call fcn.100dfdb0
add esp, 0xc
test eax, eax
jl 0x100e04fa
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
test edx, edx
push edi
jle 0x100e032d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea ebx, [ebx]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x100e02f0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x100e04f6
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x1018ded8]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1018ded8]
and esi, 0xff
mov esi, dword [esi*4 + 0x1018ead8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1018f2d8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1018ded8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1018f6d8]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x1018ded8]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1018eed8]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x1018ded8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1018ded8]
and esi, 0xff
mov esi, dword [esi*4 + 0x1018ead8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1018f2d8]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x1018ded8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1018eed8]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1018ded8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1018f6d8]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x1018ded8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1018ded8]
and esi, 0xff
mov esi, dword [esi*4 + 0x1018ead8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1018f2d8]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x1018ded8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1018eed8]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1018ded8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1018f6d8]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x1018ded8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1018ded8]
and esi, 0xff
mov esi, dword [esi*4 + 0x1018ead8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1018f2d8]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x1018ded8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1018ded8]
and edi, 0xff
xor esi, dword [edi*4 + 0x1018eed8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1018f6d8]
add edx, 1
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x100e0341
pop edi
xor eax, eax
pop esi
pop ebx
ret
jmp 0x100e02b0
Function at 0x100e1010
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10123010
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [eax]
test ebx, ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x20]
je 0x100e1061
test edi, edi
je 0x100e1061
mov cl, byte [ebx + esi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
add eax, 1
add ebp, 1
add ebx, 1
sub edi, 1
and ebx, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebx
jne 0x100e1030
cmp edi, 0x10
jb 0x100e10dd
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, edi
shr eax, 4
mov ebx, ecx
mov ebp, edx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebx, esi
sub ebp, esi
add edx, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push esi
push eax
call dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add esp, 0xc
call fcn.100e0fe0
mov eax, esi
mov ecx, 4
mov edx, dword [eax + ebp]
xor edx, dword [eax]
add eax, 4
sub ecx, 1
mov dword [ebx + eax - 4], edx
jne 0x100e10b8
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
sub dword [esp + 0x10], 1
jne 0x100e1096
mov ebx, dword [esp + 0x20]
test edi, edi
je 0x100e112e
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
push eax
push esi
push ebp
call dword [esp + 0x40]
add esp, 0xc
mov edx, ebp
call fcn.100e0fe0
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + esi]
sub ebp, esi
sub ecx, esi
add ebx, edi
jmp 0x100e1110
mov dl, byte [eax + ebp]
xor dl, byte [eax]
sub edi, 1
mov byte [eax + ecx], dl
add eax, 1
test edi, edi
jne 0x100e1110
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], ebx
pop ebx
pop ecx
ret
Function at 0x100e1170
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.10123010
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0x10], eax
je 0x100e11c4
test ebp, ebp
je 0x100e11c4
mov ecx, dword [esp + 0x2c]
mov dl, byte [eax + ecx]
mov esi, dword [esp + 0x18]
xor dl, byte [esi]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], dl
add ecx, 1
add esi, 1
add eax, 1
sub ebp, 1
and eax, 0xf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
jne 0x100e1190
mov esi, dword [esp + 0x28]
movzx ecx, byte [esi + 0xe]
movzx edx, byte [esi + 0xf]
xor ebx, ebx
mov bh, byte [esi + 0xc]
mov bl, byte [esi + 0xd]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
cmp ebp, 0x10
jb 0x100e126a
jmp 0x100e11f0
mov edi, ebp
shr edi, 4
add ebx, edi
cmp ebx, edi
jae 0x100e11ff
sub edi, ebx
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push esi
push eax
push edi
push ecx
push edx
call dword [esp + 0x48]
mov eax, ebx
mov ecx, ebx
mov edx, ebx
shr eax, 0x18
shr ecx, 0x10
shr edx, 8
add esp, 0x14
test ebx, ebx
mov byte [esi + 0xc], al
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], dl
mov byte [esi + 0xf], bl
jne 0x100e1254
mov eax, 0xc
mov ecx, 1
movzx edx, byte [eax + esi - 1]
sub eax, 1
add ecx, edx
mov byte [eax + esi], cl
shr ecx, 8
test eax, eax
jne 0x100e1240
shl edi, 4
add dword [esp + 0x1c], edi
add dword [esp + 0x18], edi
sub ebp, edi
cmp ebp, 0x10
jae 0x100e11f0
mov eax, dword [esp + 0x10]
test ebp, ebp
je 0x100e12f0
mov edi, dword [esp + 0x2c]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x28]
push eax
push 1
push edi
push edi
call dword [esp + 0x48]
add ebx, 1
mov ecx, ebx
mov edx, ebx
mov eax, ebx
shr ecx, 0x18
shr edx, 0x10
shr eax, 8
add esp, 0x14
test ebx, ebx
mov byte [esi + 0xc], cl
mov byte [esi + 0xd], dl
mov byte [esi + 0xe], al
mov byte [esi + 0xf], bl
jne 0x100e12bd
mov edx, esi
call fcn.100e1140
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea eax, [edx + edi]
sub ecx, edi
sub esi, edi
add edx, ebp
mov bl, byte [ecx + eax]
xor bl, byte [eax]
sub ebp, 1
mov byte [esi + eax], bl
add eax, 1
test ebp, ebp
jne 0x100e12d2
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
pop ecx
ret