Function at 0x4c7010
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x590178
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x1ac]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1bc]
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
mov dword [esp + 0x1b4], 1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
mov byte [esp + 0x1b4], 2
push 1
mov dword [esp + 0x54], eax
call fcn.0056590a
add esp, 4
mov dword [esp + 0x50], eax
mov byte [eax], 0
lea eax, [esp + 0x84]
push 0x11c
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
mov dword [esp + 0x84], 0x11c
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4c7120
cmp dword [esp + 0x88], 6
mov eax, dword [esp + 0x50]
setae cl
mov byte [eax], cl
mov byte [esp + 0x1b4], 3
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004bf8c0
test al, al
je 0x4c73e0
mov ebx, dword [esp + 0x4c]
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.004bf980
mov edi, eax
mov byte [esp + 0x1b4], 4
lea eax, [esp + 0x54]
cmp eax, edi
je 0x4c7194
cmp dword [esp + 0x68], 8
jb 0x4c7173
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
call fcn.00404150
mov byte [esp + 0x1b4], 3
cmp dword [esp + 0x24], 8
jb 0x4c71af
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
push ebx
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
call fcn.0056590a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1b4], 5
test eax, eax
je 0x4c71f2
mov ecx, eax
call fcn.004b65d0
mov edi, eax
jmp 0x4c71f4
xor edi, edi
mov byte [esp + 0x1b4], 3
mov dword [esp + 0x4c], edi
mov byte [esp + 0x1b4], 6
call fcn.004c2820
test al, al
je 0x4c7217
mov dword [edi], 0x100
push 0xb
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x14]
push 0x5baed0
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00404a80
mov byte [esp + 0x1b4], 7
xor eax, eax
push 0x1f
mov dword [esp + 0x44], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0
push str.SOFTWAREMicrosoftCryptography
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.00404a80
mov byte [esp + 0x1b4], 8
lea eax, [esp + 0x6c]
cmp dword [esp + 0x80], 8
mov dword [esp + 0x7c], 0
cmovae eax, dword [esp + 0x6c]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x5c]
call fcn.004b69f0
mov bl, al
mov byte [esp + 0x1b4], 7
cmp dword [esp + 0x44], 8
jb 0x4c72ed
push dword [esp + 0x30]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov byte [esp + 0x1b4], 6
cmp dword [esp + 0x24], 8
jb 0x4c731f
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
test bl, bl
je 0x4c73c4
push 0x5baecc
lea edx, [esp + 0x58]
lea ecx, [esp + 0x14]
call fcn.0040cc70
add esp, 4
mov byte [esp + 0x1b4], 9
lea ecx, [esp + 0x6c]
push ecx
mov edx, eax
mov ecx, esi
call fcn.004146d0
add esp, 4
mov dword [esp + 0x28], 1
mov byte [esp + 0x1b4], 6
cmp dword [esp + 0x24], 8
jb 0x4c738f
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov byte [esp + 0x1b4], 3
push dword [esp + 0x4c]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x4c], 0
jmp 0x4c7408
mov byte [esp + 0x1b4], 3
push dword [esp + 0x4c]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x4c], 0
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x5a87c4
mov word [esi], ax
call fcn.00404a80
mov dword [esp + 0x28], 1
mov byte [esp + 0x1b4], 2
lea ecx, [esp + 0x50]
call fcn.004be920
mov byte [esp + 0x1b4], 1
cmp dword [esp + 0x80], 8
jb 0x4c7437
push dword [esp + 0x6c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
mov byte [esp + 0x1b4], al
cmp dword [esp + 0x68], 8
jb 0x4c7467
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
mov eax, esi
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00564de8
add esp, 0x1a8
ret 4