joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a69a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10181488
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x101e6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xffffffff
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0xffffffff
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebp - 4], 0
push 0x24
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
call fcn.1015144f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 0x34], eax
mov ecx, 0xb4
mov byte [ebp - 4], 1
mov eax, edi
mov word [ebx + 0x3c], 0
mul ecx
mov ecx, 0xffffffff
mov dword [ebp + 0x10], edi
cmovb eax, ecx
add eax, 4
cmovb eax, ecx
push eax
call fcn.101784f9
add esp, 8
mov dword [ebp - 0x14], eax
push 0x100a6b70
push 0x100a6890
push edi
lea esi, [eax + 4]
mov byte [ebp - 4], 2
push 0xb4
push esi
mov dword [eax], edi
call fcn.10178510
mov byte [ebp - 4], 1
mov dword [ebx + 8], esi
test esi, esi
je 0x100a6b4c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
push 0x77359400
push edi
push 0
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov esi, dword [ebp + 8]
push 0
push 0x77359400
push esi
push 0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], esi
test edi, edi
jle 0x100a6b36
xor esi, esi
mov edi, dword [ebx + 8]
push 0
push 0x77359400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 0x77359400
push 0
mov dword [edi + esi + 0x8c], eax
mov dword [edi + esi + 0x90], 0
mov edi, dword [ebx + 8]
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
sub dword [ebp + 0xc], 1
lea esi, [esi + 0xb4]
mov dword [edi + esi - 0x20], eax
mov dword [edi + esi - 0x1c], 0
jne 0x100a6ae4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x20]
call fcn.100a7b90
push 0x101e4684
lea eax, [ebp - 0x20]
push eax
call fcn.10153200
int3
Function at 0x100ab9d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [edx*4 + 0x101eb0a8], eax
inc edx
cmp edx, 0x100
jb 0x100ab9d2
push esi
mov eax, 0x101eb0ac
mov esi, 0x1c0
mov edx, dword [eax - 4]
lea eax, [eax + 0x10]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x101eb0a8]
mov dword [eax + 0x3ec], edx
mov edx, dword [eax - 0x10]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x101eb0a8]
mov dword [eax + 0x3f0], edx
mov edx, dword [eax - 0xc]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x101eb0a8]
mov dword [eax + 0x3f4], edx
mov edx, dword [eax - 8]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x101eb0a8]
mov dword [eax + 0x3f8], edx
sub esi, 1
jne 0x100aba77
pop esi
mov dword [0x101eb0a4], 0x10108970
ret
Function at 0x100abfa0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [edi]
cmp eax, 0x3f
jne 0x100ac021
xor edx, edx
cmp dword [edi + 4], edx
jbe 0x100abfd2
lea ecx, [edi + 0x20]
mov al, byte [ecx - 0x18]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
cmp edx, dword [edi + 4]
jb 0x100abfc3
xor ecx, ecx
cmp dword [edi + 0x1c], ecx
jbe 0x100abff9
lea esi, [edi + 0x20]
add esi, edx
nop
cmp edx, 0x20
jae 0x100ac19d
mov eax, dword [edi + 0x18]
inc edx
mov al, byte [ecx + eax]
inc ecx
mov byte [esi], al
inc esi
cmp ecx, dword [edi + 0x1c]
jb 0x100abfe0
cmp edx, 0x20
jae 0x100ac19d
mov eax, 0x20
lea ecx, [edi + 0x20]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.10152e30
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [edi + 4]
mov ecx, 6
cmp eax, ecx
mov edx, 1
cmovbe ecx, eax
shl edx, cl
mov ecx, dword [edi + 0x1c]
add ecx, 8
mov dword [esp + 0x14], edx
add ebx, ecx
mov eax, ebx
imul eax, edx
mov dword [esp + 0x20], eax
lea eax, [eax + ebx*2]
sub eax, 0xffffff80
push eax
push 0x1019f078
mov dword [esp + 0x2c], eax
call fcn.100d32f0
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
test esi, esi
je 0x100ac1a4
push dword [edi + 4]
lea eax, [edi + 8]
lea ecx, [esi + 0x80]
push eax
push ecx
mov dword [esp + 0x18], ecx
call fcn.101528b0
mov eax, dword [edi + 4]
lea ecx, [esi + 0x80]
add esp, 0xc
add eax, ecx
push dword [edi + 0x1c]
push dword [edi + 0x18]
push eax
call fcn.101528b0
lea edx, [esi + 0x80]
xorps xmm0, xmm0
lea eax, [ebx - 8]
add esp, 0xc
add eax, edx
mov dword [esp + 0x1c], eax
movq qword [eax], xmm0
mov eax, dword [esp + 0x14]
mov dword [esi], 0x10109b20
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
mov esi, edx
cmp eax, 1
jbe 0x100ac12e
lea edi, [eax - 1]
push ebx
push edx
add esi, ebx
push esi
call fcn.101528b0
mov edx, dword [esp + 0x18]
add esp, 0xc
sub edi, 1
jne 0x100ac114
mov edi, dword [esp + 0x18]
mov ecx, dword [edi]
mov eax, 1
mov edi, dword [esp + 0x10]
shl eax, cl
xor esi, esi
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1c]
mov eax, esi
add esi, dword [esp + 0x14]
nop dword [eax + eax]
mov dword [ecx], eax
inc eax
add ecx, ebx
cmp eax, esi
jb 0x100ac150
push dword [esp + 0x20]
mov ecx, edi
call fcn.1010a060
add esp, 4
lea edx, [edi + 0x80]
cmp esi, dword [esp + 0xc]
jb 0x100ac141
mov edx, dword [esp + 0x18]
mov ebx, edi
mov ecx, ebx
lea edx, [edx + 0x20]
call fcn.1010a0f0
push dword [esp + 0x24]
push 0
push ebx
call fcn.10152e30
add esp, 0xc
push dword [ebx - 4]
call fcn.10154f5a
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x101e45c8
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
call fcn.10153200
int3
Function at 0x100ad850
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [ecx + 0x91c]
add edx, 2
push ebp
mov ebp, dword [ecx + 0x920]
push esi
mov esi, dword [ecx + 0x914]
push edi
mov edi, dword [ecx + 0x918]
mov dword [esp + 0x14], 4
nop dword [eax + eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
xor esi, dword [ecx + eax*4 + 0x414]
mov dword [ecx + 0x914], esi
movzx eax, byte [edx - 5]
xor edi, dword [ecx + eax*4 + 0x414]
mov dword [ecx + 0x918], edi
movzx eax, byte [edx - 4]
xor ebx, dword [ecx + eax*4 + 0x414]
mov dword [ecx + 0x91c], ebx
movzx eax, byte [edx - 3]
xor ebp, dword [ecx + eax*4 + 0x414]
sub dword [esp + 0x14], 1
mov dword [ecx + 0x920], ebp
jne 0x100ad880
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x100aea60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, ecx
push esi
mov esi, edx
mov dword [esp + 4], eax
push edi
cmp dword [eax], 2
lea edi, [eax + 4]
mov dword [esp + 0xc], esi
jne 0x100aeb83
mov eax, dword [edi]
mov edx, 0x20
push 0
push 0
push 0
mov dword [esp + 0x44], eax
mov ecx, esi
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x4c]
push 4
push eax
call fcn.100aded0
add esp, 0x1c
mov dword [edi], 0
xor esi, esi
xor eax, eax
cmp dword [0x101ea508], 5
jl 0x100aeb62
movaps xmm4, xmmword [0x101d34e0]
lea eax, [esi + 4]
movaps xmm5, xmmword [0x101d34f0]
xor ecx, ecx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop word [eax + eax]
movd xmm0, ecx
add ecx, 8
pshufd xmm1, xmm0, 0
pmovzxbd xmm0, dword [esp + eax + 0xc]
paddd xmm1, xmm4
andps xmm1, xmm5
pslld xmm1, 3
vpsllvd xmm0, xmm0, xmm1
xorps xmm3, xmm0
movd xmm0, eax
pshufd xmm1, xmm0, 0
pmovzxbd xmm0, dword [esp + eax + 0x10]
paddd xmm1, xmm4
add eax, 8
andps xmm1, xmm5
pslld xmm1, 3
vpsllvd xmm0, xmm0, xmm1
xorps xmm2, xmm0
cmp eax, 0x24
jb 0x100aeaf0
xorps xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
xorps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
xorps xmm2, xmm0
movd esi, xmm2
jmp 0x100aeb79
movzx edx, byte [esp + eax + 0x10]
mov ecx, eax
and ecx, 3
inc eax
shl ecx, 3
shl edx, cl
xor esi, edx
cmp eax, 0x20
jb 0x100aeb62
mov eax, dword [esp + 8]
mov dword [edi], esi
mov esi, dword [esp + 0xc]
cmp dword [eax], 3
jne 0x100aebb8
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov edx, 0x20
push eax
push 0x20
push edi
mov ecx, esi
call fcn.100aded0
movups xmm0, xmmword [esp + 0x2c]
add esp, 0x1c
movups xmmword [edi], xmm0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [edi + 0x10], xmm0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret
Function at 0x100b98f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018198b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101e6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x8008
mov byte [edi + 0xc], 0
call fcn.101784f9
push 0x8008
push 0
push eax
mov dword [edi + 0x10], eax
call fcn.10152e30
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
push 0x80
lea esi, [edi + 0x2d34]
push 0
push esi
call fcn.10152e30
push 0x80
lea eax, [esi + 0x80]
push 0
push eax
call fcn.10152e30
mov dword [esi + 0x100], 0
mov dword [edi + 0xad5c], 0
mov dword [edi + 0x6914], 0
mov dword [edi + 0x691c], 0
mov dword [edi + 0x6918], 0
mov dword [edi + 0xb05c], 0
mov byte [ebp - 4], 6
push 0x8008
mov byte [edi + 0xb088], 0
call fcn.101784f9
push 0x8008
push 0
push eax
mov dword [edi + 0xb08c], eax
call fcn.10152e30
mov eax, dword [ebp + 8]
add esp, 0x38
mov dword [edi + 0xb090], 0
mov ecx, edi
mov dword [edi + 0xb094], 0
mov dword [edi + 0xb098], 0
mov dword [edi + 0xb09c], 0
mov dword [edi + 0xb0a0], 0
mov dword [edi + 0xb0a4], 0
mov dword [edi + 0xb0a8], 0
mov dword [edi + 0xb0ac], 0
mov dword [edi + 0xb0b0], 0
push 0
mov dword [edi], eax
mov dword [edi + 0x2d30], 0
mov byte [edi + 0x2e38], 0
mov word [edi + 0x2e48], 0
mov byte [edi + 0x2e4a], 0
mov byte [edi + 0xb0c8], 0
mov dword [edi + 0x1c], 1
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0xb0b8], 0
mov dword [edi + 0xb0bc], 0
mov dword [edi + 0xb0c0], 0
mov dword [edi + 0xb0c4], 0
call fcn.100ba290
mov dword [edi + 0x3974], 0
mov dword [edi + 0x3978], 0
mov dword [edi + 0x3970], 0
mov ecx, edi
mov dword [edi + 0x396c], 0
mov dword [edi + 0x3968], 0
mov dword [edi + 0x3964], 0
mov dword [edi + 0x3960], 0x3500
mov dword [edi + 0x3990], 0x2001
mov dword [edi + 0x398c], 0x80
mov dword [edi + 0x3988], 0x80
mov dword [edi + 0x3984], 0
mov dword [edi + 0x395c], 0
mov dword [edi + 0x397c], 0
mov dword [edi + 0x3980], 0
mov dword [edi + 0x74], 0
call fcn.100b40c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100bb3a0
Capabilities:
Hash data using crc32b

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 2
push esi
push edi
lea esi, [eax - 1]
cmp ecx, esi
jbe 0x100bb427
push ebx
test cl, 1
je 0x100bb3ea
xor edi, edi
mov ebx, eax
test esi, esi
je 0x100bb3e8
test ebx, ebx
je 0x100bb3e4
test bl, 1
mov edx, esi
mov ecx, 0
cmovne ecx, esi
sar edx, 0x1f
and edx, 0x4c11db7
shr ebx, 1
add esi, esi
xor edi, ecx
xor esi, edx
jne 0x100bb3c0
mov ecx, dword [esp + 0x10]
mov esi, edi
xor ebx, ebx
mov edi, eax
test eax, eax
je 0x100bb419
test eax, eax
je 0x100bb415
test al, 1
mov edx, edi
mov ecx, 0
cmovne ecx, edi
sar edx, 0x1f
and edx, 0x4c11db7
shr eax, 1
add edi, edi
xor ebx, ecx
xor edi, edx
jne 0x100bb3f2
mov ecx, dword [esp + 0x10]
shr ecx, 1
mov eax, ebx
mov dword [esp + 0x10], ecx
cmp ecx, 1
ja 0x100bb3b3
pop ebx
xor edi, edi
test esi, esi
je 0x100bb453
nop dword [eax]
test eax, eax
je 0x100bb453
test al, 1
mov edx, esi
mov ecx, 0
cmovne ecx, esi
sar edx, 0x1f
and edx, 0x4c11db7
shr eax, 1
add esi, esi
xor edi, ecx
xor esi, edx
jne 0x100bb430
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x100bb960
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
mov esi, dword [edi + 0x20]
mov ebx, esi
mov ebp, dword [edi + 0x24]
and esi, 0x3f
shld ebp, ebx, 3
shl ebx, 3
mov byte [esi + edi + 0x28], 0x80
inc esi
cmp esi, 0x38
je 0x100bb9c8
jbe 0x100bb9b0
cmp esi, 0x40
jae 0x100bb9a7
mov eax, 0x40
lea ecx, [edi + 0x28]
sub eax, esi
add ecx, esi
push eax
push 0
push ecx
call fcn.10152e30
add esp, 0xc
mov ecx, edi
xor esi, esi
call fcn.100bb710
mov eax, 0x38
sub eax, esi
push eax
lea eax, [edi + 0x28]
add eax, esi
push 0
push eax
call fcn.10152e30
add esp, 0xc
bswap ebp
bswap ebx
mov ecx, edi
mov dword [edi + 0x60], ebp
mov dword [edi + 0x64], ebx
call fcn.100bb710
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
bswap eax
mov dword [ecx], eax
mov eax, dword [edi + 4]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
bswap eax
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
bswap eax
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x18]
bswap eax
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x1c]
bswap eax
mov dword [ecx + 0x1c], eax
mov dword [edi], 0x6a09e667
mov dword [edi + 4], 0xbb67ae85
mov dword [edi + 8], 0x3c6ef372
mov dword [edi + 0xc], 0xa54ff53a
mov dword [edi + 0x10], 0x510e527f
mov dword [edi + 0x14], 0x9b05688c
mov dword [edi + 0x18], 0x1f83d9ab
mov dword [edi + 0x1c], 0x5be0cd19
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x100be2a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
mov ebx, edx
mov eax, 1
mov edx, dword [esp + 0xc]
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0xc], ebx
mov esi, dword [edx + 0x1238]
mov ecx, 0x3020100
push edi
mov dword [edx + 0x1240], 0x3020100
nop dword [eax + eax]
add ecx, 0x4040404
mov dword [edx + eax*4 + 0x1240], ecx
inc eax
cmp eax, esi
jbe 0x100be2d0
xor edi, edi
xor esi, esi
test ebx, ebx
je 0x100be32e
nop word [eax + eax]
movzx eax, byte [esi + ebp]
mov ebx, dword [esp + 0x18]
or edi, eax
mov cl, byte [eax + edx + 0x1240]
mov byte [esi + ebp], cl
mov byte [edx + 0x123f], cl
nop word [eax + eax]
mov cl, byte [ebx + eax + 0x123f]
mov edx, eax
sub eax, 1
mov byte [edx + ebx + 0x1240], cl
jns 0x100be310
inc esi
mov edx, ebx
cmp esi, dword [esp + 0x10]
jb 0x100be2f0
shr edi, 2
mov dword [edx + 0x1238], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x100c5fc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10182110
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101e6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 4]
mov dword [ecx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
lea ebx, [ecx + 0x24]
mov dword [ebp - 0x14], eax
lea edi, [ecx + 0x28]
mov dword [eax], 0
push 8
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.1015144f
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10177521
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
mov dword [eax + 0x34], esi
lea esi, [eax + 4]
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov dword [ebx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100d7780
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov eax, dword [ebx]
test eax, eax
jne 0x100d7793
cmp dword [esi], eax
je 0x100d77ad
jmp 0x100d77a1
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebx], 0
mov dword [esi], 0
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x100d77cd
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebx], eax
test eax, eax
je 0x100d77d1
mov dword [esi], edi
pop edi
pop esi
pop ebx
ret
mov ecx, str.allocx_failed
mov dword [esi], 0
call fcn.100d7670
int3

Function at 0x100d9e50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
push 0x98
push 0
mov dword [esp + 0x18], edi
lea eax, [edi + 0x110]
push eax
call fcn.10152e30
mov eax, dword [edi + 0x30]
add esp, 0xc
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x1010100
mov dword [ecx + 8], 0
nop word [eax + eax]
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x100d9ef0
lea eax, [edi + 0x9fc]
xor ebx, ebx
mov dword [esp + 0xc], eax
push ebp
mov esi, eax
lea ebp, [ebx + 2]
xor edi, edi
nop dword [eax + eax]
movzx eax, word [edi + 0x101a1c30]
xor edx, edx
div ebp
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop word [eax + eax]
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x100d9f40
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x100d9f20
mov eax, dword [esp + 0x10]
inc ebx
sub eax, 0xffffff80
mov dword [esp + 0x10], eax
cmp ebx, 0x80
jb 0x100d9f14
mov ebx, dword [esp + 0x14]
mov esi, 0x50
pop ebp
lea edi, [ebx + 0x3bc]
nop dword [eax + eax]
mov eax, edi
movzx edx, si
mov ecx, 0x10
nop word [eax + eax]
mov word [eax], dx
lea eax, [eax + 4]
mov word [eax - 2], 0x403
sub ecx, 1
jne 0x100d9f90
add esi, 0x28
add edi, 0x40
cmp esi, 0x438
jb 0x100d9f80
pop edi
pop esi
mov dword [ebx + 0x3b8], 0x40070000
pop ebx
add esp, 8
ret
Function at 0x100e3fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
xor eax, eax
nop dword [eax]
xor esi, esi
xor edx, edx
mov edi, eax
mov ecx, eax
and edi, 1
neg edi
adc esi, edx
and edi, 0xd7870f42
shrd ecx, edx, 1
neg esi
xor edi, ecx
shr edx, 1
and esi, 0xc96c5795
xor ecx, ecx
xor esi, edx
mov ebx, edi
and ebx, 1
neg ebx
adc ecx, ecx
xor edx, edx
shrd edi, esi, 1
neg ecx
and ebx, 0xd7870f42
and ecx, 0xc96c5795
shr esi, 1
xor ecx, esi
xor ebx, edi
mov esi, ebx
and esi, 1
neg esi
adc edx, edx
and esi, 0xd7870f42
shrd ebx, ecx, 1
neg edx
xor esi, ebx
shr ecx, 1
and edx, 0xc96c5795
mov edi, esi
xor edx, ecx
and edi, 1
xor ecx, ecx
neg edi
adc ecx, ecx
and edi, 0xd7870f42
shrd esi, edx, 1
neg ecx
xor edi, esi
shr edx, 1
and ecx, 0xc96c5795
mov esi, edi
xor ecx, edx
and esi, 1
xor edx, edx
neg esi
adc edx, edx
and esi, 0xd7870f42
shrd edi, ecx, 1
neg edx
xor esi, edi
shr ecx, 1
and edx, 0xc96c5795
mov edi, esi
xor edx, ecx
and edi, 1
xor ecx, ecx
neg edi
adc ecx, ecx
and edi, 0xd7870f42
shrd esi, edx, 1
neg ecx
xor edi, esi
shr edx, 1
and ecx, 0xc96c5795
mov ebx, edi
xor esi, esi
and ebx, 1
xor ecx, edx
neg ebx
adc esi, esi
neg esi
and ebx, 0xd7870f42
shrd edi, ecx, 1
and esi, 0xc96c5795
shr ecx, 1
xor ebx, edi
xor esi, ecx
mov edx, ebx
xor ecx, ecx
and edx, 1
neg edx
adc ecx, ecx
and edx, 0xd7870f42
shrd ebx, esi, 1
neg ecx
and ecx, 0xc96c5795
shr esi, 1
xor edx, ebx
xor ecx, esi
mov dword [eax*8 + 0x101ed1b0], edx
mov dword [eax*8 + 0x101ed1b4], ecx
inc eax
cmp eax, 0x100
jb 0x100e3fe0
mov esi, 0x101ed1b8
mov edi, 0x80
mov ecx, dword [esi - 8]
lea esi, [esi + 0x30]
mov edx, dword [esi - 0x34]
movzx eax, cl
shrd ecx, edx, 8
shr edx, 8
xor edx, dword [eax*8 + 0x101ed1b4]
xor ecx, dword [eax*8 + 0x101ed1b0]
mov dword [esi + 0x7cc], edx
mov edx, dword [esi - 0x2c]
mov dword [esi + 0x7c8], ecx
mov ecx, dword [esi - 0x30]
movzx eax, cl
shrd ecx, edx, 8
shr edx, 8
xor edx, dword [eax*8 + 0x101ed1b4]
xor ecx, dword [eax*8 + 0x101ed1b0]
mov dword [esi + 0x7d4], edx
mov edx, dword [esi - 0x24]
mov dword [esi + 0x7d0], ecx
mov ecx, dword [esi - 0x28]
movzx eax, cl
shrd ecx, edx, 8
shr edx, 8
xor edx, dword [eax*8 + 0x101ed1b4]
xor ecx, dword [eax*8 + 0x101ed1b0]
mov dword [esi + 0x7dc], edx
mov edx, dword [esi - 0x1c]
mov dword [esi + 0x7d8], ecx
mov ecx, dword [esi - 0x20]
movzx eax, cl
shrd ecx, edx, 8
shr edx, 8
xor edx, dword [eax*8 + 0x101ed1b4]
xor ecx, dword [eax*8 + 0x101ed1b0]
mov dword [esi + 0x7e4], edx
mov edx, dword [esi - 0x14]
mov dword [esi + 0x7e0], ecx
mov ecx, dword [esi - 0x18]
movzx eax, cl
shrd ecx, edx, 8
shr edx, 8
xor edx, dword [eax*8 + 0x101ed1b4]
xor ecx, dword [eax*8 + 0x101ed1b0]
mov dword [esi + 0x7ec], edx
mov edx, dword [esi - 0xc]
mov dword [esi + 0x7e8], ecx
mov ecx, dword [esi - 0x10]
movzx eax, cl
shrd ecx, edx, 8
shr edx, 8
xor ecx, dword [eax*8 + 0x101ed1b0]
xor edx, dword [eax*8 + 0x101ed1b4]
mov dword [esi + 0x7f0], ecx
mov dword [esi + 0x7f4], edx
sub edi, 1
jne 0x100e4120
pop edi
pop esi
mov dword [0x101f5578], 0x10125ab0
pop ebx
mov esp, ebp
pop ebp
ret