Function at 0x411f60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499270
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4cb070]
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
mov ebx, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
mov edi, closesocket
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], vtable.Registry.0
mov dword [ebp - 0x30], closesocket
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x411fc3
mov eax, dword [esi]
jmp 0x411fc5
mov eax, esi
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove edi, dword [ebp - 0x3c]
cmp dword [esi + 0x14], 8
jb 0x411ff4
mov esi, dword [esi]
lea eax, [ebp - 0x3c]
push eax
push 0x20006
push 0
push esi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov esi, 0x4ae8c0
mov eax, str.Flase
mov edx, esi
cmove edi, dword [ebp - 0x3c]
cmp byte [ebx + 0x10], 0
mov dword [ebp - 0x2c], edi
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412030
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Enabled
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x14]
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
call fcn.0040a610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
push 2
xor eax, eax
mov dword [ebp - 0x40], 7
push 0x4af538
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
call fcn.0040a9c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
push 1
xor eax, eax
mov dword [ebp - 0x58], 7
push 0x4ae80c
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
call fcn.0040a9c0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x28]
call fcn.004467f0
mov eax, dword [ebp - 0x58]
add esp, 4
cmp eax, 8
jb 0x4120f5
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0040aba0
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
cmp eax, 8
jb 0x412122
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040aba0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412135
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.File
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [ebx + 0x2c], 0
mov eax, str.Flase
mov edx, esi
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412174
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.OnAttachment
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp byte [ebx + 0x2d], 0
mov eax, str.Flase
cmove esi, eax
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4121b0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push esi
push 1
push 0
push str.OnCover
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebx + 0x30]
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.0040c310
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x4121f0
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4121f5
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Repetition
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x412232
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040aba0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x412247
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040aba0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test edi, edi
je 0x412266
push edi
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.00459a5d
mov esp, ebp
pop ebp
ret 4