Function at 0x434a40
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473f2b
push eax
mov dword fs:[0], esp
sub esp, 0x334
push esi
push edi
call fcn.00434430
mov esi, eax
and eax, 1
xor ecx, ecx
mov edi, edx
or eax, ecx
je 0x434d57
lea ecx, [esp + 8]
call fcn.0043b460
lea eax, [esp + 0x18]
mov dword [esp + 0x344], 0
push eax
mov dword [esp + 0x1c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x434b14
mov eax, dword [esp + 0x130]
test al, 0x80
je 0x434aaf
or edi, 0x80000
test al, 2
je 0x434ab9
or edi, 0x100000
test al, 0x40
je 0x434ac3
or edi, 0x200000
test ah, 2
je 0x434ace
or edi, 0x400000
test ah, 0x20
je 0x434ad9
or edi, 0x800000
mov ecx, eax
and ecx, 0x110
cmp ecx, 0x10
jne 0x434aec
or edi, 0x1000000
test ah, 0x80
je 0x434af7
or edi, 0x2000000
mov al, byte [esp + 0x132]
cmp al, 2
jne 0x434b0a
or edi, 0x4000000
jmp 0x434b14
cmp al, 3
jne 0x434b14
or edi, 0x8000
push 0
push 0x48be60
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x14]
call fcn.0043a7b0
cmp eax, 1
jne 0x434bb6
push 0
lea edx, [esp + 0x138]
push 0x104
push edx
push 0x48be48
lea ecx, [esp + 0x18]
call fcn.0043a910
cmp eax, 1
jne 0x434bad
lea eax, [esp + 0x134]
push 0x48be3c
push eax
call fcn.004628ab
add esp, 8
test eax, eax
je 0x434bad
lea ecx, [esp + 0x134]
push 0x48be28
push ecx
call fcn.004628ab
add esp, 8
test eax, eax
jne 0x434b8e
or edi, 0x8000
jmp 0x434bad
lea edx, [esp + 0x134]
push 0x48be14
push edx
call fcn.004628ab
add esp, 8
test eax, eax
jne 0x434bad
or edi, 0x10000
lea ecx, [esp + 8]
call fcn.0043add0
push 0
push 0x48bdc4
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x14]
call fcn.0043a7b0
cmp eax, 1
jne 0x434bdf
lea ecx, [esp + 8]
call fcn.0043add0
or edi, 0x4000
push 0
push 0x48bd6c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x14]
call fcn.0043a7b0
cmp eax, 1
jne 0x434c08
lea ecx, [esp + 8]
call fcn.0043add0
or edi, 0x2000
push 0
push 0x48bd3c
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x14]
call fcn.0043a7b0
cmp eax, 1
jne 0x434c4d
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push 0x48bd28
call fcn.0043a7e0
cmp eax, 1
jne 0x434c44
cmp dword [esp + 0x10], 1
jne 0x434c44
or edi, 1
lea ecx, [esp + 8]
call fcn.0043add0
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x56
call ebx
test eax, eax
je 0x434c5f
or edi, 0x40
push 0x57
call ebx
test eax, eax
je 0x434c6d
or edi, 0x80
push 0x1000
call ebx
test eax, eax
je 0x434c7e
or edi, 0x1000
push 0x58
call ebx
test eax, eax
je 0x434c89
or edi, 0x10
push 0x59
call ebx
test eax, eax
pop ebx
je 0x434c95
or edi, 0x20
push 0
push 0x48bcb8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x14]
call fcn.0043a7b0
cmp eax, 1
jne 0x434d43
push 0
lea ecx, [esp + 0x138]
push 0x104
push ecx
push 0x48bcac
lea ecx, [esp + 0x18]
call fcn.0043a910
cmp eax, 1
jne 0x434d3a
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x13c]
push 0x4878c8
push ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call fcn.00461ecf
mov eax, dword [esp + 0x1c]
add esp, 0x10
cmp eax, 2
jne 0x434d15
or edi, 0x100
jmp 0x434d3a
cmp eax, 3
jne 0x434d22
or edi, 0x200
jmp 0x434d3a
cmp eax, 4
jne 0x434d2f
or edi, 0x400
jmp 0x434d3a
cmp eax, 5
jne 0x434d3a
or edi, 0x800
lea ecx, [esp + 8]
call fcn.0043add0
lea ecx, [esp + 8]
mov dword [esp + 0x344], 0xffffffff
call fcn.0043a750
mov ecx, dword [esp + 0x33c]
mov edx, edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x340
ret