Function at 0x1002f7d
Capabilities:
Check os version
Contain obfuscated stackstrings
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x1006010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
pop edi
xor ebx, ebx
mov esi, 0x94
push esi
lea eax, [ebp - 0xd8]
push ebx
push eax
mov dword [ebp - 0xec], edi
mov dword [ebp - 0x14], 0xea502723
mov word [ebp - 0x10], 0xa23d
mov word [ebp - 0xe], 0x11d1
mov byte [ebp - 0xc], 0xa7
mov byte [ebp - 0xb], 0xd3
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], 0xf8
mov byte [ebp - 7], 0x75
mov byte [ebp - 6], 0x71
mov byte [ebp - 5], 0xe3
mov dword [ebp - 0x34], 0xea502722
mov word [ebp - 0x30], 0xa23d
mov word [ebp - 0x2e], 0x11d1
mov byte [ebp - 0x2c], 0xa7
mov byte [ebp - 0x2b], 0xd3
mov byte [ebp - 0x2a], bl
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0xf8
mov byte [ebp - 0x27], 0x75
mov byte [ebp - 0x26], 0x71
mov byte [ebp - 0x25], 0xe3
mov dword [ebp - 0x24], 0x35378eac
mov word [ebp - 0x20], 0x683f
mov word [ebp - 0x1e], 0x11d2
mov byte [ebp - 0x1c], 0xa8
mov byte [ebp - 0x1b], 0x9a
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], 0xc0
mov byte [ebp - 0x18], 0x4f
mov byte [ebp - 0x17], 0xbb
mov byte [ebp - 0x16], 0xcf
mov byte [ebp - 0x15], 0xa2
mov dword [ebp - 0x44], 0x3d271cfc
mov word [ebp - 0x40], 0x2bc6
mov word [ebp - 0x3e], 0x4ac2
mov byte [ebp - 0x3c], 0xb6
mov byte [ebp - 0x3b], 0x33
mov byte [ebp - 0x3a], 0x3b
mov byte [ebp - 0x39], 0xdf
mov byte [ebp - 0x38], 0xf5
mov byte [ebp - 0x37], 0xbd
mov byte [ebp - 0x36], 0xab
mov byte [ebp - 0x35], 0x2a
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
mov dword [ebp - 0xd8], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10030aa
cmp dword [ebp - 0xc8], 2
jne 0x10030aa
cmp dword [ebp - 0xd4], 6
jb 0x10032a1
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
push ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x10030d1
push eax
push 0x1001b74
jmp 0x100323e
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jge 0x10030ee
push eax
push 0x1001b4c
jmp 0x100323e
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
lea edx, [ebp - 0xe4]
push edx
push 2
push eax
call dword [ecx + 0x3c]
mov esi, eax
cmp esi, ebx
jge 0x1003114
push esi
push 0x1001b28
jmp 0x100323e
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push 0x1001aec
push dword [ebp - 0xe4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1003148
push esi
push 0x1001ac8
jmp 0x100323e
cmp dword [ebp - 0xf4], 2
mov esi, 0x1001ab0
jne 0x10031aa
cmp dword [ebp + 8], ebx
je 0x10031af
cmp dword [0x100600c], 0xffffffff
jne 0x10031aa
lea eax, [ebp - 0xec]
push eax
push 0x100600c
lea eax, [ebp - 0xf0]
push eax
push ebx
push esi
push dword [ebp - 0xe0]
mov dword [ebp - 0xf0], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
jne 0x1003199
or dword [0x100600c], 0xffffffff
jmp 0x10031aa
cmp eax, ebx
je 0x10031aa
push eax
push 0x1001a70
call fcn.01002416
pop ecx
pop ecx
cmp dword [ebp + 8], ebx
jne 0x10031cd
mov eax, dword [0x100600c]
cmp eax, 0xffffffff
jne 0x10031c8
push esi
push dword [ebp - 0xe0]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x10031f6
cmp dword [ebp + 8], ebx
je 0x10031d9
mov dword [ebp - 0xe8], 1
jmp 0x10031df
mov dword [ebp - 0xe8], eax
push edi
lea eax, [ebp - 0xe8]
push eax
push edi
push ebx
push esi
push dword [ebp - 0xe0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp esi, ebx
je 0x1003209
push esi
push 0x1001a3c
call fcn.01002416
pop ecx
pop ecx
push dword [ebp - 0xe0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x24]
push edx
xor edx, edx
cmp dword [ebp + 8], ebx
setne dl
push edx
push 1
push eax
call dword [ecx + 0x1c]
cmp esi, ebx
je 0x100326d
push eax
push 0x1001a04
call fcn.01002416
cmp dword [ebp - 0xe4], ebx
pop ecx
pop ecx
je 0x1003259
push dword [ebp - 0xe4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xdc]
cmp eax, ebx
je 0x1003269
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x10032a4
cmp dword [ebp + 8], ebx
mov eax, 0x10019f8
jne 0x100327c
mov eax, 0x10019ec
push eax
push 0x10019b0
call fcn.01002416
pop ecx
pop ecx
push dword [ebp - 0xe4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01003a5f
leave
ret 4