Function at 0x887270
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x94b6aa
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x99986c]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [esp + 0x12c]
mov ebp, dword [esp + 0x128]
mov edx, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
mov esi, dword [esp + 0x138]
mov dword [esp + 0x1c], eax
xor eax, eax
xor bl, bl
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x16], 1
cmp dword [ecx], eax
je 0x8872fc
cmp dword [ecx + 8], 0x80000000
jne 0x8872fe
mov bl, 1
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
push esi
push edi
xor eax, eax
push ecx
push eax
push ebp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], eax
call fcn.0087ab10
add esp, 0x1c
mov dword [esp + 0x40], eax
cmp eax, 1
jne 0x887333
xor al, al
jmp 0x88790a
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x88736c
push 0
push eax
mov ecx, ebp
call fcn.0085f250
cmp dword [esp + 0x40], 0
jne 0x88735b
mov edx, dword [eax]
and dl, 7
cmp dl, 4
jne 0x88735b
mov byte [esp + 0x16], 0
mov eax, dword [eax]
and eax, 7
cmp eax, 3
je 0x88736a
cmp eax, 4
jne 0x88736c
xor bl, bl
cmp byte [esp + 0x16], 0
mov dword [esp + 0x48], 3
je 0x8873c2
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
push edi
push edx
push 1
push ebp
call fcn.0087ab10
add esp, 0x1c
mov dword [esp + 0x48], eax
test bl, bl
je 0x8873c2
mov eax, dword [esp + 0x38]
test eax, eax
je 0x8873c2
push 1
push eax
mov ecx, ebp
call fcn.0085f250
mov eax, dword [eax]
and eax, 7
cmp eax, 3
je 0x8873c0
cmp eax, 4
jne 0x8873c2
xor bl, bl
cmp dword [esp + 0x3c], 0
jne 0x8873e8
cmp dword [esp + 0x38], 0
jne 0x8873e8
mov ecx, ebp
call fcn.00878180
cmp eax, 3
je 0x8873e6
call fcn.00878180
cmp eax, 4
jne 0x8873e8
xor bl, bl
mov ebp, dword [esp + 0x30]
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x40], 1
call dword [0x98256c]
test byte [ebp + 0x38], 4
je 0x887883
test bl, bl
je 0x887883
cmp dword [esp + 0x18], 0x80000001
jne 0x887465
lea ecx, [esp + 0x70]
call fcn.0090a020
mov dword [esp + 0x120], 0
lea ecx, [esp + 0x70]
push ecx
push esi
push edi
call fcn.00878080
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
push edx
push eax
call fcn.0087b620
add esp, 0x14
test al, al
je 0x887451
xor bl, bl
mov dword [esp + 0x120], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.009098c0
test bl, bl
je 0x887883
mov eax, dword [esp + 0x1c]
mov ebp, dword [0x98259c]
test eax, eax
je 0x8874a1
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call ebp
mov ebx, eax
jmp 0x8874a5
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x1c], 0
mov byte [esp + 0x17], 0
je 0x8874b6
cmp ebx, 5
jne 0x887531
lea ecx, [esp + 0x70]
call fcn.0090a020
mov dword [esp + 0x120], 1
lea edx, [esp + 0x70]
push edx
push esi
push edi
call fcn.00878080
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push 9
push 0
push ecx
push edx
call dword [0x982574]
mov ebx, eax
test ebx, ebx
jne 0x88751d
push eax
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x5c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov byte [esp + 0x47], 1
call ebp
mov ebx, eax
mov dword [esp + 0x120], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.009098c0
test ebx, ebx
jne 0x887871
inc dword [esp + 0x2c]
lea ecx, [esp + 0x70]
call fcn.0090a020
mov dword [esp + 0x120], 2
lea ecx, [esp + 0x58]
call fcn.008f06a0
mov byte [esp + 0x120], 3
mov ecx, dword [esp + 0x2c]
inc ecx
push ecx
lea ecx, [esp + 0x74]
call fcn.00909d60
mov edx, dword [esp + 0x28]
push ebx
push edx
lea ecx, [esp + 0x60]
call fcn.00847ce0
mov esi, dword [0x9825a0]
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
test eax, eax
je 0x8875d0
mov eax, dword [esp + 0x64]
mov ebx, eax
cmp eax, dword [esp + 0x68]
jbe 0x8875b1
call fcn.0091bc53
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x887734
call fcn.0091bc53
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x8875ce
call fcn.0091bc53
mov eax, ebx
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x74]
push eax
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x28]
push 0
lea eax, [esp + 0x28]
push eax
push ecx
push ebp
push edx
call esi
mov ebx, eax
mov dword [esp + 0x50], ebx
cmp ebx, 0xea
jne 0x88766a
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x28]
jbe 0x88766a
push 0
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x30], eax
call fcn.00847ce0
mov eax, dword [esp + 0x64]
mov ebx, eax
cmp eax, dword [esp + 0x68]
jbe 0x887628
call fcn.0091bc53
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x88773b
call fcn.0091bc53
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x887645
call fcn.0091bc53
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x74]
push ebx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x28]
push 0
lea edx, [esp + 0x28]
push edx
push eax
push ebp
push ecx
call esi
mov ebx, eax
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x74]
call fcn.00909e10
test ebx, ebx
jne 0x88783b
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x58]
sub eax, dword [esi + 0x54]
add esi, 0x48
sar eax, 2
xor edi, edi
mov dword [esp + 0x24], 0xffffffff
test eax, eax
jbe 0x887742
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp edi, ecx
jb 0x8876b4
call fcn.0091bc53
mov edx, dword [esi + 0xc]
mov eax, dword [edx + edi*4]
mov ecx, dword [esp + 0x18]
lea ebp, [edi*4]
cmp dword [eax + 4], ecx
jne 0x887703
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
mov ebx, dword [esp + 0x70]
sar edx, 2
cmp edi, edx
jb 0x8876e0
call fcn.0091bc53
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
add eax, ebp
mov eax, dword [eax]
mov eax, dword [eax]
lea edx, [ecx + ecx]
push edx
push ebx
push eax
call fcn.0091c50b
add esp, 0xc
test eax, eax
jne 0x887703
mov dword [esp + 0x24], edi
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x8876a2
mov edi, dword [esp + 0x24]
cmp edi, 0xffffffff
je 0x887742
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp edi, ecx
jb 0x88772c
call fcn.0091bc53
mov edx, dword [esi + 0xc]
mov edi, dword [edx + edi*4]
jmp 0x887784
mov eax, dword [eax]
jmp 0x8875c4
mov eax, dword [eax]
jmp 0x88763b
push 0xc0
call fcn.0084dc90
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x120], 4
test eax, eax
je 0x887768
mov ecx, eax
call fcn.00885a50
jmp 0x88776a
xor eax, eax
mov byte [esp + 0x120], 3
mov edi, eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.008bcf80
mov ecx, dword [esp + 0x20]
push 0
lea esi, [edi + 0xa8]
push ecx
mov ecx, esi
call fcn.00847ce0
cmp dword [esp + 0x20], 0
je 0x887804
mov eax, dword [esp + 0x64]
mov ebp, eax
cmp eax, dword [esp + 0x68]
jbe 0x8877b0
call fcn.0091bc53
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x887934
call fcn.0091bc53
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x8877cd
call fcn.0091bc53
mov ebx, dword [esi + 0xc]
cmp ebx, dword [esi + 0x10]
jbe 0x8877da
call fcn.0091bc53
mov eax, dword [esi]
test eax, eax
jne 0x88793b
call fcn.0091bc53
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x8877f5
call fcn.0091bc53
mov edx, dword [esp + 0x20]
push edx
push ebp
push ebx
call fcn.0091b5e0
add esp, 0xc
mov eax, dword [esp + 0x70]
mov esi, eax
neg eax
sbb eax, eax
neg eax
dec eax
push eax
mov ecx, edi
call fcn.00909e10
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.0090a030
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov esi, dword [0x9825a0]
mov dword [edi + 0xa4], eax
inc ebp
mov dword [esp + 0x34], ebp
cmp ebx, 0x103
jne 0x88758c
mov byte [esp + 0x120], 2
lea ecx, [esp + 0x58]
call fcn.009343d0
mov dword [esp + 0x120], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.009098c0
cmp byte [esp + 0x17], 0
je 0x887883
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x982570]
cmp byte [esp + 0x16], 0
je 0x8878c9
cmp dword [esp + 0x48], 0
jne 0x8878c9
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
push 1
push edx
mov ecx, esi
call fcn.0085f250
mov edi, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [ebx + 0x34]
push eax
push 1
push esi
mov ecx, edi
call fcn.0087f000
mov ecx, dword [ebx + 0x24]
mov edx, dword [ebx + 0x28]
push ecx
push edx
push 1
push esi
mov ecx, edi
call fcn.00886480
cmp dword [esp + 0x40], 0
jne 0x887908
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
push 0
push eax
mov ecx, esi
call fcn.0085f250
mov edi, dword [esp + 0x30]
mov ebx, eax
mov ecx, dword [ebx + 0x34]
push ecx
push 0
push esi
mov ecx, edi
call fcn.0087f000
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
push edx
push eax
push 0
push esi
mov ecx, edi
call fcn.00886480
mov al, 1
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0091b0aa
add esp, 0x110
ret 0x14
mov eax, dword [eax]
jmp 0x8877c3
mov eax, dword [eax]
jmp 0x8877eb