Function at 0x4a3690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69a276
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [0x748068]
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 - 0x3d4], edi
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x3bc]
push 0x110
push 0
push eax
mov dword [ebp - 0x3c0], 0x114
call fcn.00652810
add esp, 0xc
lea eax, [ebp - 0x3c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4a3aff
cmp dword [ebp - 0x3bc], 6
jb 0x4a3aff
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.004a45c0
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov eax, dword [edi]
test eax, eax
je 0x4a3aff
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6dd928
push eax
call esi
push 0x6de35c
push dword [edi]
mov dword [ebp - 0x3d0], eax
call esi
mov ecx, dword [ebp - 0x3d4]
mov edi, eax
push 0x6dd94c
push dword [ecx]
call esi
mov esi, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d8], eax
test esi, esi
je 0x4a3aff
test edi, edi
je 0x4a3aff
test eax, eax
je 0x4a3aff
xorps xmm0, xmm0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call fcn.004539e0
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.00405d80
mov byte [ebp - 4], 3
lea eax, [ebp - 0x240]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push str.SoftwareMicrosoftCTFSortOrderAssemblyItem
push str._s0x_08x_s
push eax
call fcn.004304b0
mov dword [ebp - 0x228], 0
add esp, 0x14
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x228]
push 0x20019
call fcn.0044d8f0
mov dword [ebp - 0x3cc], eax
lea ecx, [ebp - 0x240]
lea eax, [ebp - 0x3c4]
mov dword [ebp - 0x3c4], 0
push eax
push 0x20019
push 0
call fcn.00405ca0
push eax
push dword [ebp - 0x3cc]
call esi
test eax, eax
jne 0x4a3aa8
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00652810
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x3c4]
call edi
test eax, eax
jne 0x4a38e1
nop
xor edx, edx
lea ecx, [ebp - 0x218]
call fcn.0042fce0
mov dword [ebp - 0x3c8], eax
lea eax, [ebp - 0x3c8]
push dword [ebp - 0x3c8]
push eax
push ecx
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x220]
call fcn.004545e0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x104
push eax
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push dword [ebp - 0x3c4]
call edi
test eax, eax
je 0x4a3880
push dword [ebp - 0x3c4]
call dword [ebp - 0x3d8]
mov eax, dword [ebp - 0x220]
mov esi, dword [eax]
cmp esi, eax
je 0x4a3aa8
nop dword [eax]
push dword [esi + 0x10]
lea eax, [ebp - 0x240]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push 0x804
push str.SoftwareMicrosoftCTFSortOrderAssemblyItem
push str._s0x_08x_s_08d
push eax
call fcn.004304b0
add esp, 0x18
lea eax, [ebp - 0x3c4]
lea ecx, [ebp - 0x240]
push eax
push 0x20019
push 0
call fcn.00405ca0
push eax
push dword [ebp - 0x3cc]
call dword [ebp - 0x3d0]
test eax, eax
jne 0x4a3a57
lea ecx, [ebp - 0x2a8]
call fcn.004a1730
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3f8]
push 0x6cf964
mov dword [ebp - 0x274], 0x804
call fcn.00405d30
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2a8]
mov ecx, dword [ebp - 0x3d4]
push eax
lea eax, [ebp - 0x3f8]
push eax
push dword [ebp - 0x3c4]
call fcn.004a3b20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3f8]
call fcn.00405ce0
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x4a3a2d
push eax
push 0x68
call fcn.004047f0
mov ecx, dword [ebp - 0x2a8]
mov edi, eax
add esp, 8
mov dword [ebp - 0x3c8], edi
lea eax, [ebp - 0x2a4]
mov dword [edi], ecx
lea ecx, [edi + 4]
push eax
call fcn.00406ff0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28c]
push eax
lea ecx, [edi + 0x1c]
call fcn.00406ff0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x38]
mov eax, dword [ebp - 0x274]
mov dword [edi + 0x34], eax
lea eax, [ebp - 0x270]
push eax
call fcn.00406ff0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x258]
push eax
lea ecx, [edi + 0x50]
call fcn.00406ff0
mov byte [ebp - 4], 7
add dword [ebx + 4], 0x68
jmp 0x4a3a3c
lea ecx, [ebp - 0x2a8]
push ecx
push eax
mov ecx, ebx
call fcn.004a40a0
push dword [ebp - 0x3c4]
call dword [ebp - 0x3d8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2a8]
call fcn.004a17b0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4a3a84
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4a3a80
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x4a3a80
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4a3a70
mov esi, eax
jmp 0x4a3a9c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4a3a9c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x4a3a90
cmp esi, dword [ebp - 0x220]
jne 0x4a3900
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x228]
call fcn.0044da90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x240]
call fcn.00405ce0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x220]
mov eax, dword [ebp - 0x220]
push eax
push dword [eax]
lea eax, [ebp - 0x3c8]
push eax
call fcn.004537f0
mov dword [ebp - 4], 0xffffffff
push 0x14
push dword [ebp - 0x220]
call fcn.0064fde3
add esp, 8
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.0064fb08
mov esp, ebp
pop ebp
ret 8