Function at 0x1004fba0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x13c]
sub esp, 0x13c
push 0xffffffffffffffff
push 0x10130260
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp + 0x138], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0x144]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x148]
movq qword [ebp + 0x12c], xmm0
mov dword [ebp + 0x134], 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp + 0x12c], 0
mov dword [ebp + 0x130], 0
mov dword [ebp + 0x134], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 4]
push 0x110
push 0
push eax
mov dword [ebp], 0x114
call fcn.100fdf90
add esp, 0xc
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1004fc66
cmp dword [ebp + 4], 6
jb 0x1004fc66
lea eax, [ebp + 0x12c]
push eax
push ecx
mov ecx, esi
call fcn.1004ffa0
jmp 0x1004fc71
lea ecx, [ebp + 0x12c]
call fcn.10050570
mov eax, dword [ebp + 0x12c]
cmp eax, dword [ebp + 0x130]
jne 0x1004fc86
xor bl, bl
jmp 0x1004fee4
mov ecx, dword [ebp + 0x130]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebp + 0x12c]
imul ecx
mov dword [ebp - 0x28], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004fee2
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x1004fead
mov edi, esi
mov ebx, dword [ebp + 0x12c]
add ebx, ecx
lea ecx, [ebp + 0x114]
push str.00000000_0000_0000_0000_000000000000
mov dword [ebp - 0x10], ebx
call fcn.10008180
mov byte [ebp - 4], 1
lea eax, [ebx + 0x38]
push ecx
push eax
lea ecx, [ebp + 0x114]
mov dword [ebp - 0x14], eax
call fcn.10013f70
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x114]
call fcn.10004ae0
cmp ebx, 0xffffffff
jne 0x1004fddc
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x38]
mov dword [ebp - 0x20], eax
call fcn.10004aa0
mov ecx, dword [ebp - 0x20]
mov ebx, eax
call fcn.10004aa0
cmp ebx, eax
jne 0x1004fde5
mov ecx, dword [ebp - 0x20]
call fcn.10006600
mov ecx, dword [ebp - 0x14]
mov ebx, eax
call fcn.10006600
mov edx, ebx
mov ecx, eax
call fcn.10056bd0
test al, al
je 0x1004fde5
lea eax, [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 0x50
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.10004aa0
mov ecx, dword [ebp - 0x14]
mov ebx, eax
call fcn.10004aa0
cmp ebx, eax
jne 0x1004fde5
mov ecx, dword [ebp - 0x14]
call fcn.10006600
mov ecx, dword [ebp - 0x10]
mov ebx, eax
call fcn.10006600
mov edx, ebx
mov ecx, eax
call fcn.10056bd0
test al, al
je 0x1004fde5
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x1004fdfe
push eax
push 0x34
call fcn.100048e0
mov ecx, dword [esi]
mov ebx, eax
add esp, 8
mov dword [ebp - 0x10], ebx
mov dword [ebx], ecx
lea ecx, [edi + 4]
push ecx
lea ecx, [ebx + 4]
call fcn.10004af0
mov byte [ebp - 4], 2
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebx + 0x1c]
call fcn.10004af0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add dword [eax + 4], 0x34
jmp 0x1004fe05
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x1004fd94
mov ebx, dword [ebp - 0x1c]
add esi, 0x68
mov ecx, dword [ebp - 0x18]
mov edi, esi
cmp edi, dword [ebx + 4]
je 0x1004fead
jmp 0x1004fcc2
push esi
push eax
call fcn.10050fa0
mov ebx, dword [ebp - 0x1c]
lea eax, [edi + 0x68]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x1004fe70
lea ebx, [eax + 0x34]
sub eax, edi
lea esi, [edi + 0x1c]
mov dword [ebp - 0x10], eax
mov edi, eax
mov eax, dword [ebx - 0x34]
lea ecx, [esi - 0x18]
mov dword [esi - 0x1c], eax
lea eax, [ebx - 0x30]
push eax
call fcn.10005630
lea eax, [edi + esi]
mov ecx, esi
push eax
call fcn.10005630
mov eax, dword [ebx]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], eax
lea eax, [ebx + 4]
push eax
call fcn.10005630
lea eax, [ebx + 0x1c]
push eax
lea ecx, [esi + 0x34]
call fcn.10005630
lea ebx, [ebx + 0x68]
add esi, 0x68
lea eax, [ebx - 0x34]
cmp eax, dword [ebp - 0x14]
jne 0x1004fe22
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 4]
lea esi, [ecx - 0x68]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 5
lea ecx, [esi + 0x50]
call fcn.10004ae0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x38]
call fcn.10004ae0
mov byte [ebp - 4], 7
lea ecx, [esi + 0x1c]
call fcn.10004ae0
mov byte [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.10004ae0
add dword [ebx + 4], 0xffffff98
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
add ecx, 0x68
mov dword [ebp - 0x18], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp + 0x130]
inc esi
sub ecx, dword [ebp + 0x12c]
imul ecx
mov ecx, dword [ebp - 0x18]
sar edx, 5
mov eax, edx
mov dword [ebp - 0x28], esi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x1004fcb5
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x12c]
test ecx, ecx
je 0x1004ff68
mov edx, dword [ebp + 0x130]
push ecx
call fcn.100511f0
mov ecx, dword [ebp + 0x134]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp + 0x12c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x1004ff40
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ff8f
push ecx
push esi
call fcn.100fc65e
add esp, 8
mov dword [ebp + 0x12c], 0
mov dword [ebp + 0x130], 0
mov dword [ebp + 0x134], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x138]
xor ecx, ebp
call fcn.100fc1a9
lea esp, [ebp + 0x13c]
pop ebp
ret 8
call fcn.10100b14
int3