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

Disassembly:
mov eax, 4
call fcn.100bab40
push ebx
mov ebx, dword [esp + 0x10]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0x10
push edi
mov edi, dword [esp + 0x1c]
test esi, esi
jle 0x101b4aae
cmp esi, 8
jb 0x101b4a92
lea eax, [esi - 1]
lea edx, [esi - 1]
add eax, edi
add edx, ebx
cmp ebx, eax
ja 0x101b49ea
cmp edx, edi
jae 0x101b4a92
mov edx, edi
push ebp
cmp esi, 0x40
jb 0x101b4a5d
mov eax, esi
lea ebp, [edi + 0x30]
and eax, 0xffffffc0
sub edx, ebx
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x10]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea ebp, [ebp + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebp - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebp - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, dword [esp + 0x10]
jl 0x101b4a03
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x101b4a8d
jmp 0x101b4a5f
sub edx, ebx
mov ebp, esi
lea eax, [ecx + ebx]
and ebp, 0xfffffff8
nop word [eax + eax]
movq xmm0, qword [eax]
lea eax, [eax + 8]
movq xmm1, qword [edx + eax - 8]
add ecx, 8
pxor xmm1, xmm0
movq qword [eax - 8], xmm1
cmp ecx, ebp
jl 0x101b4a70
pop ebp
cmp ecx, esi
jge 0x101b4aae
mov edx, esi
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
nop dword [eax + eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x101b4aa0
push esi
push ebx
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push ebx
push dword [eax + 8]
call fcn.1011b240
add esp, 0x14
test eax, eax
je 0x101b4ad7
xor eax, eax
cmp dword [esp + 0x20], esi
pop edi
pop esi
sete al
pop ebx
pop ecx
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x101b4c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
je 0x101b4ce3
mov edx, dword [esp + 0x10]
test edx, edx
je 0x101b4ce3
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [ebx + 0x14]
cmp edx, edi
cmovb edi, edx
test edi, edi
je 0x101b4cb0
push esi
mov esi, ebp
lea ecx, [ebx + 0x1c]
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub edi, 1
jne 0x101b4ca0
pop esi
mov eax, dword [ebx + 0x14]
cmp edx, eax
jbe 0x101b4ce1
sub edx, eax
cmp edx, 0x10
jbe 0x101b4cc5
mov edx, 0x10
jmp 0x101b4cc9
test edx, edx
je 0x101b4ce1
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [ebx + 0x14]
add eax, ecx
mov al, byte [eax + ebp]
xor byte [ebx + ecx + 0x3c], al
inc ecx
cmp ecx, edx
jb 0x101b4cd0
pop edi
pop ebx
pop ebp
ret
Function at 0x101b4f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x74
call fcn.100bab40
mov eax, dword [0x102db080]
xor eax, esp
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x78]
mov edx, 0x10
mov eax, dword [esp + 0x84]
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
mov esi, dword [ecx + 0x94]
mov dword [esp + 0x10], 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
movups xmm0, xmmword [esi + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, 1
push edi
mov dword [esp + 0x18], eax
movups xmmword [esp + 0x20], xmm0
nop
movzx eax, byte [edx + esi + 0x3b]
dec edx
add ecx, eax
mov byte [edx + esi + 0x3c], cl
shr ecx, 8
test edx, edx
jne 0x101b4fc0
movups xmm0, xmmword [esi + 0x3c]
movups xmmword [esp + 0x30], xmm0
cmp dword [esi + 0x14], 0x10
jne 0x101b4fe7
lea edi, [edx + 0x20]
jmp 0x101b5012
mov edx, 0x10
mov ecx, 1
movzx eax, byte [edx + esi + 0x3b]
dec edx
add ecx, eax
mov byte [edx + esi + 0x3c], cl
shr ecx, 8
test edx, edx
jne 0x101b4ff1
movups xmm0, xmmword [esi + 0x3c]
mov edi, 0x30
movups xmmword [esp + 0x40], xmm0
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esi]
call fcn.1011b240
add esp, 0x14
test eax, eax
je 0x101b5129
cmp dword [esp + 0x14], edi
jne 0x101b5129
push dword [esi + 0x14]
lea eax, [esp + 0x54]
push eax
lea ebx, [esi + 0x1c]
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x14]
add esp, 0xc
cmp dword [esi + 0x18], 0
movups xmm0, xmmword [esp + eax + 0x50]
movups xmmword [esi + 0x3c], xmm0
je 0x101b50bf
mov edi, dword [esp + 0x90]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebp, ebp
jne 0x101b507f
test ecx, ecx
jne 0x101b507f
test eax, eax
je 0x101b50a2
push dword [esp + 0x98]
push eax
push dword [esp + 0xa8]
push ecx
push edi
push ebp
push esi
call fcn.101b4cf0
add esp, 0x1c
test eax, eax
je 0x101b5129
test edi, edi
je 0x101b50e2
mov eax, dword [esp + 0x1c]
push dword [eax + 0x8c]
lea eax, [esi + 0x60]
push eax
push esi
call fcn.101b4c70
add esp, 0xc
jmp 0x101b50e2
push dword [esp + 0x90]
push ebp
push esi
call fcn.101b4c70
push dword [esp + 0xa4]
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.101b4c70
add esp, 0x18
push 0xffffffffffffffff
push 0
push ebx
push 0
push 0
push dword [esi]
call fcn.1011b210
add esp, 0x18
test eax, eax
je 0x101b5129
push 0xffffffffffffffff
push 0
push ebx
push 0
push 0
push dword [esi + 4]
call fcn.1011b210
add esp, 0x18
test eax, eax
je 0x101b5129
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100b9f43
add esp, 0x74
ret
mov ecx, dword [esp + 0x80]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b9f43
add esp, 0x74
ret
Function at 0x101b8695
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x101b85dd
xor eax, eax
pop ebx
ret
push edi
push dword [ebx + 4]
push 0
push dword [ebx + 8]
push dword [ebx]
call fcn.1014a370
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x101b8624
call fcn.1010b5b0
push str.ecx_gen
push 0x249
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.1010b6b0
push edi
push 0xc0100
push 0x39
call fcn.1010b760
add esp, 0x18
xor eax, eax
pop edi
pop ebx
ret
test byte [ebx + 0xc], 3
je 0x101b866f
push esi
push edi
call fcn.1014a2f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x101b8672
call fcn.1010b5b0
push str.ecx_gen
push 0x252
push str.providersimplementationskeymgmtecx_kmgmt.c
call fcn.1010b6b0
push esi
push 0xc0100
push 0x39
call fcn.1010b760
add esp, 0x18
push edi
call fcn.1014a310
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
ret
push 0
push dword [edi + 0x4c]
push esi
push dword [ebx]
call fcn.101344f0
add esp, 0x10
test eax, eax
jle 0x101b8663
mov eax, dword [ebx + 8]
cmp eax, 3
ja case.default.0x101b868e
jmp dword [eax*4 + 0x101b870c]
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
lea eax, [edi + 0xc]
push esi
push eax
call fcn.1015b760
add esp, 8
mov eax, edi
or dword [edi + 8], 1
pop esi
pop edi
pop ebx
ret
and byte [esi], 0xfc
lea eax, [edi + 0xc]
or byte [esi + 0x37], 0x80
push esi
push eax
call fcn.101649f0
add esp, 8
mov eax, edi
or dword [edi + 8], 1
pop esi
pop edi
pop ebx
ret
push dword [ebx + 4]
lea eax, [edi + 0xc]
push esi
push eax
push dword [ebx]
call fcn.1015b120
jmp 0x101b86f7
push dword [ebx + 4]
lea eax, [edi + 0xc]
push esi
push eax
push dword [ebx]
call fcn.10162dd0
add esp, 0x10
test eax, eax
je 0x101b8663
or dword [edi + 8], 1
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x101d7170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.100bab40
mov eax, dword [0x102db080]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
movzx edx, byte [ecx + 3]
mov dword [esp + 0x18], eax
movzx ebx, byte [ecx]
mov esi, dword [eax]
movzx eax, byte [ecx + 1]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], ecx
movzx eax, byte [ecx + 2]
shl eax, 0x10
or ebx, eax
mov ebp, dword [esp + 0x44]
movzx eax, byte [ecx + 5]
shl eax, 8
movzx edi, byte [ecx + 4]
movzx ecx, byte [ecx + 7]
or edi, eax
mov eax, dword [esp + 0x1c]
shl ecx, 8
shl edx, 0x18
or ebx, edx
mov dword [esp + 0x14], 0
movzx eax, byte [eax + 6]
or ecx, eax
mov dword [esp + 0x20], ebx
shl ecx, 0x10
mov eax, ebx
shr eax, 8
or edi, ecx
mov dword [esp + 0x2c], edi
mov ecx, edi
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ecx
shr eax, 0x18
mov dword [esp + 0x24], ecx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], cl
mov byte [esp + 0x33], al
bswap edx
mov byte [esp + 0x2f], dl
test ebp, ebp
je 0x101d7306
mov edi, dword [esp + 0x3c]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x101d72b3
push 1
push dword [esp + 0x2c]
lea eax, [esp + 0x28]
push eax
call fcn.10013080
mov ebx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ecx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], cl
mov byte [esp + 0x33], al
mov al, byte [esp + esi + 0x2c]
inc esi
mov edx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [edx + edi], al
inc edi
mov edx, dword [esp + 0x14]
test ebp, ebp
jne 0x101d7251
test edx, edx
je 0x101d7306
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [edx + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 2], al
mov eax, ecx
shr eax, 8
mov byte [edx + 5], al
mov eax, ecx
mov byte [edx], bl
shr ebx, 0x18
shr eax, 0x10
mov byte [edx + 4], cl
shr ecx, 0x18
mov byte [edx + 3], bl
mov byte [edx + 6], al
mov byte [edx + 7], cl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b9f43
add esp, 0x28
ret
Function at 0x101d7e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.100bab40
mov eax, dword [0x102db080]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
movzx edx, byte [ecx + 3]
mov dword [esp + 0x18], eax
movzx ebx, byte [ecx]
mov esi, dword [eax]
movzx eax, byte [ecx + 1]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], ecx
movzx eax, byte [ecx + 2]
shl eax, 0x10
or ebx, eax
mov ebp, dword [esp + 0x4c]
movzx eax, byte [ecx + 5]
shl eax, 8
movzx edi, byte [ecx + 4]
movzx ecx, byte [ecx + 7]
or edi, eax
mov eax, dword [esp + 0x1c]
shl ecx, 8
shl edx, 0x18
or ebx, edx
mov dword [esp + 0x14], 0
movzx eax, byte [eax + 6]
or ecx, eax
mov dword [esp + 0x20], ebx
shl ecx, 0x10
mov eax, ebx
shr eax, 8
or edi, ecx
mov dword [esp + 0x34], edi
mov ecx, edi
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ecx
shr eax, 0x18
mov dword [esp + 0x24], ecx
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], cl
mov byte [esp + 0x3b], al
bswap edx
mov byte [esp + 0x37], dl
test ebp, ebp
je 0x101d7fe0
mov edi, dword [esp + 0x44]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x101d7f89
push dword [esp + 0x28]
lea eax, [esp + 0x24]
push dword [esp + 0x30]
push dword [esp + 0x38]
push eax
call fcn.100131e0
mov ebx, dword [esp + 0x30]
add esp, 0x10
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ecx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], cl
mov byte [esp + 0x3b], al
mov al, byte [esp + esi + 0x34]
inc esi
mov edx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [edx + edi], al
inc edi
mov edx, dword [esp + 0x14]
test ebp, ebp
jne 0x101d7f21
test edx, edx
je 0x101d7fe0
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [edx + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 2], al
mov eax, ecx
shr eax, 8
mov byte [edx + 5], al
mov eax, ecx
mov byte [edx], bl
shr ebx, 0x18
shr eax, 0x10
mov byte [edx + 4], cl
shr ecx, 0x18
mov byte [edx + 3], bl
mov byte [edx + 6], al
mov byte [edx + 7], cl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b9f43
add esp, 0x30
ret
Function at 0x101d9a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.100bab40
mov eax, dword [0x102db080]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
push esi
push edi
mov edi, dword [esp + 0x4c]
mov esi, dword [eax]
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0
test esi, esi
jns 0x101d9a81
pop edi
pop esi
mov dword [eax], 0xffffffff
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100b9f43
add esp, 0x2c
ret
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
movzx edx, byte [edi + 4]
shl eax, 8
shl ecx, 0x10
push ebx
movzx ebx, byte [edi]
shl ebx, 0x18
or ecx, ebx
shl edx, 0x18
or ecx, eax
movzx eax, byte [edi + 3]
movzx edi, byte [edi + 5]
or ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
shl edi, 0x10
or edi, edx
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 7]
shl ecx, 8
or ecx, eax
or edi, ecx
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov dword [esp + 0x18], edi
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 8
bswap edx
mov byte [esp + 0x32], al
mov byte [esp + 0x34], dl
mov edx, edi
mov eax, edx
mov dword [esp + 0x20], ecx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
mov dword [esp + 0x24], edi
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
bswap ebx
mov byte [esp + 0x30], bl
test ebp, ebp
je 0x101d9bde
mov edi, dword [esp + 0x40]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x101d9b81
push dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
call fcn.101d9010
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
inc dword [esp + 0x14]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
inc esi
mov ebx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ebx + edi], al
inc edi
mov ebx, dword [esp + 0x14]
mov eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
jne 0x101d9b21
test ebx, ebx
je 0x101d9bde
mov ebx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x18
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ebx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 5], al
mov eax, edx
shr eax, 8
mov byte [ebx + 3], cl
mov byte [ebx + 6], al
mov byte [ebx + 7], dl
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
pop ebx
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor ecx, esp
call fcn.100b9f43
add esp, 0x2c
ret
Function at 0x101da740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.100bab40
mov eax, dword [0x102db080]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x50]
movzx edx, byte [ecx + 3]
mov dword [esp + 0x18], eax
movzx ebx, byte [ecx]
mov esi, dword [eax]
movzx eax, byte [ecx + 1]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], ecx
movzx eax, byte [ecx + 2]
shl eax, 0x10
or ebx, eax
mov ebp, dword [esp + 0x44]
movzx eax, byte [ecx + 5]
shl eax, 8
movzx edi, byte [ecx + 4]
movzx ecx, byte [ecx + 7]
or edi, eax
mov eax, dword [esp + 0x1c]
shl ecx, 8
shl edx, 0x18
or ebx, edx
mov dword [esp + 0x14], 0
movzx eax, byte [eax + 6]
or ecx, eax
mov dword [esp + 0x20], ebx
shl ecx, 0x10
mov eax, ebx
shr eax, 8
or edi, ecx
mov dword [esp + 0x2c], edi
mov ecx, edi
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ecx
shr eax, 0x18
mov dword [esp + 0x24], ecx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], cl
mov byte [esp + 0x33], al
bswap edx
mov byte [esp + 0x2f], dl
test ebp, ebp
je 0x101da8d4
mov edi, dword [esp + 0x3c]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x101da881
push dword [esp + 0x28]
lea eax, [esp + 0x24]
push eax
call fcn.101da400
mov ebx, dword [esp + 0x28]
add esp, 8
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, ecx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], cl
mov byte [esp + 0x33], al
mov al, byte [esp + esi + 0x2c]
inc esi
mov edx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [edx + edi], al
inc edi
mov edx, dword [esp + 0x14]
test ebp, ebp
jne 0x101da821
test edx, edx
je 0x101da8d4
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [edx + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 2], al
mov eax, ecx
shr eax, 8
mov byte [edx + 5], al
mov eax, ecx
mov byte [edx], bl
shr ebx, 0x18
shr eax, 0x10
mov byte [edx + 4], cl
shr ecx, 0x18
mov byte [edx + 3], bl
mov byte [edx + 6], al
mov byte [edx + 7], cl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b9f43
add esp, 0x28
ret
Function at 0x101daca0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.100bab40
mov eax, dword [0x102db080]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
push ebx
push ebp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x14], 0
movzx ebx, byte [edi]
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
movzx edx, byte [edi + 4]
shl eax, 8
shl ecx, 0x10
shl ebx, 0x18
or ecx, ebx
shl edx, 0x18
or ecx, eax
movzx eax, byte [edi + 3]
movzx edi, byte [edi + 5]
or ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
shl edi, 0x10
or edi, edx
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 7]
shl ecx, 8
or ecx, eax
or edi, ecx
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov dword [esp + 0x28], edi
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 8
bswap edx
mov byte [esp + 0x32], al
mov byte [esp + 0x34], dl
mov edx, edi
mov eax, edx
mov dword [esp + 0x20], ecx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
mov dword [esp + 0x24], edi
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
bswap ebx
mov byte [esp + 0x30], bl
test ebp, ebp
je 0x101dae3c
mov edi, dword [esp + 0x40]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x101dade5
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
call fcn.10014040
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
inc dword [esp + 0x14]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
inc esi
mov ebx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ebx + edi], al
inc edi
mov ebx, dword [esp + 0x14]
test ebp, ebp
jne 0x101dad85
test ebx, ebx
je 0x101dae3c
mov ebx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x18
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ebx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 5], al
mov eax, edx
shr eax, 8
mov byte [ebx + 3], cl
mov byte [ebx + 6], al
mov byte [ebx + 7], dl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b9f43
add esp, 0x2c
ret
Function at 0x101dd0f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x2c
call fcn.100bab40
mov eax, dword [0x102db080]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
push ebx
push ebp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x1c], edi
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x14], 0
movzx ebx, byte [edi]
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
movzx edx, byte [edi + 4]
shl eax, 8
shl ecx, 0x10
shl ebx, 0x18
or ecx, ebx
shl edx, 0x18
or ecx, eax
movzx eax, byte [edi + 3]
movzx edi, byte [edi + 5]
or ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
shl edi, 0x10
or edi, edx
movzx ecx, byte [eax + 6]
movzx eax, byte [eax + 7]
shl ecx, 8
or ecx, eax
or edi, ecx
mov ecx, dword [esp + 0x30]
mov eax, ecx
mov dword [esp + 0x28], edi
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 8
bswap edx
mov byte [esp + 0x32], al
mov byte [esp + 0x34], dl
mov edx, edi
mov eax, edx
mov dword [esp + 0x20], ecx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
mov dword [esp + 0x24], edi
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
bswap ebx
mov byte [esp + 0x30], bl
test ebp, ebp
je 0x101dd28c
mov edi, dword [esp + 0x40]
sub dword [esp + 0x10], edi
dec ebp
test esi, esi
jne 0x101dd235
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
call fcn.101dcae0
mov ecx, dword [esp + 0x28]
add esp, 8
mov edx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
inc dword [esp + 0x14]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov al, byte [esp + esi + 0x30]
inc esi
mov ebx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ebx + edi], al
inc edi
mov ebx, dword [esp + 0x14]
test ebp, ebp
jne 0x101dd1d5
test ebx, ebx
je 0x101dd28c
mov ebx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x18
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ebx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 5], al
mov eax, edx
shr eax, 8
mov byte [ebx + 3], cl
mov byte [ebx + 6], al
mov byte [ebx + 7], dl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100b9f43
add esp, 0x2c
ret