joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459620
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 [0x4ad0cc]
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 0x4597ce
test edi, edi
je 0x4597ce
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4597bc
test esi, 0xfffffff0
je 0x4597bc
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 0x4596b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x45978b
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 0x45978b
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 0x45978b
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 0x45978b
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 0x45978b
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 0x459799
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x4597a9
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.0048079e
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048079e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop edi
call fcn.0048079e
mov esp, ebp
pop ebp
ret
Function at 0x45a270
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4ad0cc]
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 0x45a2f2
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x45a2c9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x45a2dd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
mov dword [esi + 8], 0
test ecx, ecx
je 0x45a300
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x45a300
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 0x45a330
cmp eax, 0x80010119
jne 0x45a3d3
lea eax, [ebp - 0x18]
push eax
push 0x493e2c
push 1
push 0
push 0x493efc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi + 0x10], eax
test eax, eax
js 0x45a3d3
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004597e0
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x45a36a
mov edx, dword [eax]
jmp 0x45a36c
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.00459880
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 0x45a3d3
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 0x45a3f9
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.0048079e
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x45a3db
Function at 0x45c8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489323
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ad0cc]
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 0x45c928
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 0x45c954
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 0x45c969
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 0x45cbf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub ecx, 4
jmp method.CryptoPP::FilterWithBufferedInput.virtual_0
push 0xffffffffffffffff
push 0x489378
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ad0cc]
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 0x45cc55
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 0x45cc6a
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0x20], 1
je 0x45cc7a
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 0x45e110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489a51
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ad0cc]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x4ad0cc]
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.00402190
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.00401e90
push 0x4aa600
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 0x45e570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489a51
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ad0cc]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x4ad0cc]
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.00402190
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.00401e90
push 0x4aa600
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 0x45ee60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ab81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ad0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4ad0cc]
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.00402190
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.00401e90
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x45ef17
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.0048079e
add esp, 0x2c
ret

Function at 0x45f120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ab81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ad0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4ad0cc]
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.00402190
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.00401e90
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x45f1d7
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.0048079e
add esp, 0x2c
ret
Function at 0x45f3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ab81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ad0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4ad0cc]
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.00402190
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.00401e90
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x45f457
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.0048079e
add esp, 0x2c
ret

Function at 0x45f510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ab81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ad0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4ad0cc]
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.00402190
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.00401e90
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x45f5c7
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.0048079e
add esp, 0x2c
ret
Function at 0x462e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489a51
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4ad0cc]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [0x4ad0cc]
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.00402190
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.00401e90
push 0x4aa600
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 0x464110
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x489d18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ad0cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call fcn.004666b0
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 0x4642b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x489d5e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ad0cc]
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.00463fa0
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 0x46435c
push 0x18
call fcn.004807f8
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov byte [esp + 0x18], 2
test esi, esi
je 0x464349
push 0
mov ecx, esi
call fcn.004666b0
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 0x46434b
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 0x4687a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ab81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ad0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4ad0cc]
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.00402190
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.00401e90
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::NotImplemented.0
jb 0x468857
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.0048079e
add esp, 0x2c
ret

Function at 0x469cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ab81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ad0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4ad0cc]
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.00402190
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.00401e90
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
jb 0x469d77
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.0048079e
add esp, 0x2c
ret
Function at 0x4762c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a930
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x4ad0cc]
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 0x4ad820
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 0x476392
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push str.Separator
push str.Grouper
call fcn.00475e10
jmp 0x4763a8
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x4ae4b8
push str.Separator
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x4ae4b8
push str.Terminator
mov ecx, esi
call dword [eax + 4]
cmp byte [esp + 0xc], 0
je 0x4763cf
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
jmp 0x4763d7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea ecx, [edi + 0x1c]
call fcn.0045f650
cmp byte [esp + 0x28], 0
je 0x4763f2
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
jmp 0x4763fa
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [edi + 0x2c]
call fcn.0045f650
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 0x47643c
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 0x476470
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