joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008f70
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 8]
push ebp
push esi
push edi
test edx, edx
je 0x1000909f
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000909f
mov edi, dword [esp + 0x18]
test edi, edi
je 0x1000909f
cmp edi, 0x80
ja 0x1000909f
mov ebp, dword [esp + 0x24]
cmp ebp, 0x80
ja 0x1000909f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10009011
cmp eax, 1
jne 0x1000909f
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1000909f
mov dword [esi + 0x88], 0x1000a4a0
mov dword [esi + 0x8c], 0x10009a40
movzx eax, word [ecx]
mov word [esi + 0x80], ax
movzx eax, word [ecx + 2]
mov word [esi + 0x82], ax
movzx eax, word [ecx + 4]
mov word [esi + 0x84], ax
movzx eax, word [ecx + 6]
mov word [esi + 0x86], ax
jmp 0x10009025
mov dword [esi + 0x88], 0x1000a570
mov dword [esi + 0x8c], 0x10009b10
push ebx
push edi
push edx
push esi
call fcn.1003cf40
mov bl, byte [esi + edi - 1]
mov edx, 0x80
sub edx, edi
add esp, 0xc
mov ecx, esi
test edx, edx
jle 0x1000905b
mov al, byte [ecx]
lea ecx, [ecx + 1]
add al, bl
dec edx
movzx eax, al
mov bl, byte [eax + 0x10049d80]
mov byte [ecx + edi - 1], bl
test edx, edx
jg 0x10009042
mov edx, esi
sub edx, ebp
pop ebx
movzx eax, byte [edx + 0x80]
mov al, byte [eax + 0x10049d80]
mov byte [edx + 0x80], al
sub edx, 0xffffff81
lea edi, [edx + ebp]
cmp edx, esi
jb 0x10009099
lea ecx, [ecx]
movzx ecx, al
lea edi, [edi - 1]
movzx eax, byte [edi + 1]
xor ecx, eax
mov al, byte [ecx + 0x10049d80]
mov byte [edx], al
dec edx
cmp edx, esi
jae 0x10009080
pop edi
pop esi
xor eax, eax
pop ebp
ret
push 0xffffe005
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret

Function at 0x1000a7e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x10]
mov ch, byte [esi + 0x100]
mov bh, byte [esi + 0x101]
cmp dword [esp + 0x1c], ebp
jae 0x1000a811
push 0xffffe003
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
ret
test ebp, ebp
je 0x1000a859
push edi
mov edi, dword [esp + 0x18]
sub dword [esp + 0x24], edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x24]
inc ch
lea edi, [edi + 1]
movzx edx, ch
mov bl, byte [edx + esi]
add bh, bl
movzx eax, bh
mov cl, byte [eax + esi]
mov byte [edx + esi], cl
add cl, bl
mov byte [eax + esi], bl
movzx eax, cl
mov al, byte [eax + esi]
xor al, byte [edi + ebp - 1]
dec dword [esp + 0x14]
mov byte [edi - 1], al
jne 0x1000a826
mov ebp, dword [esp + 0x28]
pop edi
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
xor eax, eax
mov byte [esi + 0x101], bh
mov byte [esi + 0x100], ch
pop esi
pop ebp
pop ebx
ret
Function at 0x1000d610
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10
push esi
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x24], esi
jae 0x1000d639
push 0xffffe003
mov dword [eax], esi
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x34]
mov dword [eax], 0
mov edx, dword [ecx + 0x2c]
push ebp
push edi
cmp edx, ebx
je 0x1000d6a7
mov eax, ebx
sub eax, edx
mov dword [esp + 0x38], eax
cmp eax, esi
jb 0x1000d663
mov eax, esi
mov dword [esp + 0x38], esi
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
push eax
lea eax, [ecx + 0x18]
add eax, edx
push eax
push ebp
push edi
call fcn.1000d970
mov eax, dword [esp + 0x48]
add esp, 0x10
mov ecx, dword [esp + 0x24]
add edi, eax
mov edx, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x30], edi
add dword [ecx + 0x2c], eax
add dword [edx], eax
sub esi, eax
mov dword [esp + 0x38], esi
jne 0x1000d6b3
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x10
ret
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x30], edi
cmp esi, ebx
jb 0x1000d776
lea eax, [ebx + 7]
add eax, ecx
lea edx, [ecx + 8]
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
jmp 0x1000d6d8
mov ecx, dword [esp + 0x24]
push ebx
push ebx
push edx
push ebx
lea edx, [esp + 0x2c]
push edx
push eax
push dword [ecx + 4]
mov eax, dword [ecx]
call eax
mov esi, dword [esp + 0x40]
add esp, 0x1c
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov esi, dword [esi + 0x28]
cmp esi, 8
jb 0x1000d711
inc byte [edx]
mov cl, byte [edx]
dec edx
test cl, cl
jne 0x1000d72f
sub esi, 8
cmp esi, 8
jae 0x1000d700
test esi, esi
je 0x1000d72f
mov al, 1
mov ecx, esi
shl al, cl
dec al
mov cl, al
not cl
or cl, al
mov al, byte [edx]
inc al
and cl, al
mov eax, dword [esp + 0x30]
mov byte [edx], cl
test eax, eax
jne 0x1000d7ac
test ebx, ebx
je 0x1000d74e
mov edx, dword [esp + 0x10]
jmp 0x1000d740
mov cl, byte [edx + eax]
xor cl, byte [eax + ebp]
mov byte [eax + edi], cl
inc eax
cmp eax, ebx
jb 0x1000d740
mov edx, dword [esp + 0x2c]
add edi, ebx
mov esi, dword [esp + 0x38]
add ebp, ebx
mov eax, dword [esp + 0x10]
sub esi, ebx
mov dword [esp + 0x30], edi
add dword [edx], ebx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], esi
cmp esi, ebx
jae 0x1000d6d4
test esi, esi
je 0x1000d7d6
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push ebx
push ebx
lea edi, [eax + 8]
push edi
push ebx
lea ecx, [eax + 0x18]
push edx
push ecx
push dword [eax + 4]
mov eax, dword [eax]
call eax
push ebx
mov ebx, dword [esp + 0x44]
mov esi, eax
push dword [ebx + 0x28]
push edi
call fcn.1000d930
add esp, 0x28
test esi, esi
je 0x1000d7b7
pop edi
pop ebp
pop ebx
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov esi, dword [esp + 0x38]
lea eax, [ebx + 0x18]
push esi
push eax
push ebp
push dword [esp + 0x3c]
call fcn.1000d970
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov dword [ebx + 0x2c], esi
add dword [eax], esi
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x10
ret
Function at 0x1000d970
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0x10]
test edx, edx
je 0x1000d9a2
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
sub esi, eax
sub edi, eax
lea ebx, [ebx]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [edi + eax - 1], cl
dec edx
jne 0x1000d990
pop edi
pop esi
ret

Function at 0x1000e2c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push esi
push edi
mov eax, dword [ecx + 0x98]
mov edi, dword [esp + 0x14]
lea esi, [eax + 7]
shr esi, 3
lea ebp, [esi*8]
sub ebp, eax
test edi, edi
jne 0x1000e2fe
mov eax, dword [esp + 0x18]
push 0xffffe003
mov dword [eax], esi
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret
cmp dword [esp + 0x1c], esi
jb 0x1000e2e4
push ebx
push dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
push esi
push ebx
push edi
push ecx
call fcn.1000dde0
add esp, 0x14
test eax, eax
je 0x1000e325
pop ebx
pop edi
pop esi
or eax, 0xffffffff
pop ebp
ret
xor edx, edx
cmp dword [ebx], edx
jbe 0x1000e33f
mov ecx, dword [esp + 0x14]
nop
mov al, byte [ecx + edx + 0x9c]
xor byte [edx + edi], al
inc edx
cmp edx, dword [ebx]
jb 0x1000e330
test ebp, ebp
je 0x1000e351
mov al, 1
mov ecx, ebp
shl al, cl
dec al
not al
and byte [esi + edi - 1], al
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret
Function at 0x1001b9e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x1005d3b0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
mov ebx, dword [esp + 0x4c]
lea eax, [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
push dword [ebx + 8]
xor esi, esi
push dword [ebx + 4]
push eax
call fcn.100014f0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1001baa5
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x58]
push 1
push ebx
push 3
call fcn.1001a040
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1001baa5
jmp 0x1001ba40
movzx ecx, byte [esp + eax + 0x38]
xor cl, byte [esp + eax + 0x24]
mov byte [esp + eax + 0x10], cl
movzx ecx, byte [esp + eax + 0x25]
xor cl, byte [esp + eax + 0x39]
mov byte [esp + eax + 0x11], cl
movzx ecx, byte [esp + eax + 0x26]
xor cl, byte [esp + eax + 0x3a]
mov byte [esp + eax + 0x12], cl
movzx ecx, byte [esp + eax + 0x27]
xor cl, byte [esp + eax + 0x3b]
mov byte [esp + eax + 0x13], cl
movzx ecx, byte [esp + eax + 0x28]
xor cl, byte [esp + eax + 0x3c]
mov byte [esp + eax + 0x14], cl
add eax, 5
cmp eax, 0x14
jl 0x1001ba40
or byte [esp + 0x10], 0x80
lea eax, [esp + 0x10]
or byte [esp + 0x23], 1
push 0x14
push eax
push ebp
call fcn.1002a0c0
add esp, 0xc
mov esi, eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
test esi, esi
je 0x1001bb86
cmp esi, 0xfffffffc
je 0x1001bb63
cmp esi, 0xfffffffd
je 0x1001bb40
cmp esi, 0xfffffffe
je 0x1001bb1d
push 0xffffe001
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1003cf2f
add esp, 0x40
ret
push 0xffffe013
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1003cf2f
add esp, 0x40
ret
push 0xffffe002
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1003cf2f
add esp, 0x40
ret
push 0xffffe005
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.1003cf2f
add esp, 0x40
ret
mov ecx, dword [esp + 0x4c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003cf2f
add esp, 0x40
ret
Function at 0x10021050
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
push edi
push dword [esp + 0x24]
call fcn.10008de0
mov edi, dword [esp + 0x1c]
mov esi, eax
add esp, 4
mov ecx, dword [esi]
lea ecx, [ecx*2 + 2]
cmp edi, ecx
jb 0x10021205
mov ebx, edi
sub ebx, ecx
cmp dword [esp + 0x20], ebx
ja 0x10021205
push ebp
mov ebp, dword [esp + 0x18]
mov byte [ebp], 0
mov eax, dword [esi + 4]
call eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10021167
push eax
mov eax, dword [esi + 0x10]
call eax
mov eax, dword [esp + 0x38]
add esp, 4
test eax, eax
je 0x100210c1
push eax
push dword [esp + 0x34]
mov eax, dword [esi + 0x14]
push dword [esp + 0x24]
call eax
add esp, 0xc
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push eax
inc eax
push ecx
add eax, ebp
push eax
push dword [esp + 0x28]
mov eax, dword [esi + 0x18]
call eax
mov eax, dword [esi + 0xc]
push 1
push dword [esp + 0x30]
call eax
mov ecx, dword [esp + 0x3c]
add esp, 0x18
sub ebx, ecx
je 0x10021107
mov eax, dword [esi]
push ebx
push 0
lea eax, [eax*2 + 1]
add eax, ebp
push eax
call fcn.1003d590
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov eax, ebp
sub eax, ecx
add eax, edi
mov byte [eax - 1], 1
test ecx, ecx
je 0x10021123
push ecx
push dword [esp + 0x24]
push eax
call fcn.1003cf40
add esp, 0xc
mov ecx, dword [esp + 0x38]
lea eax, [ebp + 1]
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x10021147
push dword [esi]
push eax
call fcn.1000c340
add esp, 8
test eax, eax
je 0x10021155
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
push dword [esp + 0x3c]
push ecx
push eax
call fcn.1003cf40
add esp, 0xc
sub edi, dword [esi]
dec edi
push edi
call sub.nssutil3.dll_PORT_Alloc_Util
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1002117d
push 0xffffe013
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
push dword [esi]
lea eax, [ebp + 1]
push eax
push edi
push ebx
push dword [esp + 0x3c]
call fcn.10020280
xor edx, edx
add esp, 0x14
mov dword [esp + 0x10], edx
test edi, edi
je 0x100211b8
jmp 0x100211a0
mov ecx, dword [esi]
mov al, byte [ebx + edx]
add ecx, edx
xor byte [ecx + ebp + 1], al
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x10], edx
cmp edx, edi
jb 0x100211a0
mov ecx, dword [esi]
lea eax, [ebp + 1]
push edi
add eax, ecx
push eax
push ecx
push ebx
push dword [esp + 0x3c]
call fcn.10020280
xor ecx, ecx
add esp, 0x14
mov dword [esp + 0x10], ecx
cmp dword [esi], ecx
jbe 0x100211f3
mov edx, dword [esp + 0x1c]
lea ecx, [ecx]
mov al, byte [ebx + ecx]
xor byte [edx + ecx], al
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esi]
jb 0x100211e0
push edi
push ebx
call sub.nssutil3.dll_PORT_ZFree_Util
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
push 0xffffe004
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10021220
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
push esi
push dword [esp + 0x20]
call fcn.10008de0
mov esi, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov ecx, dword [eax]
sub esi, ecx
add ecx, 2
dec esi
add ecx, ebp
cmp dword [esp + 0x18], ecx
jae 0x10021263
push 0xffffe003
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop esi
pop ebp
add esp, 8
ret
mov ecx, dword [esp + 0x28]
push ebx
push edi
mov edi, dword [esp + 0x1c]
mov ebx, esi
sub ebx, ebp
push ebp
lea eax, [ebx + edi]
test ecx, ecx
jne 0x1002128e
push eax
call fcn.1000c340
add esp, 8
test eax, eax
je 0x10021298
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret
push ecx
push eax
call fcn.1003cf40
add esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
call eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x10021333
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [esp + 0x14]
push 8
push 0x1004fb60
push dword [esp + 0x40]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [esp + 0x20]
push dword [eax]
mov eax, dword [eax + 0x14]
push dword [esp + 0x38]
push dword [esp + 0x4c]
call eax
push ebp
mov ebp, dword [esp + 0x30]
lea eax, [ebx + edi]
push eax
push dword [esp + 0x58]
mov eax, dword [ebp + 0x14]
call eax
push dword [ebp]
lea ecx, [esp + 0x40]
push ecx
lea eax, [esi + edi]
push eax
push dword [esp + 0x68]
mov eax, dword [ebp + 0x18]
call eax
mov eax, dword [ebp + 0xc]
push 1
push dword [esp + 0x70]
call eax
add esp, 0x40
lea eax, [ebx - 1]
push eax
push 0
push edi
call fcn.1003d590
push esi
mov byte [ebx + edi - 1], 1
call sub.nssutil3.dll_PORT_Alloc_Util
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x1002134b
push 0xffffe013
call sub.nssutil3.dll_PORT_SetError_Util
add esp, 4
or eax, 0xffffffff
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret
push dword [ebp]
lea eax, [esi + edi]
push eax
push esi
push ebx
push dword [esp + 0x3c]
call fcn.10020280
xor ecx, ecx
add esp, 0x14
mov dword [esp + 0x14], ecx
test esi, esi
je 0x10021383
lea ebx, [ebx]
mov al, byte [ebx + ecx]
xor byte [ecx + edi], al
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, esi
jb 0x10021370
push ebx
call sub.nssutil3.dll_PORT_Free_Util
mov eax, dword [esp + 0x24]
add esp, 4
and byte [edi], 0x7f
mov byte [edi + eax - 1], 0xbc
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret
Function at 0x1002cf90
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, dword [ecx + 8]
push esi
push edi
mov eax, dword [ebp + 8]
cmp eax, ebx
jb 0x1002cfb0
mov esi, dword [ebp + 0xc]
mov edi, eax
mov ebp, dword [ecx + 0xc]
jmp 0x1002cfba
mov esi, dword [ecx + 0xc]
mov edi, ebx
mov ebp, dword [ebp + 0xc]
mov ebx, eax
push edi
push dword [esp + 0x20]
call fcn.1002c9e0
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
test edx, edx
js 0x1002d041
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
xor eax, eax
test ebx, ebx
je 0x1002cff8
sub ebp, esi
mov dword [esp + 0x14], ebx
mov eax, dword [esi + ebp]
xor eax, dword [esi]
add esi, 4
mov dword [ecx], eax
add ecx, 4
dec ebx
jne 0x1002cfe4
mov eax, dword [esp + 0x14]
cmp eax, edi
jae 0x1002d012
mov edx, edi
sub ecx, esi
sub edx, eax
mov eax, dword [esi]
lea esi, [esi + 4]
mov dword [ecx + esi - 4], eax
dec edx
jne 0x1002d002
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], edi
mov dword [ecx], 0
cmp edi, 1
jbe 0x1002d03e
mov eax, dword [ecx + 0xc]
lea eax, [eax + edi*4]
add eax, 0xfffffffc
lea ecx, [ecx]
cmp dword [eax], 0
jne 0x1002d03e
dec edi
sub eax, 4
cmp edi, 1
ja 0x1002d030
mov dword [ecx + 8], edi
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
ret
Function at 0x100373a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
xor eax, eax
mov ebx, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x14]
xor ecx, ecx
mov ebp, 1
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
lea ecx, [ecx]
mov edx, ebp
lea ebx, [ebx + 0x48]
xor edx, dword [esp + 0x20]
inc ebp
mov ecx, edx
shr ecx, 2
or edx, ecx
mov ecx, dword [ebx - 0x48]
mov esi, edx
shr esi, 1
or esi, edx
and esi, 1
dec esi
and ecx, esi
or dword [edi], ecx
mov ecx, dword [ebx - 0x44]
and ecx, esi
or dword [edi + 4], ecx
mov ecx, dword [ebx - 0x40]
and ecx, esi
or dword [edi + 8], ecx
mov ecx, dword [ebx - 0x3c]
and ecx, esi
or dword [edi + 0xc], ecx
mov ecx, dword [ebx - 0x38]
and ecx, esi
or dword [edi + 0x10], ecx
mov ecx, dword [ebx - 0x34]
and ecx, esi
or dword [edi + 0x14], ecx
mov ecx, dword [ebx - 0x30]
and ecx, esi
or dword [edi + 0x18], ecx
mov ecx, dword [ebx - 0x2c]
and ecx, esi
or dword [edi + 0x1c], ecx
mov ecx, dword [ebx - 0x28]
and ecx, esi
or dword [edi + 0x20], ecx
mov ecx, dword [ebx - 0x24]
and ecx, esi
or dword [eax], ecx
mov ecx, dword [ebx - 0x20]
and ecx, esi
or dword [eax + 4], ecx
mov ecx, dword [ebx - 0x1c]
and ecx, esi
or dword [eax + 8], ecx
mov ecx, dword [ebx - 0x18]
and ecx, esi
or dword [eax + 0xc], ecx
mov ecx, dword [ebx - 0x14]
and ecx, esi
or dword [eax + 0x10], ecx
mov ecx, dword [ebx - 0x10]
and ecx, esi
or dword [eax + 0x14], ecx
mov ecx, dword [ebx - 0xc]
and ecx, esi
or dword [eax + 0x18], ecx
mov ecx, dword [ebx - 8]
and ecx, esi
or dword [eax + 0x1c], ecx
mov ecx, dword [ebx - 4]
and ecx, esi
or dword [eax + 0x20], ecx
cmp ebp, 0x10
jb 0x100373f0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100374b0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov ecx, 1
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, 0x6c
mov dword [esp + 0x20], ecx
mov edx, ecx
xor edx, dword [esp + 0x24]
mov ecx, edx
shr ecx, 2
or edx, ecx
mov ecx, dword [eax]
mov esi, edx
shr esi, 1
or esi, edx
and esi, 1
dec esi
and ecx, esi
or dword [edi], ecx
mov ecx, dword [eax + 4]
and ecx, esi
or dword [edi + 4], ecx
mov ecx, dword [eax + 8]
and ecx, esi
or dword [edi + 8], ecx
mov ecx, dword [eax + 0xc]
and ecx, esi
or dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x10]
and ecx, esi
or dword [edi + 0x10], ecx
mov ecx, dword [eax + 0x14]
and ecx, esi
or dword [edi + 0x14], ecx
mov ecx, dword [eax + 0x18]
and ecx, esi
or dword [edi + 0x18], ecx
mov ecx, dword [eax + 0x1c]
and ecx, esi
or dword [edi + 0x1c], ecx
mov ecx, dword [eax + 0x20]
and ecx, esi
or dword [edi + 0x20], ecx
mov ecx, dword [eax + 0x24]
and ecx, esi
or dword [ebx], ecx
mov ecx, dword [eax + 0x28]
and ecx, esi
or dword [ebx + 4], ecx
mov ecx, dword [eax + 0x2c]
and ecx, esi
or dword [ebx + 8], ecx
mov ecx, dword [eax + 0x30]
and ecx, esi
or dword [ebx + 0xc], ecx
mov ecx, dword [eax + 0x34]
and ecx, esi
or dword [ebx + 0x10], ecx
mov ecx, dword [eax + 0x38]
and ecx, esi
or dword [ebx + 0x14], ecx
mov ecx, dword [eax + 0x3c]
and ecx, esi
or dword [ebx + 0x18], ecx
mov ecx, dword [eax + 0x40]
and ecx, esi
or dword [ebx + 0x1c], ecx
mov ecx, dword [eax + 0x44]
and ecx, esi
or dword [ebx + 0x20], ecx
mov ecx, dword [eax + 0x48]
and ecx, esi
or dword [ebp], ecx
mov ecx, dword [eax + 0x4c]
and ecx, esi
or dword [ebp + 4], ecx
mov ecx, dword [eax + 0x50]
and ecx, esi
or dword [ebp + 8], ecx
mov ecx, dword [eax + 0x54]
and ecx, esi
or dword [ebp + 0xc], ecx
mov ecx, dword [eax + 0x58]
and ecx, esi
or dword [ebp + 0x10], ecx
mov ecx, dword [eax + 0x5c]
and ecx, esi
or dword [ebp + 0x14], ecx
lea eax, [eax + 0x6c]
mov ecx, dword [eax - 0xc]
and ecx, esi
or dword [ebp + 0x18], ecx
mov ecx, dword [eax - 8]
and ecx, esi
or dword [ebp + 0x1c], ecx
mov ecx, dword [eax - 4]
and ecx, esi
or dword [ebp + 0x20], ecx
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, 0x10
jb 0x10037521
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10038f10
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
movdqu xmm1, xmmword [ecx]
movdqu xmmword [edx], xmm1
movdqa xmm2, xmm1
lea eax, [0x1005d340]
movdqa xmm0, xmmword [eax]
lea eax, [0x1005d310]
movdqa xmm4, xmmword [eax]
mov eax, 8
lea edx, [edx + 0x10]
dec eax
pshufb xmm2, xmm4
aesenclast xmm2, xmm0
pslld xmm0, 1
movdqa xmm3, xmm1
pslldq xmm3, 4
pxor xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx], xmm1
movdqa xmm2, xmm1
jne 0x10038f3d
lea eax, str.eeee
movdqa xmm0, xmmword [eax]
pshufb xmm2, xmm4
aesenclast xmm2, xmm0
pslld xmm0, 1
movdqa xmm3, xmm1
pslldq xmm3, 4
pxor xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0x10], xmm1
movdqa xmm2, xmm1
pshufb xmm2, xmm4
aesenclast xmm2, xmm0
movdqa xmm3, xmm1
pslldq xmm3, 4
pxor xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm3
pslldq xmm3, 4
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqu xmmword [edx + 0x20], xmm1
movdqa xmm2, xmm1
ret

Function at 0x100392c0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
movdqu xmm1, xmmword [ecx]
movdqu xmm3, xmmword [ecx + 0x10]
movdqu xmmword [edx], xmm1
movdqu xmmword [edx + 0x10], xmm3
lea eax, [0x1005d340]
movdqu xmm0, xmmword [eax]
lea eax, [0x1005d330]
movdqu xmm5, xmmword [eax]
pxor xmm6, xmm6
mov eax, 6
movdqa xmm2, xmm3
pshufb xmm2, xmm5
aesenclast xmm2, xmm0
pslld xmm0, 1
movdqa xmm4, xmm1
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pxor xmm1, xmm2
movdqu xmmword [edx + 0x20], xmm1
pshufd xmm2, xmm1, 0xff
aesenclast xmm2, xmm6
movdqa xmm4, xmm3
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pslldq xmm4, 4
pxor xmm3, xmm4
pxor xmm3, xmm2
movdqu xmmword [edx + 0x30], xmm3
lea edx, [edx + 0x20]
dec eax
jne 0x100392f7
movdqa xmm2, xmm3
pshufb xmm2, xmm5
aesenclast xmm2, xmm0
movdqa xmm4, xmm1
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pslldq xmm4, 4
pxor xmm1, xmm4
pxor xmm1, xmm2
movdqu xmmword [edx + 0x20], xmm1
ret