joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013810
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x40
push esi
push edi
push ebx
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x10013842
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1001385b
xor ebp, ebp
cmp dword [esp + 0xc], esi
je 0x10013863
xor ebp, ebp
mov ecx, dword [esp + 8]
lea eax, [esp + 8]
push eax
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1001387c
xor ebp, ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1001388b
xor ebp, ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 8
ret

Function at 0x1001f340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019b391
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x101e61ac]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.100023a1
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.1001edb0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], bx
call fcn.100023a1
mov eax, dword [esp + 0x28]
cmp eax, 8
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
jb 0x1001f3ec
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, 0x4052d0
call ecx
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x10024120
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101e61ac]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x1002416b
push str.Failed_to_unprotect_memory_n
jmp 0x10024190
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x10024198
push str.Failed_to_restore_protection_on_memory
call fcn.1011b109
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.10118ca0
add esp, 0x14
ret 8
Function at 0x1002ee70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x101e61ac]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x20], 0xe9
mov dword [esp + 0x18], 0
mov dword [esp + 0x21], eax
call edi
test eax, eax
jne 0x1002eebb
push str.Failed_to_unprotect_memory_n
jmp 0x1002eee0
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x14]
mov dword [esi], edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 5
push esi
mov byte [esi + 4], al
call edi
test eax, eax
jne 0x1002eee8
push str.Failed_to_restore_protection_on_memory
call fcn.1011b109
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.10118ca0
add esp, 0x14
ret

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

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push 4
lea esi, [edi + 1]
push esi
mov dword [esp + 0x1c], 0
call ebx
test eax, eax
jne 0x1002ef3b
push str.Failed_to_unprotect_memory_n
call fcn.1011b109
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
sub ecx, edi
push 4
sub ecx, 5
push esi
mov dword [esi], ecx
call ebx
test eax, eax
jne 0x1002ef66
push str.Failed_to_restore_protection_on_memory
call fcn.1011b109
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret

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

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
jne 0x1002efa2
push str.Failed_to_unprotect_memory_n
call fcn.1011b109
add esp, 4
pop edi
pop esi
add esp, 8
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call edi
test eax, eax
jne 0x1002efc8
push str.Failed_to_restore_protection_on_memory
call fcn.1011b109
add esp, 4
pop edi
pop esi
add esp, 8
ret

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

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
jne 0x1002f038
pop edi
pop esi
xor al, al
pop ebx
pop ecx
ret
push esi
push 0x90
push edi
call fcn.1011a2f0
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
push edi
call ebx
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x10034680
Capabilities:
Create thread

Disassembly:
cmp byte [ecx + 8], 0
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jne 0x100346bf
cmp byte [ecx + 9], 0
jne 0x100346bf
push 0
push 0
push 0
push 0x100344a0
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]
ret 8
Function at 0x1003f850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x101eab44], 0
jne 0x1003f8fc
xor edx, edx
nop
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 + 0x101eab40], ecx
add edx, 1
cmp edx, 0x100
jl 0x1003f860
mov ecx, dword [esp + 8]
test ecx, ecx
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not esi
push edi
mov eax, esi
jle 0x1003f938
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x101eab40]
sub ecx, 1
add edx, 1
test ecx, ecx
jne 0x1003f912
pop edi
not eax
pop esi
ret
mov cl, byte [edx]
add edx, 1
test cl, cl
je 0x1003f971
cmp cl, 0x23
jne 0x1003f951
cmp byte [edx], cl
jne 0x1003f951
cmp byte [edx + 1], cl
jne 0x1003f951
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 + 0x101eab40]
add edx, 1
test cl, cl
jne 0x1003f941
pop edi
not eax
pop esi
ret
Function at 0x1004ae80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1019cfbb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x101e61ac]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 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 [esp + 0x18], ebx
je 0x1004aefa
push eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
call fcn.10040d80
add esp, 4
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x1004b1d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1004b1de
mov dword [eax], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push edi
push eax
push ecx
call fcn.1004b0f0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1004b1f9
pop edi
ret
push esi
push 2
push 0
push edi
call fcn.1011d79f
add esp, 0xc
test eax, eax
jne 0x1004b2af
push edi
call fcn.1011d6aa
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x1004b2af
push 0
push 0
push edi
call fcn.1011d79f
add esp, 0xc
test eax, eax
jne 0x1004b2af
push ebx
push ebp
mov ebp, dword [esp + 0x20]
lea edx, [esi + ebp]
push edx
call fcn.10040d50
add esp, 4
mov ebx, eax
test ebx, ebx
push edi
jne 0x1004b25c
call fcn.1011d496
add esp, 4
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
ret
push esi
push 1
push ebx
call fcn.1011d408
add esp, 0x10
cmp eax, esi
je 0x1004b282
push edi
call fcn.1011d496
push ebx
call fcn.10040d80
add esp, 8
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
ret
test ebp, ebp
jle 0x1004b295
push ebp
lea eax, [ebx + esi]
push 0
push eax
call fcn.1011a2f0
add esp, 0xc
push edi
call fcn.1011d496
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x1004b2a8
mov dword [eax], esi
pop ebp
mov eax, ebx
pop ebx
pop esi
pop edi
ret
push edi
call fcn.1011d496
add esp, 4
pop esi
xor eax, eax
pop edi
ret
Function at 0x1007ab10
Capabilities:
Compute adler32 checksum

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, 0x5e6ea9af
mul ebp
shr edx, 0xb
imul edx, edx, 0x15b0
push edi
mov edi, ecx
mov ebx, ebp
movzx ecx, di
shr edi, 0x10
sub ebx, edx
test ebp, ebp
je 0x1007abe6
mov edi, edi
xor edx, edx
cmp ebx, 7
jbe 0x1007ab9c
mov eax, 7
lea esp, [esp]
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
add eax, 8
add edi, ecx
add esi, 8
add edx, 8
cmp eax, ebx
jb 0x1007ab50
cmp edx, ebx
jae 0x1007abb3
mov eax, ebx
sub eax, edx
movzx edx, byte [esi]
add ecx, edx
add esi, 1
add edi, ecx
sub eax, 1
jne 0x1007aba4
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 [esp + 0x14], ebx
mov ebx, 0x15b0
jne 0x1007ab40
mov eax, edi
pop edi
pop esi
shl eax, 0x10
pop ebp
add eax, ecx
pop ebx
ret
Function at 0x100804c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019d5b1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x101e61ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], 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 [esp + 0x1c], 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 [esp + 0x1c], 2
mov word [esi + 0x3c], 0x3f
fst dword [esp + 0xc]
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xc], ecx
mov ecx, esi
mov dword [esi + 8], eax
call fcn.1007cd10
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x10080560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1019d5f1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101e61ac]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 2
call fcn.1007cd10
mov eax, dword [esi + 0x30]
test eax, eax
mov byte [esp + 0x14], 1
je 0x100805aa
push eax
call fcn.10040d80
add esp, 4
mov eax, dword [esi + 0x24]
test eax, eax
mov byte [esp + 0x14], 0
je 0x100805bf
push eax
call fcn.10040d80
add esp, 4
mov esi, dword [esi + 0x18]
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x100805d7
push esi
call fcn.10040d80
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1008dc46
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 0x101b16f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1008dc9d
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 0x1008dc9d
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x1008dc9d
xor eax, eax
inc eax
jmp 0x1008dc9f
xor eax, eax
leave
ret 0x10

Function at 0x1008dcc8
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 0x101b16f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x1008dd36
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 0x1008dd2d
cmp dword [ebp - 0xc], 4
jne 0x1008dd2d
cmp dword [ebp - 0x10], edi
je 0x1008dd2d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101dcf88], edi
xor eax, eax
jmp 0x1008dd75
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x101dcf88], edi
jge 0x1008dd70
lea eax, [ebp - 0x34]
push eax
mov dword [0x101dcf88], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x1008dd70
cmp word [ebp - 0x14], 5
jb 0x1008dd70
call fcn.1008dca3
test eax, eax
je 0x1008dd70
emms
mov dword [0x101dcf88], 1
mov eax, dword [0x101dcf88]
pop edi
leave
ret

Function at 0x1008df31
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 0x101b16f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1008df88
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 0x1008df88
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x1008df88
xor eax, eax
inc eax
jmp 0x1008df8a
xor eax, eax
leave
ret 0x10
Function at 0x100914b3
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 0x100915d4
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 0x100915b8
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 0x1009150a
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 0x100914e8
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x100918c0
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 0x10091a07
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 0x100919e2
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 0x10091929
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 0x10091900
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x10091b60
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 0x10091ca6
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 0x10091c81
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 0x10091bc9
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 0x10091ba0
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x10091cdb
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 0x10091e25
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 0x10091e00
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 0x10091d44
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 0x10091d1b
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret