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

Disassembly:
push 0x3d4
mov eax, 0x469fd1
call fcn.0045f4d4
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp + 0x14]
and dword [eax], 0
mov esi, 0x11c
push esi
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x3c4]
push 0
push eax
mov dword [ebp - 0x3cc], edi
mov dword [ebp - 0x3c8], 0xe
call fcn.00443420
add esp, 0xc
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x3c4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
xor ecx, ecx
mov dword [ebp - 0x3d0], eax
cmp eax, ecx
jne 0x45c4da
lea eax, [ebp - 0x3c4]
push eax
mov dword [ebp - 0x3c4], 0x114
call esi
test eax, eax
je 0x45c866
xor ecx, ecx
mov eax, dword [ebp - 0x3b4]
sub eax, ecx
je 0x45c84b
dec eax
je 0x45c763
dec eax
jne 0x45c866
push 0x4074d8
push dword [ebp + 0x18]
push ebx
call fcn.0043e66e
mov eax, dword [ebp - 0x3c0]
add esp, 0xc
push 4
pop esi
cmp eax, esi
jae 0x45c523
mov dword [ebp - 0x3c8], 1
jmp 0x45c623
jne 0x45c5aa
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x3c8], esi
call fcn.00443420
push esi
mov esi, 0x40b734
push esi
push 0xffffffffffffffff
push dword [ebp + 0x1c]
push edi
call fcn.0043f0c4
mov eax, edi
add esp, 0x20
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x45c55c
sub eax, ecx
mov ecx, dword [ebp + 0x1c]
sar eax, 1
push 0x40dc00
sub ecx, eax
push ecx
push edi
call fcn.0043f01f
push dword [ebp - 0x3bc]
lea eax, [ebp - 0x218]
push esi
push 0xffffffffffffffff
push 0x104
push eax
call fcn.0043f0c4
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0x1c]
push edi
call fcn.0043f01f
add esp, 0x2c
jmp 0x45c623
push 5
pop ecx
cmp eax, ecx
jne 0x45c643
cmp dword [ebp - 0x3bc], 0
jne 0x45c5cb
mov dword [ebp - 0x3c8], ecx
push 0x4074e8
jmp 0x45c617
cmp dword [ebp - 0x3bc], 1
jne 0x45c5ff
cmp byte [ebp - 0x2aa], 3
jne 0x45c5ee
mov dword [ebp - 0x3c8], 0xa
push 0x407508
jmp 0x45c617
mov dword [ebp - 0x3c8], 9
push 0x4074f8
jmp 0x45c617
cmp dword [ebp - 0x3bc], 2
je 0x45c5dd
mov dword [ebp - 0x3c8], 8
push 0x407524
push dword [ebp + 0x18]
push ebx
call fcn.0043e66e
add esp, 0xc
xor edi, edi
cmp dword [ebp - 0x3d0], edi
je 0x45c68c
cmp byte [ebp - 0x2aa], 2
je 0x45c67c
cmp byte [ebp - 0x2aa], 3
je 0x45c67c
xor eax, eax
jmp 0x45c67f
cmp eax, 6
jne 0x45c608
cmp dword [ebp - 0x3bc], 0
jne 0x45c608
cmp byte [ebp - 0x2aa], 1
jne 0x45c66b
mov dword [ebp - 0x3c8], 0xb
push 0x407568
jmp 0x45c617
mov dword [ebp - 0x3c8], 0xc
push 0x40757c
jmp 0x45c617
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x3dc]
mov dword [ecx], eax
jmp 0x45c866
lea eax, [ebp - 0x3cc]
push eax
push 0x4076b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x47e084]
test eax, eax
jne 0x45c866
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.00443420
add esp, 0xc
lea eax, [ebp - 0x3d0]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x3d4]
push eax
push edi
push 0x40769c
push dword [ebp - 0x3cc]
xor esi, esi
inc esi
mov dword [ebp - 0x3d0], 0x208
mov dword [ebp - 0x3d4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45c752
lea eax, [ebp - 0x218]
push 0x407688
push eax
call fcn.0043ff58
pop ecx
pop ecx
test eax, eax
je 0x45c74a
lea eax, [ebp - 0x218]
push 0x407674
push eax
call fcn.0043ff58
pop ecx
pop ecx
test eax, eax
je 0x45c74a
lea eax, [ebp - 0x218]
push 0x407660
push eax
call fcn.0043ff58
pop ecx
pop ecx
test eax, eax
jne 0x45c752
mov eax, dword [ebp - 0x3dc]
mov dword [eax], esi
push dword [ebp - 0x3cc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45c866
cmp dword [ebp - 0x3bc], ecx
jne 0x45c788
push 0x4074b8
push dword [ebp + 0x18]
push ebx
call fcn.0043e66e
add esp, 0xc
and dword [ebp - 0x3c8], 0
jmp 0x45c81a
mov dword [ebp - 0x3d8], ecx
mov dword [ebp - 0x3d4], ecx
mov dword [ebp - 4], ecx
push 0x23
pop ecx
mov esi, 0x4075d0
lea edi, [ebp - 0x2a8]
rep movsd dword es:[edi], dword [esi]
push 0x4074c8
push dword [ebp + 0x18]
movsw word es:[edi], word [esi]
push ebx
call fcn.0043e66e
add esp, 0xc
push 0x2001f
lea eax, [ebp - 0x2a8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x3d8]
call fcn.004365ab
test eax, eax
jne 0x45c7eb
mov dword [ebp - 0x3c8], 3
push 0x4075a4
jmp 0x45c7fa
mov dword [ebp - 0x3c8], 2
push 0x4075c4
push dword [ebp + 0x1c]
push dword [ebp - 0x3cc]
call fcn.0043e66e
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3d8]
call fcn.0043670e
mov eax, dword [ebp - 0x3b8]
shr eax, 0x10
mov ecx, eax
shr ecx, 8
cmp cl, 4
jne 0x45c866
cmp al, 0x5a
jne 0x45c866
push 0x40754c
push dword [ebp + 0x18]
push ebx
call fcn.0043e66e
mov dword [ebp - 0x3c8], 6
jmp 0x45c863
push 0x40753c
push dword [ebp + 0x18]
push ebx
call fcn.0043e66e
mov dword [ebp - 0x3c8], 0xd
add esp, 0xc
lea eax, [ebp - 0x3b0]
push eax
push dword [ebp + 0x20]
push dword [ebp - 0x3e0]
call fcn.0043e66e
mov eax, dword [ebp - 0x3c8]
add esp, 0xc
call fcn.0045f566
ret 0x1c