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

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x10077ba4
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x10077b3f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_DES_encrypt3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10077b0d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x10077c5d
call 0x10077b51
pop edx
lea ecx, [edx + 0x12f]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x10077bfc
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_DES_decrypt3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10077bb5
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x10077c5d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call sym.libcrypto_1_1.dll_DES_decrypt3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x10077c58
jmp 0x10077c5d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10079110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x10079110
mov eax, 0x30
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
push ebx
movzx ebx, byte [eax]
push ebp
push esi
push edi
lea edi, [eax + 1]
mov edx, edi
mov ebp, dword [esp + 0x60]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x34]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [esp + 0x35], al
mov esi, dword [ebp]
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x36], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], dl
test eax, eax
je 0x100792ed
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
sub ecx, ebp
mov dword [esp + 0x10], ecx
xor edi, edi
lea ebx, [ebx]
dec eax
mov dword [esp + 0x4c], eax
test esi, esi
jne 0x1007927d
push dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push dword [esp + 0x24]
push dword [esp + 0x30]
push eax
call sym.libcrypto_1_1.dll_DES_encrypt3
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x45], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x46], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x47], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x49], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x4a], al
mov eax, edx
shr eax, 0x18
add esp, 0x10
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], dl
mov byte [esp + 0x3b], al
inc edi
mov al, byte [esp + esi + 0x34]
xor al, byte [ebp]
inc esi
mov byte [ecx + ebp], al
mov eax, dword [esp + 0x4c]
inc ebp
and esi, 7
test eax, eax
jne 0x10079210
test edi, edi
mov edi, dword [esp + 0x24]
je 0x100792d4
mov eax, dword [esp + 0x30]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
shr ebx, 0x18
mov byte [edi + 2], bl
mov eax, edx
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101aa6fb
add esp, 0x30
ret
Function at 0x10079380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x10079380
mov eax, 0x28
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov edi, dword [esp + 0x50]
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
test eax, eax
je 0x10079543
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100794d7
push 1
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call sym.libcrypto_1_1.dll_DES_encrypt1
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3e], al
mov eax, edx
shr eax, 0x18
add esp, 0xc
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
mov byte [esp + 0x33], al
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x10079470
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x1007952a
mov eax, dword [esp + 0x24]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [ebp], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 1], al
shr ebx, 0x18
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 8
mov byte [ebp + 3], dl
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101aa6fb
add esp, 0x28
ret
Function at 0x10085e50
Capabilities:
Encrypt data using curve25519

Disassembly:
jmp 0x10085e50
mov eax, 0xe4
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xec]
push esi
mov esi, dword [esp + 0xec]
lea ecx, [esp + 0xa4]
push ecx
push 0x20
push eax
call sym.libcrypto_1_1.dll_SHA512
mov al, byte [esp + 0xcf]
and byte [esp + 0xb0], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esp + 0xcf], al
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.1008d600
lea eax, [esp + 0x18]
push eax
push esi
call fcn.1008d4e0
lea eax, [esp + 0xc0]
push 0x40
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
mov ecx, dword [esp + 0x108]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.101aa6fb
add esp, 0xe4
ret

Function at 0x10085f10
Capabilities:
Encrypt data using curve25519

Disassembly:
jmp 0x10085f10
mov eax, 0x23c
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
mov ebx, dword [esp + 0x248]
push ebp
mov ebp, dword [esp + 0x248]
push esi
mov esi, dword [esp + 0x25c]
push edi
mov edi, dword [esp + 0x25c]
lea eax, [esp + 0x10]
push eax
call sym.libcrypto_1_1.dll_SHA512_Init
push 0x20
lea eax, [esp + 0x18]
push esi
push eax
call sym.libcrypto_1_1.dll_SHA512_Update
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x19c]
push eax
call sym.libcrypto_1_1.dll_SHA512_Final
mov al, byte [esp + 0x1bf]
and byte [esp + 0x1a0], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esp + 0x1bf], al
lea eax, [esp + 0x28]
push eax
call sym.libcrypto_1_1.dll_SHA512_Init
push 0x20
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0x34]
push eax
call sym.libcrypto_1_1.dll_SHA512_Update
mov esi, dword [esp + 0x280]
push esi
lea eax, [esp + 0x3c]
push ebx
push eax
call sym.libcrypto_1_1.dll_SHA512_Update
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x200]
push eax
call sym.libcrypto_1_1.dll_SHA512_Final
lea eax, [esp + 0x204]
push eax
call fcn.100936d0
add esp, 0x40
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.1008d600
lea eax, [esp + 0xf0]
push eax
push ebp
call fcn.1008d4e0
lea eax, [esp + 0x20]
push eax
call sym.libcrypto_1_1.dll_SHA512_Init
push 0x20
lea eax, [esp + 0x28]
push ebp
push eax
call sym.libcrypto_1_1.dll_SHA512_Update
push 0x20
lea eax, [esp + 0x34]
push edi
push eax
call sym.libcrypto_1_1.dll_SHA512_Update
push esi
lea eax, [esp + 0x40]
push ebx
push eax
call sym.libcrypto_1_1.dll_SHA512_Update
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x244]
push eax
call sym.libcrypto_1_1.dll_SHA512_Final
add esp, 0x40
lea eax, [esp + 0x208]
push eax
call fcn.100936d0
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0x190]
push eax
lea eax, [esp + 0x214]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.1008e060
lea eax, [esp + 0x24]
push 0xd8
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
lea eax, [esp + 0x1e4]
push 0x40
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
lea eax, [esp + 0x1ac]
push 0x40
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
mov ecx, dword [esp + 0x274]
add esp, 0x2c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101aa6fb
add esp, 0x23c
ret
Function at 0x10086410
Capabilities:
Encrypt data using curve25519

Disassembly:
jmp 0x10086410
mov eax, 0x140
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
mov dword [esp], eax
mov eax, dword [esp + 0x148]
push ebx
movq xmm0, qword [eax]
movq qword [esp + 0x120], xmm0
movq xmm0, qword [eax + 8]
and byte [esp + 0x120], 0xf8
movq qword [esp + 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x130], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [esp + 0x138], xmm0
mov eax, dword [esp + 0x13c]
shr eax, 0x18
and al, 0x3f
push ebp
or al, 0x40
push esi
mov byte [esp + 0x147], al
push edi
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1008d600
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x94]
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x98]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x9c]
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0xa4]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0xa8]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0x84]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0xb0]
add eax, dword [esp + 0x88]
mov dword [esp + 0x100], eax
lea eax, [edx + ebp]
mov dword [esp + 0x104], eax
lea eax, [edi + ecx]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x94]
sub eax, dword [esp + 0x6c]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x70]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x74]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x78]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0x88]
mov dword [esp + 0x128], eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x20]
sub ebp, edx
sub edi, ecx
push eax
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], edi
call fcn.10086fa0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xf0]
push eax
push eax
call fcn.10087320
lea eax, [esp + 0xf8]
push eax
push dword [esp + 0x30]
call fcn.1008af40
lea eax, [esp + 0x150]
push 0x20
push eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
mov ecx, dword [esp + 0x178]
add esp, 0x2c
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101aa6fb
add esp, 0x140
ret
Function at 0x100988e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
lea eax, [ecx + 4]
lea esi, [edi + 0xc]
sub edi, ecx
mov ebp, 4
lea ecx, [ecx]
mov edx, dword [eax - 4]
mov ecx, dword [esi - 0xc]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [eax - 4], edx
xor dword [esi - 0xc], ecx
mov edx, dword [eax]
mov ecx, dword [edi + eax]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [eax], edx
xor dword [edi + eax], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esi - 4]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [eax + 4], edx
xor dword [esi - 4], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esi]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [eax + 8], edx
xor dword [esi], ecx
lea eax, [eax + 0x10]
lea esi, [esi + 0x10]
dec ebp
jne 0x10098900
pop edi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
mov eax, 0x60
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
push 0x38
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push 0
push eax
mov dword [esp + 0x2c], 0
call fcn.101aad60
mov edx, dword [esp + 0x78]
add esp, 0xc
lea ecx, [esp + 0x20]
sub ecx, edx
push ebx
mov dword [esp + 0x18], ecx
push ebp
xor eax, eax
lea ecx, [esp + 0x2c]
sub ecx, edx
push esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ecx
push edi
mov ecx, dword [esp + 0x78]
xorps xmm0, xmm0
mov ebp, dword [ecx + eax*4]
movlpd qword [esp + 0x18], xmm0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, edx
mov dword [esp + 0x20], 7
push 0
push ebp
push 0
push dword [edi]
call fcn.101ad830
mov ecx, dword [esp + 0x24]
push 0
add eax, dword [ecx + edi]
push ebp
adc edx, 0
push 0
push dword [edi + 4]
add esi, eax
adc ebx, edx
mov dword [ecx + edi], esi
call fcn.101ad830
mov ecx, dword [esp + 0x28]
add eax, ebx
mov esi, edx
adc esi, 0
add dword [ecx + edi], eax
lea edi, [edi + 8]
adc esi, 0
xor ebx, ebx
dec dword [esp + 0x20]
jne 0x1009c1e2
mov ebp, dword [esp + 0x30]
xorps xmm0, xmm0
imul ebp, ebp, 0xae918bc5
movlpd qword [esp + 0x18], xmm0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x68], esi
xor esi, esi
lea esp, [esp]
push 0
push ebp
push 0
push dword [esi*4 + 0x10206d64]
call fcn.101ad830
add eax, dword [esp + esi*4 + 0x30]
adc edx, 0
add edi, eax
adc ebx, edx
test esi, esi
je 0x1009c274
mov dword [esp + esi*4 + 0x2c], edi
mov edi, ebx
inc esi
xor ebx, ebx
cmp esi, 0xe
jb 0x1009c250
mov eax, dword [esp + esi*4 + 0x30]
mov edx, dword [esp + 0x7c]
xor ecx, ecx
add eax, dword [esp + 0x10]
adc ecx, ecx
add edi, eax
mov eax, dword [esp + 0x14]
adc ecx, ebx
inc eax
mov dword [esp + esi*4 + 0x2c], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp eax, 0xe
jb 0x1009c1c0
push ecx
push 0x10206d64
push 0x10206d64
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call fcn.1009c340
mov ecx, dword [esp + 0x80]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101aa6fb
add esp, 0x60
ret
Function at 0x100f9e10
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.101aa6d0
mov eax, dword [esp + 0x10]
push ebx
mov ecx, dword [eax + 0x60]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x70]
push ebp
mov ebp, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x100f9e73
test edi, edi
je 0x100f9e54
nop
cmp edx, 0x40
jae 0x100f9e54
mov al, byte [edx + ecx + 0x30]
xor al, byte [ebx]
inc ebp
mov byte [ebp - 1], al
inc edx
inc ebx
dec edi
jne 0x100f9e40
mov dword [ecx + 0x70], edx
test edi, edi
je 0x100f9f2d
cmp edx, 0x40
jne 0x100f9e73
mov dword [ecx + 0x70], 0
inc dword [ecx + 0x20]
jne 0x100f9e73
inc dword [ecx + 0x24]
mov eax, edi
and eax, 0x3f
sub edi, eax
lea edx, [ecx + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [edx]
push esi
mov dword [esp + 0x18], edx
cmp edi, 0x40
jb 0x100f9ed9
lea ecx, [ecx]
mov esi, edi
shr esi, 6
add eax, esi
mov dword [esp + 0x14], eax
cmp eax, esi
jae 0x100f9ea9
sub esi, eax
mov dword [esp + 0x14], 0
push edx
push ecx
shl esi, 6
push esi
push ebx
push ebp
call fcn.1005fa80
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add esp, 0x14
sub edi, esi
add ebx, esi
add ebp, esi
mov dword [edx], eax
test eax, eax
jne 0x100f9ed4
inc dword [ecx + 0x24]
cmp edi, 0x40
jae 0x100f9e90
cmp dword [esp + 0x10], 0
je 0x100f9f2c
push 0x40
lea edi, [ecx + 0x30]
push 0
push edi
call fcn.101aad60
push dword [esp + 0x24]
mov esi, dword [esp + 0x30]
push esi
push 0x40
push edi
push edi
call fcn.1005fa80
mov eax, dword [esp + 0x30]
add esp, 0x20
xor edx, edx
test eax, eax
je 0x100f9f29
sub ebx, ebp
mov esi, eax
lea ecx, [edx + ebp]
inc edx
mov al, byte [ebx + ecx]
xor al, byte [edi + edx - 1]
mov byte [ecx], al
cmp edx, esi
jb 0x100f9f10
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x70], eax
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x100fe760
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
xor ebp, ebp
push esi
test eax, eax
je 0x100fe778
test byte [eax + 0x5c], 2
mov ebx, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x100fe77d
mov ebx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test esi, esi
jle 0x100fe842
push edi
mov edi, dword [esp + 0x1c]
inc edi
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x100fe7e5
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [eax + 2], cl
movzx ecx, byte [edx + ebx]
mov byte [eax + 3], cl
jmp 0x100fe82d
shl edx, 0x10
cmp esi, 2
jne 0x100fe7f5
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + ebx]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x100fe81c
lea ecx, [esi + 0x3c]
jmp 0x100fe826
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + ebx]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebp, 4
add edi, 3
test esi, esi
jg 0x100fe793
pop edi
pop esi
mov byte [eax], 0
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0x1010b8c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1010b8c0
mov eax, 0x28
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
movzx eax, byte [edx]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
or edx, ecx
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov edi, dword [esp + 0x50]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2f], bl
mov byte [esp + 0x33], dl
test eax, eax
je 0x1010ba85
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x1010ba15
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call sym.libcrypto_1_1.dll_IDEA_encrypt
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
add esp, 8
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x1010b9b0
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x1010ba6c
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 0x18
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101aa6fb
add esp, 0x28
ret