Function at 0x10034540
Capabilities:
Check os version
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073b39
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10089040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 1
jl 0x1003458f
cmp word [eax], 0x22
jne 0x1003458f
push ecx
push 0
lea ecx, [ebp + 8]
call fcn.10034b80
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x100345b3
lea ecx, [edx - 1]
cmp ecx, edx
jg 0x10034950
cmp word [eax + ecx*2], 0x22
jne 0x100345b3
push ecx
push ecx
lea ecx, [ebp + 8]
call fcn.10034b80
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1003495a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1003495a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1003495a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1003495a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x30]
add esi, 0xfffffff0
lea edx, [eax - 0x10]
mov dword [ebp - 0x14], edx
cmp edx, esi
je 0x10034679
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1003466d
mov edx, dword [edx]
cmp edx, dword [esi]
jne 0x1003466d
mov ecx, dword [ebp - 0x14]
call fcn.10005e40
mov dword [ebp - 0x14], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x10034665
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x30], eax
jmp 0x10034679
push dword [eax - 0xc]
lea ecx, [ebp - 0x30]
push eax
call fcn.10005d10
push 0x1007f5f4
push str.orun___f
lea eax, [ebp - 0x28]
push str._aut_srom__t_s
push eax
call fcn.10005430
mov ecx, dword [0x1008beb0]
add esp, 0x10
test cl, 1
jne 0x100346d9
or ecx, 1
mov dword [0x1008beb0], ecx
push 0x68
push 0
push 0x1008be48
mov byte [ebp - 4], 2
call fcn.10045770
add esp, 0xc
call fcn.10005f50
push 0x10074db0
call fcn.10043c72
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [0x1008beb0]
mov edx, dword [0x1008be90]
mov esi, dword [ebp - 0x24]
add esi, 0xfffffff0
lea edi, [edx - 0x10]
cmp edi, esi
je 0x10034731
cmp dword [esi + 0xc], 0
jl 0x1003471f
mov eax, dword [edi]
cmp eax, dword [esi]
jne 0x1003471f
mov ecx, edi
call fcn.10005e40
mov edi, eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10034717
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x24], eax
jmp 0x1003472b
push dword [edx - 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.10005d10
mov ecx, dword [0x1008beb0]
mov dword [ebp - 0x20], 5
test cl, 1
jne 0x10034771
or ecx, 1
mov dword [0x1008beb0], ecx
push 0x68
push 0
push 0x1008be48
mov byte [ebp - 4], 3
call fcn.10045770
add esp, 0xc
call fcn.10005f50
push 0x10074db0
call fcn.10043c72
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [0x1008be8c]
lea ecx, [ecx - 0x10]
call fcn.10005e40
mov dword [ebp - 0x14], eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
mov esi, dword [0x1008bef0]
test esi, esi
jne 0x100347b1
push 4
call fcn.10043cc1
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [0x1008bef0], esi
mov dword [esi], vtable.CAutoRunManager.0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x10], 0
je 0x10034818
mov eax, dword [0x10089b54]
cmp eax, 0xffffffff
jne 0x100347f4
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x100347db
mov dword [0x10089b54], 1
jmp 0x100347f8
lea eax, [ebp - 0x30]
mov dword [0x10089b54], 0
push eax
push edi
call fcn.10039870
jmp 0x10034893
test eax, eax
je 0x1003480c
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push edi
call fcn.100387e0
test eax, eax
jne 0x10034893
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.10039870
jmp 0x10034893
push edi
call fcn.10039610
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1003495a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x1007f8d8
push str.Windows
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.10005430
mov esi, dword [ebp - 0x10]
add esp, 0x10
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push esi
push SysReAllocString
call edi
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10034893
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100348ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100348cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100348e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10034900
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003491a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10034939
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.100013a0
push 0x80004005
call fcn.100013a0
int3