Function at 0x679a70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
lea ebx, [ebp - 0x84]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov dword [ebx + 8], 0x7187e4
mov dword [ebx + 0xc], esp
mov eax, 0x56498f
mov dword [ebx + 4], eax
xor edx, edx
mov word [ebx + 0x10], 0
mov dword [ebx + 0x1c], edx
mov esi, 0x71644a
mov ecx, dword fs:[0]
mov dword [ebx], ecx
mov dword fs:[0], ebx
mov dword [ebx + 0x1c], 2
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.006966d4
inc dword [ebx + 0x1c]
lea edx, [ebp - 8]
mov word [ebx + 0x10], 8
lea eax, [ebp - 8]
call fcn.006966d4
inc dword [ebx + 0x1c]
mov edx, esi
mov word [ebx + 0x10], 0x14
lea eax, [ebp - 0x1c]
call fcn.0069669c
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00696954
push eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00696870
pop ecx
test cl, cl
je 0x679b4b
mov word [ebx + 0x10], 0x20
lea edx, [esi + 0x34a]
lea eax, [ebp - 0x20]
call fcn.0069669c
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.006968a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 0x2c
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x24]
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004eee38
lea eax, [ebp - 0x24]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebx + 0x1c]
call fcn.004f27b4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 8
mov word [ebx + 0x10], 0x38
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
inc dword [ebx + 0x1c]
call fcn.00674140
lea eax, [ebp - 0x28]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [ebx + 0x1c]
call fcn.004f27b4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 8
mov word [ebx + 0x10], 0x44
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
inc dword [ebx + 0x1c]
call fcn.006742e4
lea eax, [ebp - 0x2c]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x14]
inc dword [ebx + 0x1c]
call fcn.004f27b4
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 8
mov word [ebx + 0x10], 0x50
mov edx, esi
lea eax, [ebp - 0x30]
call fcn.0069669c
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x10]
call fcn.00696954
push eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00696870
pop ecx
test cl, cl
je 0x679c50
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.006968a0
mov word [ebx + 0x10], 0x5c
mov edx, esi
lea eax, [ebp - 0x34]
call fcn.0069669c
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x14]
call fcn.00696954
push eax
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00696870
pop ecx
test cl, cl
je 0x679c8f
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x14]
call fcn.006968a0
mov dword [ebp - 0x118], 0x94
lea ecx, [ebp - 0x118]
push ecx
call sub.KERNEL32.DLL_GetVersionExA
cmp dword [ebp - 0x108], 2
jne 0x679cb7
cmp dword [ebp - 0x114], 6
jae 0x679cbb
xor eax, eax
jmp 0x679cc0
mov eax, 1
mov word [ebx + 0x10], 8
mov word [ebx + 0x10], 0x68
test al, al
je 0x679cd5
lea edx, [ebp - 0x14]
jmp 0x679cd8
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x18]
call fcn.006966d4
inc dword [ebx + 0x1c]
xor ecx, ecx
mov word [ebx + 0x10], 8
mov word [ebx + 0x10], 0x74
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
inc dword [ebx + 0x1c]
lea edx, [esi + 0x35e]
call fcn.0069669c
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0067507c
lea edx, [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.006968a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 0x80
xor ecx, ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], ecx
push eax
inc dword [ebx + 0x1c]
lea eax, [ebp - 0x40]
lea edx, [esi + 0x369]
call fcn.0069669c
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0067507c
lea edx, [ebp - 0x44]
lea eax, [ebp - 4]
call fcn.006968a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 0x8c
xor ecx, ecx
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], ecx
push eax
inc dword [ebx + 0x1c]
lea eax, [ebp - 0x48]
lea edx, [esi + 0x379]
call fcn.0069669c
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0067507c
lea edx, [ebp - 0x4c]
lea eax, [ebp - 4]
call fcn.006968a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 0x98
xor ecx, ecx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], ecx
push eax
inc dword [ebx + 0x1c]
lea eax, [ebp - 0x50]
lea edx, [esi + 0x388]
call fcn.0069669c
inc dword [ebx + 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0067507c
lea edx, [ebp - 0x54]
lea eax, [ebp - 4]
call fcn.006968a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00696870
mov word [ebx + 0x10], 0xa4
xor ecx, ecx
mov dword [ebp - 0x58], ecx
lea edx, [ebp - 0x58]
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 4]
call fcn.004ef1ac
lea eax, [ebp - 0x58]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x5c], edx
lea edx, [ebp - 0x5c]
inc dword [ebx + 0x1c]
call fcn.004f2774
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
call fcn.006968a0
mov eax, dword [ebp - 0x60]
mov edx, 2
mov word [ebx + 0x10], 0xb0
push eax
lea eax, [ebp - 0x5c]
dec dword [ebx + 0x1c]
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00696870
dec dword [ebx + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00696870
pop eax
mov word [ebx + 0x10], 0xa4
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret