Function at 0x254f85ee
Capabilities:
Check os version

Disassembly:
mov eax, 0x256220cd
call fcn.2561c60c
sub esp, 0x114
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
lea esi, [ebx + 0x30]
push 7
mov dword [ebx], 0x2567c788
mov dword [ebx + 4], 0x2567c768
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], 1
call fcn.2560442e
lea esi, [ebx + 0x5c]
push 7
mov dword [ebp - 4], edi
call fcn.2560442e
lea eax, [ebx + 0xa0]
mov byte [ebp - 4], 1
call fcn.254ec760
lea eax, [ebx + 0xf0]
push eax
mov dword [ebx + 0xe4], 1
mov dword [ebx + 0xe8], 0x406
mov dword [ebx + 0xec], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x10
lea eax, [ebx + 0x10c]
mov dword [ebx + 0x108], edi
call fcn.254fd6c8
lea esi, [ebx + 0x134]
mov dword [ebx + 0x12c], edi
mov dword [ebx + 0x130], edi
call fcn.255b43a3
mov byte [ebp - 4], 5
lea eax, [ebx + 0x154]
mov dword [eax + 4], edi
mov ecx, 0x2567c7f8
mov dword [eax + 8], ecx
mov dword [eax], 0x2567c760
mov dword [eax + 8], 0x2567c750
lea eax, [ebx + 0x160]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax], 0x2567c760
mov dword [eax + 8], 0x2567c808
lea esi, [ebx + 0x170]
push 7
mov dword [ebx + 0x16c], 1
call fcn.2560442e
lea esi, [ebx + 0x1b4]
push 7
mov byte [ebp - 4], 6
call fcn.2560442e
push 0x32
pop eax
push 5
mov dword [ebx + 0x204], eax
mov dword [ebx + 0x208], eax
lea eax, [ebx + 0x210]
pop edx
mov dword [ebx + 0x1e0], edi
mov dword [ebx + 0x1e4], edi
mov dword [ebx + 0x1e8], edi
mov dword [ebx + 0x20c], edi
call fcn.254fccc5
mov byte [ebp - 4], 8
mov dword [ebx + 0x244], edi
mov dword [ebx + 0x248], edi
mov dword [ebx + 0x24c], edi
mov dword [ebx + 0x250], edi
push 7
lea esi, [ebx + 0x2a0]
mov dword [ebx + 0x29c], 1
call fcn.254fcd06
lea eax, [ebx + 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebx + 0x2e4]
push eax
mov byte [ebp - 4], 0xa
call fcn.254d3009
mov dword [ebx + 0x33c], edi
lea edi, [ebx + 0x35c]
call fcn.255b0646
lea esi, [ebx + 0x3d0]
call fcn.25615b40
lea edi, [ebx + 0x460]
push 7
mov esi, edi
mov byte [ebp - 4], 0xd
call fcn.2560442e
lea esi, [ebx + 0x48c]
push 7
mov byte [ebp - 4], 0xe
call fcn.2560442e
mov byte [ebp - 4], 0xf
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
and dword [ebx + 0x4bc], 0
and dword [ebx + 0x4c0], 0
lea eax, [ebx + 0x22c]
push eax
mov dword [ebx + 0x4b8], 0xb00000
call esi
lea eax, [ebx + 0x254]
push eax
call esi
lea eax, [ebx + 0x18]
push eax
call esi
lea eax, [ebx + 0x88]
push eax
call esi
lea eax, [ebx + 0x19c]
push eax
call esi
lea eax, [ebx + 0x26c]
push eax
call esi
lea eax, [ebx + 0x284]
push eax
call esi
lea eax, [ebx + 0x1ec]
push eax
call esi
lea eax, [ebx + 0x448]
push eax
call esi
lea eax, [ebx + 0x344]
push eax
call esi
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x254f885a
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 4
mov dword [eax + 0xc], ecx
jmp 0x254f885c
xor eax, eax
mov dword [ebx + 0x340], eax
mov eax, dword [edi]
push 0x254d2f1c
mov ecx, edi
call dword [eax + 4]
mov eax, dword [edi]
mov esi, 0x2547d25e
push esi
mov ecx, edi
call dword [eax + 8]
lea edi, [ebx + 0x48c]
mov eax, dword [edi]
push 0x254d2f1c
mov ecx, edi
call dword [eax + 4]
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 8]
lea edi, [ebx + 0x30]
mov eax, dword [edi]
push 0x254d2f1c
mov ecx, edi
mov dword [ebx + 0x2c0], 0x255f8156
mov dword [ebx + 0x2c4], 0x2559587e
call dword [eax + 4]
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 8]
lea esi, [ebx + 0x5c]
mov eax, dword [esi]
push 0x254de001
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
push fcn.2547f393
mov ecx, esi
call dword [eax + 8]
lea esi, [ebx + 0x170]
mov eax, dword [esi]
push 0x2547f3ad
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
mov edi, 0x2547f325
push edi
mov ecx, esi
call dword [eax + 8]
lea esi, [ebx + 0x1b4]
mov eax, dword [esi]
push 0x2547f3ad
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
mov esi, str.WD553HF.dll
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call fcn.25613813
push esi
push eax
mov dword [ebx + 0x1e8], eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x254f8971
cmp dword [ebp - 0x110], 2
jne 0x254f8971
cmp dword [ebp - 0x11c], 6
jb 0x254f8971
mov dword [ebx + 0x108], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 4