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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4f8f27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, 0x4f8f40
call fcn.004f87cc
pop ecx
mov eax, dword [ebp + 8]
push eax
mov eax, 0x4f8f4c
call fcn.004f87cc
pop ecx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1018]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1018]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x18]
mov ecx, 1
mov eax, 0x4f8f78
call fcn.0040be64
mov eax, dword [ebp - 8]
call fcn.004f87cc
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1018]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x4f8ef1
inc eax
mov dword [ebp - 4], eax
xor edi, edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1018]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4f8ed2
inc ebx
xor esi, esi
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1018]
mov ecx, edi
mov edx, esi
call fcn.0049ed0c
xor al, 1
call fcn.004f8934
pop ecx
inc esi
dec ebx
jne 0x4f8eb0
mov eax, dword [ebp + 8]
cmp dword [eax - 0x1010], 0
jle 0x4f8eeb
mov eax, dword [ebp + 8]
mov dword [eax - 0x1010], 8
inc edi
dec dword [ebp - 4]
jne 0x4f8e98
mov eax, dword [ebp + 8]
cmp dword [eax - 0x1010], 0
jle 0x4f8f11
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 0x1011]
call fcn.004f8768
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8f2e
lea eax, [ebp - 8]
call fcn.004051d8
ret
Function at 0x503bc8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405668
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x5344a4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x5344c0
add esp, 0xfffffff0
call fcn.004045e0
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x5345c3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0040428c
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.00405668
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x534535
push 0x5345f4
push edi
push 0x534618
call sub.kernel32.dll_GetLastError
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.0040a6a0
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040556c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x534320]
call fcn.004107c4
call fcn.00404b30
push esi
push 0
call sub.kernel32.dll_GlobalAlloc
mov dword [ebx + 0x18], eax
cmp dword [ebx + 0x18], 0
jne 0x53454b
call fcn.004107b8
mov eax, dword [ebx + 0x18]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x14], 0
jne 0x53456b
mov eax, dword [ebx + 0x18]
push eax
call sub.kernel32.dll_GlobalFree
call fcn.004107b8
mov eax, dword [ebx + 0x14]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.00405668
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x5345a8
lea eax, [ebp - 0x14]
mov ecx, edi
mov edx, 0x53462c
call fcn.004054f0
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x534320]
call fcn.004107c4
call fcn.00404b30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5345ca
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004051fc
ret

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

Disassembly:
and edx, edx
je 0x5361b6
and ecx, ecx
jle 0x5361b6
push ebx
xor al, byte [edx]
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
shr ebx, 0x18
mov byte [edx], bl
inc edx
dec ecx
jne 0x5361a1
pop ebx
ret

Function at 0x536424
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x536447
and ecx, ecx
jle 0x536447
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x53644d]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x536437
pop edi
pop ebx
ret
Function at 0x546be8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov edi, dword [0x65d860]
mov edi, dword [edi]
mov esi, dword [ebp - 8]
mov eax, dword [esi]
call edi
mov dword [ebp - 4], eax
movzx edi, word [ebp - 2]
movzx eax, word [ebp - 4]
mov dword [ebp - 0xc], eax
mov edx, dword [0x65d860]
mov edx, dword [edx]
mov eax, dword [esi + 4]
call edx
mov dword [ebp - 4], eax
movzx eax, word [ebp - 2]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 4]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 4], eax
movzx edx, word [ebx]
mov eax, edi
call fcn.00546bb8
mov edi, eax
movzx eax, word [ebx + 2]
add dword [ebp - 0xc], eax
movzx eax, word [ebx + 4]
add dword [ebp - 0x10], eax
movzx edx, word [ebx + 6]
mov eax, dword [ebp - 0x14]
call fcn.00546bb8
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x10]
xor esi, edi
movzx edx, word [ebx + 8]
mov eax, esi
call fcn.00546bb8
mov esi, eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add eax, esi
movzx edx, word [ebx + 0xa]
call fcn.00546bb8
add esi, eax
xor edi, eax
xor dword [ebp - 0x14], esi
xor esi, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
add ebx, 0xc
inc dword [ebp - 4]
cmp dword [ebp - 4], 8
jne 0x546c36
movzx edx, word [ebx]
mov eax, edi
call fcn.00546bb8
mov word [ebp - 2], ax
movzx eax, word [ebp - 0x10]
add ax, word [ebx + 2]
mov word [ebp - 4], ax
mov edi, dword [0x65d860]
mov edi, dword [edi]
mov eax, dword [ebp - 4]
call edi
mov esi, dword [ebp - 8]
mov dword [esi], eax
movzx eax, word [ebp - 0xc]
add ax, word [ebx + 4]
mov word [ebp - 2], ax
movzx edx, word [ebx + 6]
mov eax, dword [ebp - 0x14]
call fcn.00546bb8
mov word [ebp - 4], ax
mov ebx, dword [0x65d860]
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call ebx
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5473c4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov esi, eax
mov edx, dword [ebp + 8]
mov edi, eax
add edi, 0x100
mov ecx, 1
xor ebx, ebx
mov eax, ecx
and al, 0xff
mov byte [esi], al
mov eax, ecx
and eax, 0xff
mov byte [edi + eax], bl
lea eax, [ecx + ecx*4]
lea eax, [eax + eax*8]
mov ecx, 0x101
cdq
idiv ecx
mov ecx, edx
inc esi
inc ebx
cmp ebx, 0x100
jne 0x5473e7
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x548d7c
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x548d92
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x548d8b
mov edx, esp
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov ebx, dword [ebp - 4]
shr ebx, 8
and ebx, 0xff
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
mov esi, dword [ebp - 4]
shr esi, 0x18
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + 8]
cmp dword [esi - 4], 0x20
jne 0x548e1d
movzx ecx, byte [ecx + 0x640bf8]
mov esi, dword [edx + 0xc]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x640af8]
mov esi, dword [edx + 0xc]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x640af8]
mov esi, dword [edx + 0xc]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x640bf8]
mov edi, dword [edx + 0xc]
shr edi, 0x18
xor esi, edi
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + 8]
cmp dword [esi - 4], 0x18
jl 0x548e7a
movzx ecx, byte [ecx + 0x640bf8]
mov esi, dword [edx + 8]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x640bf8]
mov esi, dword [edx + 8]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x640af8]
mov esi, dword [edx + 8]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x640af8]
mov edi, dword [edx + 8]
shr edi, 0x18
xor esi, edi
mov dword [ebp - 8], esi
movzx ecx, byte [ecx + 0x640af8]
mov esi, dword [edx + 4]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x640bf8]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x640af8]
mov esi, dword [edx + 4]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x640bf8]
mov edi, dword [edx + 4]
shr edi, 0x18
xor esi, edi
mov dword [ebp - 8], esi
movzx ecx, byte [ecx + 0x640af8]
mov esi, dword [edx]
and esi, 0xff
xor ecx, esi
movzx ebx, byte [ebx + 0x640af8]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ebx, esi
movzx eax, byte [eax + 0x640bf8]
mov esi, dword [edx]
shr esi, 0x10
and esi, 0xff
xor eax, esi
mov esi, dword [ebp - 8]
movzx esi, byte [esi + 0x640bf8]
mov edx, dword [edx]
shr edx, 0x18
xor esi, edx
mov dword [ebp - 8], esi
mov edx, dword [ecx*4 + 0x640cf8]
xor edx, dword [ebx*4 + 0x6410f8]
xor edx, dword [eax*4 + 0x6414f8]
mov eax, dword [ebp - 8]
xor edx, dword [eax*4 + str.9g]
mov eax, edx
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x54907c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
and ecx, 0xff
imul ecx, ecx, 0x1010101
xor ebx, ebx
mov esi, dword [edx + ebx*4]
xor esi, ecx
mov dword [eax + ebx*4], esi
inc ebx
cmp ebx, 0x40
jne 0x54908c
pop esi
pop ebx
ret
Function at 0x5490a0
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
mov edx, 0x640af8
lea eax, [ebp - 0x100]
call fcn.0054907c
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x18]
xor eax, eax
lea ecx, [ebp - 0x100]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x640af8]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x640cf8]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x5490d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 8
mov edx, 0x640bf8
lea eax, [ebp - 0x100]
call fcn.0054907c
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x17]
xor eax, eax
lea ecx, [ebp - 0x100]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x640af8]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x6410f8]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4 + 0x400], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x54911d
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x10
mov edx, 0x640af8
lea eax, [ebp - 0x100]
call fcn.0054907c
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x16]
xor eax, eax
lea ecx, [ebp - 0x100]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x640bf8]
xor ebx, edx
mov ebx, dword [ebx*4 + 0x6414f8]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4 + 0x800], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x54916e
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x14]
shr ecx, 0x18
mov edx, 0x640bf8
lea eax, [ebp - 0x100]
call fcn.0054907c
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x15]
xor eax, eax
lea ecx, [ebp - 0x100]
movzx ebx, byte [ecx]
movzx ebx, byte [ebx + 0x640bf8]
xor ebx, edx
mov ebx, dword [ebx*4 + str.9g]
mov esi, dword [ebp + 8]
mov esi, dword [esi - 0x20]
mov dword [esi + eax*4 + 0xc00], ebx
inc eax
inc ecx
cmp eax, 0x100
jne 0x5491bf
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5491f0
Capabilities:
Encode data using xor
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
mov edx, 0x640bf8
lea eax, [ebp - 0x100]
call fcn.0054907c
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x18]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x14]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x640af8]
xor esi, ecx
movzx esi, byte [esi + 0x640af8]
xor esi, edx
mov esi, dword [esi*4 + 0x640cf8]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x549228
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 8
mov edx, 0x640bf8
lea eax, [ebp - 0x100]
call fcn.0054907c
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x17]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x13]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x640bf8]
xor esi, ecx
movzx esi, byte [esi + 0x640af8]
xor esi, edx
mov esi, dword [esi*4 + 0x6410f8]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0x400], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x549285
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x10
mov edx, 0x640af8
lea eax, [ebp - 0x100]
call fcn.0054907c
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x16]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x12]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x640af8]
xor esi, ecx
movzx esi, byte [esi + 0x640bf8]
xor esi, edx
mov esi, dword [esi*4 + 0x6414f8]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0x800], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x5492e6
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0x10]
shr ecx, 0x18
mov edx, 0x640af8
lea eax, [ebp - 0x100]
call fcn.0054907c
mov eax, dword [ebp + 8]
movzx edx, byte [eax - 0x15]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax - 0x11]
xor eax, eax
lea ebx, [ebp - 0x100]
movzx esi, byte [ebx]
movzx esi, byte [esi + 0x640bf8]
xor esi, ecx
movzx esi, byte [esi + 0x640bf8]
xor esi, edx
mov esi, dword [esi*4 + str.9g]
mov edi, dword [ebp + 8]
mov edi, dword [edi - 0x20]
mov dword [edi + eax*4 + 0xc00], esi
inc eax
inc ebx
cmp eax, 0x100
jne 0x549347
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x549b8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x16]
lea eax, [ebp - 4]
mov ecx, 4
call fcn.00403218
lea edx, [ebp - 0x12]
lea eax, [ebp - 8]
mov ecx, 4
call fcn.00403218
mov ebx, dword [0x65d298]
mov ebx, dword [ebx]
lea edx, [ebp - 0x16]
lea eax, [ebp - 0x16]
mov ecx, 2
call ebx
mov byte [ebp - 0xd], 8
mov dword [ebp - 0x24], 0x641ef8
lea ebx, [ebp - 0x1e]
push ebp
movzx edx, byte [ebp - 0x16]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
call fcn.00549b4c
pop ecx
mov byte [ebx], al
mov byte [ebp - 0xe], 7
mov eax, dword [ebp - 0x24]
lea esi, [eax + 1]
lea edi, [ebp - 0x15]
push ebp
movzx edx, byte [edi]
movzx eax, byte [esi]
call fcn.00549b4c
pop ecx
xor byte [ebx], al
inc edi
inc esi
dec byte [ebp - 0xe]
jne 0x549c02
inc ebx
add dword [ebp - 0x24], 8
dec byte [ebp - 0xd]
jne 0x549be2
movzx eax, byte [ebp - 0x1e]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 4], edx
mov byte [ebp - 0xd], 7
lea eax, [ebp - 0x1d]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 4]
shl edx, 8
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
shr ecx, 0x18
or edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
shl edx, 8
movzx ecx, byte [eax]
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edx
inc eax
dec byte [ebp - 0xd]
jne 0x549c3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x549c74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], ecx
mov eax, 0x641f38
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], 5
mov ebx, dword [edx]
xor dword [ecx], ebx
mov ebx, dword [edx + 4]
xor dword [ecx + 4], ebx
add edx, 8
mov esi, dword [ecx + 4]
shr esi, 0x17
and esi, 0x1fe
mov esi, dword [eax + esi*4]
mov edi, dword [ecx + 4]
shr edi, 0xf
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x800]
mov edi, dword [ecx + 4]
shr edi, 7
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x1000]
mov edi, dword [ecx + 4]
add edi, edi
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x1800]
mov ebx, dword [ecx]
mov edi, ebx
shr edi, 0x17
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x2000]
mov edi, ebx
shr edi, 0xf
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x2800]
mov edi, ebx
shr edi, 7
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x3000]
mov edi, ebx
add edi, edi
and edi, 0x1fe
xor esi, dword [eax + edi*4 + 0x3800]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 4]
shr esi, 0x17
and esi, 0x1fe
or esi, 1
mov esi, dword [eax + esi*4]
mov edi, dword [ecx + 4]
shr edi, 0xf
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x800]
mov edi, dword [ecx + 4]
shr edi, 7
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x1000]
mov edi, dword [ecx + 4]
add edi, edi
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x1800]
mov edi, dword [ecx]
shr edi, 0x17
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x2000]
mov edi, dword [ecx]
shr edi, 0xf
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x2800]
mov edi, ebx
shr edi, 7
and edi, 0x1fe
or edi, 1
xor esi, dword [eax + edi*4 + 0x3000]
add ebx, ebx
and ebx, 0x1fe
or ebx, 1
xor esi, dword [eax + ebx*4 + 0x3800]
mov dword [ecx + 4], esi
mov ebx, dword [ebp - 0x14]
mov dword [ecx], ebx
dec dword [ebp - 0x10]
jne 0x549c96
mov eax, dword [edx]
xor dword [ecx], eax
mov eax, dword [edx + 4]
xor dword [ecx + 4], eax
add edx, 8
mov eax, dword [ecx]
mov ebx, eax
shr ebx, 0x18
and ebx, 0xff
movzx ebx, byte [ebx + 0x641cf8]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x641cf8]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x641cf8]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x641cf8]
xor ebx, eax
mov dword [ecx], ebx
mov eax, dword [ecx + 4]
mov ebx, eax
shr ebx, 0x18
and ebx, 0xff
movzx ebx, byte [ebx + 0x641cf8]
shl ebx, 0x18
mov esi, eax
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x641cf8]
shl esi, 0x10
xor ebx, esi
mov esi, eax
shr esi, 8
and esi, 0xff
movzx esi, byte [esi + 0x641cf8]
shl esi, 8
xor ebx, esi
and eax, 0xff
movzx eax, byte [eax + 0x641cf8]
xor ebx, eax
mov dword [ecx + 4], ebx
mov eax, dword [edx]
xor eax, dword [ecx]
mov ebx, dword [ebp - 0xc]
mov dword [ebx], eax
mov eax, dword [edx + 4]
xor eax, dword [ecx + 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54a8e4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 4], eax
jmp 0x54a8f6
add dword [ebp - 4], 4
mov eax, dword [ebp - 4]
cmp edx, dword [eax]
jne 0x54a8f2
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x54a94d
xor eax, eax
push ebp
push 0x54a946
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a94d
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x54f1dc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
lea eax, [ebp - 0x10c]
mov edx, esi
mov byte [eax], dl
inc esi
inc eax
cmp esi, 0x100
jne 0x54f1f6
mov edi, dword [ebp - 8]
dec edi
xor ebx, ebx
mov eax, dword [ebp - 8]
sub eax, 2
test eax, eax
jl 0x54f263
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
add eax, ebx
lea edx, [edi + 1]
mov ecx, edx
cdq
idiv ecx
mov ebx, edx
movzx eax, byte [ebp + ebx - 0x10c]
mov edx, dword [ebp - 4]
mov byte [edx + esi], al
cmp edi, ebx
jle 0x54f256
mov ecx, edi
sub ecx, ebx
lea edx, [ebp + ebx - 0x10c]
lea eax, [ebp + ebx - 0x10b]
call fcn.00403218
dec edi
cmp edi, ebx
jge 0x54f25d
xor ebx, ebx
inc esi
dec dword [ebp - 0xc]
jne 0x54f21a
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx ecx, byte [ebp - 0x10c]
mov byte [eax + edx - 1], cl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54fe14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov ebx, eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x28]
shr edx, 1
add ebx, edx
mov ecx, dword [ebp + 8]
mov ecx, edx
mov edx, dword [ebp + 8]
mov edx, ebx
call fcn.00403218
add ebx, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x40]
add esi, esi
add esi, esi
sub esi, 5
test esi, esi
jl 0x54fec4
inc esi
mov edi, dword [ebx]
mov eax, edi
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x6525d4]
mov edx, 8
call fcn.00535c84
and edi, 0xff
xor eax, dword [edi*4 + 0x6525d4]
push eax
mov eax, dword [ebx]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x6525d4]
mov edx, 0x10
call fcn.00535c84
pop edx
xor edx, eax
push edx
mov eax, dword [ebx]
shr eax, 0x18
mov eax, dword [eax*4 + 0x6525d4]
mov edx, 0x18
call fcn.00535c84
pop edx
xor edx, eax
mov dword [ebx], edx
add ebx, 4
dec esi
jne 0x54fe59
pop edi
pop esi
pop ebx
pop ebp
ret