Function at 0x42e3a0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456765
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
push esi
push edi
mov eax, dword [0x48f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x44], edi
mov edx, ecx
mov dword [ebp - 0x4c], edx
mov eax, dword [edx + 4]
xor esi, esi
test eax, eax
je 0x42e3f8
mov esi, eax
jmp 0x42eddd
mov eax, dword [edi + 0x10]
test eax, eax
je 0x42e42a
cmp dword [edi + 0x14], 8
lea ecx, [eax*2 + 2]
mov eax, edi
jb 0x42e410
mov eax, dword [edi]
push ecx
push eax
push 1
push str.policy_directory
mov ecx, edx
call fcn.004301f0
mov esi, eax
test esi, esi
jne 0x42eddd
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
test ecx, ecx
jne 0x42e43c
test eax, eax
je 0x42e83a
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x80], 0x3030736a
mov dword [ebp - 0x7c], 0xb
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], vtable.kn::basic_buffer_unsigned_char__class_std::allocator_unsigned_char__.0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00420d70
mov esi, eax
test esi, esi
je 0x42e4c3
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42eddd
mov edx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e4b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push edx
push ecx
call fcn.0043fc69
add esp, 8
jmp 0x42eddd
mov edx, 8
call fcn.0041cf30
mov edx, eax
test edx, edx
jne 0x42e50f
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42e505
mov edx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e4fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov esi, 0xd
jmp 0x42eddd
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::basic_buffer_unsigned_char__class_std::allocator_unsigned_char__.0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x34]
push edi
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push edx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [eax]
lea edx, [ebp - 0x24]
push edx
call eax
test al, al
jne 0x42e5d4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42e594
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e57c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
test edi, edi
je 0x42e5ca
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42e5c0
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push ecx
push edi
call fcn.0043fc69
add esp, 8
mov esi, 0x54f
jmp 0x42eddd
push 0x4582b0
push 0x10
call fcn.0043fc9a
mov esi, eax
add esp, 8
mov dword [ebp - 0x48], esi
test esi, esi
je 0x42edf3
movups xmm0, xmmword [ebp - 0x80]
mov dword [ebp - 0x40], 0x10
mov byte [ebp - 0x11], 0
movups xmmword [esi], xmm0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x42ed52
test eax, eax
je 0x42ed52
add eax, 0x10
mov dword [ebp - 0x28], eax
je 0x42ed52
push 0x4582b0
push eax
call fcn.0043fc9a
mov edx, eax
mov dword [ebp - 0x5c], eax
add esp, 8
mov dword [ebp - 0x60], edx
test edx, edx
je 0x42ed52
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x42e69f
movups xmm0, xmmword [esi]
lea esi, [edx + 0x10]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x58], esi
test esi, esi
mov esi, dword [ebp - 0x48]
movups xmmword [edx], xmm0
je 0x42e687
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.004429f0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x3c], 0
setne byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
je 0x42e69f
mov eax, esi
mov dword [ebp - 0x40], ecx
mov esi, edx
mov dword [ebp - 0x48], esi
test eax, eax
je 0x42e6ac
push eax
call fcn.0043ff40
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x42ed52
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42e792
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x42e792
push ecx
push esi
push 3
push 0
push str.policy_category_flags
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x42e78a
push dword [ebp - 0x48]
call fcn.0043ff40
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42e744
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e72c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x42e82a
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42e77b
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push ecx
push edi
call fcn.0043fc69
add esp, 8
jmp 0x42e837
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x48]
jmp 0x42e799
mov dword [ebp - 0x28], 0x57
push esi
call fcn.0043ff40
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42e7ed
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e7d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x42e82a
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42e820
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push ecx
push edi
call fcn.0043fc69
add esp, 8
mov eax, dword [ebp - 0x28]
mov esi, eax
test eax, eax
jne 0x42eddd
mov edi, dword [ebp - 0x44]
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
test ecx, ecx
jne 0x42e84c
test eax, eax
je 0x42eddd
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x90], 0x3030736a
mov dword [ebp - 0x8c], 0xb
mov dword [ebp - 0x88], 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], vtable.kn::basic_buffer_unsigned_char__class_std::allocator_unsigned_char__.0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 2
call fcn.00420d70
mov esi, eax
test esi, esi
je 0x42e8df
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42eddd
mov edx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e8d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push edx
push ecx
call fcn.0043fc69
add esp, 8
jmp 0x42eddd
mov edx, 8
call fcn.0041cf30
mov edx, eax
test edx, edx
jne 0x42e92d
mov ecx, dword [ebp - 0x34]
lea esi, [eax + 0xd]
test ecx, ecx
je 0x42eddd
mov edx, dword [ebp - 0x2c]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e91e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push edx
push ecx
call fcn.0043fc69
add esp, 8
jmp 0x42eddd
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::basic_buffer_unsigned_char__class_std::allocator_unsigned_char__.0
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x34]
push edi
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push edx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [eax]
lea edx, [ebp - 0x24]
push edx
call eax
test al, al
jne 0x42e9f6
mov ecx, dword [ebp - 0x20]
mov esi, 0x54f
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42e9b7
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e99f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
test edi, edi
je 0x42eddd
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42e9e7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push ecx
push edi
call fcn.0043fc69
add esp, 8
jmp 0x42eddd
push 0x4582b0
push 0x10
call fcn.0043fc9a
mov esi, eax
add esp, 8
mov dword [ebp - 0x28], esi
test esi, esi
je 0x42eccd
movups xmm0, xmmword [ebp - 0x90]
mov dword [ebp - 0x3c], 0x10
mov byte [ebp - 0x11], 0
movups xmmword [esi], xmm0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
test ecx, ecx
je 0x42ec37
test eax, eax
je 0x42ec37
add eax, 0x10
mov dword [ebp - 0x44], eax
je 0x42ec37
push 0x4582b0
push eax
call fcn.0043fc9a
mov ecx, eax
mov dword [ebp - 0x54], eax
add esp, 8
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x42ec37
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x42eac4
movups xmm0, xmmword [esi]
lea esi, [ecx + 0x10]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x58], esi
test esi, esi
mov esi, dword [ebp - 0x28]
movups xmmword [ecx], xmm0
je 0x42eaac
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
push dword [ebp - 0x58]
call fcn.004429f0
mov ecx, dword [ebp - 0x50]
add esp, 0xc
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x40], 0
setne byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
je 0x42eac4
mov eax, esi
mov dword [ebp - 0x3c], edx
mov esi, ecx
mov dword [ebp - 0x28], esi
test eax, eax
je 0x42ead1
push eax
call fcn.0043ff40
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x42ec37
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42eba1
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x42eba1
push ecx
push esi
push 3
push 0
push str.policy_data_category_flags
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x42eba6
push dword [ebp - 0x28]
call fcn.0043ff40
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42eb62
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42eb4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
test edi, edi
je 0x42eddd
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42eb92
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push ecx
push edi
call fcn.0043fc69
add esp, 8
jmp 0x42eddd
mov esi, 0x57
push dword [ebp - 0x28]
call fcn.0043ff40
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42ebf8
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ebe0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
test edi, edi
je 0x42eddd
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42ec28
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push ecx
push edi
call fcn.0043fc69
add esp, 8
jmp 0x42eddd
push dword [ebp - 0x28]
mov esi, 0x7a
call fcn.0043ff40
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42ec8e
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ec76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
test edi, edi
je 0x42eddd
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42ecbe
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push ecx
push edi
call fcn.0043fc69
add esp, 8
jmp 0x42eddd
mov ecx, dword [ebp - 0x20]
mov esi, 0x7a
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42ed19
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ed01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
test edi, edi
je 0x42eddd
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42e9e7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee67
jmp 0x42e9e7
push esi
call fcn.0043ff40
mov ecx, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42eda2
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ed8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
test edi, edi
je 0x42edd8
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42edce
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push ecx
push edi
call fcn.0043fc69
add esp, 8
mov esi, 0x7a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x42ee36
mov edx, dword [ebp - 0x18]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ee1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ee62
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], vtable.kn::ptr_storage_unsigned_char_.0
test edi, edi
je 0x42edd8
mov ecx, dword [ebp - 0x2c]
mov eax, edi
cmp ecx, 0x1000
jb 0x42edce
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42edce
call fcn.0044316c
call fcn.0044316c
int3