joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456950
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x60], eax
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x456afe
test edi, edi
je 0x456afe
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x456aec
test esi, 0xfffffff0
je 0x456aec
push ebx
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
xor bl, bl
mov dword [ebp - 0x54], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4569e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x456abb
push 8
push 0x18
push 0
push 0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x456abb
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], 0x208
mov dword [ebp - 0x4c], 0x660e
mov dword [ebp - 0x48], 0x10
movdqu xmm0, xmmword [eax]
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x2c
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x58]
movdqu xmmword [ebp - 0x44], xmm0
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x456abb
push 0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 2
push eax
push 4
push dword [ebp - 0x54]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x456abb
mov eax, esi
mov byte [ebp - 0x24], 0
and eax, 0xf
mov dword [ebp - 0xb], 0
sub esi, eax
mov word [ebp - 7], 0
push 0x10
lea eax, [edi - 0x10]
mov dword [ebp - 0x5c], esi
add eax, esi
mov byte [ebp - 5], 0
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
push 0x20
push eax
movdqu xmmword [ebp - 0x23], xmm0
movq qword [ebp - 0x13], xmm0
call dword [sym.imp.MSVCR120.dll_memcpy_s]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
lea eax, [ebp - 0x5c]
add esp, 0x10
push eax
push edi
push 0
push 0
push 0
push dword [ebp - 0x54]
call esi
test eax, eax
je 0x456abb
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x10
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 1
push 0
push dword [ebp - 0x54]
call esi
mov bl, 1
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x456ac9
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x456ad9
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop edi
call fcn.0047db8e
mov esp, ebp
pop ebp
ret
Function at 0x4576b0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485e88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 8]
lea edi, [esi + 4]
mov dword [ebp - 4], 0
cmp dword [edi], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], 0
je 0x457732
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x457709
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x45771d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
mov dword [esi + 8], 0
test ecx, ecx
je 0x457740
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x457740
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [esi + 0x10], eax
test eax, eax
jns 0x457770
cmp eax, 0x80010119
jne 0x457813
lea eax, [ebp - 0x18]
push eax
push 0x490e1c
push 1
push 0
push 0x490eec
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi + 0x10], eax
test eax, eax
js 0x457813
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00456b10
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x4577aa
mov edx, dword [eax]
jmp 0x4577ac
xor edx, edx
mov eax, dword [ebp - 0x18]
push edi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 0
call fcn.00456bb0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x18], 0
jl 0x457813
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [esi + 0x10], eax
test eax, eax
jns 0x457839
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047db8e
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x45781b
Function at 0x459d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486283
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x30]
lea edx, [esi + 0x30]
cmp eax, dword [esi + 0x34]
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], 1
cmovb ecx, edx
mov edx, dword [esi + 0x38]
test edx, edx
je 0x459d58
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 eax, dword [esi + 0x20]
lea ecx, [esi + 0x20]
cmp eax, dword [esi + 0x24]
lea edx, [esi + 0x24]
mov byte [esp + 0x18], 0
cmovb edx, ecx
mov ecx, dword [edx]
mov edx, dword [esi + 0x28]
test edx, edx
je 0x459d84
mov edi, edx
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.MSVCR120.dll_free
add esp, 4
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], 0xffffffff
test ecx, ecx
je 0x459d99
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

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

Disassembly:
sub ecx, 4
jmp method.CryptoPP::FilterWithBufferedInput.virtual_0
push 0xffffffffffffffff
push 0x4862d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov eax, dword [esi + 0x30]
lea edx, [esi + 0x30]
cmp eax, dword [esi + 0x34]
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], 0
cmovb ecx, edx
mov edx, dword [esi + 0x38]
test edx, edx
je 0x45a055
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 ecx, dword [esi + 0x10]
mov dword [esp + 0x18], 0xffffffff
test ecx, ecx
je 0x45a06a
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0x20], 1
je 0x45a07a
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x45b500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486981
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x35
push str.BufferedTransformation:_this_object_is_not_attachable
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00402180
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.00401e80
push 0x4a7150
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 0x45b950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486981
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x3f
push str.StreamTransformation:_this_object_doesnt_support_random_access
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00402180
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.00401e80
push 0x4a7150
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 0x45c240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487491
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x17
push str.Gunzip:_CRC_check_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.00402180
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], 3
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.00401e80
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x45c2f7
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Gunzip::CrcErr.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.0047db8e
add esp, 0x2c
ret

Function at 0x45c500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487491
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x1d
push str.Gunzip:_header_decoding_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.00402180
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.00401e80
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x45c5b7
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Gunzip::HeaderErr.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.0047db8e
add esp, 0x2c
ret
Function at 0x45c780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487491
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x1a
push str.Gunzip:_length_check_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.00402180
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], 3
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.00401e80
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x45c837
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Gunzip::LengthErr.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.0047db8e
add esp, 0x2c
ret

Function at 0x45c8f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487491
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x16
push str.Gunzip:_tail_too_short
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.00402180
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.00401e80
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x45c9a7
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Gunzip::TailErr.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.0047db8e
add esp, 0x2c
ret
Function at 0x4602b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486981
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x4aa0cc]
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.00402180
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.00401e80
push 0x4a7150
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 0x461590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x486c98
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call fcn.00463b20
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 0x461730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x486cde
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4aa0cc]
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.00461420
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 0x4617dc
push 0x18
call fcn.0047dbe8
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov byte [esp + 0x18], 2
test esi, esi
je 0x4617c9
push 0
mov ecx, esi
call fcn.00463b20
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 0x4617cb
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 0x465c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487491
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4aa0cc]
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.00402180
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.00401e80
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::NotImplemented.0
jb 0x465cc7
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.0047db8e
add esp, 0x2c
ret

Function at 0x467130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487491
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4aa0cc]
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.00402180
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.00401e80
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
jb 0x4671e7
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.0047db8e
add esp, 0x2c
ret
Function at 0x473710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487920
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x4aa0cc]
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 0x4aa820
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 0x4737e2
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push str.Separator
push str.Grouper
call fcn.00473260
jmp 0x4737f8
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x4ab4b8
push str.Separator
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x4ab4b8
push str.Terminator
mov ecx, esi
call dword [eax + 4]
cmp byte [esp + 0xc], 0
je 0x47381f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
jmp 0x473827
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [edi + 0x1c]
call fcn.0045ca60
cmp byte [esp + 0x28], 0
je 0x473842
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
jmp 0x47384a
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [edi + 0x2c]
call fcn.0045ca60
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 0x47388c
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 0x4738c0
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