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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4564a8
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
push esi
push edi
mov eax, dword [0x48f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
push ecx
lea ecx, [ebp - 0xec]
call fcn.004300e0
mov dword [ebp - 4], 0
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x42d0ea
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SystemCurrentControlSetServicesjsdlp_plcmgr_service
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42d0ef
cmp eax, 2
jne 0x42d0ef
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SystemCurrentControlSetServicesjsdlp_plcmgr_service
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x42d0ef
mov eax, 0x57
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x84]
call fcn.00430670
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], 0xd
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], vtable.kn::auto_handle_struct_HKEY_____struct_kn::system::registry_key_delete_.0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x50], vtable.js::basic_crypto_registry_object_808481642_.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], vtable.kn::auto_ptr_class_kn::crypto_aes_base_unsigned_char__class_std::allocator_unsigned_char____struct_std::default_delete_class_kn::crypto_aes_base_unsigned_char__class_std::allocator_unsigned_char____.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], vtable.kn::basic_buffer_unsigned_char__class_std::allocator_unsigned_char__.0
call fcn.00430010
lea ecx, [ebp - 0x84]
call fcn.0042d250
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x14], 0
test esi, esi
je 0x42d1b5
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
push str.details
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42d1ba
cmp eax, 2
jne 0x42d1ba
test esi, esi
je 0x42d1b5
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.details
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
jmp 0x42d1ba
mov eax, 0x57
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb8]
call fcn.00430670
mov dword [edi + 4], 0xd
mov ecx, edi
mov dword [edi + 0xc], 0
mov dword [edi + 8], vtable.kn::auto_handle_struct_HKEY_____struct_kn::system::registry_key_delete_.0
mov byte [edi + 0x14], 0
mov dword [edi], vtable.js::basic_crypto_registry_object_808481642_.0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], vtable.kn::auto_ptr_class_kn::crypto_aes_base_unsigned_char__class_std::allocator_unsigned_char____struct_std::default_delete_class_kn::crypto_aes_base_unsigned_char__class_std::allocator_unsigned_char____.0
push eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], vtable.kn::basic_buffer_unsigned_char__class_std::allocator_unsigned_char__.0
call fcn.00430010
lea ecx, [ebp - 0xb8]
call fcn.0042d250
lea ecx, [ebp - 0x50]
call fcn.0042d250
lea ecx, [ebp - 0xec]
call fcn.0042d250
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret