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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073719
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 0x100342ff
cmp word [eax], 0x22
jne 0x100342ff
push ecx
push 0
lea ecx, [ebp + 8]
call fcn.100348f0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x10034323
lea ecx, [edx - 1]
cmp ecx, edx
jg 0x100346c0
cmp word [eax + ecx*2], 0x22
jne 0x10034323
push ecx
push ecx
lea ecx, [ebp + 8]
call fcn.100348f0
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x100346ca
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 0x100346ca
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 0x100346ca
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 0x100346ca
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 0x100343e9
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x100343dd
mov edx, dword [edx]
cmp edx, dword [esi]
jne 0x100343dd
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 0x100343d5
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 0x100343e9
push dword [eax - 0xc]
lea ecx, [ebp - 0x30]
push eax
call fcn.10005d10
push 0x1007f5dc
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 0x10034449
or ecx, 1
mov dword [0x1008beb0], ecx
push 0x68
push 0
push 0x1008be48
mov byte [ebp - 4], 2
call fcn.10045390
add esp, 0xc
call fcn.10005f50
push 0x10074980
call fcn.100438b2
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 0x100344a1
cmp dword [esi + 0xc], 0
jl 0x1003448f
mov eax, dword [edi]
cmp eax, dword [esi]
jne 0x1003448f
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 0x10034487
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x24], eax
jmp 0x1003449b
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 0x100344e1
or ecx, 1
mov dword [0x1008beb0], ecx
push 0x68
push 0
push 0x1008be48
mov byte [ebp - 4], 3
call fcn.10045390
add esp, 0xc
call fcn.10005f50
push 0x10074980
call fcn.100438b2
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 0x10034521
push 4
call fcn.10043901
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 0x10034588
mov eax, dword [0x10089b54]
cmp eax, 0xffffffff
jne 0x10034564
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x1003454b
mov dword [0x10089b54], 1
jmp 0x10034568
lea eax, [ebp - 0x30]
mov dword [0x10089b54], 0
push eax
push edi
call fcn.100395e0
jmp 0x10034603
test eax, eax
je 0x1003457c
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push edi
call fcn.10038550
test eax, eax
jne 0x10034603
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.100395e0
jmp 0x10034603
push edi
call fcn.10039380
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x100346ca
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x1007f8c0
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 0x10034603
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 0x1003461e
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 0x1003463c
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 0x10034656
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 0x10034670
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 0x1003468a
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 0x100346a9
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