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

Disassembly:
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 4]
test eax, eax
je 0x100542eb
push eax
call fcn.10007a2e
add esp, 4
mov dword [ebx + 4], 0
mov edi, dword [esp + 0x10]
push esi
mov dword [ebx + 8], 0
lea esi, [edi + 1]
push esi
call fcn.10007b55
push esi
push 0
push eax
mov dword [ebx + 4], eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebx + 4]
add esp, 0x10
mov edx, esi
push dword [esp + 0x10]
call fcn.10003270
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], edi
pop esi
test ecx, ecx
jne 0x10054330
pop edi
mov dword [ebx + 0xc], ecx
pop ebx
ret 8
mov edx, 0xdc379acf
test edi, edi
je 0x10054357
nop dword [eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
movzx eax, byte [eax + 0x10057ed0]
xor edx, eax
rol edx, 5
sub edi, 1
jne 0x10054340
pop edi
mov dword [ebx + 0xc], edx
pop ebx
ret 8

Function at 0x10054cf0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x10054d5f
mov edx, dword [esi + 0xc]
cmp edx, 0x4000
jae 0x10054d36
push 0
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
mov eax, 0x4000
sub eax, edx
push eax
push dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esi + 0xc], 0x4000
mov dword [esi + 4], eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 8]
call fcn.10007a2e
add esp, 4
mov dword [esi], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 4], 0
pop esi
pop ecx
ret
cmp dword [esi + 4], 0
je 0x10054d7a
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
pop esi
pop ecx
ret

Function at 0x10054cf1
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x10054d5f
mov edx, dword [esi + 0xc]
cmp edx, 0x4000
jae 0x10054d36
push 0
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
mov eax, 0x4000
sub eax, edx
push eax
push dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esi + 0xc], 0x4000
mov dword [esi + 4], eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 8]
call fcn.10007a2e
add esp, 4
mov dword [esi], 0xffffffff
mov dword [esi + 8], 0
mov dword [esi + 4], 0
pop esi
pop ecx
ret
cmp dword [esi + 4], 0
je 0x10054d7a
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
pop esi
pop ecx
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x229451b1
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x341c68c4
nop
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x430005
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3fd1788f
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5a63266c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10008b10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1000ee20
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
lea ecx, [ebp - 0x34]
call fcn.10004be0
mov ecx, dword [ebp + 0xc]
call fcn.1000efd0
test al, 1
jne 0x10008bfe
mov dword [ebp - 0x10], 0
mov eax, esp
mov dword [eax + 4], 0
mov dword [eax], 0x104
lea ecx, [ebp - 0x34]
call fcn.1000f000
sub esp, 8
jmp 0x10008b89
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x4c], ecx
call fcn.10004cb0
mov ecx, dword [ebp - 0x4c]
mov esi, eax
mov eax, esp
mov dword [eax], 0
call fcn.1000f0e0
sub esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0xc]
call fcn.1000f110
mov edx, dword [ebp - 0x48]
mov ecx, eax
mov eax, esp
mov dword [eax + 8], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
call eax
sub esp, 0xc
mov dword [ebp - 0x44], eax
jmp 0x10008bd5
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], 0
lea ecx, [ebp - 0x34]
call fcn.1000f000
sub esp, 8
jmp 0x10008bf9
jmp 0x10008bfe
mov ecx, dword [ebp - 0x40]
mov eax, esp
lea edx, [ebp - 0x34]
mov dword [ebp - 0x50], edx
mov dword [eax], edx
call fcn.1000f130
sub esp, 4
mov ecx, dword [ebp - 0x50]
call fcn.10004bb0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10009070
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1000ee80
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
call fcn.1000f110
mov edx, dword [ebp - 0x24]
mov ecx, eax
mov dword [ebp - 0x10], 0
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call eax
sub esp, 8
mov dword [ebp - 0x20], eax
jmp 0x100090d8
mov eax, dword [ebp - 0x20]
test eax, eax
setne al
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
and al, 1
movzx eax, al
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10009110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x94
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1000eea0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.1000efd0
test al, 1
jne 0x1000923b
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x70], xmm0
mov ecx, dword [ebp + 8]
call fcn.1000f110
mov ecx, eax
mov dword [ebp - 0x10], 0
mov eax, esp
mov dword [ebp - 0x78], eax
lea edx, [ebp - 0x70]
mov dword [eax + 0x24], edx
lea edx, [ebp - 0x60]
mov dword [eax + 0x20], edx
mov dword [eax + 4], ecx
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0x8000000
mov dword [eax + 0x10], 1
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
mov dword [ebp - 0x74], eax
jmp 0x100091dd
mov eax, dword [ebp - 0x74]
cmp eax, 0
je 0x10009236
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x70]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
jmp 0x10009205
mov ecx, dword [ebp - 0x6c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x1000921b
mov ecx, dword [ebp - 0x70]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x10009231
jmp 0x10009236
jmp 0x1000923b
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10009260
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.1000efd0
test al, 1
jne 0x10009368
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.1000f110
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [eax], 0xffffffff
setne al
mov byte [ebp - 0x21], al
mov al, byte [ebp - 0x21]
test al, 1
jne 0x100092ca
jmp 0x10009363
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov ecx, 0xffffffff
xor ecx, 0x10
and ecx, 0xffffffff
mov eax, 0xffffffff
xor eax, 0xffffffff
and eax, 0x10
or ecx, eax
mov edx, esi
xor edx, 0xffffffff
and edx, 0xc71fe91f
mov edi, 0xffffffff
xor edi, 0xc71fe91f
and esi, edi
mov eax, ecx
xor eax, 0xffffffff
and eax, 0xc71fe91f
and ecx, edi
or edx, esi
mov dword [ebp - 0x2c], edx
or eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
xor eax, ecx
xor eax, 0xffffffff
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
xor edx, 0xffffffff
mov ecx, 0xffffffff
xor ecx, 0x49a333b
or eax, edx
or ecx, 0x49a333b
xor eax, 0xffffffff
and eax, ecx
cmp eax, 0
je 0x1000935e
mov byte [ebp - 9], 1
jmp 0x10009371
jmp 0x10009363
jmp 0x10009368
mov byte [ebp - 9], 0
jmp 0x10009371
mov al, byte [ebp - 9]
mov byte [ebp - 0x35], al
mov al, byte [ebp - 0x35]
and al, 1
movzx eax, al
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x10009ec0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
sub esp, 0x20
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
add eax, 0x13
mov dword [esp + 0x18], eax
mov eax, dword [0x100951e0]
add eax, 0xd71c440
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
sete al
mov byte [esp + 0xf], al
mov cl, byte [esp + 0xf]
xor eax, eax
test cl, 1
mov dword [esp + 8], eax
jne 0x1000a009
jmp 0x10009f10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], eax
mov ch, byte [ecx + eax]
mov esi, 0x13
xor edx, edx
div esi
mov eax, dword [esp + 0x10]
mov dh, byte [eax + edx]
mov cl, ch
xor cl, 0xff
and cl, 0xff
mov dl, 0xff
xor dl, 0xff
mov al, ch
and al, dl
or cl, al
xor cl, 0xff
mov al, dh
xor al, cl
and al, dh
mov dl, dh
xor dl, 0xff
and dl, 0x54
mov ah, 0xff
xor ah, 0x54
and dh, ah
mov cl, 0xff
xor cl, 0xff
and cl, 0x54
and ah, 0xff
or dl, dh
or cl, ah
xor dl, cl
xor ch, 0xff
xor dl, 0xff
mov cl, 0xff
xor cl, 0x66
or ch, dl
or cl, 0x66
xor ch, 0xff
and ch, cl
mov dh, al
xor dh, 0xff
mov bh, ch
xor bh, 0xff
mov bl, 0xff
xor bl, 0xc9
mov dl, dh
and dl, 0xc9
and al, bl
mov cl, bh
and cl, 0xc9
and ch, bl
or dl, al
mov eax, dword [esp + 4]
or cl, ch
xor dl, cl
mov ecx, dword [esp + 0x14]
or dh, bh
xor dh, 0xff
or bl, 0xc9
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, eax
add ecx, 0
mov edx, 0x941fd767
add edx, 0
sub edx, 1
sub edx, 0x941fd767
xor eax, eax
sub eax, edx
sub ecx, eax
xor eax, eax
sub eax, ecx
add eax, 0
cmp eax, 0x3559
mov dword [esp + 8], eax
jne 0x10009f10
mov eax, dword [0x100951e0]
add eax, 0xd71c440
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1000a009
add esp, 0x20
pop esi
pop ebx
ret
Function at 0x1000a010
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
sub esp, 0x20
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
add eax, 0x16
mov dword [esp + 0x18], eax
mov eax, dword [0x100951e4]
mov eax, dword [eax - 0x76f8f5d1]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
sete al
mov byte [esp + 0xf], al
mov cl, byte [esp + 0xf]
xor eax, eax
test cl, 1
mov dword [esp + 8], eax
jne 0x1000a153
jmp 0x1000a061
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], eax
mov ch, byte [ecx + eax]
mov esi, 0x16
xor edx, edx
div esi
mov eax, dword [esp + 0x10]
mov cl, byte [eax + edx]
mov dl, ch
xor dl, 0xff
and dl, 0xff
mov ah, 0xff
xor ah, 0xff
mov al, ch
and al, ah
or dl, al
xor dl, 0xff
mov al, cl
xor al, dl
and al, cl
mov dl, cl
xor dl, 0xff
and dl, 0xff
mov ah, 0xff
xor ah, 0xff
and cl, ah
or dl, cl
xor ch, 0xff
xor dl, 0xff
mov cl, 0xff
xor cl, 0x7d
or ch, dl
or cl, 0x7d
xor ch, 0xff
and ch, cl
mov dh, al
xor dh, 0xff
mov bh, ch
xor bh, 0xff
mov bl, 0xff
xor bl, 0x96
mov dl, dh
and dl, 0x96
and al, bl
mov cl, bh
and cl, 0x96
and ch, bl
or dl, al
mov eax, dword [esp + 4]
or cl, ch
xor dl, cl
mov ecx, dword [esp + 0x14]
or dh, bh
xor dh, 0xff
or bl, 0x96
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
sub eax, 0xe5672674
sub eax, 0xe538c94b
add eax, 0xe5672674
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 1
add ecx, eax
xor eax, eax
sub eax, ecx
add eax, 0xb70ae3e8
add eax, 0xe538c94b
sub eax, 0xb70ae3e8
cmp eax, 0x3559
mov dword [esp + 8], eax
jne 0x1000a061
mov eax, dword [0x100951e4]
add eax, 0x89070a2f
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1000a153
add esp, 0x20
pop esi
pop ebx
ret
Function at 0x1000a160
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
sub esp, 0x24
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
add eax, 0x1f
mov dword [esp + 0x1c], eax
mov eax, dword [0x100951e8]
add eax, 0x936a84bf
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp dword [eax], 1
sete al
mov byte [esp + 0x13], al
mov cl, byte [esp + 0x13]
xor eax, eax
test cl, 1
mov dword [esp + 0xc], eax
jne 0x1000a29d
jmp 0x1000a1b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov bl, byte [edx + eax]
mov esi, 0x1f
xor edx, edx
div esi
mov eax, dword [esp + 8]
mov ch, byte [ecx + edx]
mov dl, bl
xor dl, 0xff
and dl, 0xf5
mov dh, 0xff
xor dh, 0xf5
mov bh, bl
and bh, dh
mov cl, 0xff
xor cl, 0xff
and cl, 0xf5
and dh, 0xff
or dl, bh
or cl, dh
xor dl, cl
mov dh, ch
xor dh, 0xff
xor dl, 0xff
mov cl, 0xff
xor cl, 0xaa
or dh, dl
or cl, 0xaa
xor dh, 0xff
and dh, cl
mov bh, ch
xor bh, 0xff
and bh, 0x8f
mov cl, 0xff
xor cl, 0x8f
and ch, cl
mov dl, 0xff
xor dl, 0xff
and dl, 0x8f
and cl, 0xff
or bh, ch
or dl, cl
mov ecx, dword [esp + 0x18]
xor bh, dl
xor bl, 0xff
xor bh, 0xff
mov dl, 0xff
xor dl, 0xcd
or bl, bh
or dl, 0xcd
xor bl, 0xff
and bl, dl
mov dl, dh
and dl, bl
xor dh, bl
or dl, dh
mov byte [ecx + eax], dl
xor ecx, ecx
sub ecx, 0x809599f7
add eax, ecx
xor ecx, ecx
sub ecx, 1
sub eax, ecx
sub eax, 0x9c5fff28
add eax, 0x809599f7
add eax, 0x9c5fff28
cmp eax, 0x3559
mov dword [esp + 0xc], eax
jne 0x1000a1b0
mov eax, dword [0x100951e8]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x936a84bf
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
add esp, 0x24
pop esi
pop ebx
ret
Function at 0x1000a2b0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
add eax, 0x11
mov dword [esp + 0x18], eax
mov eax, dword [0x100951ec]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp dword [ecx + 0x2caf4bf], 1
mov dword [esp + 8], eax
je 0x1000a403
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], eax
mov cl, byte [ecx + eax]
mov esi, 0x11
xor edx, edx
div esi
mov eax, dword [esp + 0x10]
mov bh, byte [eax + edx]
mov bl, cl
xor bl, 0xff
and bl, 0xff
mov dl, 0xff
xor dl, 0xff
mov al, cl
and al, dl
or bl, al
xor bl, 0xff
xor bl, 0x26
and bl, 0x26
mov dh, 0xff
xor dh, 0x26
and dh, 0xff
mov al, 0xff
xor al, 0xff
and al, 0x26
or dh, al
xor cl, 0xff
mov dl, dh
xor dl, 0xff
mov al, 0xff
xor al, 0xbe
or cl, dl
or al, 0xbe
xor cl, 0xff
and cl, al
mov dl, bh
xor dl, 0xff
and dl, 0xf
mov ah, 0xff
xor ah, 0xf
mov ch, bh
and ch, ah
mov al, 0xff
xor al, 0xff
and al, 0xf
and ah, 0xff
or dl, ch
or al, ah
xor dl, al
xor dl, 0xff
mov al, 0xff
xor al, 0x26
mov ch, 0xff
xor ch, 0xda
or dl, al
mov eax, dword [esp + 4]
or ch, 0xda
xor dl, 0xff
and dl, ch
xor bh, 0xff
xor dh, 0xff
mov ch, 0xff
xor ch, 0x1d
or bh, dh
or ch, 0x1d
xor bh, 0xff
and bh, ch
mov dh, bl
and dh, cl
xor bl, cl
mov ecx, dword [esp + 0x14]
or dh, bl
mov bl, dl
and bl, bh
xor dl, bh
or bl, dl
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
mov edx, 0xdf9b5074
add edx, 0
sub edx, 1
sub edx, 0xdf9b5074
xor ecx, ecx
sub ecx, edx
add eax, ecx
cmp eax, 0x3559
mov dword [esp + 8], eax
jne 0x1000a2ec
mov eax, dword [0x100951ec]
add eax, 0x2caf4bf
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1000a403
add esp, 0x1c
pop esi
pop ebx
ret
Function at 0x1000a410
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
sub esp, 0x28
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
add eax, 0x1d
mov dword [esp + 0x20], eax
mov eax, dword [0x100951f0]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x32c53ff6]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, 1
mov dword [esp + 0x10], eax
je 0x1000a578
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov dl, byte [edx + eax]
mov byte [esp + 0xb], dl
mov esi, 0x1d
xor edx, edx
div esi
mov al, byte [esp + 0xb]
mov ch, byte [ecx + edx]
mov dl, al
xor dl, 0xff
and dl, 0xff
mov ah, 0xff
xor ah, 0xff
mov cl, al
and cl, ah
or dl, cl
mov bl, 0xff
xor bl, 0xdc
xor dl, 0xff
mov cl, 0xff
xor cl, 0xdb
or bl, dl
or cl, 0xdb
xor bl, 0xff
and bl, cl
mov dh, 0xff
xor dh, 0xdc
and dh, 0xff
mov cl, 0xff
xor cl, 0xff
and cl, 0xdc
or dh, cl
mov dl, dh
xor dl, 0xff
mov cl, al
xor cl, dl
and cl, al
mov dl, ch
xor dl, 0xff
and dl, 0x93
mov ah, 0xff
xor ah, 0x93
mov bh, ch
and bh, ah
mov al, 0xff
xor al, 0xff
and al, 0x93
and ah, 0xff
or dl, bh
or al, ah
xor dl, al
xor dl, 0xff
mov al, 0xff
xor al, 0xdc
mov bh, 0xff
xor bh, 0x4d
or dl, al
mov eax, dword [esp + 0xc]
or bh, 0x4d
xor dl, 0xff
and dl, bh
xor dh, 0xff
mov bh, ch
xor bh, dh
and bh, ch
mov dh, bl
and dh, cl
xor bl, cl
mov ecx, dword [esp + 0x1c]
or dh, bl
mov bl, dl
and bl, bh
xor dl, bh
or bl, dl
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
mov ecx, 0x9a3582d1
add ecx, 0
sub ecx, 1
sub ecx, 0x9a3582d1
add eax, 0xc3c27c7
sub eax, ecx
sub eax, 0xc3c27c7
cmp eax, 0x3559
mov dword [esp + 0x10], eax
jne 0x1000a456
mov eax, dword [0x100951f0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x32c53ff6
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
add esp, 0x28
pop esi
pop ebx
ret
Function at 0x1000a580
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
sub esp, 0x20
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
add eax, 0x18
mov dword [esp + 0x1c], eax
mov eax, dword [0x100951f4]
add eax, 0xef373eea
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp dword [ecx], 1
mov dword [esp + 0xc], eax
je 0x1000a72e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov dl, byte [edx + eax]
mov byte [esp + 5], dl
mov esi, 0x18
xor edx, edx
div esi
mov ah, byte [esp + 5]
mov bh, byte [ecx + edx]
mov dl, ah
xor dl, 0xff
and dl, 0x71
mov cl, 0xff
xor cl, 0x71
mov ch, ah
and ch, cl
mov al, 0xff
xor al, 0xff
and al, 0x71
and cl, 0xff
or dl, ch
or al, cl
xor dl, al
mov al, 0xff
xor al, 0x21
xor dl, 0xff
mov cl, 0xff
xor cl, 0x7c
or al, dl
or cl, 0x7c
xor al, 0xff
and al, cl
mov ch, 0xff
xor ch, 0x21
and ch, 0x38
mov dl, 0xff
xor dl, 0x38
mov dh, dl
and dh, 0x21
mov cl, 0xff
xor cl, 0xff
and cl, 0x38
and dl, 0xff
or ch, dh
or cl, dl
xor ch, cl
xor ah, 0xff
mov dl, ch
xor dl, 0xff
mov cl, 0xff
xor cl, 0xd0
or ah, dl
or cl, 0xd0
xor ah, 0xff
and ah, cl
mov cl, bh
xor cl, 0xff
and cl, 0xff
mov dh, 0xff
xor dh, 0xff
mov dl, bh
and dl, dh
or cl, dl
mov dh, 0xff
xor dh, 0x21
mov dl, cl
xor dl, dh
and dl, cl
xor bh, 0xff
xor ch, 0xff
mov cl, 0xff
xor cl, 0xb8
or bh, ch
or cl, 0xb8
xor bh, 0xff
and bh, cl
mov bl, al
xor bl, 0xff
mov ch, ah
xor ch, 0xff
mov cl, 0xff
xor cl, 0xd5
mov dh, bl
and dh, 0xd5
and al, cl
mov byte [esp + 6], al
mov al, ch
and al, 0xd5
mov byte [esp + 7], al
mov al, byte [esp + 6]
and ah, cl
or dh, al
mov al, byte [esp + 7]
or al, ah
xor dh, al
mov eax, dword [esp + 8]
or bl, ch
xor bl, 0xff
or cl, 0xd5
and bl, cl
mov ecx, dword [esp + 0x18]
or dh, bl
mov bl, dl
and bl, bh
xor dl, bh
or bl, dl
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
mov ecx, 0xd0c6ca70
add ecx, 0
sub ecx, 1
sub ecx, 0xd0c6ca70
sub eax, 0xc6cc8311
sub eax, ecx
add eax, 0xc6cc8311
cmp eax, 0x3559
mov dword [esp + 0xc], eax
jne 0x1000a5bd
mov eax, dword [0x100951f4]
add eax, 0xef373eea
mov dword [esp], eax
mov eax, dword [esp]
mov dword [eax], 1
jmp 0x1000a72e
add esp, 0x20
pop esi
pop ebx
ret