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

Disassembly:
push 0x344
mov eax, 0x4f7f6f
call fcn.004cb630
mov ebx, ecx
call fcn.0043bf56
lea ecx, [ebp - 0x98]
call fcn.004402b7
xor eax, eax
mov esi, 0x11c
push esi
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.004cd420
add esp, 0xc
mov dword [ebp - 0x1b8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x1b8]
push eax
call esi
mov dword [ebp - 0x34c], eax
test eax, eax
jne 0x43bff4
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x1b8], 0x114
push eax
call esi
test eax, eax
je 0x43c5d7
mov ecx, dword [ebp - 0x1b4]
cmp ecx, 6
jne 0x43c008
cmp dword [ebp - 0x1b0], 2
je 0x43c010
test ecx, ecx
jne 0x43c0e4
mov edi, dword fs:[0x18]
test edi, edi
je 0x43c0de
mov edi, dword [edi + 0x30]
test edi, edi
je 0x43c0de
mov ecx, dword [edi + 0xa4]
mov dword [ebp - 0x1b4], ecx
mov eax, dword [edi + 0xa8]
mov dword [ebp - 0x1b0], eax
movzx eax, word [edi + 0xac]
mov dword [ebp - 0x1ac], eax
movzx eax, word [edi + 0xae]
test ax, ax
je 0x43c0d0
mov esi, eax
lea ecx, [ebp - 0x7c]
push 0x520788
shr esi, 8
call fcn.004408c6
push 0xa
push esi
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 1
call fcn.004404ed
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x78]
call fcn.0042cfc8
lea ecx, [ebp - 0x1d4]
call fcn.00440d6c
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x1a4]
cmovae ecx, dword [ebp - 0x78]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x43c0b0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], al
call fcn.00440d6c
mov ecx, dword [ebp - 0x1b4]
mov eax, dword [edi + 0xb0]
mov dword [ebp - 0x1a8], eax
jmp 0x43c0e4
mov ecx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1b0]
mov esi, 0x51f4e4
mov dword [ebx + 0xc], ecx
lea ecx, [ebp - 0x20c]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1ac]
push esi
mov dword [ebx + 0x14], eax
call fcn.004408c6
push esi
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 3
call fcn.004408c6
push 0xa
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x340]
push dword [ebx + 0x14]
call fcn.004404ed
mov edi, eax
push 0xa
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x324]
push dword [ebx + 0x10]
call fcn.004404ed
mov esi, eax
push 0xa
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x308]
push dword [ebx + 0xc]
call fcn.004404ed
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x2ec]
call fcn.004430f1
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2d0]
call fcn.004430f1
pop ecx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x2b4]
call fcn.004430f1
pop ecx
push edi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x298]
call fcn.004430f1
pop ecx
push eax
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 0xb
call fcn.00440a6c
lea ecx, [ebp - 0x298]
call fcn.00440d6c
lea ecx, [ebp - 0x2b4]
call fcn.00440d6c
lea ecx, [ebp - 0x2d0]
call fcn.00440d6c
lea ecx, [ebp - 0x2ec]
call fcn.00440d6c
lea ecx, [ebp - 0x308]
call fcn.00440d6c
lea ecx, [ebp - 0x324]
call fcn.00440d6c
lea ecx, [ebp - 0x340]
call fcn.00440d6c
lea ecx, [ebp - 0x1f0]
call fcn.00440d6c
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0
call fcn.00440d6c
movzx eax, word [ebp - 0xa0]
mov dword [ebx + 0x34], eax
movzx eax, byte [ebp - 0x9e]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x1a8]
sub eax, 1
je 0x43c5dc
sub eax, 1
jne 0x43c60b
mov ecx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1b0]
push 6
pop edx
cmp ecx, edx
jne 0x43c29b
test eax, eax
jne 0x43c26f
mov dword [ebx], 8
cmp eax, 1
jne 0x43c27a
mov dword [ebx], 9
cmp eax, 2
jne 0x43c285
mov dword [ebx], 0xa
cmp eax, 3
jne 0x43c290
mov dword [ebx], 0xb
cmp eax, 4
jne 0x43c2e7
mov dword [ebx], 0xc
cmp ecx, 0xa
jne 0x43c2bd
test eax, eax
jne 0x43c2e7
cmp dword [ebp - 0x1ac], 0x55f0
jae 0x43c2b7
push 0xd
pop ecx
mov dword [ebx], ecx
jmp 0x43c2e7
mov dword [ebx], 0xe
push 5
pop esi
cmp ecx, esi
jne 0x43c2dc
cmp eax, 2
jne 0x43c2cf
mov dword [ebx], 7
cmp eax, 1
jne 0x43c2d6
mov dword [ebx], edx
test eax, eax
jne 0x43c2e7
mov dword [ebx], esi
cmp ecx, 4
ja 0x43c2e7
mov dword [ebx], 4
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x228]
call fcn.004408c6
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x94]
call fcn.00443405
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0
call fcn.00440d6c
push 0x51f584
lea ecx, [ebp - 0x244]
call fcn.004408c6
push 0xd
pop eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x98]
lea eax, [ebp - 0x244]
push eax
call fcn.0044127d
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call fcn.00440d6c
push str.Service_Pack
lea ecx, [ebp - 0x260]
call fcn.004407ec
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x98]
call fcn.00440e87
lea ecx, [ebp - 0x260]
mov esi, eax
call fcn.00440d6c
test esi, esi
js 0x43c3bd
lea eax, [ebp - 0x18a]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004408c6
lea ecx, [ebp - 0x27c]
call fcn.004411db
lea ecx, [eax - 1]
cmp ecx, 9
ja 0x43c3b2
mov dword [ebx + 8], eax
lea ecx, [ebp - 0x27c]
call fcn.00440d6c
cmp dword [ebp - 0x34c], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
je 0x43c4e1
mov al, byte [ebp - 0x9e]
cmp al, 1
jne 0x43c439
cmp dword [ebp - 0x1b4], 4
jne 0x43c3ef
mov dword [ebx + 4], 1
jmp 0x43c59a
test dword [ebp - 0xa0], 0x200
je 0x43c407
mov dword [ebx + 4], 4
jmp 0x43c591
test dword [ebp - 0xa0], 0x100
je 0x43c424
cmp dword [ebx], 0xb
jne 0x43c424
mov dword [ebx + 4], 3
jmp 0x43c591
test byte [ebp - 0xa0], 0x40
push 2
pop eax
push 0xd
pop ecx
cmovne eax, ecx
jmp 0x43c4d9
cmp al, 3
jne 0x43c591
cmp dword [ebp - 0x1b4], 5
jne 0x43c4c9
cmp dword [ebp - 0x1b0], 2
jne 0x43c499
test byte [ebp - 0xa0], 0x80
je 0x43c468
mov dword [ebx + 4], 7
jmp 0x43c60b
test byte [ebp - 0xa0], 2
je 0x43c47d
mov dword [ebx + 4], 3
jmp 0x43c60b
xor eax, eax
mov ecx, 0x400
cmp word [ebp - 0xa0], cx
sete al
add eax, 5
mov dword [ebx + 4], eax
jmp 0x43c60b
cmp dword [ebp - 0x1b0], 0
jne 0x43c4c9
test byte [ebp - 0xa0], 0x80
je 0x43c4b7
mov dword [ebx + 4], 8
jmp 0x43c60b
test byte [ebp - 0xa0], 2
push 0
pop eax
setne al
add eax, 0xb
jmp 0x43c491
test byte [ebp - 0xa0], 2
push 0
pop eax
setne al
add eax, 9
mov dword [ebx + 4], eax
jmp 0x43c591
push 0x50
pop esi
lea eax, [ebp - 0x348]
mov dword [ebp - 0x344], esi
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetControlProductOptions
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x43c5d7
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x60]
push eax
xor eax, eax
push eax
push eax
push str.ProductType
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43c5d7
cmp dword [ebp - 0x344], esi
ja 0x43c5d7
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x60]
push eax
push str.WINNT
call esi
test eax, eax
jne 0x43c565
mov dword [ebx + 4], 1
lea eax, [ebp - 0x60]
push eax
push str.LANMANNT
call esi
test eax, eax
jne 0x43c57b
mov dword [ebx + 4], 0xb
lea eax, [ebp - 0x60]
push eax
push str.SERVERNT
call esi
test eax, eax
jne 0x43c591
mov dword [ebx + 4], 0xc
cmp dword [ebp - 0x1b4], 4
jne 0x43c60b
lea eax, [ebp - 0x1a4]
push str.Service_Pack_6
push eax
call fcn.004dcbb7
pop ecx
xor ebx, ebx
pop ecx
test eax, eax
jne 0x43c60d
lea eax, [ebp - 0x350]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionHotfixQ246009
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push dword [ebp - 0x350]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43c60d
or ebx, 0xffffffff
jmp 0x43c60d
cmp dword [ebp - 0x1b4], 4
jne 0x43c60b
mov eax, dword [ebp - 0x1b0]
test eax, eax
jne 0x43c5f5
mov dword [ebx], 1
cmp eax, 0xa
jne 0x43c600
mov dword [ebx], 2
cmp eax, 0x5a
jne 0x43c60b
mov dword [ebx], 3
xor ebx, ebx
lea ecx, [ebp - 0x98]
call fcn.00440d6c
mov eax, ebx
call fcn.004cb5da
ret