Function at 0x573790
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616a60
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x15c], 0
push 0x118
push 0
lea eax, [ebp - 0x158]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x15c], 0x11c
lea ecx, [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x573817
mov dword [ebp - 0x15c], 0x114
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [ebp - 0x28]
call fcn.004181b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x168], ecx
cmp dword [ebp - 0x168], 4
je 0x573863
cmp dword [ebp - 0x168], 5
je 0x573875
cmp dword [ebp - 0x168], 6
je 0x573919
jmp 0x57399f
push 0x6309cc
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x5739ac
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x16c], edx
cmp dword [ebp - 0x16c], 0
je 0x57389e
cmp dword [ebp - 0x16c], 1
je 0x5738ad
cmp dword [ebp - 0x16c], 2
je 0x5738bc
jmp 0x573914
push 0x630ac8
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x573914
push 0x630af8
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x573914
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x5738e0
movzx ecx, word [ebp - 0x1a8]
cmp ecx, 9
jne 0x5738e0
push 0x630a30
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x573914
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x5738fb
push 0x630a8c
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x573914
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x573914
push 0x630b88
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x5739ac
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x164], edx
cmp dword [ebp - 0x164], 0
je 0x573942
cmp dword [ebp - 0x164], 1
je 0x573969
cmp dword [ebp - 0x164], 2
je 0x573990
jmp 0x57399d
movzx eax, byte [ebp - 0x42]
cmp eax, 1
jne 0x57395a
push 0x630bcc
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x573967
push 0x630b24
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x57399d
movzx ecx, byte [ebp - 0x42]
cmp ecx, 1
jne 0x573981
push 0x630b60
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x57398e
push 0x630c38
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x57399d
push 0x630c7c
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x5739ac
push 0x630bfc
lea ecx, [ebp - 0x28]
call fcn.00415f50
push 0x630c0c
lea edx, [ebp - 0x28]
push edx
call fcn.00417070
add esp, 8
movzx eax, al
test eax, eax
je 0x573ad7
push 0x630d00
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
je 0x573ad7
mov dword [ebp - 0x184], 0
push 0x630d14
mov ecx, dword [ebp - 0x178]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x573ad7
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x160]
push ecx
call dword [ebp - 0x174]
cmp dword [ebp - 0x160], 6
jne 0x573a54
cmp dword [ebp - 0x170], 3
jne 0x573a54
push 0x630ca8
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x573ad7
cmp dword [ebp - 0x160], 6
jne 0x573a75
cmp dword [ebp - 0x170], 2
jne 0x573a75
push 0x630cd4
lea ecx, [ebp - 0x28]
call fcn.00415f50
jmp 0x573ad7
cmp dword [ebp - 0x160], 0xa
jne 0x573ad7
lea edx, [ebp - 0x40]
push edx
call fcn.00576870
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00413000
test eax, eax
jbe 0x573acb
lea ecx, [ebp - 0x40]
call fcn.00413810
push eax
call dword [sym.imp.MSVCR120.dll__wtoi]
add esp, 4
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0x55f0
jl 0x573acb
push 0x630d88
lea ecx, [ebp - 0x28]
call fcn.00415f50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00413150
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00418050
mov ecx, dword [ebp - 0x17c]
or ecx, 1
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413150
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret