Function at 0x4301f0
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 0x456995
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x48f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x43065c
test eax, eax
je 0x43065c
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x43065c
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x70], 0x3030736a
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], vtable.kn::basic_buffer_unsigned_char__class_std::allocator_unsigned_char__.0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00420d70
mov edi, eax
test edi, edi
je 0x4302d1
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x43058d
mov edx, dword [ebp - 0x30]
mov eax, ecx
cmp edx, 0x1000
jb 0x4302c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430666
push edx
push ecx
call fcn.0043fc69
add esp, 8
jmp 0x43058d
mov edx, esi
call fcn.0041cf30
mov edx, eax
test edx, edx
jne 0x43031c
mov ecx, dword [ebp - 0x38]
lea edi, [eax + 0xd]
test ecx, ecx
je 0x43058d
mov edx, dword [ebp - 0x30]
mov eax, ecx
cmp edx, 0x1000
jb 0x43030d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430666
push edx
push ecx
call fcn.0043fc69
add esp, 8
jmp 0x43058d
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], vtable.kn::basic_buffer_unsigned_char__class_std::allocator_unsigned_char__.0
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x38]
push esi
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push edx
push dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
mov eax, dword [eax]
push edx
call eax
test al, al
jne 0x4303e4
mov ecx, dword [ebp - 0x24]
mov edi, 0x54f
mov dword [ebp - 0x28], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x4303a5
mov edx, dword [ebp - 0x1c]
mov eax, ecx
cmp edx, 0x1000
jb 0x43038d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430666
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], vtable.kn::ptr_storage_unsigned_char_.0
test esi, esi
je 0x43058d
mov ecx, dword [ebp - 0x30]
mov eax, esi
cmp ecx, 0x1000
jb 0x4303d5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430666
push ecx
push esi
call fcn.0043fc69
add esp, 8
jmp 0x43058d
push 0x4582b0
push 0x10
call fcn.0043fc9a
mov edi, eax
add esp, 8
test edi, edi
je 0x4305d0
movups xmm0, xmmword [ebp - 0x70]
mov dword [ebp - 0x2c], 0x10
mov byte [ebp - 0x11], 0
movups xmmword [edi], xmm0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x4305bc
test eax, eax
je 0x4305bc
add eax, 0x10
mov dword [ebp - 0x18], eax
je 0x4305bc
push 0x4582b0
push eax
call fcn.0043fc9a
mov ecx, eax
mov dword [ebp - 0x54], eax
add esp, 8
test ecx, ecx
je 0x4305b9
test edi, edi
je 0x4304a8
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4304a8
movups xmm0, xmmword [edi]
lea eax, [ecx + 0x10]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x50], eax
test eax, eax
movups xmmword [ecx], xmm0
mov eax, ecx
je 0x430493
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.004429f0
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
mov ecx, eax
cmp dword [ebp - 0x40], 0
setne byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
je 0x4304a8
mov eax, edi
mov dword [ebp - 0x2c], edx
mov edi, ecx
test eax, eax
je 0x4304b5
push eax
call fcn.0043ff40
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x4305b9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4305ad
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4305ad
test edi, edi
jne 0x4304e5
mov dword [ebp - 0x18], 0x57
jmp 0x43050d
push ecx
push edi
push 3
push 0
push dword [ebp - 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4305a5
test edi, edi
je 0x43050d
push edi
call fcn.0043ff40
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x430554
mov edx, dword [ebp - 0x1c]
mov eax, ecx
cmp edx, 0x1000
jb 0x43053c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430666
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], vtable.kn::ptr_storage_unsigned_char_.0
test esi, esi
je 0x43058a
mov ecx, dword [ebp - 0x30]
mov eax, esi
cmp ecx, 0x1000
jb 0x430580
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430666
push ecx
push esi
call fcn.0043fc69
add esp, 8
mov edi, dword [ebp - 0x18]
mov eax, edi
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 0x10
mov dword [ebp - 0x18], eax
jmp 0x430500
mov dword [ebp - 0x18], 0x57
jmp 0x430500
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], 0x7a
test edi, edi
je 0x430510
jmp 0x430504
mov dword [ebp - 0x18], 0x7a
test edi, edi
je 0x4305e4
push edi
call fcn.0043ff40
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], vtable.kn::basic_buffer_base_unsigned_char__class_std::allocator_unsigned_char__.0
test ecx, ecx
je 0x430627
mov edx, dword [ebp - 0x1c]
mov eax, ecx
cmp edx, 0x1000
jb 0x43060f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430666
push edx
push ecx
call fcn.0043fc69
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], vtable.kn::ptr_storage_unsigned_char_.0
test esi, esi
je 0x43058a
mov ecx, dword [ebp - 0x30]
mov eax, esi
cmp ecx, 0x1000
jb 0x430580
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430666
jmp 0x430580
mov edi, 0x57
jmp 0x43058d
call fcn.0044316c
int3