joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002e6e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
lea esi, [edi + 1]
push esi
mov dword [ebp - 4], 0
call ebx
test eax, eax
jne 0x1002e71d
push str.Failed_to_unprotect_memory_n
call fcn.101166c9
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 8]
push edx
push eax
sub ecx, edi
push 4
sub ecx, 5
push esi
mov dword [esi], ecx
call ebx
test eax, eax
jne 0x1002e745
push str.Failed_to_restore_protection_on_memory
call fcn.101166c9
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002e750
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
jne 0x1002e783
push str.Failed_to_unprotect_memory_n
call fcn.101166c9
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 8]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call edi
test eax, eax
jne 0x1002e7a6
push str.Failed_to_restore_protection_on_memory
call fcn.101166c9
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002e7f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x1002e81a
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x90
push edi
call fcn.10115760
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push esi
push edi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10033d50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 8], 0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jne 0x10033d90
cmp byte [ecx + 9], 0
jne 0x10033d90
push 0
push 0
push 0
push 0x10033b90
mov al, 1
push 0
push 0
mov byte [ecx + 9], al
mov byte [ecx + 8], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop ebp
ret 8
Function at 0x10037c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
je 0x10037d72
mov edi, dword [ebp + 0xc]
cmp edi, 1
jl 0x10037d72
push 0x1019f021
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftDirectX_SDK
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10037ce5
pop edi
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push ebx
lea ecx, [ebp - 4]
push ecx
push esi
lea edx, [ebp - 0xc]
push edx
push 0
push str.DX9SDK_Samples_Path
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 8]
push ecx
mov ebx, eax
mov byte [esi + edi - 1], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x10037d24
pop ebx
pop edi
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call ebx
push str.Media_
mov dword [ebp - 8], eax
call ebx
mov ecx, dword [ebp - 8]
add ecx, eax
cmp ecx, edi
jge 0x10037d66
add esi, 0xffffffff
mov al, byte [esi + 1]
add esi, 1
test al, al
jne 0x10037d43
mov edx, dword [str.Media_]
mov dword [esi], edx
mov eax, dword [0x101a2a14]
pop ebx
mov dword [esi + 4], eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov eax, 0x80070057
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0x80070057
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003d1a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
call fcn.100403c0
mov ecx, dword [0x101e5a78]
mov esi, eax
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
fstp dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
fild dword [ebp - 4]
mov dword [esi + 8], ecx
fstp dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [0x101e5a80]
mov edx, dword [ebp - 8]
sbb edx, dword [0x101e5a84]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
fild qword [ebp - 0x14]
fild qword [0x101e5a88]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
fdivp st(1)
fstp dword [esi + 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [0x101e5a80], eax
mov dword [0x101e5a84], ecx
call edi
push 0x10
shr eax, 0xf
and al, 1
mov byte [esi + 0x100], al
call edi
push 0x12
shr eax, 0xf
and al, 1
mov byte [esi + 0x101], al
call edi
mov byte [esi + 0x103], 0
shr eax, 0xf
and al, 1
mov byte [esi + 0x102], al
call fcn.1003d0d0
cmp byte [esi + 0xb4], 0
pop edi
pop esi
je 0x1003d27a
or eax, 0xffffffff
jmp 0x1003d27f
call fcn.10040bb0
cmp dword [0x101d7be4], eax
je 0x1003d291
mov dword [0x101d7be4], eax
call fcn.1003cfb0
mov esp, ebp
pop ebp
ret
Function at 0x1003ee60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101e5aa4], 0
jne 0x1003ef0e
xor edx, edx
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x101e5aa0], ecx
add edx, 1
cmp edx, 0x100
jb 0x1003ee72
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not esi
push edi
mov eax, esi
jle 0x1003ef48
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x101e5aa0]
sub ecx, 1
add edx, 1
test ecx, ecx
jne 0x1003ef21
pop edi
not eax
pop esi
pop ebp
ret
mov cl, byte [edx]
add edx, 1
test cl, cl
je 0x1003ef81
cmp cl, 0x23
jne 0x1003ef61
cmp byte [edx], cl
jne 0x1003ef61
cmp byte [edx + 1], cl
jne 0x1003ef61
mov eax, esi
mov edi, eax
movzx ecx, cl
and edi, 0xff
xor edi, ecx
mov cl, byte [edx]
shr eax, 8
xor eax, dword [edi*4 + 0x101e5aa0]
add edx, 1
test cl, cl
jne 0x1003ef51
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x1004a0e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019749b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101e10ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
fldz
fst dword [esi + 0x18]
mov dword [esi], ebx
fst dword [esi + 0x14]
mov dword [esi + 4], ebx
fst dword [esi + 0x20]
mov byte [esi + 8], bl
fst dword [esi + 0x1c]
mov byte [esi + 9], bl
fst dword [esi + 0x24]
mov dword [esi + 0xc], ebx
fstp dword [esi + 0x28]
mov dword [esi + 0x10], 1
mov eax, dword [esi + 0x34]
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x1004a15a
push eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
call fcn.10040280
add esp, 4
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004a440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1004a450
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call fcn.1004a370
mov edi, eax
add esp, 8
test edi, edi
jne 0x1004a46a
pop edi
pop ebp
ret
push esi
push 2
push 0
push edi
call fcn.10119023
add esp, 0xc
test eax, eax
jne 0x1004a520
push edi
call fcn.10118f2e
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x1004a520
push 0
push 0
push edi
call fcn.10119023
add esp, 0xc
test eax, eax
jne 0x1004a520
mov edx, dword [ebp + 0x14]
lea eax, [esi + edx]
push ebx
push eax
call fcn.10040250
add esp, 4
mov ebx, eax
test ebx, ebx
push edi
jne 0x1004a4cb
call fcn.10118d1a
add esp, 4
pop ebx
pop esi
xor eax, eax
pop edi
pop ebp
ret
push esi
push 1
push ebx
call fcn.10118c8d
add esp, 0x10
cmp eax, esi
je 0x1004a4f1
push edi
call fcn.10118d1a
push ebx
call fcn.10040280
add esp, 8
pop ebx
pop esi
xor eax, eax
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x1004a507
push eax
lea ecx, [ebx + esi]
push 0
push ecx
call fcn.10115760
add esp, 0xc
push edi
call fcn.10118d1a
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x1004a519
mov dword [eax], esi
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
push edi
call fcn.10118d1a
add esp, 4
pop esi
xor eax, eax
pop edi
pop ebp
ret
Function at 0x10051f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
fldz
mov eax, dword [0x101e5a90]
push esi
fstp dword [eax + 0x2c24]
mov esi, dword [ebp + 8]
test esi, esi
je 0x10051fc6
lea ecx, [ebp + 8]
push edi
push ecx
mov dword [ebp + 8], 0
call fcn.1004db40
push 0x101a3a84
push esi
mov edi, eax
call fcn.1004a370
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10051fc5
mov edx, dword [ebp + 8]
push esi
push edx
push 1
push edi
call fcn.10119665
push esi
call fcn.10118d1a
add esp, 0x14
pop edi
pop esi
pop ebp
ret
Function at 0x10077030
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
imul edx, edx, 0x15b0
push edi
mov edi, ecx
movzx ecx, di
shr edi, 0x10
sub ebx, edx
cmp dword [ebp + 8], 0
je 0x10077109
cmp ebx, 7
mov dword [ebp - 4], 0
jbe 0x100770be
mov eax, 7
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add dword [ebp - 4], 8
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
add eax, 8
add edi, ecx
add esi, 8
cmp eax, ebx
jb 0x10077071
cmp dword [ebp - 4], ebx
jae 0x100770d7
mov eax, ebx
sub eax, dword [ebp - 4]
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x100770c8
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
sub dword [ebp + 8], ebx
mov ebx, 0x15b0
jne 0x10077060
mov eax, edi
pop edi
shl eax, 0x10
pop esi
add eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1007c7e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10197a91
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x101e10ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
fldz
xor eax, eax
fst dword [esi + 0xc]
fst dword [esi + 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
fld1
fstp dword [esi + 4]
mov byte [ebp - 4], 2
mov word [esi + 0x3c], 0x3f
fst dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
fstp dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0xc], ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.100791c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10089cd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x101ad020
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10089d2b
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10089d2b
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x10089d2b
xor eax, eax
inc eax
jmp 0x10089d2d
xor eax, eax
leave
ret 0x10

Function at 0x10089d56
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x101ad020
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x10089dc4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10089dbb
cmp dword [ebp - 0xc], 4
jne 0x10089dbb
cmp dword [ebp - 0x10], edi
je 0x10089dbb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101d7f78], edi
xor eax, eax
jmp 0x10089e03
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x101d7f78], edi
jge 0x10089dfe
lea eax, [ebp - 0x34]
push eax
mov dword [0x101d7f78], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x10089dfe
cmp word [ebp - 0x14], 5
jb 0x10089dfe
call fcn.10089d31
test eax, eax
je 0x10089dfe
emms
mov dword [0x101d7f78], 1
mov eax, dword [0x101d7f78]
pop edi
leave
ret

Function at 0x10089fbf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x101ad020
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1008a016
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x1008a016
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x1008a016
xor eax, eax
inc eax
jmp 0x1008a018
xor eax, eax
leave
ret 0x10
Function at 0x1008d541
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x1008d662
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x1008d646
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x1008d598
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x1008d576
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x1008d94e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1064]
push edi
mov edi, dword [esi + 0x1058]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x1008da95
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1060]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x1008da70
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x1008d9b7
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1058]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1058]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x1008d98e
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x1008dbee
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1064]
mov edx, dword [esi + 0x20]
push edi
mov edi, dword [esi + 0x1058]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x1008dd34
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1060]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x1008dd0f
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x1008dc57
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1058]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1058]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x1008dc2e
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x1008dd69
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x20]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x1064]
push edi
mov edi, dword [esi + 0x1058]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x1008deb3
mov edx, 0xf0f0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1060]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x1008de8e
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff0f0f
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x2020]
mov ebp, eax
and ebp, 0xffff0f0f
add ebp, ecx
mov ecx, edi
and ecx, 0xffff0f0f
add ebp, ecx
mov ecx, esi
and ecx, 0xffff0f0f
shr ebx, 2
lea ecx, [ecx + ebp + 0x202]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff0f0f
lea eax, [eax + esi + 0x2020]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x1008ddd2
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1058]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1058]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x1008dda9
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret