joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d718
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x40d726
and dword [esi], 0
xor eax, eax
inc eax
cmp dword [ebp + 0x10], 0
jbe 0x40d75e
mov eax, 0x8000
cmp dword [ebp + 0x10], eax
jae 0x40d73c
mov eax, dword [ebp + 0x10]
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x40d75e
mov ecx, dword [ebp + 0x10]
add dword [esi], ecx
test eax, eax
setne al
movzx eax, al
push eax
call fcn.0040d500
pop esi
pop ebp
ret 0x10

Function at 0x40f8b7
Capabilities:
Set file attributes

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret 8

Function at 0x40faa5
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4344fc], 0
jne 0x40fadc
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040fa5a
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.0040f8b7
push dword [ebp - 0xc]
mov bl, al
call fcn.00411b4b
pop ecx
mov al, bl
pop ebx
jmp 0x40faed
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
leave
ret 8

Function at 0x40faf1
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4344fc], 0
jne 0x40fb24
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040fa5a
push dword [eax]
call fcn.0040f8cd
push dword [ebp - 0xc]
mov bl, al
call fcn.00411b4b
pop ecx
mov al, bl
pop ebx
jmp 0x40fb32
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
leave
ret 4

Function at 0x40fba2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4344fc], 0
jne 0x40fbd5
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040fa5a
push dword [eax]
call fcn.0040f8f5
push dword [ebp - 0xc]
mov bl, al
call fcn.00411b4b
pop ecx
mov al, bl
pop ebx
jmp 0x40fbe5
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
leave
ret 4

Function at 0x40fbe9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4344fc], 0
jne 0x40fc1c
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040fa5a
push dword [eax]
call fcn.0040f909
push dword [ebp - 0xc]
mov bl, al
call fcn.00411b4b
pop ecx
mov al, bl
pop ebx
jmp 0x40fc38
push 0
push dword [ebp + 8]
call fcn.0040faa5
test al, al
je 0x40fc38
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
leave
ret 4
Function at 0x40fcbb
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, 0x105
push edi
mov ecx, esi
call fcn.0040f980
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, dword [esi]
push edi
mov ebx, eax
call fcn.0040b5e9
mov byte [edi + eax], 0
mov dword [esi + 4], eax
dec ebx
mov eax, 0x103
cmp eax, ebx
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
ret 4

Function at 0x4103dc
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410402
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x410402
xor al, al
jmp 0x410422
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0041ca60
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x410fb2
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
and dword [esi + 4], 0
mov eax, dword [esi]
push edi
mov ebx, ecx
mov byte [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jne 0x410fdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x411017
push edi
mov ecx, esi
call fcn.0040f980
inc edi
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, dword [esi]
push edi
mov ebx, eax
call fcn.0040b5e9
mov byte [edi + eax], 0
mov dword [esi + 4], eax
test ebx, ebx
jne 0x411015
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
neg eax
jmp 0x411017
mov al, 1
pop edi
pop esi
pop ebx
ret 4

Function at 0x416f10
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
test edx, edx
jbe 0x416f39
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x434fa0]
dec edx
inc ecx
test edx, edx
ja 0x416f1d
pop esi
ret 4
Function at 0x4170d6
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
shr dword [ebp + 0x10], 2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
shr eax, 1
add eax, 3
push esi
xor esi, esi
lea edx, [eax*8 + 4]
push edi
mov dword [ecx], eax
mov dword [ebp - 4], edx
cmp dword [ebp + 0x10], esi
jbe 0x417110
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ecx + esi*4 + 4], edi
inc esi
add eax, 4
cmp esi, dword [ebp + 0x10]
jb 0x417101
cmp esi, edx
jae 0x4171f7
mov eax, esi
sub eax, dword [ebp + 0x10]
push ebx
lea eax, [ecx + eax*4 + 4]
mov dword [ebp + 8], eax
xor edx, edx
mov eax, esi
div dword [ebp + 0x10]
mov edi, dword [ecx + esi*4]
mov dword [ebp + 0xc], eax
test edx, edx
jne 0x41718b
mov eax, edi
mov edx, 0xff
and eax, edx
movzx eax, byte [eax + str.cw]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl eax, 8
or eax, ebx
mov ebx, edi
shr edi, 8
and edi, edx
shr ebx, 0x10
and ebx, edx
movzx edx, byte [edi + str.cw]
movzx ebx, byte [ebx + str.cw]
mov edi, dword [ebp + 0xc]
movzx edi, byte [edi + 0x4314a8]
shl eax, 8
or eax, ebx
xor edx, edi
shl eax, 8
or eax, edx
mov edi, eax
jmp 0x4171dd
cmp dword [ebp + 0x10], 6
jbe 0x4171dd
cmp edx, 4
jne 0x4171dd
mov edx, edi
shr edx, 0x10
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
mov eax, 0xff
and edx, eax
movzx edx, byte [edx + str.cw]
shl ebx, 8
or edx, ebx
mov ebx, edi
shr ebx, 8
and ebx, eax
movzx ebx, byte [ebx + str.cw]
shl edx, 8
and edi, eax
movzx eax, byte [edi + str.cw]
or edx, ebx
shl edx, 8
or edx, eax
mov edi, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add dword [ebp + 8], 4
xor eax, edi
mov dword [ecx + esi*4 + 4], eax
inc esi
cmp esi, dword [ebp - 4]
jb 0x417125
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x4171fd
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
push esi
call fcn.004170d6
mov eax, dword [esi]
lea eax, [eax*8 - 4]
xor edx, edx
mov dword [ebp + 0x10], eax
test eax, eax
jbe 0x417286
push ebx
mov ecx, 0xff
push edi
mov eax, dword [esi + edx*4 + 0x14]
mov edi, eax
shr edi, 0x10
and edi, ecx
movzx edi, byte [edi + str.cw]
mov edi, dword [edi*4 + 0x433bf8]
mov ebx, eax
shr ebx, 8
and ebx, ecx
movzx ebx, byte [ebx + str.cw]
xor edi, dword [ebx*4 + 0x4337f8]
mov ebx, eax
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
xor edi, dword [ebx*4 + 0x433ff8]
and eax, ecx
movzx eax, byte [eax + str.cw]
xor edi, dword [eax*4 + 0x4333f8]
inc edx
mov dword [esi + edx*4 + 0x10], edi
cmp edx, dword [ebp + 0x10]
jb 0x417229
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x4176dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x4176f1
xor eax, eax
jmp 0x417780
push 0x10
pop eax
cmp ebx, eax
jb 0x417780
sub ebx, eax
add ebx, eax
shr ebx, 4
push esi
mov esi, dword [ebp + 8]
mov eax, ebx
shl eax, 4
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
mov eax, dword [edi]
push dword [esi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0x14]
lea eax, [ebp - 0x10]
call fcn.0041728b
mov eax, dword [esi]
xor eax, dword [ebp - 0x20]
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [ebp - 0x1c]
add edi, 0x10
mov dword [edi - 0xc], eax
mov eax, dword [esi + 8]
xor eax, dword [ebp - 0x18]
mov dword [edi - 8], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebp - 0x14]
dec ebx
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
jne 0x417713
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4177e6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jb 0x417941
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x417824
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x417829
inc edi
cmp edi, dword [ebp - 4]
jb 0x41781b
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x417921
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x417880
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x417854
cmp cl, 0xff
jne 0x4178ab
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x4178b9
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x4178c0
dec ecx
shl edx, cl
and edx, 7
je 0x417845
movzx ecx, byte [edx + 0x427130]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x427128], 0
mov cl, byte [ebx + 4]
je 0x4178a8
test cl, cl
je 0x4178a8
cmp cl, 0xff
jne 0x417845
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x417816
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x4178f4
movzx esi, byte [edx + 0x427130]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x4178df
cmp al, 0xff
jne 0x4178f1
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x417872
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x417816
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret 0x14

Function at 0x4194df
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret 4

Function at 0x41982c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x10]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.0041cdd3
mov ecx, dword [ebp + 8]
add esp, 0x18
push eax
mov dword [ecx], eax
call fcn.004197e7
pop ebp
ret 0xc
Function at 0x41a82b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431530]
jne 0x41a835
repz ret
jmp fcn.0041ea2c

Function at 0x421088
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041d6a6
and dword [ebp - 4], 0
cmp dword [0x434e74], 0
mov ebx, eax
jne 0x421139
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4211ea
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4211ea
push eax
call fcn.0041d634
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434e74], eax
call esi
push eax
call fcn.0041d634
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x434e78], eax
call esi
push eax
call fcn.0041d634
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x434e7c], eax
call esi
push eax
call fcn.0041d634
pop ecx
mov dword [0x434e84], eax
test eax, eax
je 0x421139
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041d634
pop ecx
mov dword [0x434e80], eax
mov eax, dword [0x434e80]
cmp eax, ebx
je 0x421191
cmp dword [0x434e84], ebx
je 0x421191
push eax
call fcn.0041d6af
push dword [0x434e84]
mov esi, eax
call fcn.0041d6af
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x421191
test edi, edi
je 0x421191
call esi
test eax, eax
je 0x421188
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x421188
test byte [ebp - 0xc], 1
jne 0x421191
or dword [ebp + 0x10], 0x200000
jmp 0x4211ca
mov eax, dword [0x434e78]
cmp eax, ebx
je 0x4211ca
push eax
call fcn.0041d6af
pop ecx
test eax, eax
je 0x4211ca
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4211ca
mov eax, dword [0x434e7c]
cmp eax, ebx
je 0x4211ca
push eax
call fcn.0041d6af
pop ecx
test eax, eax
je 0x4211ca
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434e74]
call fcn.0041d6af
pop ecx
test eax, eax
je 0x4211ea
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4211ec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x10001f2a
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x10001ebd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.10001600
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10001e83
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x10001ff3
call fcn.10001ecf
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x10001f8a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.10001a20
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x10001f3b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x10001ff3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.10001a20
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x10001fee
jmp 0x10001ff3
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10002d20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x10002d3e
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret
Function at 0x10002d80
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x10002d9e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x10002de0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x10002e02
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x10002e60
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x10002e82
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x10002ee0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x10002f0a
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret