Function at 0x57a8f8
Capabilities:
Set registry value

Disassembly:
push 0x890
mov eax, 0x6b64ed
call fcn.0066d92d
mov eax, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x30], ebx
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x130], ecx
jne 0x57a953
push 0x41db00
lea eax, [ebp - 0x254]
push 0x3a
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x360]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x360]
push eax
call fcn.0066dd58
call fcn.00576060
cmp eax, 0x3fff
jbe 0x57a98f
push 0x41daa0
lea eax, [ebp - 0x254]
push 0x21
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x46c]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x46c]
jmp 0x57a94d
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.005207af
test eax, eax
jne 0x57a9cd
push 0x41da38
lea eax, [ebp - 0x254]
push 5
push eax
call fcn.00520b6e
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x89c]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x89c]
jmp 0x57a94d
mov eax, dword [edi + 4]
push edi
push eax
lea ecx, [ebp - 0x128]
call fcn.00526f31
jmp 0x57aa16
lea ecx, [ebp - 0x128]
call fcn.0055f338
mov ecx, eax
call fcn.00576275
test al, al
jne 0x57aa0b
lea ecx, [ebp - 0x128]
call fcn.0055f338
mov ecx, eax
call fcn.00576060
lea ebx, [ebx + eax + 1]
lea ecx, [ebp - 0x128]
call fcn.0052a611
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0x138]
call fcn.00526f31
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x138]
call fcn.00586fa8
test al, al
je 0x57a9df
inc ebx
cmp ebx, 1
jne 0x57aa45
push 2
pop ebx
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sym.osetup.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
test esi, esi
pop ecx
mov dword [ebp - 0x12c], esi
jne 0x57aac0
mov esi, dword [ebp - 0x13c]
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp - 0x130]
push eax
mov eax, dword [esi + 0x34]
push dword [eax*4 + 0x6e5594]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x41d9d8
lea eax, [ebp - 0x254]
push 0x3f
push eax
call fcn.00520b6e
add esp, 0x18
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x578]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x578]
jmp 0x57a94d
cmp ebx, 2
jne 0x57aad0
and word [esi], 0
add esi, ebx
jmp 0x57ab90
mov eax, dword [edi + 4]
push edi
push eax
lea ecx, [ebp - 0x128]
call fcn.00526f31
jmp 0x57ab66
lea ecx, [ebp - 0x128]
call fcn.0055f338
mov ecx, eax
call fcn.00576275
test al, al
jne 0x57ab5b
lea ecx, [ebp - 0x128]
call fcn.0055f338
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x148], eax
call fcn.0055f338
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x134], eax
call fcn.00576060
mov ecx, dword [ebp - 0x134]
add eax, eax
push eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push esi
call fcn.0066e76e
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.0055f338
mov ecx, eax
call fcn.00576060
lea esi, [esi + eax*2]
and word [esi], 0
inc esi
inc esi
lea ecx, [ebp - 0x128]
call fcn.0052a611
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0x144]
call fcn.00526f31
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x144]
call fcn.00586fa8
test al, al
je 0x57aae5
mov ecx, dword [ebp - 0x130]
and word [esi], 0
and dword [ebp - 4], 0
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov esi, dword [ebp - 0x13c]
lea ecx, [ebx + ebx]
push ecx
push dword [ebp - 0x12c]
push 7
push 0
push eax
push dword [esi + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jle 0x57abcf
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
jge 0x57ac28
lea ecx, [esi + 8]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [ebp - 0x130]
mov ebx, eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
mov ecx, dword [esi + 0x34]
push ebx
push dword [ecx*4 + 0x6e5594]
push eax
push 0x41d978
lea eax, [ebp - 0x254]
push edi
push eax
call fcn.00520ba2
add esp, 0x18
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x790]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x790]
jmp 0x57a94d
push dword [ebp - 0x12c]
call sym.osetup.dll_void___cdecl_operator_delete_void__
pop ecx
call fcn.0066d986
ret 8