Function at 0x6f1498
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6f1af1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi + 0x12]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.006ef494
mov ebx, eax
mov eax, dword [0x70f63c]
mov eax, dword [eax]
mov esi, dword [eax + 0x44]
mov eax, esi
call fcn.006c296c
cmp dword [edi + 0xe], 0x13b5
je 0x6f1523
xor edx, edx
mov eax, esi
call fcn.006c24e8
mov al, byte [0x6f1b00]
push eax
mov cl, 2
mov edx, 0x6f1b0c
mov eax, 0x6f1b24
call fcn.005ae7a8
jmp 0x6f1ac3
mov eax, dword [ebp - 8]
cmp byte [eax + 0x13a4], 0
je 0x6f1584
mov eax, dword [ebp - 8]
cmp byte [eax + 0x13a4], 0x14
jne 0x6f1550
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebx + 0x4a0]
cmp eax, dword [edx + 0x40]
jne 0x6f1ac3
xor edx, edx
mov eax, esi
call fcn.006c24e8
mov al, byte [0x6f1b00]
push eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x13a4]
mov edx, dword [0x70f96c]
mov edx, dword [edx + eax*4 - 4]
mov cl, 2
mov eax, 0x6f1b24
call fcn.005ae7a8
jmp 0x6f1ac3
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x110]
lea edx, [edi + 0x10d]
call fcn.004050a4
mov edx, dword [ebp - 0x110]
mov eax, dword [esi + 0x36c]
call fcn.0045bd08
lea eax, [ebp - 0x114]
push eax
lea eax, [edi + 0x10d]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 4
mov eax, dword [edi + 0x104]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov eax, dword [eax + 0x3196c]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0
lea edx, [ebp - 0x12c]
mov ecx, 2
mov eax, 0x6f1b38
call fcn.0040b918
mov edx, dword [ebp - 0x114]
mov eax, dword [esi + 0x308]
call fcn.005ade44
lea eax, [ebp - 0x130]
push eax
lea eax, [edi + 0x10d]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 4
mov eax, dword [edi + 0x104]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov eax, dword [eax + 0x3196c]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0
lea edx, [ebp - 0x12c]
mov ecx, 2
mov eax, 0x6f1b38
call fcn.0040b918
mov edx, dword [ebp - 0x130]
mov eax, dword [0x70f63c]
mov eax, dword [eax]
call fcn.0047bce0
xor edx, edx
mov eax, esi
call fcn.006c2b14
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x4a0]
call fcn.00536038
mov eax, dword [ebp - 8]
lea esi, [eax + 0x104]
lea edi, [ebx + 0x4a8]
mov ecx, 0x48c
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x132c]
mov edx, dword [0x70f510]
mov edx, dword [edx]
mov word [edx + 0xa8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1330]
mov edx, dword [0x70f510]
mov edx, dword [edx]
mov word [edx + 0xa6], ax
mov eax, dword [ebp - 4]
call fcn.006efd9c
lea eax, [ebp - 0x109]
mov edx, 0x101
call fcn.00408590
mov eax, dword [ebp - 8]
lea esi, [eax + 0x10]
lea edi, [ebp - 0x109]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 8]
lea esi, [eax + 0x51]
lea edi, [ebp - 0xc8]
mov ecx, 0x22
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [0x70f510]
mov eax, dword [eax]
lea edi, [eax + 0x31984]
lea esi, [ebp - 0x109]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x109]
mov eax, dword [ebx + 0x4a4]
call fcn.004e76d0
mov eax, dword [ebp - 8]
cmp byte [eax + 0x84], 0
je 0x6f1785
mov eax, dword [ebx + 0x494]
mov edx, dword [eax + 0x19c]
call fcn.006d161c
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x19c]
mov dl, 1
call fcn.0046dd78
jmp 0x6f17a9
mov eax, dword [ebx + 0x494]
mov edx, dword [eax + 0x194]
call fcn.006d152c
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x194]
mov dl, 1
call fcn.0046dd78
mov eax, dword [0x70f510]
mov eax, dword [eax]
xor edx, edx
mov dl, byte [eax + 0x31951]
mov eax, dword [ebx + 0x378]
call fcn.005b52a8
mov eax, dword [0x70f510]
mov eax, dword [eax]
xor edx, edx
mov dl, byte [eax + 0x31950]
mov eax, dword [ebx + 0x37c]
call fcn.005b52a8
mov eax, dword [0x70f510]
mov eax, dword [eax]
cmp byte [eax + 0x31951], 0
seta dl
xor dl, 1
mov eax, dword [ebx + 0x380]
call fcn.0053a2b8
mov eax, dword [0x70f510]
mov eax, dword [eax]
cmp byte [eax + 0x31950], 0
seta dl
xor dl, 1
mov eax, dword [ebx + 0x384]
call fcn.0053a2b8
mov eax, dword [ebx + 0x4a4]
mov edx, 0x1a
call fcn.004e7fb4
mov edx, eax
mov eax, dword [ebx + 0x39c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 8]
fld qword [eax + 0x1334]
call fcn.004030f8
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
lea eax, [ebp - 0x144]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0x10
lea edx, [ebp - 0x13c]
xor ecx, ecx
mov eax, 0x6f1b4c
call fcn.0040b918
mov edx, dword [ebp - 0x134]
mov eax, dword [ebx + 0x400]
call fcn.0045bd08
mov eax, dword [ebx + 0x400]
call fcn.00558074
mov dl, byte [ebx + 0x16a5]
mov eax, dword [ebx + 0x480]
call fcn.005832d0
mov dl, byte [ebx + 0x16a5]
mov eax, dword [ebx + 0x484]
call fcn.005832d0
mov dl, byte [ebx + 0x16a5]
mov eax, dword [ebx + 0x314]
call fcn.005832d0
mov eax, ebx
call fcn.006b550c
mov eax, ebx
call fcn.006aff10
mov eax, dword [ebx + 0x4a0]
call fcn.00535478
mov eax, dword [ebx + 0x4a0]
call fcn.0053539c
mov eax, ebx
call fcn.006b16c8
mov eax, dword [ebx + 0x4e24]
mov dl, 1
call fcn.0047de28
xor eax, eax
push ebp
push 0x6f1abc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x40], 0
jne 0x6f1926
call fcn.00404830
jmp 0x6f1ac3
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov edx, dword [eax + 0x3196c]
mov eax, ebx
call fcn.006aff18
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x40]
cmp eax, 0xa
ja case.0x6f194a.0
jmp dword [eax*4 + 0x6f1951]
push 0
push 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3196c]
mov eax, dword [ebx + 0x4a0]
mov dl, 6
call fcn.0053590c
jmp case.0x6f194a.0
push 0
push 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3196c]
mov eax, dword [ebx + 0x4a0]
mov dl, 8
call fcn.0053590c
jmp case.0x6f194a.0
push 0
push 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3196c]
mov eax, dword [ebx + 0x4a0]
mov dl, 0xa
call fcn.0053590c
jmp case.0x6f194a.0
push 0
push 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3196c]
mov eax, dword [ebx + 0x4a0]
mov dl, 7
call fcn.0053590c
jmp case.0x6f194a.0
push 0
push 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3196c]
mov eax, dword [ebx + 0x4a0]
mov dl, 9
call fcn.0053590c
jmp case.0x6f194a.0
push 0
push 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3196c]
mov eax, dword [ebx + 0x4a0]
mov dl, 0xb
call fcn.0053590c
jmp case.0x6f194a.0
push 0
push 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3196c]
mov eax, dword [ebx + 0x4a0]
mov dl, 0xc
call fcn.0053590c
jmp case.0x6f194a.0
push 0
push 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3196c]
mov eax, dword [ebx + 0x4a0]
mov dl, 0xd
call fcn.0053590c
jmp case.0x6f194a.0
push 0
push 0
mov eax, dword [0x70f510]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3196c]
mov eax, dword [ebx + 0x4a0]
mov dl, 0xe
call fcn.0053590c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f1ac3
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f1af8
lea eax, [ebp - 0x134]
mov edx, 2
call fcn.00404e54
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.00404e54
ret