joyce8/EMBER2024-capa huggingface dataset:
Function at 0x530b40
Capabilities:
Delete file

Disassembly:
add ecx, 8
cmp dword [ecx + 0x14], 0x10
jb 0x530b4b
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
ret

Function at 0x533540
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6272be
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
push 0x49a900
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x41], bl
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x5336b1
cmp dword [esi + 0x10], ebx
jne 0x5335dd
mov edx, dword [0x653294]
mov ecx, edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], bl
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5335b8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.004c82a0
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], ebx
lea esi, [ebp - 0x68]
push esi
lea ecx, [ebp - 0x40]
call fcn.004be960
mov dword [ebp - 4], 2
test bl, 1
je 0x53362e
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x53362e
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x533620
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5336d0
push edx
push ecx
call fcn.006084e7
add esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00532ac0
add esp, 8
push dword [ebp - 0x4c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
push edi
setne byte [ebp - 0x41]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x533681
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004c8530
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 6
cmp ecx, 0x10
jb 0x5336b1
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004c84c0
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608a00
mov esp, ebp
pop ebp
ret
call fcn.00540ccc
int3
Function at 0x535910
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6275a1
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x659af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x661a6c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x6600e4]
cmp eax, dword [ecx + 0x10]
jg 0x535975
mov eax, 0x653358
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608a00
mov esp, ebp
pop ebp
ret
push 0x6600e4
call fcn.0060892a
add esp, 4
cmp dword [0x6600e4], 0xffffffff
jne 0x535957
push 0x190
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0060a6d0
add esp, 0xc
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x633c00
mov dword [0x653358], eax
call fcn.006087d4
push 0x6600e4
call fcn.006088e0
add esp, 8
jmp 0x535957

Function at 0x535c60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x659af8]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], ecx
push ebp
mov ebp, dword [esp + 0x40]
push esi
test ebx, ebx
je 0x535d9a
test ecx, ecx
je 0x535d9a
mov esi, dword [esp + 0x40]
cmp esi, 0x10
jbe 0x535d9a
test ebp, ebp
je 0x535d9a
push edi
mov edi, esi
mov eax, 0x10
and edi, 0xf
cmove edi, eax
cmp esi, 0x20
jbe 0x535ce4
cmp edi, eax
mov edx, 0x20
push ebp
cmove eax, edx
and esi, 0xfffffff0
sub esi, eax
mov eax, dword [ebx + 0x1c]
push esi
push ecx
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, esi
add ebp, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
lea eax, [ecx + 0x10]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0060a150
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
mov eax, dword [ebx + 0x14]
push ebx
call eax
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x535d1d
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x14]
xor byte [esp + ecx + 0x24], al
inc ecx
cmp ecx, edi
jb 0x535d10
push edi
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0060a150
add esp, 0xc
test edi, edi
je 0x535d85
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.0060a150
lea eax, [esp + 0x20]
push eax
push eax
mov eax, dword [ebx + 0x14]
push ebx
call eax
mov eax, dword [ebx + 0x28]
add esp, 0x18
xor eax, dword [esp + 0x14]
mov dword [ebp], eax
mov ecx, dword [ebx + 0x2c]
xor ecx, dword [esp + 0x18]
mov dword [ebp + 4], ecx
mov ecx, dword [ebx + 0x30]
xor ecx, dword [esp + 0x1c]
mov dword [ebp + 8], ecx
mov ecx, dword [ebx + 0x34]
xor ecx, dword [esp + 0x20]
mov dword [ebp + 0xc], ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00608a00
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00608a00
add esp, 0x28
ret
Function at 0x535db0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x659af8]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], eax
push edi
mov edi, dword [esp + 0x3c]
test ebp, ebp
je 0x535ef3
test edi, edi
je 0x535ef3
test ebx, ebx
je 0x535ef3
test eax, eax
je 0x535ef3
push esi
cmp eax, 0x10
jae 0x535e32
mov esi, 0x10
sub esi, eax
add eax, 0x28
add eax, ebp
push esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0060a150
push dword [esp + 0x1c]
lea eax, [esp + 0x34]
add eax, esi
push edi
push eax
call fcn.0060a150
movups xmm0, xmmword [esp + 0x3c]
mov eax, dword [esp + 0x28]
add esp, 0x18
jmp 0x535e37
movups xmm0, xmmword [eax + edi - 0x10]
mov esi, eax
lea ecx, [ebp + 0x28]
shr esi, 4
movups xmmword [esp + 0x14], xmm0
test esi, esi
je 0x535e95
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push ebp
call eax
movups xmm0, xmmword [edi]
lea ecx, [ebp + 0x28]
add esp, 0xc
movups xmmword [ecx], xmm0
mov eax, dword [edi]
xor eax, dword [esp + 0x24]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esp + 0x28]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esp + 0x2c]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esp + 0x30]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub esi, 1
jne 0x535e48
mov eax, dword [esp + 0x10]
mov esi, eax
and esi, 0xf
je 0x535ed7
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push ebp
call eax
add esp, 0xc
xor edx, edx
test esi, esi
je 0x535ed3
lea eax, [esp + 0x24]
sub edi, eax
sub ebx, eax
nop dword [eax]
lea ecx, [esp + 0x24]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, esi
jb 0x535ec0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [esp + 0x14]
pop esi
pop edi
movups xmmword [ebp + 0x28], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00608a00
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
xor eax, eax
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00608a00
add esp, 0x28
ret
Function at 0x536090
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x659af8]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, esi
mov dword [esp + 0x10], ecx
and edi, 0xf
test ebp, ebp
je 0x5361bf
cmp esi, 0x10
jbe 0x5361bf
mov eax, esi
and eax, 0xfffffff0
cmp eax, 0x10
jbe 0x5360f8
mov eax, dword [ebp + 0x18]
and esi, 0xfffffff0
push ebx
sub esi, 0x10
push esi
push ecx
push ebp
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, esi
add ebx, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x28]
xor eax, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
xor eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 8]
xor eax, dword [ebp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [ebp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push eax
mov eax, dword [ebp + 0x10]
push ebp
call eax
add esp, 0xc
test edi, edi
je 0x53619a
mov eax, dword [esp + 0x10]
add eax, 0x10
push edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0060a150
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0060a150
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x53616d
nop dword [eax]
mov al, byte [esp + ecx + 0x24]
xor byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, edi
jb 0x536160
lea edi, [ebp + 0x28]
push edi
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ebp
call eax
movups xmm0, xmmword [edi]
add esp, 0xc
mov eax, esi
movups xmmword [ebx], xmm0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00608a00
add esp, 0x28
ret
movups xmm0, xmmword [ebx - 0x10]
pop edi
mov eax, esi
movups xmmword [ebx], xmm0
pop esi
movups xmm0, xmmword [esp + 0xc]
pop ebp
movups xmmword [ebx - 0x10], xmm0
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00608a00
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00608a00
add esp, 0x28
ret
Function at 0x5361e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x659af8]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
push esi
push edi
mov edi, dword [esp + 0x40]
test ebx, ebx
je 0x536345
mov esi, dword [esp + 0x38]
test esi, esi
je 0x536345
test edi, edi
je 0x536345
mov eax, ebp
lea ecx, [ebx + 0x28]
shr eax, 4
test eax, eax
je 0x53627d
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push ebx
call eax
mov eax, dword [esi]
lea ecx, [ebx + 0x28]
xor eax, dword [esp + 0x28]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x24]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
xor eax, dword [esp + 0x28]
mov dword [edi + 0xc], eax
movups xmm0, xmmword [edi]
add edi, 0x10
movups xmmword [ecx], xmm0
sub ebp, 1
jne 0x536230
mov ebp, dword [esp + 0x10]
and ebp, 0xf
je 0x53632c
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push ebx
call eax
add esp, 0xc
xor edx, edx
test ebp, ebp
je 0x5362c7
lea eax, [esp + 0x1c]
sub esi, eax
lea ecx, [esp + 0x1c]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x14], eax
mov ebx, eax
nop
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, ebp
jb 0x5362b0
mov ebx, dword [esp + 0x18]
add edi, ebp
lea ecx, [ebx + 0x28]
mov ebp, dword [esp + 0x10]
cmp ebp, 0x10
jae 0x536310
mov esi, 0x10
lea eax, [ebp + 0x28]
sub esi, ebp
add eax, ebx
push esi
push eax
push ecx
call fcn.0060a150
push ebp
sub edi, ebp
lea eax, [esi + 0x28]
add eax, ebx
push edi
push eax
call fcn.0060a150
add esp, 0x18
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00608a00
add esp, 0x20
ret
movups xmm0, xmmword [edi - 0x10]
pop edi
pop esi
mov eax, ebp
pop ebp
movups xmmword [ecx], xmm0
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00608a00
add esp, 0x20
ret
mov ebp, dword [esp + 0x10]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00608a00
add esp, 0x20
ret
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00608a00
add esp, 0x20
ret
Function at 0x536650
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0xc4
mov eax, dword [0x659af8]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
mov esi, dword [esp + 0xcc]
lea eax, [esp + 0x41]
push 0x3f
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push 0
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0
movq qword [esp + 0x40], xmm0
mov byte [esp + 0x4c], 0
call fcn.0060a6d0
add esp, 0xc
mov dword [esp + 0x80], 0
test esi, esi
je 0x53680f
lea eax, [esp + 0x14]
push eax
call fcn.00537300
add esp, 4
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x536711
push 2
call fcn.00547738
push eax
push 0x49aa20
call fcn.0054894f
add esp, 0xc
jmp 0x53674a
lea eax, [esp + 0x84]
push eax
push 0x20
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x53673e
push 2
call fcn.00547738
push eax
push 0x49aa40
call fcn.0054894f
add esp, 0xc
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x20
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00537340
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
mov dword [esp + 8], 0
xorps xmm0, xmm0
movlpd qword [esp + 0xc], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x5367cf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
call fcn.00545a12
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
push 0x20
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00537340
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.00537210
push 0x20
lea eax, [esp + 0xbc]
push eax
push esi
call fcn.00536830
add esp, 0x20
mov dword [esi + 0x24], 1
mov ecx, dword [esp + 0xc4]
pop esi
xor ecx, esp
call fcn.00608a00
add esp, 0xc4
ret
Function at 0x537040
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x12c
mov eax, dword [0x659af8]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push esi
push edi
movups xmm0, xmmword [ebx + 0x2c]
mov eax, dword [ebx + 0xc]
mov ebp, 0x30
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x14]
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x10], eax
movups xmm0, xmmword [ebx + 0x3c]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x24], eax
movups xmm0, xmmword [ebx + 0x4c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x24]
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x18], eax
movups xmm0, xmmword [ebx + 0x5c]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x34], ebx
movups xmmword [esp + 0x68], xmm0
nop dword [eax]
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebp, 1
jne 0x5370d0
mov ebp, dword [esp + 0x2c]
xor edi, edi
mov ebx, dword [esp + 0x24]
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 + 0x14]
and eax, ebx
or ecx, eax
mov eax, ebp
rol eax, 0xa
add esi, ecx
add esi, dword [edi + 0x49aaa0]
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 + 0x1c]
mov ecx, eax
and eax, ebp
or ecx, ebp
and ecx, dword [esp + 0x10]
or ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
add edx, ecx
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
lea ebp, [edx + esi]
mov eax, dword [esp + 0x10]
add ebx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
cmp edi, 0x100
jb 0x537114
mov eax, dword [esp + 0x30]
add eax, ebp
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x34]
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 + 4]
add dword [ebx + 0x14], eax
mov eax, dword [esp + 0x14]
add dword [ebx + 0x18], eax
mov eax, dword [esp + 0x18]
add dword [ebx + 0x1c], eax
mov eax, dword [esp + 8]
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.00608a00
add esp, 0x12c
ret
Function at 0x5380a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x30
mov eax, dword [0x659af8]
xor eax, esp
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x34]
push ebx
push esi
push edi
mov edi, dword [edx + 0x24]
mov ebx, 0
sub edi, 6
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov eax, ebx
je 0x53812b
mov esi, dword [esp + 0x44]
mov ecx, edi
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
xor esi, esi
nop
cmp ebx, dword [edx + 0x24]
ja 0x538278
cmp esi, edi
jae 0x538112
nop dword [eax]
cmp eax, 4
jae 0x53810e
mov edi, dword [esp + 0xc]
lea edx, [eax + ebx*4]
mov ecx, dword [esp + esi*4 + 0x18]
inc eax
inc esi
mov dword [edi + edx*4 + 0x38], ecx
mov edi, dword [esp + 0x10]
cmp esi, edi
jb 0x5380f0
mov edx, dword [esp + 0xc]
cmp eax, 4
lea ecx, [ebx + 1]
cmovne ecx, ebx
mov ebx, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, edi
jb 0x5380e0
cmp ebx, dword [edx + 0x24]
ja 0x538278
mov esi, 0x656578
nop dword [eax]
movzx ecx, byte [esp + edi*4 + 0x15]
mov dl, byte [esp + 0x18]
xor dl, byte [ecx + 0x653378]
mov byte [esp + 0x18], dl
movzx ecx, byte [esp + edi*4 + 0x16]
movzx ecx, byte [ecx + 0x653378]
xor byte [esp + 0x19], cl
movzx ecx, byte [esp + edi*4 + 0x17]
movzx ecx, byte [ecx + 0x653378]
xor byte [esp + 0x1a], cl
movzx ecx, byte [esp + edi*4 + 0x14]
movzx ecx, byte [ecx + 0x653378]
xor byte [esp + 0x1b], cl
movzx ecx, byte [esi]
inc esi
xor cl, dl
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], cl
mov edx, 1
cmp edi, 8
je 0x5381b7
cmp edi, edx
jbe 0x5381ad
nop
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, edi
jb 0x5381a0
test edi, edi
je 0x53826b
jmp 0x53821e
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, 4
jb 0x5381b7
movzx ecx, byte [esp + 0x24]
mov edx, 5
movzx ecx, byte [ecx + 0x653378]
xor byte [esp + 0x28], cl
movzx ecx, byte [esp + 0x25]
movzx ecx, byte [ecx + 0x653378]
xor byte [esp + 0x29], cl
movzx ecx, byte [esp + 0x26]
movzx ecx, byte [ecx + 0x653378]
xor byte [esp + 0x2a], cl
movzx ecx, byte [esp + 0x27]
movzx ecx, byte [ecx + 0x653378]
xor byte [esp + 0x2b], cl
nop word [eax + eax]
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, 8
jb 0x538210
xor esi, esi
mov ecx, dword [esp + 0xc]
cmp ebx, dword [ecx + 0x24]
ja 0x538267
cmp esi, edi
jae 0x53824e
nop dword [eax]
cmp eax, 4
jae 0x53824e
mov edi, dword [esp + 0xc]
lea edx, [eax + ebx*4]
mov ecx, dword [esp + esi*4 + 0x18]
inc eax
inc esi
mov dword [edi + edx*4 + 0x38], ecx
mov edi, dword [esp + 0x10]
cmp esi, edi
jb 0x538230
cmp eax, 4
lea ecx, [ebx + 1]
cmovne ecx, ebx
mov ebx, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, edi
jb 0x538220
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
cmp ebx, dword [ecx + 0x24]
jbe 0x538140
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00608a00
add esp, 0x30
ret
Function at 0x538290
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
movups xmm2, xmmword [eax]
mov eax, dword [esp + 8]
movaps xmm1, xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
movups xmmword [eax], xmm2
pxor xmm0, xmm2
pslldq xmm1, 4
movaps xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 1
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm1, xmm3
movups xmmword [eax + 0x10], xmm3
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movaps xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movaps xmm1, xmm2
movups xmmword [eax + 0x20], xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movaps xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm1, xmm3
movups xmmword [eax + 0x30], xmm3
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movaps xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 8
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movaps xmm1, xmm2
movups xmmword [eax + 0x40], xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movaps xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
aeskeygenassist xmm0, xmm2, 0x10
pxor xmm3, xmm1
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm1, xmm3
movups xmmword [eax + 0x50], xmm3
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movaps xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
aeskeygenassist xmm0, xmm3, 0x20
pxor xmm2, xmm1
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movaps xmm1, xmm2
movups xmmword [eax + 0x60], xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movaps xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm1, xmm3
movups xmmword [eax + 0x70], xmm3
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm3
movaps xmm2, xmm1
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm0
movaps xmm1, xmm2
movups xmmword [eax + 0x80], xmm2
pslldq xmm1, 4
movaps xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movaps xmm3, xmm1
pxor xmm3, xmm0
pslldq xmm1, 4
aeskeygenassist xmm0, xmm2, 0x1b
pxor xmm3, xmm1
pshufd xmm0, xmm0, 0xff
pxor xmm3, xmm0
movaps xmm2, xmm3
movups xmmword [eax + 0x90], xmm3
pslldq xmm2, 4
movaps xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm3
movaps xmm1, xmm2
pxor xmm1, xmm0
pslldq xmm2, 4
aeskeygenassist xmm0, xmm3, 0x36
pxor xmm1, xmm2
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm0
movups xmmword [eax + 0xa0], xmm1
ret