Function at 0x4baf770
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4df9fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e7fde0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
cmp byte [ebp + 0x94], 0
mov dword [esp + 0x44], esi
je 0x4bafd25
mov eax, dword [0x4e83f60]
mov ecx, dword [eax + 0xb4]
call ecx
mov ecx, dword [0x4e83f60]
mov edx, dword [ecx]
mov eax, dword [edx + 0x64]
call eax
fstp dword [esp + 0x14]
cmp byte [ebp + 0x95], 0
je 0x4baf9e3
fld dword [esp + 0x14]
mov edx, dword [ebp + 0x390]
mov eax, dword [0x4e83f60]
push ecx
fstp dword [esp]
push 1
lea ecx, [ebp + 0x98]
push ecx
mov ecx, dword [eax + 0xa8]
push edx
call ecx
add esp, 0x10
xor eax, eax
mov dword [esp + 0x1c], eax
lea ebx, [ebp + 0xb8]
cmp eax, dword [ebp + 0xac]
jge 0x4baf8f7
push 1
lea ecx, [ebx - 8]
call fcn.04cbaf60
push eax
mov ecx, ebp
call fcn.04bac660
test al, al
je 0x4baf8e0
mov esi, dword [ebx + 4]
mov eax, dword [ebx - 4]
add esi, 0x294
mov edi, 0x4e15da0
mov ecx, 0xc
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4baf885
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
call fcn.04baf700
mov eax, dword [ebx]
test eax, eax
je 0x4baf8e0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
call fcn.04baf700
jmp 0x4baf8e0
fld dword [esp + 0x14]
mov edx, dword [ebp + 0x390]
push ecx
fstp dword [esp]
mov dword [esp + 0x1c], eax
mov eax, dword [0x4e83f60]
push 1
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 0xa8]
push edx
call ecx
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x4baf8e0
fld dword [esp + 0x14]
push ecx
mov ecx, dword [0x4e83f60]
fstp dword [esp]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x390]
push 1
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 0xa8]
push eax
call edx
add esp, 0x10
mov eax, dword [esp + 0x1c]
add eax, 1
add ebx, 0x3c
cmp eax, 6
mov dword [esp + 0x1c], eax
jl 0x4baf817
xor esi, esi
lea esp, [esp]
mov edx, dword [esp + 0x30]
test edx, edx
mov eax, dword [esp + 0x34]
je 0x4baf942
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp esi, ecx
jae 0x4baf942
fld dword [esp + 0x14]
push ecx
mov ecx, dword [ebp + 0x390]
fstp dword [esp]
lea eax, [edx + esi*4]
mov edx, dword [0x4e83f60]
push 1
push eax
mov eax, dword [edx + 0xa8]
push ecx
call eax
add esp, 0x10
add esi, 1
jmp 0x4baf900
cmp edx, eax
mov edi, eax
jbe 0x4baf956
nop
call 0x7c1e8a94
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
cmp edx, eax
mov esi, edx
jbe 0x4baf966
nop
call 0x7c1e8a94
mov eax, dword [esp + 0x34]
cmp esi, edi
je 0x4baf98e
sub eax, edi
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea ebx, [ecx + esi]
jle 0x4baf98a
push ecx
push edi
push ecx
push esi
nop
call 0x7c2304a8
add esp, 0x10
mov dword [esp + 0x34], ebx
fld dword [esp + 0x14]
mov edx, dword [ebp + 0x390]
mov eax, dword [0x4e83f60]
push ecx
fstp dword [esp]
push 1
lea ecx, [ebp + 0xa4]
push ecx
mov ecx, dword [eax + 0xa8]
push edx
call ecx
lea eax, [ebp + 0x90]
add esp, 0x10
cmp dword [eax], 0
je 0x4baf9e3
fld dword [esp + 0x14]
mov edx, dword [ebp + 0x390]
push ecx
fstp dword [esp]
push 1
push eax
mov eax, dword [0x4e83f60]
mov ecx, dword [eax + 0xa8]
push edx
call ecx
add esp, 0x10
cmp byte [ebp + 0x96], 0
je 0x4bafc30
fld dword [esp + 0x14]
mov eax, dword [ebp + 0x394]
push ecx
mov ecx, dword [0x4e83f60]
fstp dword [esp]
push 1
lea edx, [ebp + 0x9c]
push edx
mov edx, dword [ecx + 0xa8]
push eax
call edx
add esp, 0x10
xor eax, eax
mov dword [esp + 0x1c], eax
lea ebx, [ebp + 0x220]
cmp eax, dword [ebp + 0xac]
jge 0x4bafb4b
push 0
lea ecx, [ebx - 8]
call fcn.04cbaf60
push eax
mov ecx, ebp
call fcn.04bac660
test al, al
je 0x4bafb34
mov esi, dword [ebx + 4]
add esi, 0x294
mov edi, 0x4e15da0
mov ecx, 0xc
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4bafad5
mov esi, dword [esp + 0x30]
test esi, esi
mov edi, dword [ebx - 4]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], edi
je 0x4bafa98
mov ecx, dword [esp + 0x38]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x4bafa98
mov eax, edx
add eax, 4
mov dword [edx], edi
mov dword [esp + 0x34], eax
jmp 0x4bafabb
cmp esi, edx
mov edi, edx
jbe 0x4bafaa4
nop
call 0x7c1e8a94
lea ecx, [esp + 0x20]
push ecx
lea eax, [esp + 0x30]
push edi
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, eax
call fcn.04baf670
mov eax, dword [ebx]
test eax, eax
je 0x4bafb34
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
call fcn.04baf700
jmp 0x4bafb34
mov ecx, dword [ebx - 4]
fld dword [esp + 0x14]
mov eax, dword [ebp + 0x394]
push ecx
fstp dword [esp]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x4e83f60]
push 1
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 0xa8]
push eax
call edx
mov eax, dword [ebx]
add esp, 0x10
test eax, eax
je 0x4bafb34
fld dword [esp + 0x14]
mov edx, dword [0x4e83f60]
push ecx
mov ecx, dword [ebp + 0x394]
fstp dword [esp]
mov dword [esp + 0x1c], eax
push 1
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx + 0xa8]
push ecx
call eax
add esp, 0x10
mov eax, dword [esp + 0x1c]
add eax, 1
add ebx, 0x3c
cmp eax, 6
mov dword [esp + 0x1c], eax
jl 0x4bafa25
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov edi, dword [esp + 0x34]
je 0x4bafb91
mov eax, edi
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4bafb91
fld dword [esp + 0x14]
mov edx, dword [ebp + 0x394]
mov eax, dword [0x4e83f60]
push ecx
fstp dword [esp]
lea ecx, [ecx + esi*4]
push 1
push ecx
mov ecx, dword [eax + 0xa8]
push edx
call ecx
add esp, 0x10
add esi, 1
jmp 0x4bafb50
cmp ecx, edi
jbe 0x4bafb9f
nop
call 0x7c1e8a94
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x34]
mov esi, ecx
jbe 0x4bafbad
nop
call 0x7c1e8a94
cmp esi, edi
je 0x4bafbd9
mov ecx, dword [esp + 0x34]
sub ecx, edi
sar ecx, 2
test ecx, ecx
lea eax, [ecx*4]
lea ebx, [eax + esi]
jle 0x4bafbd5
push eax
push edi
push eax
push esi
nop
call 0x7c2304a8
add esp, 0x10
mov dword [esp + 0x34], ebx
fld dword [esp + 0x14]
mov eax, dword [ebp + 0x394]
push ecx
mov ecx, dword [0x4e83f60]
fstp dword [esp]
push 1
lea edx, [ebp + 0xa4]
push edx
mov edx, dword [ecx + 0xa8]
push eax
call edx
lea eax, [ebp + 0x90]
add esp, 0x10
cmp dword [eax], 0
je 0x4bafc30
fld dword [esp + 0x14]
push ecx
mov ecx, dword [0x4e83f60]
fstp dword [esp]
mov edx, dword [ecx + 0xa8]
push 1
push eax
mov eax, dword [ebp + 0x394]
push eax
call edx
add esp, 0x10
cmp byte [ebp + 0x97], 0
je 0x4bafcb7
fld dword [esp + 0x14]
mov edx, dword [0x4e83f60]
push ecx
mov ecx, dword [ebp + 0x394]
fstp dword [esp]
push 1
lea eax, [ebp + 0xa0]
push eax
mov eax, dword [edx + 0xa8]
push ecx
call eax
fld dword [esp + 0x24]
mov edx, dword [ebp + 0x394]
fstp dword [esp + 0xc]
mov eax, dword [0x4e83f60]
add esp, 0xc
push 1
lea ecx, [ebp + 0xa4]
push ecx
mov ecx, dword [eax + 0xa8]
push edx
call ecx
lea eax, [ebp + 0x90]
add esp, 0x10
cmp dword [eax], 0
je 0x4bafcb7
fld dword [esp + 0x14]
mov edx, dword [ebp + 0x394]
push ecx
fstp dword [esp]
push 1
push eax
mov eax, dword [0x4e83f60]
mov ecx, dword [eax + 0xa8]
push edx
call ecx
add esp, 0x10
mov edx, dword [ebp + 0x38c]
mov eax, dword [0x4e83f60]
mov ecx, dword [eax + 0x240]
push 0x258
push 0x320
push 0
push 0
push 0
push edx
call ecx
fld dword [esp + 0x2c]
mov eax, dword [ebp + 0x38c]
fstp dword [esp + 0x14]
mov ecx, dword [0x4e83f60]
add esp, 0x14
push 1
lea edx, [ebp + 0x398]
push edx
mov edx, dword [ecx + 0xa8]
push eax
call edx
mov eax, dword [0x4e83f60]
mov ecx, dword [eax + 0xb0]
add esp, 0x10
call ecx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4bafd25
push eax
call fcn.04df7d1e
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret