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

Disassembly:
mov eax, ecx
push ebx
push esi
push edi
mov ebx, dword [eax + 0x34]
cmp ebx, 0xa
jae 0x100ad8e1
nop dword [eax]
mov esi, dword [eax]
cmp esi, 8
jae 0x100ad8bb
mov edi, dword [eax + 8]
cmp edi, dword [eax + 0xc]
je 0x100ad9a6
movzx edx, byte [edi]
mov ecx, 0x18
sub ecx, esi
shl edx, cl
lea ecx, [edi + 1]
or dword [eax + 4], edx
add esi, 8
mov dword [eax + 8], ecx
mov edx, dword [eax + 4]
mov ecx, edx
shl ecx, 8
mov dword [eax + 4], ecx
lea ecx, [esi - 8]
shr edx, 0x18
mov dword [eax], ecx
mov byte [ebx + eax + 0x7a96], dl
mov ebx, dword [eax + 0x34]
inc ebx
mov dword [eax + 0x34], ebx
cmp ebx, 0xa
jb 0x100ad890
movzx edx, byte [eax + 0x7a9c]
movzx ecx, byte [eax + 0x7a9d]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x7a9e]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 0x7a9f]
shl edx, 8
or edx, ecx
mov dword [eax + 0x7aa0], edx
mov cl, byte [eax + 0x7a96]
cmp cl, 0x31
jne 0x100ad9ac
cmp byte [eax + 0x7a97], 0x41
jne 0x100ada42
cmp byte [eax + 0x7a98], 0x59
jne 0x100ada42
cmp byte [eax + 0x7a99], 0x26
jne 0x100ada42
cmp byte [eax + 0x7a9a], 0x53
jne 0x100ada42
cmp byte [eax + 0x7a9b], 0x59
jne 0x100ada42
cmp byte [eax + 0x7aa8], 0
jne 0x100ad979
add dword [eax + 0x7ab0], 1
adc dword [eax + 0x7ab4], 0
add dword [eax + 0x7ab8], 1
mov byte [eax + 0x7aa8], 1
mov ecx, dword [eax + 0x7aa4]
adc dword [eax + 0x7abc], 0
ror ecx, 0x1f
xor ecx, edx
mov dword [eax + 0x7aa4], ecx
mov dword [eax + 0x30], 2
pop edi
pop esi
xor eax, eax
pop ebx
ret
cmp cl, 0x17
jne 0x100ada42
cmp byte [eax + 0x7a97], 0x72
jne 0x100ada42
cmp byte [eax + 0x7a98], 0x45
jne 0x100ada42
cmp byte [eax + 0x7a99], 0x38
jne 0x100ada42
cmp byte [eax + 0x7a9a], 0x50
jne 0x100ada42
cmp byte [eax + 0x7a9b], 0x90
jne 0x100ada42
cmp byte [eax + 0x7aa8], 0
jne 0x100ad9fd
add dword [eax + 0x7ab0], 1
adc dword [eax + 0x7ab4], 0
mov esi, dword [eax + 4]
mov byte [eax + 0x7aa8], 1
test esi, esi
je 0x100ada12
mov byte [eax + 0x7aaa], 1
mov edx, dword [eax]
mov ecx, edx
and ecx, 7
mov dword [eax + 0x30], 0xb
sub edx, ecx
shl esi, cl
mov ecx, dword [eax + 0x7aa0]
mov dword [eax], edx
mov dword [eax + 4], esi
cmp ecx, dword [eax + 0x7aa4]
je 0x100ad9a6
mov byte [eax + 0x7aa9], 1
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x100c0b50
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xb0], 2
mov dword [esi + 0xac], 0
jne 0x100c0b8c
push 1
call fcn.100c0a70
test eax, eax
je 0x100c0b82
push dword [esi + 0x74]
mov ecx, esi
push dword [esi + 0x70]
call fcn.100c00f0
pop esi
pop ecx
ret
mov dword [esi + 0xb0], 0
mov eax, dword [esi + 0x3c]
mov ecx, 8
sub ecx, dword [esi + 0x38]
shr eax, cl
mov ecx, 8
shr eax, 0x10
cmp dword [esi + 0x9c], 0x25
push ebx
push ebp
movzx ebp, al
mov ebx, 0x1011da60
mov eax, 0x1011da90
cmovae ebx, eax
mov eax, dword [esi + 0xa8]
add eax, 0x10
add eax, ebx
mov dword [esp + 0xc], eax
movzx edx, byte [ebx]
xor edx, ebp
movzx eax, byte [eax]
sub ecx, eax
push edi
shr edx, cl
xor edi, edi
test edx, edx
je 0x100c0bfd
mov edx, dword [esp + 0x10]
sub edx, ebx
movzx eax, byte [ebx + edx + 1]
lea ebx, [ebx + 1]
mov ecx, 8
inc edi
sub ecx, eax
movzx eax, byte [ebx]
xor eax, ebp
shr eax, cl
test eax, eax
jne 0x100c0be2
mov eax, dword [esp + 0x10]
movzx eax, byte [edi + eax]
add eax, dword [esi + 0x38]
mov dword [esi + 0x38], eax
cmp eax, 8
jb 0x100c0c42
mov eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x44]
jb 0x100c0c24
lea ecx, [esi + 0x40]
call fcn.10008e2a
mov dl, al
jmp 0x100c0c2a
mov dl, byte [eax]
inc eax
mov dword [esi + 0x40], eax
mov ecx, dword [esi + 0x3c]
add dword [esi + 0x38], 0xfffffff8
shl ecx, 8
movzx eax, dl
or ecx, eax
cmp dword [esi + 0x38], 8
mov dword [esi + 0x3c], ecx
jae 0x100c0c10
cmp edi, 9
jb 0x100c0cf5
jne 0x100c0c66
push dword [esi + 0x74]
inc dword [esi + 0xb0]
mov ecx, esi
push dword [esi + 0x70]
call fcn.100c00f0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret
mov dword [esi + 0xb0], 0
mov ecx, esi
cmp edi, 0xe
jne 0x100c0ca7
push 0x1011dad0
call fcn.100c02a0
push 0xf
mov ecx, esi
lea edi, [eax + 5]
call fcn.100c0a70
add eax, 0x7fff
mov dword [esi + 0x74], edi
push edi
push eax
mov ecx, esi
mov dword [esi + 0x70], eax
call fcn.100c00f0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret
mov eax, dword [esi + 0x78]
mov ebp, edi
sub eax, edi
inc eax
and eax, 3
push 0x1011dac0
mov ebx, dword [esi + eax*4 + 0x7c]
call fcn.100c02a0
mov edi, eax
cmp edi, 0xff
jne 0x100c0cde
cmp ebp, 0xa
jne 0x100c0cde
xor dword [esi + 0xa8], 0x10
xor eax, eax
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret
cmp ebx, 0x100
jb 0x100c0d51
mov eax, dword [esi + 0xbc]
inc edi
dec eax
cmp ebx, eax
jb 0x100c0d51
inc edi
jmp 0x100c0d51
mov ecx, dword [esi + 0x9c]
add ecx, edi
mov dword [esi + 0xb0], 0
mov eax, ecx
shr eax, 4
sub ecx, eax
mov dword [esi + 0x9c], ecx
mov ecx, esi
push 0x1011db00
call fcn.100c02a0
movzx ecx, al
mov ebx, dword [esi + ecx*4 + 0x4c0]
test al, al
je 0x100c0d51
dec dword [esi + ebx*4 + 0x14c0]
mov eax, dword [esi + ecx*4 + 0x4bc]
inc dword [esi + eax*4 + 0x14c0]
mov dword [esi + ecx*4 + 0x4c0], eax
mov dword [esi + ecx*4 + 0x4bc], ebx
mov eax, dword [esi + 0x78]
add edi, 2
push edi
push ebx
mov ecx, esi
mov dword [esi + eax*4 + 0x7c], ebx
mov eax, dword [esi + 0x78]
inc eax
mov dword [esi + 0x70], ebx
and eax, 3
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], eax
call fcn.100c00f0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret
Function at 0x100c62e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
xor dl, dl
push esi
mov esi, dword [esp + 0x10]
xor cl, cl
xor eax, eax
mov byte [ebx + 4], 0
mov dword [ebx], 0xffffffff
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x100c63c4
cmp esi, 0x20
jb 0x100c6370
mov ecx, esi
xorps xmm2, xmm2
and ecx, 0xffffffe0
xorps xmm1, xmm1
nop word [eax + eax]
movups xmm0, xmmword [eax + edi]
xorps xmm2, xmm0
movups xmm0, xmmword [edi + eax + 0x10]
add eax, 0x20
xorps xmm1, xmm0
cmp eax, ecx
jb 0x100c6320
xorps xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
xorps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
xorps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 2
xorps xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 1
xorps xmm1, xmm0
movd ecx, xmm1
cmp eax, esi
jae 0x100c6378
nop dword [eax]
xor cl, byte [edi + eax]
inc eax
cmp eax, esi
jb 0x100c6370
test cl, cl
jne 0x100c63c4
test esi, esi
je 0x100c63c4
mov edx, esi
mov byte [ebx + 4], 1
mov ecx, edi
mov byte [esp + 0x10], 1
call fcn.100f26f0
mov edx, eax
xor ecx, ecx
xor eax, eax
mov edi, 0x1011dcf4
nop dword [eax]
cmp dword [eax + edi], edx
jne 0x100c63ad
cmp dword [eax + 0x1011dcf0], esi
je 0x100c63cc
add eax, 0xc
inc ecx
cmp eax, 0x48
jb 0x100c63a0
mov dword [ebx], 0xffffffff
mov dl, byte [esp + 0x10]
mov byte [ebx + 4], 0
pop edi
pop esi
mov al, dl
pop ebx
ret 8
mov dword [ebx], ecx
test ecx, ecx
js 0x100c63bc
pop edi
pop esi
mov al, 1
pop ebx
ret 8
Function at 0x100cda90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov esi, ecx
lea edx, [esp + 0x20]
push 0x14
mov dword [esp + 0x1c], esi
call fcn.100f3750
lea eax, [esi + 0x80]
push 0x14
lea edx, [esp + 0x64]
mov dword [esp + 0x20], eax
mov ecx, eax
call fcn.100f3750
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
jbe 0x100cdb56
nop dword [eax]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x24]
call fcn.100f3660
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x64]
call fcn.100f3660
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
xor eax, dword [esp + 0x24]
xor ecx, dword [esp + 0x28]
xor edx, dword [esp + 0x2c]
xor edi, dword [esp + 0x20]
xor esi, dword [esp + 0x30]
sub dword [ebp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
jne 0x100cdb00
mov edx, dword [ebp + 8]
mov dword [edx], edi
mov edi, edx
mov edx, dword [esp + 0xc]
mov dword [edi + 0x10], esi
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100ce3a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10110ced
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xc8
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x24], 0x101405e8
push 0x101405e8
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x20], 0
mov dword [ebp - 4], 0
je 0x100ce513
lea ecx, [ebp - 0xb0]
call fcn.100f3ef0
mov eax, 0x3e8
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xb0]
call fcn.100f37e0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 4
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xb0]
call fcn.100f37e0
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x100ce492
push str.SystemFunction036
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100ce48b
push 0x20
lea ecx, [ebp - 0xd0]
push ecx
call eax
test al, al
je 0x100ce48b
push 0x20
lea edx, [ebp - 0xd0]
mov dword [ebp - 0x18], 0x64
lea ecx, [ebp - 0xb0]
call fcn.100f37e0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100ce4b0
push 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xb0]
call fcn.100f37e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xb0]
call fcn.100f37e0
mov edi, 0x64
nop
mov edx, esi
lea ecx, [ebp - 0xb0]
call fcn.100f3e00
lea ecx, [ebp - 0xb0]
call fcn.100f3ef0
push 0x20
mov edx, esi
lea ecx, [ebp - 0xb0]
call fcn.100f37e0
sub edi, 1
jne 0x100ce4d0
sub dword [ebp - 0x18], 1
jne 0x100ce492
mov edx, esi
lea ecx, [ebp - 0xb0]
call fcn.100f3e00
mov byte [esi + 0x20], 0
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x100ce5ad
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0xb0]
call fcn.100f3ef0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
push 0x20
call fcn.100f37e0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
call fcn.100f3e00
lea ecx, [ebp - 0xb0]
call fcn.100f3ef0
push 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xf672abd1
lea ecx, [ebp - 0xb0]
call fcn.100f37e0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0xb0]
push 0x20
call fcn.100f37e0
lea edx, [ebp - 0xd0]
lea ecx, [ebp - 0xb0]
call fcn.100f3e00
xor eax, eax
nop
test esi, esi
je 0x100ce5ad
mov cl, byte [ebp + eax - 0xd0]
dec esi
mov byte [edi], cl
inc eax
inc edi
cmp eax, 0x20
jb 0x100ce590
test esi, esi
jne 0x100ce521
push 0x101405e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x100ce5d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [ecx + 0x108]
push esi
mov eax, dword [ebx]
xor eax, dword [ecx + 0x100]
xor ebp, dword [ebx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x104]
xor eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
xor eax, dword [ecx + 0x10c]
cmp byte [esp + 0x38], 0
push edi
jne 0x100ce615
movups xmm0, xmmword [ebx]
movups xmmword [esp + 0x24], xmm0
xor edx, edx
mov ebx, eax
mov dword [esp + 0x18], edx
nop dword [eax]
mov eax, 0x1f
sub eax, edx
cmp byte [esp + 0x3c], 0
cmove edx, eax
and edx, 3
mov esi, dword [ecx + edx*4 + 0x100]
mov edx, ebx
rol edx, 0xb
add edx, ebp
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx edi, byte [eax + ecx]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx]
shl eax, 8
or edi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl edi, 8
movzx eax, byte [eax + ecx]
or edi, eax
movzx eax, dl
mov edx, ebp
shl edi, 8
rol edx, 0x11
xor edx, ebx
movzx eax, byte [eax + ecx]
add edx, esi
or edi, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
xor edi, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
mov ebp, edi
movzx esi, byte [eax + ecx]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx]
or esi, eax
movzx eax, dl
mov edx, dword [esp + 0x18]
shl esi, 8
inc edx
mov dword [esp + 0x18], edx
movzx eax, byte [eax + ecx]
or esi, eax
xor esi, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
mov ebx, esi
cmp edx, 0x20
jb 0x100ce620
mov ebx, dword [esp + 0x38]
lea edx, [esp + 0x24]
mov eax, dword [ecx + 0x100]
xor eax, edi
mov dword [ebx], eax
mov eax, dword [ecx + 0x104]
xor eax, esi
mov dword [ebx + 4], eax
mov eax, dword [ecx + 0x108]
xor eax, dword [esp + 0x10]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0x10c]
xor eax, dword [esp + 0x14]
cmp byte [esp + 0x3c], 0
mov dword [ebx + 0xc], eax
cmovne edx, dword [esp + 0x38]
mov esi, dword [ecx + 0x100]
add edx, 2
mov edi, dword [ecx + 0x104]
mov ebx, dword [ecx + 0x108]
mov ebp, dword [ecx + 0x10c]
mov dword [esp + 0x3c], 4
nop dword [eax]
nop word [eax + eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
xor esi, dword [eax*4 + 0x10142740]
mov dword [ecx + 0x100], esi
movzx eax, byte [edx - 5]
xor edi, dword [eax*4 + 0x10142740]
mov dword [ecx + 0x104], edi
movzx eax, byte [edx - 4]
xor ebx, dword [eax*4 + 0x10142740]
mov dword [ecx + 0x108], ebx
movzx eax, byte [edx - 3]
xor ebp, dword [eax*4 + 0x10142740]
sub dword [esp + 0x3c], 1
mov dword [ecx + 0x10c], ebp
jne 0x100ce750
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
Function at 0x100cfbc0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
mov eax, 0x12345678
push ebp
mov ebp, dword [esp + 0x10]
mov edx, 0x34567890
push esi
push edi
xor edi, edi
mov esi, 0x23456789
test ebx, ebx
je 0x100cfc19
movzx ecx, byte [edi + ebp]
inc edi
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10142740]
movzx ecx, al
add ecx, esi
imul esi, ecx, 0x8088405
inc esi
mov ecx, esi
shr ecx, 0x18
xor ecx, edx
shr edx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x10142740]
cmp edi, ebx
jb 0x100cfbe1
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx + 0x18], esi
pop esi
pop ebp
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [ecx + 0x1c], edx
pop ebx
ret 0xc

Function at 0x100cfd60
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
nop word [eax + eax]
mov ecx, eax
or ecx, 2
mov edx, ecx
xor edx, 1
imul edx, ecx
shr edx, 8
xor dl, byte [esi + ebp + 0x24]
movzx ecx, dl
xor ecx, ebx
shr ebx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x10142740]
movzx ecx, bl
add ecx, edi
imul edi, ecx, 0x8088405
inc edi
mov ecx, edi
shr ecx, 0x18
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10142740]
mov byte [esi + ebp + 0x24], dl
inc ebp
cmp ebp, 0xc
jb 0x100cfd80
mov dword [esi + 0x10], edi
pop edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], eax
pop esi
pop ebp
pop ebx
ret

Function at 0x100cfe00
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 0xb
lea eax, [esp + 0x14]
mov edi, ecx
push eax
mov ecx, 0x1013d040
call fcn.100ce3a0
mov eax, dword [esp + 0x24]
mov esi, dword [edi + 0x1c]
shr eax, 8
xor ebp, ebp
mov byte [esp + 0x1b], al
mov eax, dword [edi + 0x18]
mov dword [esp + 0x24], eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x20]
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], eax
nop dword [eax]
mov bl, byte [esp + ebp + 0x10]
mov ecx, eax
or ecx, 2
mov edx, ecx
xor edx, 1
imul edx, ecx
movzx ecx, bl
shr edx, 8
xor dl, bl
mov byte [esp + ebp + 0x10], dl
inc ebp
mov edx, dword [esp + 0x24]
xor ecx, edx
movzx ecx, cl
shr edx, 8
xor edx, dword [ecx*4 + 0x10142740]
movzx ecx, dl
add ecx, esi
mov dword [esp + 0x24], edx
imul esi, ecx, 0x8088405
inc esi
mov ecx, esi
shr ecx, 0x18
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x10142740]
cmp ebp, 0xc
jb 0x100cfe40
mov ecx, dword [esp + 0x20]
mov dword [edi + 0xc], edx
lea edx, [esp + 0x10]
push 0xc
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], eax
call fcn.1000d549
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x100d0010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xcc
push esi
movzx eax, dl
mov esi, ecx
push 0x40
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100f83e0
movups xmm0, xmmword [esi]
add esp, 0xc
mov eax, 0x10
xorps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
mov cl, byte [esi + eax]
xor byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x14
jb 0x100d0044
lea ecx, [esp + 0x50]
call fcn.100f36d0
push 0x40
lea edx, [esp + 0x14]
lea ecx, [esp + 0x54]
call fcn.100f37e0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x50]
call fcn.100f3570
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100d4cf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x100d4d21
call fcn.100d4f30
test eax, eax
je 0x100d4d21
mov edx, 1
lea ecx, [esp]
call fcn.100d4f10
mov eax, dword [esp + 8]
shr eax, 0x19
and eax, 1
add esp, 0x10
ret
xor eax, eax
shr eax, 0x19
and eax, 1
add esp, 0x10
ret

Function at 0x100d4d70
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
push 0x11
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x100d4dc2
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x100d4dc2
call fcn.100d4f30
test eax, eax
je 0x100d4dc2
mov edx, 1
lea ecx, [esp]
call fcn.100d4f10
mov eax, dword [esp + 8]
and eax, 0x18000000
cmp eax, 0x18000000
jne 0x100d4dc2
xor ecx, ecx
xgetbv
and eax, 6
cmp al, 6
sete cl
mov eax, ecx
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x100d4dd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x100d4e02
call fcn.100d4f30
cmp eax, 7
jb 0x100d4e02
mov edx, 7
lea ecx, [esp]
call fcn.100d4f10
mov eax, dword [esp + 4]
shr eax, 0x1d
and eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x100d4e10
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x100d4e41
call fcn.100d4f30
test eax, eax
je 0x100d4e41
mov edx, 1
lea ecx, [esp]
call fcn.100d4f10
mov eax, dword [esp + 0xc]
shr eax, 0x1a
and eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x100d4e50
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x100d4e81
call fcn.100d4f30
test eax, eax
je 0x100d4e81
mov edx, 1
lea ecx, [esp]
call fcn.100d4f10
mov eax, dword [esp + 8]
shr eax, 0x13
and eax, 1
add esp, 0x10
ret
xor eax, eax
shr eax, 0x13
and eax, 1
add esp, 0x10
ret

Function at 0x100d4e90
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x100d4ec1
call fcn.100d4f30
test eax, eax
je 0x100d4ec1
mov edx, 1
lea ecx, [esp]
call fcn.100d4f10
mov eax, dword [esp + 8]
shr eax, 9
and eax, 1
add esp, 0x10
ret
xor eax, eax
shr eax, 9
and eax, 1
add esp, 0x10
ret
Function at 0x100d59c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x34], edx
push edi
mov dword [esp + 0x34], esi
mov edi, dword [esi + 0x10]
cmp edi, 3
jae 0x100d59e5
mov ecx, esi
call fcn.100d7ab0
jmp 0x100d5b5e
mov ecx, dword [esi]
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
movzx eax, word [esi + eax*4 + 0x60]
xor edx, eax
mov eax, dword [esi + 0x24]
mov ebx, dword [eax + edx*4]
lea ecx, [eax + edx*4]
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea edx, [edx + eax*8]
mov eax, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x24]
lea ebp, [edx + 4]
sub eax, ecx
mov dword [esp + 0x18], ebp
cmp ecx, dword [esp + 0x20]
sbb ecx, ecx
and ecx, eax
mov dword [esp + 0x30], ecx
cmp ecx, ebx
mov ecx, dword [esp + 0x10]
jae 0x100d5b39
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
sub esi, ebx
cmp dword [esp + 0x3c], esi
sbb eax, eax
and eax, dword [esp + 0x24]
sub eax, esi
neg esi
add eax, dword [esp + 0x3c]
add ecx, esi
mov dword [esp + 0x44], ecx
lea ebp, [edx + eax*8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
cmp edx, eax
cmovb eax, edx
mov edx, dword [esp + 0x10]
mov cl, byte [eax + ecx]
cmp cl, byte [eax + edx]
mov edx, dword [esp + 0x14]
jne 0x100d5ae9
inc eax
cmp eax, edi
je 0x100d5ad1
mov edx, dword [esp + 0x10]
add edx, eax
mov cl, byte [edx + esi]
cmp cl, byte [edx]
jne 0x100d5ae5
inc eax
inc edx
cmp eax, edi
jne 0x100d5ac0
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
mov dword [edx], eax
mov eax, dword [ebp + 4]
mov dword [ecx], eax
jmp 0x100d5b46
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
mov cl, byte [eax + ecx]
cmp cl, byte [eax + esi]
jae 0x100d5b0e
mov dword [edx], ebx
lea edx, [ebp + 4]
mov ebx, dword [edx]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
jmp 0x100d5b1f
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], eax
mov dword [ecx], ebx
mov ebx, dword [ebp]
sub dword [esp + 0x2c], 1
je 0x100d5b35
cmp dword [esp + 0x30], ebx
jae 0x100d5b35
mov ecx, dword [esp + 0x10]
jmp 0x100d5a73
mov esi, dword [esp + 0x34]
mov dword [edx], 0
mov dword [ebp], 0
mov eax, dword [esi + 4]
inc dword [esi + 0x14]
inc eax
inc dword [esi]
mov dword [esi + 4], eax
cmp eax, dword [esi + 8]
jne 0x100d5b5e
mov ecx, esi
call fcn.100d7320
sub dword [esp + 0x38], 1
jne 0x100d59d1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret