Function at 0x4f8e60
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x52b36b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x158]
xorps xmm0, xmm0
mov eax, dword [esp + 0x15c]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x150], 0
lea eax, [esp + 0x30]
push 0x110
push 0
push eax
mov dword [esp + 0x38], 0x114
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4f8f28
cmp dword [esp + 0x30], 6
jb 0x4f8f28
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.004f90e0
jmp 0x4f8f31
lea ecx, [esp + 0x20]
call fcn.004f96d0
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
cmp ebp, eax
jne 0x4f8f44
xor bl, bl
jmp 0x4f9027
mov ecx, eax
mov eax, 0x4ec4ec4f
sub ecx, ebp
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
je 0x4f9021
lea ebx, [ebp + 0x4c]
jmp 0x4f8f70
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x4f900f
lea edi, [esi + 0x4c]
mov edi, edi
lea ebp, [ebx - 0x14]
mov ecx, ebp
call fcn.004f89b0
test al, al
je 0x4f8fe6
mov eax, dword [ebx - 4]
cmp eax, dword [edi - 4]
jne 0x4f8ff6
cmp dword [edi], 8
jb 0x4f8fa0
mov edx, dword [edi - 0x14]
jmp 0x4f8fa3
lea edx, [edi - 0x14]
cmp dword [ebx], 8
jb 0x4f8fab
mov ebp, dword [ebp]
mov ecx, ebp
call fcn.0042fa70
test al, al
je 0x4f8ff6
mov eax, dword [ebx + 0x14]
cmp eax, dword [edi + 0x14]
jne 0x4f8ff6
cmp dword [edi + 0x18], 8
jb 0x4f8fc9
mov edx, dword [edi + 4]
jmp 0x4f8fcc
lea edx, [edi + 4]
cmp dword [ebx + 0x18], 8
jb 0x4f8fdc
mov ecx, dword [ebx + 4]
call fcn.0042fa70
jmp 0x4f8fee
lea ecx, [ebx + 4]
call fcn.0042fa70
jmp 0x4f8fee
mov eax, dword [ebx - 0x4c]
cmp eax, dword [esi]
sete al
test al, al
jne 0x4f9092
mov eax, dword [esp + 0x18]
add esi, 0x68
add edi, 0x68
cmp esi, dword [eax + 4]
jne 0x4f8f80
mov edi, eax
mov eax, dword [esp + 0x1c]
add ebx, 0x68
dec eax
mov dword [esp + 0x1c], eax
jne 0x4f8f70
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov bl, 1
mov dword [esp + 0x150], 0xffffffff
test ebp, ebp
je 0x4f9066
push dword [esp + 0x14]
mov edx, eax
push ecx
mov ecx, ebp
call fcn.004fb6a0
push ebp
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0xc
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov al, bl
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00505b1e
add esp, 0x140
ret 8
mov ecx, dword [esp + 0x14]
push esi
call fcn.004f9bf0
mov edi, dword [esp + 0x18]
lea ecx, [esi + 0x68]
push dword [esp + 0x14]
push esi
mov edx, dword [edi + 4]
call fcn.004fb540
mov edx, dword [edi + 4]
add esp, 8
push dword [esp + 0x14]
lea ecx, [edx - 0x68]
push ecx
call fcn.004fb6a0
add esp, 8
add dword [edi + 4], 0xffffff98
jmp 0x4f900b