Function at 0x534500
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5dcd22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 8
mov ecx, dword [esi + 0x40]
xor ebx, ebx
cmp ecx, ebx
je 0x53453f
mov eax, dword [ecx]
push ebx
push ebx
push 1
call dword [eax + 4]
mov dword [esi + 0x40], ebx
mov ecx, dword [esi + 0xb0]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x53456f
nop
mov ecx, dword [eax + 0x1c]
call fcn.00521300
lea ecx, [esp + 0x10]
call fcn.0052a850
mov ecx, dword [esi + 0xb0]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x534550
mov eax, dword [esi + 0xa4]
mov edi, dword [eax]
cmp edi, eax
je 0x5345a1
jmp 0x534580
mov ebp, dword [edi + 8]
cmp ebp, ebx
je 0x534597
mov ecx, ebp
call fcn.005213b0
push ebp
call fcn.005abee6
add esp, 4
mov edi, dword [edi]
cmp edi, dword [esi + 0xa4]
jne 0x534580
call fcn.00528960
test al, al
je 0x534610
mov ecx, esi
call fcn.005333a0
cmp eax, 0x14
jbe 0x534610
call fcn.005333d0
cmp eax, 6
jne 0x534610
push ebx
call fcn.005333a0
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x5345d8
fadd qword [0x5e7070]
fmul qword [0x606980]
fmul qword [0x606978]
call fcn.0057a5a0
push ebx
mov edi, eax
call fcn.0057bbd0
add esp, 4
sub eax, edi
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00533400
push eax
call fcn.00528940
mov ecx, eax
call fcn.00526e60
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x534620
push eax
call fcn.005abee6
add esp, 4
mov al, 7
mov byte [esp + 0x30], al
lea edi, [esi + 0xac]
mov dword [esp + 0x10], edi
mov byte [esp + 0x30], al
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0052c0e0
mov eax, dword [edi + 4]
push eax
call fcn.005abee6
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [esp + 0x30], 6
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0xa4]
mov dword [eax + 4], eax
cmp ecx, dword [esi + 0xa4]
mov dword [esi + 0xa8], ebx
je 0x534697
nop
mov edi, dword [ecx]
push ecx
call fcn.005abee6
mov eax, dword [esi + 0xa4]
add esp, 4
cmp edi, eax
mov ecx, edi
jne 0x534680
mov eax, dword [esi + 0xa4]
push eax
call fcn.005abee6
mov al, 5
add esp, 4
mov dword [esi + 0xa4], ebx
mov byte [esp + 0x30], al
lea edi, [esi + 0x94]
mov dword [esp + 0x10], edi
mov byte [esp + 0x30], al
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0052c0e0
mov eax, dword [edi + 4]
push eax
call fcn.005abee6
mov al, 4
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [esp + 0x30], al
lea edi, [esi + 0x88]
mov dword [esp + 0x10], edi
mov byte [esp + 0x30], al
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0052c0e0
mov eax, dword [edi + 4]
push eax
call fcn.005abee6
mov al, 3
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [esp + 0x30], al
lea edi, [esi + 0x7c]
mov dword [esp + 0x10], edi
mov byte [esp + 0x30], al
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0052c0e0
mov eax, dword [edi + 4]
push eax
call fcn.005abee6
mov al, 2
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [esp + 0x30], al
lea edi, [esi + 0x70]
mov dword [esp + 0x10], edi
mov byte [esp + 0x30], al
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0052c0e0
mov eax, dword [edi + 4]
push eax
call fcn.005abee6
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [esp + 0x30], 1
mov eax, dword [esi + 0x68]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0x68]
mov dword [eax + 4], eax
cmp ecx, dword [esi + 0x68]
mov dword [esi + 0x6c], ebx
je 0x5347b8
mov edi, dword [ecx]
push ecx
call fcn.005abee6
mov eax, dword [esi + 0x68]
add esp, 4
cmp edi, eax
mov ecx, edi
jne 0x5347a4
mov eax, dword [esi + 0x68]
push eax
call fcn.005abee6
add esp, 4
mov dword [esi + 0x68], ebx
mov byte [esp + 0x30], bl
lea eax, [esi + 0x60]
mov dword [esp + 0x10], eax
mov byte [esp + 0x30], bl
mov eax, dword [eax]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5347f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esi + 0x58]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0x58]
mov dword [eax + 4], eax
cmp edi, dword [esi + 0x58]
mov dword [esp + 0x10], edi
mov dword [esi + 0x5c], ebx
je 0x534859
mov ebp, dword [edi]
or ecx, 0xffffffff
mov dword [esp + 0x30], ecx
lea eax, [edi + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x534843
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
call fcn.005abee6
mov eax, dword [esi + 0x58]
add esp, 4
cmp ebp, eax
mov edi, ebp
mov dword [esp + 0x10], edi
jne 0x534813
mov eax, dword [esi + 0x58]
push eax
call fcn.005abee6
mov ecx, dword [esp + 0x2c]
add esp, 4
pop edi
mov dword [esi + 0x58], ebx
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret