joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579c26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0042e8d0
add eax, 0x10
mov dword [esi + 8], eax
lea edi, [esi + 0x10]
mov dword [edi + 0x24], 0
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x4257bd
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0042e8d0
add eax, 0x10
mov dword [esi + 0x38], eax
lea edi, [esi + 4]
mov byte [ebp - 4], 4
push edi
push 0xf003f
push 0
push dword [ebx]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
jne 0x425870
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
test eax, eax
jne 0x425843
mov eax, dword [ebp + 0x10]
cmp eax, 3
je 0x42582b
cmp eax, 4
je 0x42582b
cmp eax, 0xb
jne 0x425843
cmp dword [ebp + 0xc], 4
jne 0x425843
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x42585b
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x34
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.U2lajaiEMnPQMgcHSgT0cx47fGXMHZNR5z1BioPuPQw
lea ecx, [ebp - 0x38]
call fcn.0042ed90
push ebx
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp + 0xc]
call fcn.00445090
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00405750
push 0x5bf210
lea eax, [ebp - 0x20]
push eax
call fcn.0054fa3a
int3

Function at 0x429a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579f5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.00537e15
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x429acb
push eax
push esi
call fcn.00537c57
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.00537549
int3
Function at 0x458e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c0a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push str.aWRLIejoL0LQ4ezBTkfgNTQI1OxkUbGA4GOFi4
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
call fcn.0042d600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push str.OTRyuQ0pAlEzdMCRw
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
call fcn.0042d600
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x1c]
call fcn.00445090
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x458f1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x458f7c
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
push eax
call fcn.0042e9e0
lea ecx, [ebp - 0x20]
call fcn.00445090
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x458f6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
test eax, eax
cmove esi, dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x458fb2
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x458fa8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458ffd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x458fe8
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x458fde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458ffd
push ecx
push edx
call fcn.0054db34
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00552a0f
int3
Function at 0x4599a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d195
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0xc]
test edi, edi
je 0x459bbe
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x459bbe
lea esi, [edi + 1]
test esi, esi
js 0x459b70
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x459a10
push esi
lea ecx, [ebp + 8]
call fcn.0042f4e0
mov eax, dword [ebp + 8]
mov ecx, 0x5c
mov word [eax + edi*2], cx
mov eax, dword [ebp + 8]
cmp esi, dword [eax - 8]
jg 0x459b70
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + esi*2], cx
lea ecx, [ebp + 8]
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
call fcn.0042dcc0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x459a62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x459b7a
mov esi, dword [ebp + 8]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x459a7d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0042f560
push str.bWlRCaC4b7NAkZjDBUBcHwwy8HAIbIKDcLUCDgEcCA0
lea ecx, [ebp - 0x18]
call fcn.0042f690
push esi
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
mov ecx, esp
push eax
call fcn.0042e9b0
lea ecx, [ebp - 0x14]
call fcn.00445470
add esp, 4
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00446790
push 0x5bf1bc
lea eax, [ebp - 0x38]
push eax
call fcn.0054fa3a
push str.cmhTedBsGfJRUe3ATcr2AgkhBFR8NvJxEAQGw
lea ecx, [ebp - 0x18]
call fcn.0042f690
push 2
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
mov ecx, esp
push eax
call fcn.0042e9b0
lea ecx, [ebp - 0x14]
call fcn.00445470
add esp, 4
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00446790
push 0x5bf1bc
lea eax, [ebp - 0x44]
push eax
call fcn.0054fa3a
int3
Function at 0x466a30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e445
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x466c07
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.TEJvdRDksOBCojiNQE
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0042f250
test al, al
jne 0x466a95
push 0x13
push str.TEJvdRDksOBCojiNQE
lea ecx, [ebp - 0x14]
call fcn.0042f580
mov dword [ebp - 4], 1
call fcn.0042efe0
mov ecx, eax
test ecx, ecx
je 0x466c11
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x594764
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0042f250
test al, al
jne 0x466ada
push 0
push 0x594764
lea ecx, [ebp - 0x10]
call fcn.0042f580
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x466b5d
push 0x228
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x250], 0x22c
push 0
push eax
call fcn.0054f8e0
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x466b56
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp dword [ebp - 0x248], edi
je 0x466b48
lea eax, [ebp - 0x250]
push eax
push esi
call ebx
test eax, eax
jne 0x466b30
jmp 0x466b56
mov ecx, dword [ebp - 0x238]
lea edx, [ebp - 0x10]
call fcn.004668d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x466bb2
mov ebx, dword [ebp - 0x14]
push ecx
add ebx, 0xfffffff0
mov edi, esp
mov ecx, ebx
mov dword [ebp - 0x1c], edi
call fcn.0042e8d0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [edi], eax
call fcn.00445470
lea edx, [esi - 0x10]
add esp, 4
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x466ba3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x466bf3
mov ecx, dword [ebx]
push ebx
jmp 0x466bee
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.0042e8d0
mov ecx, dword [ebp - 0x18]
add eax, 0x10
or esi, 0xffffffff
mov dword [ecx], eax
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x466bdb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x466bf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042f560
push 0x80004005
call fcn.0042f560
int3
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4b527b13
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x16d2276b
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100017b2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x1003e940
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.1003e069
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1003e01e
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.1003e069
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1003e01e
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.1003e059
sahf
imul edx, dword [ebp - 0x54], 0xfacca580
invalid
Function at 0x1004ae80
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x40]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0x10]
cdq
sub eax, edx
mov edi, eax
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
sar edi, 1
cmp dword [ebp + 0x14], 0
bswap esi
bswap ecx
je 0x1004af41
imul ebx, edi, 0x9e3779b9
test edi, edi
jle 0x1004af0d
nop dword [eax]
mov edx, esi
mov eax, esi
shr edx, 5
add edx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor edx, eax
lea eax, [ebx + esi]
xor edx, eax
sub ecx, edx
mov edx, ecx
mov eax, ecx
shr edx, 5
add edx, dword [ebp + 8]
shl eax, 4
add eax, dword [ebp - 4]
xor edx, eax
lea eax, [ebx + ecx]
xor edx, eax
lea ebx, [ebx + 0x61c88647]
sub esi, edx
sub edi, 1
jne 0x1004aed0
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x1004af8d
mov eax, dword [edi]
mov edx, dword [ebp + 0x10]
bswap eax
xor esi, eax
mov eax, dword [edi + 4]
bswap eax
xor ecx, eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], edx
bswap esi
pop edi
mov dword [eax], esi
bswap ecx
pop esi
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test edi, edi
jle 0x1004af8d
nop word [eax + eax]
mov edx, ecx
lea ebx, [ebx - 0x61c88647]
shr edx, 5
mov eax, ecx
add edx, dword [ebp + 8]
shl eax, 4
add eax, dword [ebp - 4]
xor edx, eax
lea eax, [ebx + ecx]
xor edx, eax
add esi, edx
mov edx, esi
mov eax, esi
shr edx, 5
add edx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor edx, eax
lea eax, [ebx + esi]
xor edx, eax
add ecx, edx
sub edi, 1
jne 0x1004af50
mov eax, dword [ebp + 0xc]
bswap esi
pop edi
bswap ecx
mov dword [eax], esi
pop esi
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004d250
Capabilities:
Encrypt data using twofish

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 4
jne 0x1004d2aa
movzx eax, byte [esi]
mov edx, dword [edi + 0xc]
mov ecx, edx
shr ecx, 8
mov al, byte [eax + 0x1008cd70]
xor al, dl
mov byte [esi], al
movzx eax, byte [esi + 1]
xor cl, byte [eax + 0x1008cc70]
movzx eax, byte [esi + 2]
mov byte [esi + 1], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 0x18
xor cl, byte [eax + 0x1008cc70]
movzx eax, byte [esi + 3]
mov byte [esi + 2], cl
xor dl, byte [eax + 0x1008cd70]
mov byte [esi + 3], dl
jmp 0x1004d2af
cmp eax, 3
jl 0x1004d301
movzx eax, byte [esi]
mov ebx, dword [edi + 8]
mov ecx, ebx
shr ecx, 8
mov al, byte [eax + 0x1008cd70]
xor al, bl
mov byte [ebp + 0xb], al
mov byte [esi], al
movzx eax, byte [esi + 1]
xor cl, byte [eax + 0x1008cd70]
movzx eax, byte [esi + 2]
mov dword [ebp + 0x10], ecx
mov byte [esi + 1], cl
mov ecx, ebx
shr ecx, 0x10
xor cl, byte [eax + 0x1008cc70]
movzx eax, byte [esi + 3]
shr ebx, 0x18
mov dword [ebp + 0xc], ecx
mov byte [esi + 2], cl
xor bl, byte [eax + 0x1008cc70]
mov cl, byte [ebp + 0xb]
mov byte [esi + 3], bl
jmp 0x1004d312
mov al, byte [esi + 1]
mov cl, byte [esi]
mov bl, byte [esi + 3]
mov dword [ebp + 0x10], eax
mov al, byte [esi + 2]
mov dword [ebp + 0xc], eax
mov edx, dword [edi + 4]
movzx eax, cl
movzx ecx, byte [eax + 0x1008cc70]
movzx eax, dl
xor ecx, eax
movzx eax, byte [edi]
movzx ecx, byte [ecx + 0x1008cc70]
xor ecx, eax
movzx eax, byte [ecx + 0x1008cd70]
mov byte [esi], al
mov eax, dword [ebp + 0x10]
movzx eax, al
movzx ecx, byte [eax + 0x1008cd70]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
movzx eax, byte [edi + 1]
movzx ecx, byte [ecx + 0x1008cc70]
xor ecx, eax
movzx eax, byte [ecx + 0x1008cc70]
mov byte [esi + 1], al
mov eax, dword [ebp + 0xc]
movzx eax, al
movzx ecx, byte [eax + 0x1008cc70]
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ecx, eax
shr edx, 0x18
movzx eax, byte [edi + 2]
movzx ecx, byte [ecx + 0x1008cd70]
xor ecx, eax
movzx eax, byte [ecx + 0x1008cd70]
mov byte [esi + 2], al
movzx eax, bl
movzx eax, byte [eax + 0x1008cd70]
xor eax, edx
movzx ecx, byte [eax + 0x1008cd70]
movzx eax, byte [edi + 3]
xor ecx, eax
pop edi
movzx eax, byte [ecx + 0x1008cc70]
mov byte [esi + 3], al
pop esi
pop ebx
pop ebp
ret
Function at 0x1004d420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov ecx, dword [eax + 0x18]
xor ecx, dword [edx + 8]
mov ebx, dword [eax + 0x10]
xor ebx, dword [edx]
push edi
mov edi, dword [eax + 0x14]
xor edi, dword [edx + 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x1c]
xor ecx, dword [edx + 0xc]
mov dword [ebp - 4], ecx
lea ecx, [eax + 0x9c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], edi
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], 8
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov esi, dword [eax + edx*4 + 0x8b4]
xor esi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, edi
rol ebx, 8
xor esi, dword [eax + ecx*4 + 0xb4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x18], esi
mov edi, dword [eax + edx*4 + 0x8b4]
mov edx, dword [ebp + 8]
xor edi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor edi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, dword [ebp - 0xc]
rol ebx, 1
xor edi, dword [eax + ecx*4 + 0xb4]
mov ecx, dword [edx - 4]
mov edx, dword [edx]
add ecx, edi
add ecx, esi
add esi, edx
xor ebx, ecx
shl esi, 0x1f
mov ecx, dword [ebp - 4]
shl ecx, 0x1f
xor esi, ecx
mov dword [ebp - 0xc], ebx
lea ecx, [edx + edi*2]
mov edi, esi
add ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 4]
shr ecx, 1
or edi, ecx
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 4], edi
mov esi, dword [eax + edx*4 + 0x8b4]
xor esi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, edi
rol ebx, 8
xor esi, dword [eax + ecx*4 + 0xb4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x18], esi
mov edi, dword [eax + edx*4 + 0x8b4]
xor edi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor edi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, dword [ebp - 0x10]
xor edi, dword [eax + ecx*4 + 0xb4]
rol ebx, 1
mov edx, dword [ebp + 8]
sub dword [ebp + 8], 0x10
mov ecx, dword [edx - 0xc]
mov edx, dword [edx - 8]
add ecx, edi
add ecx, esi
add esi, edx
xor ebx, ecx
shl esi, 0x1f
mov ecx, dword [ebp - 8]
lea edi, [edx + edi*2]
shl ecx, 0x1f
add edi, dword [ebp - 0x18]
xor esi, ecx
xor edi, dword [ebp - 8]
shr edi, 1
or edi, esi
mov dword [ebp - 0x10], ebx
sub dword [ebp - 0x14], 1
mov dword [ebp - 8], edi
jne 0x1004d462
mov edi, dword [eax + 8]
mov edx, dword [eax]
xor edi, ebx
mov esi, dword [eax + 4]
mov ebx, dword [eax + 0xc]
xor edx, dword [ebp - 0xc]
xor esi, dword [ebp - 4]
xor ebx, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1004d5ea
mov eax, dword [ebp + 0x10]
xor edx, dword [ecx]
xor esi, dword [ecx + 4]
xor edi, dword [ecx + 8]
movups xmm0, xmmword [eax]
xor ebx, dword [ecx + 0xc]
movups xmmword [ecx], xmm0
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
pop edi
mov dword [eax + 0xc], esi
pop esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004d680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov edx, dword [eax + 8]
xor edx, dword [ecx + 8]
mov ebx, dword [eax]
xor ebx, dword [ecx]
push edi
mov edi, dword [eax + 4]
xor edi, dword [ecx + 4]
mov dword [ebp + 0x10], edx
mov edx, dword [eax + 0xc]
xor edx, dword [ecx + 0xc]
lea ecx, [eax + 0x24]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
mov dword [ebp - 0xc], 8
nop dword [eax + eax]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov esi, dword [eax + edx*4 + 0x8b4]
xor esi, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor esi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, edi
rol ebx, 8
rol edi, 1
xor esi, dword [eax + ecx*4 + 0xb4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [eax + edx*4 + 0x8b4]
xor edx, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
mov ebx, dword [ebp - 4]
rol ebx, 1
xor edx, dword [eax + ecx*4 + 0xb4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
add ecx, edx
add ecx, esi
xor ecx, dword [ebp + 0x10]
ror ecx, 1
mov dword [ebp + 0x10], ecx
lea ecx, [esi + edx*2]
mov edx, dword [ebp + 8]
add ecx, dword [edx]
xor ebx, ecx
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp + 0x10]
shr ecx, 8
movzx ecx, cl
mov esi, dword [eax + edx*4 + 0x8b4]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
xor esi, dword [eax + ecx*4 + 0x4b4]
mov ecx, edx
shr ecx, 0x18
rol ebx, 8
xor esi, dword [eax + ecx*4 + 0xcb4]
movzx ecx, dl
xor esi, dword [eax + ecx*4 + 0xb4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [eax + edx*4 + 0x8b4]
xor edx, dword [eax + ecx*4 + 0x4b4]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [eax + ecx*4 + 0xcb4]
movzx ecx, bl
xor edx, dword [eax + ecx*4 + 0xb4]
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add ebx, edx
add ebx, esi
xor ebx, dword [ebp - 8]
ror ebx, 1
lea ecx, [ecx + edx*2]
mov dword [ebp - 8], ebx
add ecx, esi
add dword [ebp + 8], 0x10
xor edi, ecx
sub dword [ebp - 0xc], 1
jne 0x1004d6c0
xor ebx, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
xor ecx, dword [eax + 0x10]
mov edx, dword [ebp - 4]
xor edx, dword [eax + 0x14]
xor edi, dword [eax + 0x1c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edi
pop edi
pop esi
mov dword [eax + 8], ebx
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret