Function at 0x48f740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572d35
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, 0x59de09
mov ecx, dword [ebp + 0x14]
mov edx, esi
mov edi, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
mov dword [ebp - 0x78], ecx
cmovne edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x74], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f7a5
sub ecx, dword [ebp - 0x74]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040d5d0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0047d210
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x48f808
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f7fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f9ce
push ecx
push edx
call fcn.00563352
add esp, 8
test edi, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
cmovne esi, edi
mov ecx, esi
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f827
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040d5d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047d210
add esp, 8
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x48f886
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f87c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f9ce
push ecx
push edx
call fcn.00563352
add esp, 8
push dword [ebp - 0x78]
lea eax, [ebp - 0x40]
push eax
call fcn.0047d210
add esp, 8
lea ecx, [ebp - 0x74]
cmp dword [ebp - 0x5c], 7
lea eax, [ebp - 0x70]
cmova eax, dword [ebp - 0x70]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp - 0x74]
test esi, esi
je 0x48f90a
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
cmova ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [ebp + 0x18], 0
je 0x48f901
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x48f944
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48f93a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f9ce
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x48f98e
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48f984
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f9ce
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 7
jbe 0x48f9de
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48f9d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f9d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret