Function at 0x410970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x661828
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
push ebx
push edi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x378]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x24]
push edi
lea eax, [esp + 0x74]
push eax
xor bl, bl
push str.ADBE_Geometry2
mov byte [esp + 0x43], bl
mov dword [esp + 0x7c], 0
call fcn.0040ba40
add esp, 0xc
test al, al
je 0x411090
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x38], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx + 0x38]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [edx + 0x24]
push eax
mov eax, dword [edi]
push eax
call ecx
add esp, 0x10
test eax, eax
jne 0x411090
mov eax, dword [esp + 0x38]
test eax, eax
je 0x411090
push 2
push eax
push edi
lea ecx, [esp + 0x200]
call fcn.00406870
cmp dword [esp + 0x228], 0
mov dword [esp + 0x380], 0
jne 0x410d19
push 0x17
mov ecx, esi
mov byte [esp + 0x3b], 1
call fcn.0044d880
mov ebx, eax
push 0x18
mov ecx, esi
mov dword [esp + 0x68], ebx
call fcn.0044d880
mov edi, eax
mov dword [esp + 0x58], edi
test ebx, ebx
jne 0x410aad
test edi, edi
jne 0x410aad
fldz
sub esp, 0x10
fld qword [0x6ef4b8]
lea ecx, [esp + 0x204]
fsubr st(1)
fild dword [ebp + 0x14]
fsub st(2)
fmul st(1)
fld qword [0x6eed50]
fmul st(1), st(0)
fxch st(1)
fadd st(3)
fild dword [ebp + 0x18]
fsub st(4)
fmulp st(3)
fxch st(2)
fmulp st(1)
faddp st(2)
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004072b0
jmp 0x410d16
lea ecx, [esp + 0x7c]
call fcn.00440710
mov dword [esp + 0x7c], vtable.TListValue_double_.0
lea edx, [esp + 0x7c]
push ebx
push edx
mov byte [esp + 0x388], 1
call fcn.00450a60
lea eax, [esp + 0x84]
push edi
push eax
call fcn.00450a60
mov eax, dword [esp + 0x9c]
add esp, 0x10
sub eax, 0
je 0x410cbb
sub eax, 1
je 0x410c39
lea ecx, [esp + 0x7c]
call fcn.00440810
mov edi, eax
test edi, edi
je 0x410cfd
jmp 0x410b14
mov ebx, dword [esp + 0x64]
fldz
sub esp, 8
fstp qword [esp]
fld qword [edi]
push ebx
sub esp, 8
fstp qword [esp]
call fcn.00450b10
fdiv qword [0x6fd7a0]
mov ecx, dword [esp + 0x6c]
add esp, 0xc
fstp qword [esp + 0x44]
fldz
fstp qword [esp]
fld qword [edi]
push ecx
sub esp, 8
fstp qword [esp]
call fcn.00450b10
fdiv qword [0x6fd7a0]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
add esp, 0x14
mov ecx, esi
fild dword [ebp + 0x14]
fldz
fsub st(1), st(0)
fld qword [esp + 0x3c]
fld qword [0x6ef4b8]
fsub st(1), st(0)
fxch st(3)
fmulp st(1)
fld qword [0x6eed50]
fmul st(1), st(0)
fxch st(1)
fadd st(2)
fstp qword [esp + 0x3c]
fild dword [ebp + 0x18]
fsub st(2)
fxch st(4)
fsubrp st(3)
fxch st(3)
fmulp st(2)
fxch st(1)
fmulp st(2)
faddp st(1)
fstp qword [esp + 0x44]
call eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
fild qword [esp + 0x5c]
fmul qword [edi]
call fcn.00640060
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov ecx, eax
mov edi, edx
mov eax, ebx
cdq
add ecx, eax
mov eax, dword [ebp + 0x24]
adc edi, edx
mov edx, dword [ebp + 8]
push edi
push ecx
push 1
lea ecx, [esp + 0x200]
push ecx
push edx
push eax
lea ecx, [esp + 0x1ac]
call fcn.0041eaa0
fld qword [esp + 0x44]
sub esp, 0x10
fstp qword [esp + 8]
mov byte [esp + 0x390], 2
fld qword [esp + 0x4c]
lea ecx, [esp + 0x1a4]
fstp qword [esp]
call fcn.0041ed20
lea ecx, [esp + 0x194]
mov byte [esp + 0x380], 1
call fcn.0041ecf0
lea ecx, [esp + 0x7c]
call fcn.00440840
mov edi, eax
test edi, edi
jne 0x410b10
jmp 0x410cfd
test ebx, ebx
je 0x410c5e
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x410c49
mov ecx, dword [ebx + 4]
jmp 0x410c4b
xor ecx, ecx
call fcn.0044fcc0
fdiv qword [0x6fd7a0]
fstp qword [esp + 0x3c]
fldz
jmp 0x410c64
fldz
fst qword [esp + 0x3c]
test edi, edi
je 0x410cb7
mov edi, dword [edi + 4]
fstp st(0)
test edi, edi
je 0x410c76
mov ecx, dword [edi + 4]
jmp 0x410c78
xor ecx, ecx
call fcn.0044fcc0
fdiv qword [0x6fd7a0]
fldz
fxch st(1)
fild dword [ebp + 0x14]
fsub st(2)
fld qword [esp + 0x3c]
fld qword [0x6ef4b8]
fsub st(1), st(0)
fxch st(2)
fmulp st(1)
fld qword [0x6eed50]
fmul st(1), st(0)
fxch st(1)
fadd st(4)
fild dword [ebp + 0x18]
fsub st(5)
fxch st(4)
fsubrp st(3)
fxch st(3)
fmulp st(2)
jmp 0x410ce1
fld st(0)
jmp 0x410c87
fldz
fld qword [0x6ef4b8]
fsubr st(1)
fild dword [ebp + 0x14]
fsub st(2)
fmul st(1)
fld qword [0x6eed50]
fmul st(1), st(0)
fxch st(1)
fadd st(3)
fild dword [ebp + 0x18]
fsub st(4)
fmulp st(3)
fxch st(2)
fmulp st(1)
sub esp, 0x10
lea ecx, [esp + 0x204]
faddp st(2)
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004072b0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x380], 0
mov dword [esp + 0x7c], vtable.TListValue_double_.0
call fcn.00440740
mov edi, dword [ebp + 0x24]
mov ecx, dword [esp + 0x38]
push 3
push ecx
push edi
lea ecx, [esp + 0x2d8]
call fcn.00406870
fldz
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x388], 3
call fcn.00407290
mov edx, dword [esp + 0x38]
push 5
push edx
push edi
lea ecx, [esp + 0x128]
call fcn.00406870
mov eax, dword [esp + 0x38]
push 4
push eax
push edi
lea ecx, [esp + 0xb0]
mov byte [esp + 0x38c], 4
call fcn.00406870
cmp dword [esp + 0x150], 0
mov byte [esp + 0x380], 5
jne 0x410dfc
cmp dword [esp + 0xd8], 0
jne 0x410dfc
xor eax, eax
push 0x1a
mov ecx, esi
mov byte [esp + 0x3b], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.0044d880
mov ebx, eax
mov dword [esp + 0x58], ebx
test ebx, ebx
je 0x41105b
mov ecx, dword [ebx + 0xc]
mov eax, ecx
sub eax, 0
mov dword [esp + 0x5c], ecx
je 0x41105b
sub eax, 1
je 0x41102a
sub eax, 1
je 0x410fd1
xor edi, edi
test ecx, ecx
jg 0x410e99
mov edi, dword [ebp + 0x24]
mov dl, byte [esi + 0xe8]
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x5c], dl
mov eax, dword [esp + 0x5c]
push edi
push eax
push ecx
call fcn.0040c860
mov edx, dword [edi + 0x1c]
mov eax, dword [edx + 0x38]
mov ecx, dword [esp + 0x44]
mov edx, dword [eax + 0x20]
push ecx
call edx
add esp, 0x10
lea ecx, [esp + 0xa4]
mov byte [esp + 0x380], 4
call fcn.00406c30
lea ecx, [esp + 0x11c]
mov byte [esp + 0x380], 3
call fcn.00406c30
lea ecx, [esp + 0x2cc]
mov byte [esp + 0x380], 0
call fcn.00406c30
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x380], 0xffffffff
call fcn.00406c30
mov al, byte [esp + 0x37]
mov ecx, dword [esp + 0x378]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x58]
push edi
mov ecx, ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fd10
fstp qword [esp + 0x64]
push edi
mov ecx, ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x3c]
lea ecx, [edi + 1]
push ecx
mov ecx, ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x44]
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
mov ecx, esi
call eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
fild qword [esp + 0x74]
fmul qword [esp + 0x64]
call fcn.00640060
mov edx, dword [esi]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
mov ebx, eax
mov eax, dword [esp + 0x64]
mov ecx, edx
cdq
add ebx, eax
mov eax, dword [ebp + 0x24]
adc ecx, edx
mov edx, dword [ebp + 8]
push ecx
push ebx
mov dword [esp + 0xa8], ecx
push 1
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
lea ecx, [esp + 0x284]
call fcn.0041eaa0
fld qword [esp + 0x3c]
sub esp, 8
lea ecx, [esp + 0x274]
fstp qword [esp]
mov byte [esp + 0x388], 6
call fcn.0041ed00
mov ecx, dword [esp + 0xa0]
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x24]
push ebx
push 1
lea edx, [esp + 0xb0]
push edx
push eax
push ecx
lea ecx, [esp + 0x1ac]
call fcn.0041eaa0
fld qword [esp + 0x44]
sub esp, 8
lea ecx, [esp + 0x19c]
fstp qword [esp]
mov byte [esp + 0x388], 7
call fcn.0041ed00
lea ecx, [esp + 0x194]
mov byte [esp + 0x380], 6
call fcn.0041ecf0
mov byte [esp + 0x380], 5
lea ecx, [esp + 0x26c]
call fcn.0041ecf0
add edi, 2
cmp edi, dword [esp + 0x5c]
jl 0x410e95
jmp 0x410df9
push 0
mov ecx, ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x3c]
push 1
mov ecx, ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x44]
fld qword [esp + 0x3c]
sub esp, 8
lea ecx, [esp + 0x124]
fstp qword [esp]
call fcn.00407290
fld qword [esp + 0x44]
sub esp, 8
lea ecx, [esp + 0xac]
fstp qword [esp]
call fcn.00407290
jmp 0x410dfc
fld qword [esp + 0x3c]
sub esp, 8
lea ecx, [esp + 0x124]
fstp qword [esp]
call fcn.00407290
fld qword [esp + 0x3c]
sub esp, 8
lea ecx, [esp + 0xac]
fstp qword [esp]
call fcn.00407290
jmp 0x410dfc
fld qword [0x6fd5a8]
sub esp, 8
lea ecx, [esp + 0x124]
fstp qword [esp]
call fcn.00407290
fld qword [0x6fd5a8]
sub esp, 8
lea ecx, [esp + 0xac]
fstp qword [esp]
call fcn.00407290
jmp 0x410dfc
mov al, bl
mov ecx, dword [esp + 0x378]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret