Function at 0x44fc30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x52bea6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 0x40]
fldz
mov edx, dword [ebp + 0x3c]
fst qword [esp + 0x3c]
push ecx
fst qword [esp + 0x38]
mov ecx, dword [ebp + 0x38]
fst qword [esp + 0x30]
mov ebx, dword [ebp + 0x1c]
fstp qword [esp + 0x28]
push edx
fld qword [ebp + 0x14]
mov edx, dword [ebp + 0x34]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push ecx
mov ecx, dword [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
mov edx, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [eax + 0x28]
push ecx
push ebx
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, edi
fld qword [ebp + 0xc]
mov dword [esp + 0x4c], 0xd
fstp qword [esp]
push esi
call edx
test eax, eax
je 0x44ffa9
mov eax, dword [esi + 0xc]
add ebx, dword [eax + 0xa8]
cmp ebx, 0x168
jl 0x44fcde
sub ebx, 0x168
jmp 0x44fce8
test ebx, ebx
jns 0x44fce8
add ebx, 0x168
fild dword [ebp + 0x34]
mov eax, dword [edi]
lea ecx, [ebp + 0x24]
push ecx
lea edx, [esp + 0x28]
push edx
mov edx, dword [eax + 4]
sub esp, 0x20
fstp qword [esp + 0x18]
mov ecx, edi
fild dword [ebp + 0x30]
fstp qword [esp + 0x10]
fild dword [ebp + 0x2c]
fstp qword [esp + 8]
fild dword [ebp + 0x28]
fstp qword [esp]
call edx
fld qword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x20]
push eax
push ebx
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, esi
fld qword [ebp + 0xc]
fstp qword [esp]
call fcn.0044f680
mov edi, dword [esi + 0xc]
mov ecx, dword [0x59da88]
add edi, 0x20
call fcn.00437a80
test eax, eax
je 0x44fdb2
mov eax, dword [esi + 0xc]
fld qword [eax + 0x18]
sub esp, 0x20
fstp qword [esp + 0x18]
fld qword [eax + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 8]
fstp qword [esp + 8]
fld qword [eax]
fstp qword [esp]
push str._MediaBox__ll:_g__g_ur:_g__g_n
call fcn.00513b26
fld qword [edi + 0x18]
fstp qword [esp + 0x1c]
add esp, 4
fld qword [edi + 0x10]
fstp qword [esp + 0x10]
fld qword [edi + 8]
fstp qword [esp + 8]
fld qword [edi]
fstp qword [esp]
push str._CropBox__ll:_g__g_ur:_g__g_n
call fcn.00513b26
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0xa8]
push eax
push str._Rotate___d_n
call fcn.00513b26
add esp, 0x2c
push 0xa8
call fcn.00511699
add esp, 4
mov dword [esp + 0x10], eax
xor edx, edx
mov dword [esp + 0x80], edx
cmp eax, edx
je 0x44fe21
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x118], 7
jne 0x44fde2
mov edx, dword [ecx + 0x120]
mov ecx, dword [ebp + 0x40]
fld qword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x24]
neg ecx
push ebx
sbb ecx, ecx
and ecx, edi
push ecx
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp + 0xc]
fstp qword [esp]
push edx
mov edx, dword [esi + 8]
push edx
mov edx, dword [esi]
push ecx
push edx
mov ecx, eax
call fcn.00416280
mov edi, eax
jmp 0x44fe23
xor edi, edi
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x18]
push eax
lea ebx, [esi + 0x20]
push ecx
mov ecx, ebx
mov dword [esp + 0x8c], 0xffffffff
call fcn.0044ea00
cmp dword [esp + 0x14], 5
je 0x44fe7c
mov ecx, edi
call fcn.0041bd70
push 1
push ebx
mov ecx, edi
call fcn.0041d290
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x298], 0
je 0x44fe86
mov ecx, edi
call fcn.0041bd90
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x298], 0
jne 0x44fe67
jmp 0x44fe86
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
lea ecx, [esp + 0x14]
call fcn.0044ea50
mov ecx, dword [0x59da88]
call fcn.00437990
test eax, eax
je 0x44ff6c
push 0xc
call fcn.00511699
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x80], 1
test ebx, ebx
je 0x44fee3
mov edx, dword [esi + 4]
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [esi + 0x10]
call fcn.0044ea00
push eax
mov eax, dword [esi]
push eax
mov ecx, ebx
call fcn.00407ff0
mov ebx, eax
jmp 0x44fee5
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x80], 0xffffffff
call fcn.0044ea50
mov ecx, ebx
call fcn.004081e0
cmp dword [ebx + 8], 0
jle 0x44ff5c
mov ecx, dword [0x59da88]
call fcn.00437a80
test eax, eax
je 0x44ff22
push 0x546300
call fcn.00513b26
add esp, 4
cmp dword [ebx + 8], 0
mov dword [esp + 0x10], 0
jle 0x44ff52
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [edx + eax*4]
push edi
call fcn.00406530
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebx + 8]
jl 0x44ff30
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, ebx
call fcn.00407580
push ebx
call fcn.0051163f
add esp, 4
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24]
mov ecx, dword [edx + 0x88]
test ecx, ecx
je 0x44ff95
mov edx, dword [ebp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push edx
mov edx, dword [esi + 8]
push edi
push edx
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
test edi, edi
je 0x44ffa9
mov ecx, edi
call fcn.0041d170
push edi
call fcn.0051163f
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c