Function at 0x457810
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 [0x770b48]
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 [0x76af68]
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, 0x76a664
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 0x457a26
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.00716fde
mov ecx, dword [ebx]
add esp, 0xc
call fcn.0043ee00
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, 0x7c1a4c
mov eax, esi
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x457951
test cl, cl
je 0x45794d
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x457951
add eax, 2
add edi, 2
test cl, cl
jne 0x457929
xor eax, eax
jmp 0x457956
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4579f8
mov eax, dword [0x83bf6c]
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 0x457984
call fcn.00704fbb
mov ecx, dword [ebx + 4]
xor edx, edx
cmp ecx, edx
je 0x4579ac
mov al, byte [ecx - 1]
test al, al
je 0x4579ac
cmp al, 0xff
je 0x4579ac
cmp edi, edx
jne 0x4579d0
dec al
mov byte [ecx - 1], al
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
jmp 0x4579f8
cmp edi, edx
jne 0x4579bb
push 1
mov ecx, ebx
call fcn.00420200
jmp 0x4579f8
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x4579c7
cmp eax, edi
jae 0x4579d8
push 1
mov ecx, ebx
call fcn.00420200
push edi
mov ecx, ebx
call fcn.00421d90
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 0x4578e9
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