Function at 0x441f20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479ca9
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x49c128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
mov ecx, edx
mov dword [ebp - 0x48], edi
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
lea esi, [ecx + 2]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441f84
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.00418a50
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x441fc9
push 1
push 0x48af74
lea ecx, [ebp - 0x3c]
call fcn.004081d0
push 7
push 0x48af78
lea ecx, [ebp - 0x3c]
call fcn.004081d0
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
push ecx
push eax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00441e40
add esp, 8
mov byte [ebp - 4], 4
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movq qword [ebp - 0x1c], xmm0
lea ecx, [ebp - 0x1c]
push 0x7fff
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.00418b60
push 0xfffe
push 0
push eax
lea esi, [eax + 0xfffe]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
call fcn.004572c0
add esp, 0xc
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push ecx
push 0
push 0
push 0x48af88
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x4420ba
mov edx, dword [ebp - 0x1c]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4420a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00418a50
jmp 0x442122
push str.get_kit_version
mov edx, 4
lea ecx, [ebp - 0xf0]
call fcn.00404b20
add esp, 4
mov esi, eax
mov byte [ebp - 4], 6
mov al, byte [esi + 0x48]
test al, al
je 0x4420fa
mov edx, str.RegQueryValueEx_ProductVersion_failed
mov ecx, esi
call fcn.00416af0
mov al, byte [esi + 0x48]
test al, al
je 0x4420fa
push ebx
mov ecx, esi
call fcn.00442f70
lea ecx, [ebp - 0x90]
call fcn.004048b0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x90], vtable.std::ios_base.0
call fcn.00452e26
add esp, 4
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x44216e
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x44214f
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4421d7
push ecx
push edx
call fcn.004553f5
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x442183
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x4421b9
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4421af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4421d7
push edx
push ecx
call fcn.004553f5
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004553e7
mov esp, ebp
pop ebp
ret
call fcn.00459a2f
int3