Function at 0x422ff0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b03
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x5e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1f4], edi
mov dword [ebp - 0x1c0], 0
call fcn.00402290
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1ac]
push eax
mov dword [ebp - 0x1c0], 1
mov dword [ebp - 0x1ac], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x1a8]
cmp eax, 0xa
jne 0x423097
cmp dword [ebp - 0x1a4], 0
jne 0x4230f8
xor edx, edx
cmp byte [ebp - 0x92], 1
setne dl
add edx, 5
jmp 0x42311e
cmp eax, 6
jne 0x4230f8
mov eax, dword [ebp - 0x1a4]
cmp eax, 3
jne 0x4230b8
xor edx, edx
cmp byte [ebp - 0x92], 1
setne dl
add edx, 7
jmp 0x42311e
cmp eax, 2
jne 0x4230ce
xor edx, edx
cmp byte [ebp - 0x92], 1
setne dl
add edx, 9
jmp 0x42311e
cmp eax, 1
jne 0x4230e3
xor edx, edx
cmp byte [ebp - 0x92], al
setne dl
add edx, 0xb
jmp 0x42311e
test eax, eax
jne 0x4230f8
xor edx, edx
cmp byte [ebp - 0x92], 1
sete dl
add edx, 0xd
jmp 0x42311e
mov eax, dword [ebp - 0x19c]
test eax, eax
jne 0x423107
lea edx, [eax + 1]
jmp 0x42311e
cmp eax, 1
jne 0x423111
lea edx, [eax + 1]
jmp 0x42311e
xor edx, edx
mov ecx, 3
cmp eax, 2
cmove edx, ecx
lea ecx, [ebp - 0x1f0]
call fcn.00402290
mov dword [ebp - 4], 1
lea eax, [ebp - 0x90]
push edx
push 0x5cd864
push eax
mov dword [ebp - method.CWString.virtual_0], vtable.CWString.0
call fcn.004642d0
add esp, 0xc
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x1f0]
push eax
call fcn.00464990
mov dword [ebp - 4], 2
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x44]
mov eax, dword [ebp - 0x1ec]
lea esi, [edi + 0x10]
mov dword [edi + 4], eax
mov ecx, esi
mov eax, dword [ebp - 0x1e8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1e4]
mov dword [edi + 0xc], eax
mov eax, dword [esi]
mov dword [ebp - 0x1bc], esi
call dword [eax + 0x44]
lea eax, [ebp - 0x1e0]
mov ecx, esi
push eax
call fcn.004026a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1f0]
call fcn.00401f80
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4231c2
mov ecx, eax
jmp 0x4231dc
cmp dword [edi + 0x24], 0
jne 0x4231cf
mov ecx, 0x5ca534
jmp 0x4231dc
cmp dword [esi + 0x14], 0
jne 0x4231d9
xor ecx, ecx
jmp 0x4231dc
mov ecx, dword [esi + 0xc]
mov edx, 0x5cac1c
mov di, word [ecx]
cmp di, word [edx]
mov edi, dword [ebp - 0x1b4]
jne 0x42321d
cmp word [ecx], 0
je 0x423219
mov si, word [ecx + 2]
cmp si, word [edx + 2]
mov word [ebp - 0x1ae], si
lea esi, [edi + 0x10]
jne 0x42321d
add ecx, 4
add edx, 4
cmp word [ebp - 0x1ae], 0
jne 0x4231e1
xor ecx, ecx
jmp 0x423222
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x423241
mov dword [edi + 0xc], ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x423515
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0xc]
jmp 0x423515
test eax, eax
je 0x423249
mov ecx, eax
jmp 0x423263
cmp dword [edi + 0x24], 0
jne 0x423256
mov ecx, 0x5ca534
jmp 0x423263
cmp dword [esi + 0x14], 0
jne 0x423260
xor ecx, ecx
jmp 0x423263
mov ecx, dword [esi + 0xc]
mov edx, 0x5cac24
nop dword [eax + eax]
mov di, word [ecx]
cmp di, word [edx]
mov edi, dword [ebp - 0x1b4]
jne 0x4232ac
cmp word [ecx], 0
je 0x4232a8
mov si, word [ecx + 2]
cmp si, word [edx + 2]
mov word [ebp - 0x1ae], si
lea esi, [edi + 0x10]
jne 0x4232ac
add ecx, 4
add edx, 4
cmp word [ebp - 0x1ae], 0
jne 0x423270
xor ecx, ecx
jmp 0x4232b1
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x4232d1
mov dword [edi + 0xc], ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4232c7
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push 0x5cac2c
jmp 0x42351a
test eax, eax
je 0x4232d9
mov ecx, eax
jmp 0x4232f3
cmp dword [edi + 0x24], 0
jne 0x4232e6
mov ecx, 0x5ca534
jmp 0x4232f3
cmp dword [esi + 0x14], 0
jne 0x4232f0
xor ecx, ecx
jmp 0x4232f3
mov ecx, dword [esi + 0xc]
mov edx, 0x5cac30
nop dword [eax + eax]
mov di, word [ecx]
cmp di, word [edx]
mov edi, dword [ebp - 0x1b4]
jne 0x42333c
cmp word [ecx], 0
je 0x423338
mov si, word [ecx + 2]
cmp si, word [edx + 2]
mov word [ebp - 0x1ae], si
lea esi, [edi + 0x10]
jne 0x42333c
add ecx, 4
add edx, 4
cmp word [ebp - 0x1ae], 0
jne 0x423300
xor ecx, ecx
jmp 0x423341
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x4234b2
lea ecx, [ebp - 0x20c]
call fcn.0040c6f0
mov dword [ebp - 4], 3
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423444
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1b8], eax
test eax, eax
je 0x423444
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x1b0], eax
test eax, eax
je 0x423444
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x1c4], 0
push ecx
push 0x18
lea ecx, [ebp - 0x1dc]
xorps xmm0, xmm0
push ecx
push 0
push eax
movups xmmword [ebp - 0x1dc], xmm0
movq qword [ebp - 0x1cc], xmm0
call dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1d8]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 4
lea ecx, [eax + 0xa4]
lea edi, [eax + 0xa8]
add eax, 0xac
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x200]
push eax
push ecx
push dword [ebp - 0x1b0]
call esi
push 0
push 4
lea eax, [ebp - 0x1fc]
push eax
push edi
mov edi, dword [ebp - 0x1b0]
push edi
call esi
push 0
push 2
lea eax, [ebp - 0x1f8]
push eax
push dword [ebp - 0x1b8]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1bc]
mov edi, dword [ebp - 0x1b4]
mov dword [edi + 0xc], 0
mov eax, 0x55f0
mov ecx, dword [esi + 0xc]
cmp word [ebp - 0x1f8], ax
jle 0x42346f
test ecx, ecx
je 0x423468
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push 0x5cac24
jmp 0x423480
test ecx, ecx
je 0x42347b
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push 0x5cac34
mov dword [esi + 0xc], 0
mov ecx, esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
call fcn.004633c0
mov dword [ebp - 4], 0
mov dword [ebp - method.CWString.virtual_0], vtable.CVolObject.0
jmp 0x423536
test eax, eax
jne 0x4234cf
cmp dword [edi + 0x24], eax
jne 0x4234c2
mov eax, 0x5ca534
jmp 0x4234cf
cmp dword [esi + 0x14], 0
jne 0x4234cc
xor eax, eax
jmp 0x4234cf
mov eax, dword [esi + 0xc]
mov ecx, 0x5cac2c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4234fa
test dx, dx
je 0x4234f6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4234fa
add eax, 4
add ecx, 4
test dx, dx
jne 0x4234d4
xor eax, eax
jmp 0x4234ff
sbb eax, eax
or eax, 1
test eax, eax
jne 0x423536
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x423515
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push 0x5cac20
mov dword [esi + 0xc], 0
mov ecx, esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
call fcn.004633c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469bcf
mov esp, ebp
pop ebp
ret