Function at 0x41bb24
Capabilities:
Check os version
Delete registry value
Query or enumerate registry value

Disassembly:
mov eax, 0x461ff9
call fcn.0043b5c0
sub esp, 0x5f8
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov eax, dword [eax + 8]
push edi
cmp eax, ebx
mov esi, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], 0x4675bc
je 0x41bb52
mov dword [ebp - 0x18], eax
push 1
lea eax, [ebp - 0x11]
pop edi
lea ecx, [ebp - 0x68]
push edi
push eax
push 0x478018
call fcn.0040a6ae
mov eax, dword [eax + 8]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x41bb76
mov eax, 0x4675bc
push dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], 0x36
push 0x477fd0
push eax
call fcn.00408446
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x68]
call fcn.00406320
lea eax, [ebp - 0x114]
push 0x64c
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.00403e06
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], edi
call fcn.00401f43
push eax
push ebx
push 0xc
push 0x3eb
push dword [0x47d950]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
lea eax, [ebp - 0x2d]
mov edi, 0x467550
push ebx
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x467548
mov dword [ebp - 0xa4], edi
call fcn.00401aa5
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
mov eax, dword [esi]
mov byte [ebp - 4], 2
call dword [eax + 0x2c]
mov ecx, eax
call fcn.004035e1
mov eax, dword [eax + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x41bc28
mov eax, 0x46756c
push eax
lea eax, [ebp - 0xc4]
push 0x476ab8
push eax
call fcn.004058cc
add esp, 0xc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0040127e
lea eax, [ebp - 0x11]
push ebx
push eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], 0x467548
mov dword [ebp - 0xcc], edi
call fcn.00401aa5
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
mov eax, dword [esi]
mov byte [ebp - 4], 4
call dword [eax + 0x2c]
mov ecx, eax
call fcn.004035e1
mov eax, dword [eax + 8]
mov byte [ebp - 4], 5
cmp eax, ebx
jne 0x41bc8f
mov eax, 0x46756c
push eax
lea eax, [ebp - 0xec]
push 0x477fac
push eax
call fcn.004058cc
add esp, 0xc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0040127e
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], ebx
call dword [eax]
test eax, eax
jne 0x41bf44
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push 0xf003f
push ebx
push 0x476adc
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41bcf7
lea ecx, [ebp - 0x10]
call fcn.00409164
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
cmp dword [ecx + 0xc], ebx
jne 0x41be84
cmp eax, ebx
jne 0x41be84
lea eax, [ebp - 0x13]
push ebx
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0x467548
mov dword [ebp - 0x70], edi
call fcn.00401aa5
lea eax, [ebp - 0x9c]
push 0x105
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 7
mov dword [ebp - 0x2c], 0x104
call fcn.0040179e
mov dword [ebp - 0x34], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 8
call fcn.00401f43
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0xec]
call fcn.00401f43
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], ebx
push ecx
lea ecx, [ebp - 0x34]
push dword [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
call fcn.004019f3
cmp dword [ebp - 0x20], ebx
jne 0x41be75
mov eax, dword [esi]
lea ecx, [ebp - 0x90]
push ebx
push ecx
push 0x11
mov ecx, esi
call dword [eax + 0x18]
lea ecx, [ebp - 0xec]
call fcn.00401f43
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x41be75
lea eax, [ebp + 0x13]
push 1
push eax
push 0x478018
lea ecx, [ebp - 0x13c]
call fcn.0040a6ae
mov eax, dword [eax + 8]
mov byte [ebp - 4], 9
cmp eax, ebx
jne 0x41bdfb
mov eax, 0x4675bc
mov dword [ebp - 0x24], eax
push ebx
lea eax, [ebp - 0x24]
push 0x477f74
push eax
mov dword [ebp - 0x20], 0x56
call fcn.00408446
add esp, 0xc
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 7
call fcn.00406320
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.0040127e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00409164
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.0040127e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.0040127e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.0040127e
xor eax, eax
jmp 0x41c443
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
call fcn.0040127e
lea eax, [ebp - 0x13]
push ebx
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0x467548
mov dword [ebp - 0x48], edi
call fcn.00401aa5
lea eax, [ebp - 0x9c]
push 0x105
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x3c], 0x104
call fcn.0040179e
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 0xb
call fcn.00401f43
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x20], eax
mov dword [edi + 8], eax
call fcn.00401f43
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
push ecx
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
lea ecx, [ebp - 0x9c]
sete byte [ebp - 0x11]
mov byte [ebp - 4], 0xa
call fcn.004019f3
cmp byte [ebp - 0x11], bl
je 0x41bf38
lea eax, [ebp - 0x20]
push 0xa
push eax
lea ecx, [ebp - 0x68]
call fcn.0041d1f1
mov eax, dword [esi]
push dword [ebp - 0x20]
mov ecx, esi
call dword [eax + 0x20]
lea ecx, [ebp - 0xc4]
call fcn.00401f43
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0040127e
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x19]
push eax
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 1
push dword [ebp + 0xc]
call fcn.0040c3a4
mov ecx, esi
call fcn.0041c492
cmp al, bl
je 0x41c33f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
cmp eax, 1
jne 0x41c0b5
mov eax, dword [esi]
push 0xe
mov ecx, esi
call dword [eax + 0x28]
test al, al
je 0x41c0b5
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp + 8], ecx
je 0x41c33f
mov edi, 0x4675a8
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x2c]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x604]
call fcn.0041e2ab
lea eax, [ebp + 0xf]
push ebx
push eax
push 0x47d8e0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x68], 0x4675b0
mov dword [ebp - 0x48], edi
call fcn.0040b3c8
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0x14]
lea eax, [ebp - 0x68]
push eax
push ebx
call fcn.0040bc78
push eax
lea ecx, [ebp - 0x604]
call fcn.0041e7e8
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.00406320
push esi
lea ecx, [ebp - 0x2d4]
call fcn.00406225
mov eax, dword [esi]
lea ecx, [ebp - 0x164]
push 0xe
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xe
call dword [eax + 0x1c]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call fcn.0040b1c2
push ebx
push eax
lea eax, [ebp - 0x604]
lea ecx, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 0x10
call fcn.0040917b
lea ecx, [ebp - 0x13c]
call fcn.00406320
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
call fcn.00406320
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0xe
call fcn.0040127e
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0xc
call fcn.004063b6
lea ecx, [ebp - 0x604]
mov byte [ebp - 4], 6
call fcn.0041e701
lea ecx, [ebp + 8]
call fcn.0040bd39
mov eax, dword [esi + 0xc]
cmp dword [ebp + 8], eax
jne 0x41bfa2
jmp 0x41c33f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x41c33f
push esi
lea ecx, [ebp - 0x2d4]
call fcn.00406225
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x1d8], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x1d4], al
call fcn.0042e06b
cmp eax, 6
mov edi, 0x4675a8
jb 0x41c10e
cmp byte [ebp - 0x19], bl
je 0x41c10e
call fcn.004372ca
test al, al
jne 0x41c10e
mov byte [ebp - 0x1d3], 1
jmp 0x41c213
cmp byte [ebp - 0x12], bl
mov byte [ebp - 0x1d3], bl
jne 0x41c213
mov eax, dword [esi]
push 0x10
mov ecx, esi
call dword [eax + 0x28]
test al, al
jne 0x41c213
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
test eax, eax
jne 0x41c18d
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 6
call fcn.004063b6
cmp dword [ebp - 0x10], ebx
je 0x41c159
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.0040127e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.0040127e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.0040127e
push 2
jmp 0x41c327
cmp byte [0x47d7d0], bl
jne 0x41c19d
cmp byte [0x47e030], bl
je 0x41c213
lea eax, [ebp + 0xb]
push 1
push eax
push 0x478018
lea ecx, [ebp - 0x90]
call fcn.0040a6ae
mov eax, 0x477f10
mov byte [ebp - 4], 0x12
mov ecx, eax
mov dword [ebp - 0x68], 0x4675b0
test ecx, ecx
mov dword [ebp - 0x48], edi
jne 0x41c1d1
mov eax, 0x47d8e0
lea ecx, [ebp - 0x13]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0040b3c8
lea eax, [ebp - 0x90]
push 0x85
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x13
call fcn.0045d920
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x12
call fcn.00406320
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.00406320
cmp byte [ebp - 0x12], bl
push dword [ebp + 0x14]
mov ecx, esi
sete al
push eax
mov eax, dword [esi]
push dword [ebp + 0xc]
call dword [eax + 0x2c]
push dword [eax + 0x20]
lea ecx, [ebp - 0x2d4]
call fcn.0040643c
push 2
pop ecx
sub eax, ecx
je 0x41c32d
sub eax, 5
je 0x41c252
sub eax, ecx
je 0x41c32d
jmp 0x41c330
cmp byte [0x47d7d0], bl
jne 0x41c262
cmp byte [0x47e030], bl
je 0x41c2d8
lea eax, [ebp + 0xf]
push 1
push eax
push 0x478018
lea ecx, [ebp - 0x90]
call fcn.0040a6ae
mov eax, 0x477ee0
mov byte [ebp - 4], 0x14
mov ecx, eax
mov dword [ebp - 0x68], 0x4675b0
test ecx, ecx
mov dword [ebp - 0x48], edi
jne 0x41c296
mov eax, 0x47d8e0
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0040b3c8
lea eax, [ebp - 0x90]
push 0x8e
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x15
call fcn.0045d920
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x14
call fcn.00406320
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.00406320
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 6
call fcn.004063b6
cmp dword [ebp - 0x10], ebx
je 0x41c2f8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.0040127e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.0040127e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.0040127e
push 7
pop eax
jmp 0x41c443
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 6
call fcn.004063b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x41c3af
cmp dword [ebp - 0x18], ebx
jne 0x41c376
lea ecx, [ebp - 0xc4]
call fcn.00401f43
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push eax
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0xec]
call fcn.00401f43
push eax
push dword [ebp - 0x10]
call esi
cmp byte [ebp + 0x10], bl
je 0x41c3af
mov dword [ebp + 0x10], ebx
push 0xf003f
push 0x476a84
push SysReAllocStringLen
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x16
call fcn.0041c454
test eax, eax
jne 0x41c3ab
push 0x476a60
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov byte [ebp - 4], 6
lea eax, [ebp + 0x17]
push 1
push eax
push 0x478018
lea ecx, [ebp - 0x164]
call fcn.0040a6ae
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x17
cmp eax, ebx
jne 0x41c3d5
mov eax, 0x4675bc
push dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 0xab
push 0x477f74
push eax
call fcn.00408446
add esp, 0xc
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call fcn.00406320
cmp dword [ebp - 0x10], ebx
je 0x41c413
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.0040127e
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.0040127e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.0040127e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10