Function at 0x4126d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c0f28
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x64b9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x41270f
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Capabiliti
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.SOFTWAREXDImageShow_ses
push eax
call fcn.004043e0
add esp, 0xc
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x41274c
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.eredApplic
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push str.SOFTWARERegist_sations
push eax
call fcn.004043e0
mov ebx, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp - 0x18]
push str.XDImageShow
push ebx
call fcn.00411a80
push str.ApplicationName
push str.XDImageShow
mov edx, ebx
call fcn.00411a80
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004125b0
push str.ApplicationIcon
mov edx, ebx
push dword [eax]
call fcn.00411a80
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4127c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ApplicationDescription
push 0x623304
mov edx, ebx
call fcn.00411a80
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
call fcn.00402810
mov ecx, eax
test ecx, ecx
jne 0x412806
push 0x80004005
call fcn.004022b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.Associati
push ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push str._sFile_sons
push eax
call fcn.004043e0
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
push reloc.WS2_32.dll_accept
call fcn.00411990
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x4128ff
or ebx, 0xffffffff
nop word [eax + eax]
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004124b0
mov dword [ebp - 0x1c], eax
push esi
mov edx, 0x623340
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00414570
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov eax, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x20], eax
test edx, edx
je 0x4128b9
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x1c], ecx
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x412890
sub eax, dword [ebp - 0x1c]
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4128d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4128f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x412850
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412920
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x41292e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41294c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x412968
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4