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

Disassembly:
push 0xffffffffffffffff
push 0x608028
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
push edx
push dword [0x62b088]
mov byte [esp + 0x1f], 0
push 0
push eax
push ecx
call dword [0x62906c]
test eax, eax
jne 0x535a93
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
mov eax, dword [edi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push ebp
lea eax, [esp + 0x2c]
mov dword [edi], 0
push eax
push 0
push ebx
push esi
call dword [0x629068]
test eax, eax
sete bl
test bl, bl
je 0x535a80
mov eax, dword [esp + 0x20]
mov dword [edi], eax
push esi
mov dword [esp + 0x38], 0xffffffff
call dword [0x629064]
mov al, bl
jmp 0x535a97
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005e0482
add esp, 0x24
ret
Function at 0x535ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x608028
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x48]
xor bl, bl
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x535b15
mov eax, dword [edi]
jmp 0x535b17
mov eax, edi
mov byte [eax], 0
lea eax, [esp + 0x1c]
push eax
push dword [0x62b088]
push 0
push edx
push ecx
call dword [0x62906c]
test eax, eax
jne 0x535bf5
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0
push ebp
push esi
call dword [0x629068]
mov ecx, eax
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x535b69
cmp eax, 2
jne 0x535be6
test ecx, ecx
jne 0x535be6
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x24]
cmp eax, ecx
ja 0x535b91
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], eax
jb 0x535b89
mov ecx, dword [edi]
mov byte [ecx + eax], 0
jmp 0x535b9d
mov ecx, edi
mov byte [ecx + eax], 0
jmp 0x535b9d
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.005341a0
cmp dword [edi + 0x14], 0x10
jb 0x535ba7
mov eax, dword [edi]
jmp 0x535ba9
mov eax, edi
lea ecx, [esp + 0x24]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
push 0
push ebp
push dword [esp + 0x30]
call dword [0x629068]
test eax, eax
jne 0x535be6
cmp dword [edi + 0x14], 0x10
jb 0x535bcf
mov ecx, dword [edi]
jmp 0x535bd1
mov ecx, edi
mov eax, dword [edi + 0x10]
dec eax
add eax, ecx
mov ecx, edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00534b00
mov bl, 1
push esi
mov dword [esp + 0x38], 0xffffffff
call dword [0x629064]
mov al, bl
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005e0482
add esp, 0x24
ret

Function at 0x535c80
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x34
push esi
mov esi, dword [esp + 0x3c]
push esi
push 0x4cb258
push 0x4cb268
push 0x80000002
call fcn.00535ac0
add esp, 0x10
cmp dword [esi + 0x10], 0
jne 0x535ccb
call dword [0x629230]
mov dword [esp + 4], eax
mov ecx, 0x4cb120
cmp eax, dword [ecx]
je 0x535cde
add ecx, 8
cmp ecx, 0x4cb220
jne 0x535cb5
mov eax, 1
jmp 0x535ce1
push 0x13
push 0x4cb3f8
mov ecx, esi
call fcn.004ecf70
pop esi
add esp, 0x34
ret
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
push 0
lea eax, [esp + 8]
push eax
call fcn.00532800
push 0x61a49c
lea eax, [esp + 0x10]
push eax
call fcn.005e0491
int3
Function at 0x537240
Capabilities:
Clear file content
Get file size
Write file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
push ebx
call dword [0x6290a4]
test eax, eax
jne 0x537275
xor al, al
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005e0482
add esp, 0x10
ret
xor edx, edx
push edi
mov edi, dword [esp + 0x20]
cmp edx, 0x7fffffff
jb 0x5372a9
ja 0x53728b
cmp edi, 0xffffffff
jbe 0x5372a9
push 0xdf
call dword [0x62925c]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005e0482
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
push ebp
push esi
cmp edx, ecx
jl 0x53731f
mov eax, dword [esp + 0x14]
jg 0x5372bd
cmp edi, eax
jbe 0x53731f
push 0
push 0
push ecx
push eax
push ebx
call dword [0x6290bc]
test eax, eax
je 0x53733b
sub edi, dword [esp + 0x14]
je 0x53730a
mov ebp, dword [0x6290c0]
mov eax, 0x200
nop
cmp edi, 0x200
mov esi, edi
push 0
cmova esi, eax
lea eax, [esp + 0x14]
push eax
push esi
push 0x637a88
push ebx
call ebp
cmp dword [esp + 0x10], esi
jne 0x53733b
mov eax, 0x200
sub edi, esi
jne 0x5372e0
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005e0482
add esp, 0x10
ret
push 0
push 0
push edx
push edi
push ebx
call dword [0x6290bc]
test eax, eax
je 0x53733b
push ebx
call dword [0x6290b8]
test eax, eax
jne 0x53730a
mov ecx, dword [esp + 0x1c]
xor al, al
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.005e0482
add esp, 0x10
ret
Function at 0x537770
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x5377b1
mov eax, dword [0x637c88]
test eax, eax
jne 0x53779f
lea eax, [esp + 4]
push eax
call dword [0x629258]
mov eax, dword [esp + 0x18]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 8
jb 0x53780d
cmp eax, 0x20
jae 0x5377d3
pause
inc dword [esi + 0xc]
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005e0482
add esp, 0x28
ret
mov ecx, esi
jne 0x5377ef
call fcn.00535dc0
inc dword [esi + 0xc]
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005e0482
add esp, 0x28
ret
call fcn.00537820
test al, al
je 0x537805
call dword [0x629234]
test eax, eax
jne 0x53780d
push eax
jmp 0x537807
push 1
call dword [0x629238]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
pop esi
xor ecx, esp
call fcn.005e0482
add esp, 0x28
ret

Function at 0x53ae70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6085db
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, dword [esp + 0x15c]
lea eax, [esp + 0xc]
push 0x128
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.005e0f30
xor eax, eax
cmp byte [esp + 0x14], al
setne al
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0053b060
mov eax, dword [esp + 0x174]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x148], xmm0
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x14c], eax
mov eax, dword [esi]
mov dword [esp + 0x150], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x154], eax
lea eax, [esp + 0x48]
push eax
xor eax, eax
mov dword [esp + 0x168], 0
cmp byte [esp + 0x20], al
setne al
push eax
push 0x10
push dword [esi + 0xc]
lea eax, [esp + 0x30]
push eax
call fcn.0053bbf0
lea eax, [esp + 0x15c]
xorps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x3c]
push eax
movdqu xmmword [esp + 0x68], xmm0
call fcn.0053b6c0
movdqu xmm0, xmmword [esp + 0x168]
mov esi, dword [esp + 0x18c]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x188], 0xffffffff
movdqu xmmword [esi], xmm0
call fcn.0053b6a0
add esp, 0x38
mov eax, esi
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.005e0482
add esp, 0x14c
ret
Function at 0x53b1d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0xc], esi
test ebp, ebp
je 0x53b352
test ebx, ebx
je 0x53b352
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10
jbe 0x53b352
test esi, esi
je 0x53b352
push edi
mov edi, ecx
mov eax, 0x10
and edi, 0xf
cmove edi, eax
cmp ecx, 0x20
jbe 0x53b253
push dword [esp + 0x10]
cmp edi, eax
mov edx, 0x20
mov esi, ecx
cmove eax, edx
and esi, 0xfffffff0
sub esi, eax
mov eax, dword [ebp + 0x1c]
push esi
push ebx
push ebp
call eax
add ebx, esi
add esp, 0x10
add dword [esp + 0x10], esi
mov esi, dword [esp + 0x10]
push edi
lea eax, [ebx + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.005e08e0
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebp + 0x14]
push ebx
push ebp
call eax
add esp, 0x18
xor eax, eax
test edi, edi
je 0x53b2d4
cmp edi, 0x20
jb 0x53b2c3
mov ecx, edi
mov edx, edi
and ecx, 0x1f
sub edx, ecx
jmp 0x53b290
movdqu xmm0, xmmword [esp + eax + 0x24]
movdqu xmm1, xmmword [esp + eax + 0x14]
pxor xmm1, xmm0
movdqu xmmword [esp + eax + 0x24], xmm1
movdqu xmm0, xmmword [esp + eax + 0x34]
movdqu xmm1, xmmword [esp + eax + 0x24]
pxor xmm1, xmm0
movdqu xmmword [esp + eax + 0x34], xmm1
add eax, 0x20
cmp eax, edx
jb 0x53b290
cmp eax, edi
jae 0x53b2d4
mov cl, byte [esp + eax + 0x14]
xor byte [esp + eax + 0x24], cl
inc eax
cmp eax, edi
jb 0x53b2c7
push edi
lea eax, [esp + 0x28]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.005e08e0
add esp, 0xc
test edi, edi
je 0x53b33b
mov eax, 0x10
sub eax, edi
push eax
lea eax, [esp + 0x28]
add eax, edi
push eax
lea eax, [esp + 0x1c]
add eax, edi
push eax
call fcn.005e08e0
lea eax, [esp + 0x20]
push eax
push eax
mov eax, dword [ebp + 0x14]
push ebp
call eax
mov eax, dword [ebp + 0x28]
add esp, 0x18
xor eax, dword [esp + 0x14]
mov dword [esi], eax
mov ecx, dword [ebp + 0x2c]
xor ecx, dword [esp + 0x18]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x30]
xor ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0x34]
xor ecx, dword [esp + 0x20]
mov dword [esi + 0xc], ecx
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005e0482
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005e0482
add esp, 0x28
ret
Function at 0x53b720
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, esi
mov dword [esp + 0x10], ecx
and edi, 0xf
test ecx, ecx
je 0x53b8a1
cmp esi, 0x10
jbe 0x53b8a1
mov eax, esi
and eax, 0xfffffff0
cmp eax, 0x10
jbe 0x53b784
mov eax, dword [ecx + 0x18]
and esi, 0xfffffff0
push ebx
sub esi, 0x10
push esi
push ebp
push ecx
call eax
mov ecx, dword [esp + 0x20]
add ebp, esi
add esp, 0x10
add ebx, esi
mov esi, dword [esp + 0x48]
mov eax, dword [ecx + 0x28]
lea edx, [ecx + 0x28]
xor eax, dword [ebp]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 4]
xor eax, dword [edx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
xor eax, dword [edx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
xor eax, dword [edx + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push eax
mov eax, dword [ecx + 0x10]
push ecx
mov dword [esp + 0x20], edx
call eax
add esp, 0xc
test edi, edi
je 0x53b878
push edi
lea eax, [ebp + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.005e08e0
push edi
lea eax, [esp + 0x28]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.005e08e0
add esp, 0x18
xor eax, eax
test edi, edi
je 0x53b844
cmp edi, 0x20
jb 0x53b833
mov ecx, edi
mov edx, edi
and ecx, 0x1f
sub edx, ecx
nop
movdqu xmm0, xmmword [esp + eax + 0x18]
movdqu xmm1, xmmword [esp + eax + 0x28]
pxor xmm1, xmm0
movdqu xmmword [esp + eax + 0x18], xmm1
movdqu xmm0, xmmword [esp + eax + 0x28]
movdqu xmm1, xmmword [esp + eax + 0x38]
pxor xmm1, xmm0
movdqu xmmword [esp + eax + 0x28], xmm1
add eax, 0x20
cmp eax, edx
jb 0x53b800
cmp eax, edi
jae 0x53b844
mov cl, byte [esp + eax + 0x28]
xor byte [esp + eax + 0x18], cl
inc eax
cmp eax, edi
jb 0x53b837
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [eax + 0x10]
call eax
movdqu xmm0, xmmword [edi]
add esp, 0xc
mov eax, esi
movdqu xmmword [ebx], xmm0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005e0482
add esp, 0x2c
ret
movdqu xmm0, xmmword [ebx - 0x10]
pop edi
mov eax, esi
movdqu xmmword [ebx], xmm0
pop esi
movdqu xmm0, xmmword [esp + 0x10]
pop ebp
movdqu xmmword [ebx - 0x10], xmm0
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005e0482
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005e0482
add esp, 0x2c
ret
Function at 0x53bdd0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
sub esp, 8
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push 0xf0000000
push 1
push 0
push 0
push eax
mov dword [esp + 0x18], 0
call dword [0x629054]
test eax, eax
jne 0x53be30
call fcn.005e2abe
add eax, 0x40
push eax
push 0x4cb950
call fcn.005e2b9a
add esp, 8
mov eax, 0x10300001
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005e0482
add esp, 8
ret
push esi
push dword [esp + 0x18]
push dword [esp + 0xc]
call dword [0x62904c]
test eax, eax
jne 0x53be7a
call fcn.005e2abe
add eax, 0x40
push eax
push 0x4cb970
call fcn.005e2b9a
add esp, 8
push 0
push dword [esp + 8]
call dword [0x629050]
mov eax, 0x10300001
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005e0482
add esp, 8
ret
push 0
push dword [esp + 8]
call dword [0x629050]
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
xor ecx, esp
call fcn.005e0482
add esp, 8
ret

Function at 0x53c480
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x637ce8], 0
push ebx
push esi
jne 0x53c558
xor esi, esi
mov eax, esi
and al, 1
movzx ecx, al
mov eax, esi
neg ecx
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov dword [esi*4 + 0x637cf0], eax
inc esi
cmp esi, 0x100
jb 0x53c491
mov dword [0x637ce8], 1
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x53c614
mov edx, dword [esp + 0x10]
test edx, edx
je 0x53c614
mov esi, dword [esp + 0x14]
mov eax, dword [ebx]
test esi, esi
je 0x53c612
push edi
nop
cmp esi, 0x10
jb 0x53c5f2
mov edi, 4
lea ebx, [ebx]
movzx ecx, byte [edx]
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x637cf0]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x637cf0]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x637cf0]
movzx ecx, byte [edx + 3]
add edx, 4
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x637cf0]
dec edi
jne 0x53c590
sub esi, 0x10
jmp 0x53c609
movzx ecx, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x637cf0]
dec esi
test esi, esi
jne 0x53c580
pop edi
mov dword [ebx], eax
pop esi
pop ebx
ret
Function at 0x53c620
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x12c
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push esi
push edi
movdqu xmm0, xmmword [ebx + 0x2c]
mov eax, dword [ebx + 0xc]
mov ebp, 0x30
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x14]
movdqu xmmword [esp + 0x38], xmm0
mov dword [esp + 0x14], eax
movdqu xmm0, xmmword [ebx + 0x3c]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x1c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x1c], eax
movdqu xmm0, xmmword [ebx + 0x4c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x24]
movdqu xmmword [esp + 0x58], xmm0
mov dword [esp + 0x18], eax
movdqu xmm0, xmmword [ebx + 0x5c]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x30], ebx
movdqu xmmword [esp + 0x68], xmm0
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
dec ebp
jne 0x53c6b4
mov ebp, dword [esp + 0x2c]
xor edi, edi
mov ebx, dword [esp + 0x1c]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [esp + 0x18]
xor esi, eax
mov eax, ebx
mov edx, ebp
ror eax, 6
xor esi, eax
ror edx, 0xd
mov eax, dword [esp + 0x10]
and eax, ebx
or ecx, eax
mov eax, ebp
rol eax, 0xa
add esi, ecx
add esi, dword [edi + 0x4cb9a8]
xor edx, eax
add esi, dword [esp + edi + 0x38]
mov eax, ebp
add esi, dword [esp + 0x28]
add edi, 4
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x20]
mov ecx, eax
and eax, ebp
or ecx, ebp
and ecx, dword [esp + 0x14]
or ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
add edx, ecx
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
lea ebp, [edx + esi]
mov eax, dword [esp + 0x14]
add ebx, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
cmp edi, 0x100
jb 0x53c6f7
mov eax, dword [esp + 0x34]
add eax, ebp
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
add dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x12c]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 8]
add dword [ebx + 0x14], eax
mov eax, dword [esp + 0x18]
add dword [ebx + 0x18], eax
mov eax, dword [esp + 0x10]
add dword [ebx + 0x1c], eax
mov eax, dword [esp + 4]
add dword [ebx + 0x20], eax
mov eax, dword [esp + 0xc]
add dword [ebx + 0x24], eax
mov eax, dword [esp + 0x1c]
add dword [ebx + 0x28], eax
pop ebx
xor ecx, esp
call fcn.005e0482
add esp, 0x12c
ret
Function at 0x53d540
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x30
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x34]
push ebx
push esi
push edi
mov ebx, dword [ecx + 0x24]
mov edi, 0
sub ebx, 6
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov eax, edi
je 0x53d57e
mov esi, dword [esp + 0x44]
lea edi, [esp + 0x18]
mov ecx, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
xor edi, edi
xor esi, esi
test ebx, ebx
je 0x53d5bf
cmp edi, dword [ecx + 0x24]
ja 0x53d6ff
cmp esi, ebx
jae 0x53d5b3
cmp eax, 4
jae 0x53d5af
mov ebx, dword [esp + 0xc]
lea edx, [eax + edi*4]
mov ecx, dword [esp + esi*4 + 0x18]
inc eax
inc esi
mov dword [ebx + edx*4 + 0x38], ecx
mov ebx, dword [esp + 0x10]
cmp esi, ebx
jb 0x53d591
mov ecx, dword [esp + 0xc]
cmp eax, 4
jne 0x53d5bb
inc edi
xor eax, eax
cmp esi, ebx
jb 0x53d584
cmp edi, dword [ecx + 0x24]
ja 0x53d6ff
mov esi, 0x62e2f8
lea ecx, [ecx]
movzx ecx, byte [esp + ebx*4 + 0x15]
mov dl, byte [esp + 0x18]
xor dl, byte [ecx + 0x62b0f8]
mov byte [esp + 0x18], dl
mov edx, 1
movzx ecx, byte [esp + ebx*4 + 0x16]
movzx ecx, byte [ecx + 0x62b0f8]
xor byte [esp + 0x19], cl
movzx ecx, byte [esp + ebx*4 + 0x17]
movzx ecx, byte [ecx + 0x62b0f8]
xor byte [esp + 0x1a], cl
movzx ecx, byte [esp + ebx*4 + 0x14]
movzx ecx, byte [ecx + 0x62b0f8]
xor byte [esp + 0x1b], cl
movzx ecx, byte [esi]
inc esi
xor byte [esp + 0x18], cl
mov dword [esp + 0x14], esi
cmp ebx, 8
je 0x53d640
cmp ebx, edx
jbe 0x53d6a1
lea ecx, [ecx]
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, ebx
jb 0x53d630
jmp 0x53d6a1
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, 4
jb 0x53d640
movzx ecx, byte [esp + 0x24]
mov edx, 5
movzx ecx, byte [ecx + 0x62b0f8]
xor byte [esp + 0x28], cl
movzx ecx, byte [esp + 0x25]
movzx ecx, byte [ecx + 0x62b0f8]
xor byte [esp + 0x29], cl
movzx ecx, byte [esp + 0x26]
movzx ecx, byte [ecx + 0x62b0f8]
xor byte [esp + 0x2a], cl
movzx ecx, byte [esp + 0x27]
movzx ecx, byte [ecx + 0x62b0f8]
xor byte [esp + 0x2b], cl
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, 8
jb 0x53d693
xor esi, esi
test ebx, ebx
je 0x53d6ee
mov ecx, dword [esp + 0xc]
jmp 0x53d6b0
cmp edi, dword [ecx + 0x24]
ja 0x53d6ee
cmp esi, ebx
jae 0x53d6e2
lea esp, [esp]
cmp eax, 4
jae 0x53d6de
mov ebx, dword [esp + 0xc]
lea edx, [eax + edi*4]
mov ecx, dword [esp + esi*4 + 0x18]
inc eax
inc esi
mov dword [ebx + edx*4 + 0x38], ecx
mov ebx, dword [esp + 0x10]
cmp esi, ebx
jb 0x53d6c0
mov ecx, dword [esp + 0xc]
cmp eax, 4
jne 0x53d6ea
inc edi
xor eax, eax
cmp esi, ebx
jb 0x53d6b0
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
cmp edi, dword [ecx + 0x24]
jbe 0x53d5d0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005e0482
add esp, 0x30
ret