Function at 0x415a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580c26
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], esi
push 0x2001f
push reloc.WS2_32.dll_accept
push 0x5e696c
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], esi
call fcn.00407ea0
push 4
xor eax, eax
mov ebx, 7
push str.GUID
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
call fcn.00401c40
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.004062e0
cmp dword [ebp - 0x18], 8
jb 0x415ac1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0055ae44
add esp, 4
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 6
jb 0x415ad7
mov eax, dword [ebp - 0x48]
push eax
call fcn.0055ae44
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x54], esi
jne 0x415bc8
push 1
lea ecx, [ebp - 0x80]
call fcn.004fc020
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00414430
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.004060b0
cmp dword [ebp - 0x18], 8
jb 0x415b23
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0055ae44
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 6
jb 0x415b45
mov edx, dword [ebp - 0x80]
push edx
call fcn.0055ae44
add esp, 4
push 4
xor eax, eax
push str.GUID
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00401c40
cmp dword [ebp - 0x8c], esi
je 0x415bb4
mov eax, 8
cmp dword [edi + 0x14], eax
jb 0x415b74
mov edi, dword [edi]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], eax
jae 0x415b7f
lea ebx, [ebp - 0x2c]
cmp edi, esi
jne 0x415b8a
mov eax, 0xd
jmp 0x415ba8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x8c]
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push esi
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, 7
cmp dword [ebp - 0x18], 8
jb 0x415bd6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0055ae44
add esp, 4
jmp 0x415bd6
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x64]
push ecx
mov ecx, edi
call fcn.00401b40
cmp dword [ebp - 0x50], 8
jb 0x415be8
mov edx, dword [ebp - 0x64]
push edx
call fcn.0055ae44
add esp, 4
xor eax, eax
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
cmp eax, esi
je 0x415c05
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret