joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47fd61
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x3a
push str.BufferedTransformation:_this_object_cant_be_reinitialized
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.0040206a
lea ecx, [esp + 4]
mov dword [esp + 0x50], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x34]
mov byte [esp + 0x58], 1
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], vtable.CryptoPP::Exception.0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.00401e8e
push 0x49e2ac
lea eax, [esp + 8]
mov byte [esp + 0x54], 0
push eax
mov dword [esp + 0xc], vtable.CryptoPP::NotImplemented.0
call sub.MSVCR120.dll__CxxThrowException
int3

Function at 0x45c400
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4807d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call fcn.0045e990
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov eax, esi
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xffffffff
mov byte [esi + 0x28], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x45c5a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48081e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push 1
push dword [esp + 0x30]
call fcn.0045c290
mov eax, dword [esp + 0x20]
mov dword [edi], vtable.CryptoPP::ProxyFilter.0
mov dword [edi + 4], vtable.CryptoPP::ProxyFilter.1.0
mov dword [esp + 0x18], 0
mov dword [edi + 0x4c], eax
mov byte [esp + 0x18], 1
test eax, eax
je 0x45c64c
push 0x18
call fcn.00452efe
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov byte [esp + 0x18], 2
test esi, esi
je 0x45c639
push 0
mov ecx, esi
call fcn.0045e990
mov dword [esi], vtable.CryptoPP::OutputProxy.0
mov dword [esi + 4], vtable.CryptoPP::OutputProxy.1.0
mov dword [esi + 0x10], edi
mov byte [esi + 0x14], 0
jmp 0x45c63b
xor esi, esi
mov ecx, dword [edi + 0x4c]
push esi
mov byte [esp + 0x1c], 1
mov eax, dword [ecx]
call dword [eax + 0xb0]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x10
Function at 0x460a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480371
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x37
push str.BufferedTransformation:_this_object_doesnt_allow_input
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0040206a
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 0
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e8e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::NotImplemented.0
jb 0x460b47
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::BufferedTransformation_::InputRejected.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452da4
add esp, 0x2c
ret
Function at 0x462230
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
lea ecx, [ecx]
movzx edi, byte [edx + 0x4867a0]
mov eax, edi
mov dword [esp + 0x10], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x4a4718], eax
mov dword [edx*8 + 0x4a471c], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x462240
pop edi
pop esi
pop ebp
mov byte [0x4a4711], 1
pop ebx
add esp, 0x10
ret

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

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + str.cw]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x4a3f00], ecx
mov dword [eax*8 + 0x4a3f04], edx
inc eax
cmp eax, 0x100
jl 0x462394
xorps xmm0, xmm0
pop edi
movlpd qword [0x4a4708], xmm0
movlpd qword [0x4a4700], xmm0
mov byte [0x4a4710], 1
pop esi
ret
Function at 0x464420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480371
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x10
push str.BER_decode_error
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0040206a
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 1
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e8e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
jb 0x4644d7
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::BERDecodeErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452da4
add esp, 0x2c
ret
Function at 0x470990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4813e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x44]
push ecx
push 0x4a1ac4
push str.GroupSize
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
xor ecx, ecx
mov dword [esp + 0x1c], 0xffffffff
test al, al
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmovne ecx, dword [esp + 0x44]
mov dword [edi + 0x3c], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov byte [esp + 0xc], 0
mov dword [esp + 0x50], 3
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x50], 7
test ecx, ecx
je 0x470a62
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push str.Separator
push str.Grouper
call fcn.004704e0
jmp 0x470a78
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x4a1ee4
push str.Separator
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x4a1ee4
push str.Terminator
mov ecx, esi
call dword [eax + 4]
cmp byte [esp + 0xc], 0
je 0x470a9f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
jmp 0x470aa7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [edi + 0x1c]
call fcn.00457990
cmp byte [esp + 0x28], 0
je 0x470ac2
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
jmp 0x470aca
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [edi + 0x2c]
call fcn.00457990
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x3c]
cmp eax, dword [esp + 0x3c]
lea ecx, [esp + 0x38]
mov dword [edi + 0x40], 0
cmovae ecx, edx
mov byte [esp + 0x50], 3
mov edx, dword [esp + 0x40]
test edx, edx
je 0x470b0c
mov ecx, dword [ecx]
mov edi, edx
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.MSVCR120.dll_free
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x50], 0xffffffff
test edx, edx
je 0x470b40
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
cmp eax, dword [esp + 0x20]
lea esi, [esp + 0x20]
mov edi, edx
cmovae ecx, esi
xor al, al
push edx
mov ecx, dword [ecx]
rep stosb byte es:[edi], al
call sub.MSVCR120.dll_free
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret 4
Function at 0x472210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480371
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x23
push str.Inflator:_error_in_compressed_block
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0040206a
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 4
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e8e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x4722c7
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Inflator::BadBlockErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452da4
add esp, 0x2c
ret

Function at 0x472380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480371
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x1f
push str.Inflator:_error_in_bit_distance
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0040206a
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 4
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e8e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x472437
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Inflator::BadDistanceErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452da4
add esp, 0x2c
ret
Function at 0x4728c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x480371
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x2c
push str.Inflator:_unexpected_end_of_compressed_block
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0040206a
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 4
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e8e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x472977
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Inflator::UnexpectedEndErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00452da4
add esp, 0x2c
ret

Function at 0x474bc0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
mov edx, dword [esp + 0x14]
mov eax, 0
push ebx
xor bl, bl
test byte [esp + 0x10], 3
push ebp
sete al
push esi
test eax, eax
je 0x474c75
test cl, 3
mov eax, 0
sete al
test eax, eax
je 0x474c75
test edx, edx
je 0x474c95
mov ebx, dword [esp + 0x18]
xor eax, eax
push edi
mov edi, edx
mov dword [esp + 0x10], eax
shr edi, 2
xor esi, esi
test edi, edi
je 0x474c3c
sub ebx, ecx
mov dword [esp + 0x14], edi
mov esi, ecx
xor ebp, ebp
mov eax, dword [ebx + esi]
lea esi, [esi + 4]
xor eax, dword [esi - 4]
or ebp, eax
dec edi
jne 0x474c20
mov ebx, dword [esp + 0x1c]
mov eax, ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], ebp
shl esi, 2
pop edi
sub edx, esi
jne 0x474c56
mov ebp, dword [esp + 0xc]
xor eax, eax
pop esi
test ebp, ebp
pop ebp
sete al
pop ebx
add esp, 8
ret
add ebx, esi
add ecx, esi
mov dword [esp + 0x18], ebx
mov ebx, eax
shr eax, 0x10
shr ebx, 0x18
or bl, al
mov eax, dword [esp + 0xc]
shr eax, 8
or bl, al
or bl, byte [esp + 0xc]
test edx, edx
je 0x474c95
mov eax, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x18], eax
mov al, byte [ecx + eax]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or bl, al
mov eax, dword [esp + 0x18]
dec edx
jne 0x474c83
xor eax, eax
test bl, bl
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x477f30
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
mov edx, dword [esp + 4]
add eax, eax
lea ecx, [ecx*4 - 4]
movdqa xmm0, xmmword [edx + eax*8]
movdqa xmm1, xmmword [edx]
movdqa xmmword [edx], xmm0
movdqa xmmword [edx + eax*8], xmm1
mov eax, 4
cmp ecx, eax
jbe 0x477f80
mov edi, edi
aesimc xmm0, xmmword [edx + ecx*4]
aesimc xmm1, xmmword [edx + eax*4]
movdqa xmmword [edx + eax*4], xmm0
add eax, 4
movdqa xmmword [edx + ecx*4], xmm1
sub ecx, 4
cmp eax, ecx
jb 0x477f60
aesimc xmm0, xmmword [edx + eax*4]
movdqa xmmword [edx + eax*4], xmm0
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
push esi
movdqu xmm0, xmmword [eax + edi - 0x10]
movdqa xmmword [esp + 0x2c], xmm0
call sub.MSVCR120.dll_memcpy
movdqa xmm1, xmmword [esp + 0x2c]
mov edx, edi
shr edx, 2
add esp, 0xc
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
lea edi, [esi + edx*4]
lea eax, [edx + 7]
mov dword [esp + 8], 0x486664
shl eax, 4
xor ecx, 1
add eax, esi
mov dword [edi], ecx
mov dword [esp + 0xc], eax
lea eax, [edx*4]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
lea eax, [edx*4 + 8]
mov dword [eax + esi], ecx
mov dword [esp + 0x14], eax
lea eax, [edx*4 + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
xor eax, ecx
mov dword [esi + edx*4 + 0xc], eax
lea eax, [edx*4 + 0x10]
mov dword [esp + 0x1c], eax
add eax, esi
cmp eax, dword [esp + 0xc]
je 0x4780fe
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
cmp eax, 0x18
jne 0x478066
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x4780ab
cmp eax, 0x20
jne 0x4780a4
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x4780ab
pinsrd xmm1, dword [esi + 0x1c], 3
mov ecx, dword [esp + 8]
mov esi, edi
aeskeygenassist xmm0, xmm1, 0
pextrd eax, xmm0, 3
lea edi, [edx + esi]
xor eax, dword [ecx]
add ecx, 4
xor eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [edi]
mov dword [edx + esi + 4], eax
mov dword [esp + 8], ecx
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [eax + esi], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + esi], eax
mov eax, dword [esp + 0x1c]
add eax, esi
cmp eax, dword [esp + 0xc]
jne 0x478045
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47b090
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047b0a0

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x47b32c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0047b340
Function at 0x1000cf60
Capabilities:
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
push 0
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1000cf80
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1000d053
push esi
push 0
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
jle 0x1000d052
test edi, edi
je 0x1000d007
mov edx, 0x8000
lea ecx, [ebp - 8]
call fcn.1000e910
xor edi, edi
test esi, esi
mov esi, dword [ebp - 8]
jle 0x1000cffa
nop
push 0x8000
push esi
push edi
push ebx
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
push 0x8000
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ecx, dword [ebp - 0xc]
push esi
call fcn.1000e320
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x1000cfd0
test esi, esi
je 0x1000d007
push esi
call fcn.10013c29
add esp, 4
push str.Preferred_DropEffect
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1000d052
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x1000d052
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x1000d052
xor ecx, ecx
cmp dword [eax], 2
mov eax, dword [ebp - 0x14]
sete cl
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 4], 1
pop esi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000d070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.10024720
mov eax, dword [0x1003400c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test edx, edx
je 0x1000d0ac
sub esp, 8
lea edx, [ebp - 0x1044]
call fcn.1000eb90
add esp, 8
lea ecx, [ebp - 0x1044]
test eax, eax
cmove ecx, esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop esi
cmp eax, 0xffffffff
je 0x1000d0d0
test al, 0x10
je 0x1000d0d0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10013c18
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10013c18
mov esp, ebp
pop ebp
ret