Function at 0x457970
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [0x76cab0]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x220]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [ebp - 0x220]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.ShortCutList]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x220]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x76665c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0xc]
xor esi, esi
push ecx
push esi
push 0xf003f
push esi
push esi
lea edx, [ebp - 0x220]
push esi
push edx
push reloc.ijl15.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x457b86
add ebx, 0x8c
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x20]
push 0xa
push eax
push ecx
call fcn.0071305e
mov ecx, dword [ebx]
add esp, 0xc
call fcn.0043ee10
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push 1
push eax
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, 0x7bd64c
mov eax, esi
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x457ab1
test cl, cl
je 0x457aad
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x457ab1
add eax, 2
add edi, 2
test cl, cl
jne 0x457a89
xor eax, eax
jmp 0x457ab6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x457b58
mov eax, dword [0x837b5c]
mov ecx, dword [ebp - 8]
mov edi, esi
lea ebx, [ecx + eax]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
cmp edi, 0xfffffffd
mov dword [ebp - 0x14], edi
jbe 0x457ae4
call fcn.0070103b
mov ecx, dword [ebx + 4]
xor edx, edx
cmp ecx, edx
je 0x457b0c
mov al, byte [ecx - 1]
test al, al
je 0x457b0c
cmp al, 0xff
je 0x457b0c
cmp edi, edx
jne 0x457b30
dec al
mov byte [ecx - 1], al
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
jmp 0x457b58
cmp edi, edx
jne 0x457b1b
push 1
mov ecx, ebx
call fcn.00420210
jmp 0x457b58
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x457b27
cmp eax, edi
jae 0x457b38
push 1
mov ecx, ebx
call fcn.00420210
push edi
mov ecx, ebx
call fcn.00421da0
mov ecx, edi
mov edi, dword [ebx + 4]
mov edx, ecx
mov eax, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [eax + ecx], 0
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
add eax, 0x10
inc edi
add ebx, 4
cmp eax, 0xa0
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
jl 0x457a49
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret